1RDF::Query::Federate(3)User Contributed Perl DocumentatioRnDF::Query::Federate(3)
2
3
4
6 RDF::Query::Federate - A subclass of RDF::Query for efficient federated
7 query execution.
8
10 This document describes RDF::Query::Federate version 2.918.
11
13 This module's API and functionality should be considered deprecated.
14 If you need functionality that this module provides, please get in
15 touch <http://www.perlrdf.org/>.
16
18 my $service = RDF::Query::ServiceDescription->new( $url );
19 my $query = new RDF::Query::Federate ( $sparql );
20 $query->add_service( $service );
21 my $stream = $query->execute();
22
24 ...
25
27 "new ( $query, \%options )"
28 "new ( $query, $base_uri, $languri, $lang )"
29 Returns a new RDF::Query::Federate object for the specified $query.
30 The query language defaults to SPARQLP, but may be set specifically
31 by specifying either $languri or $lang, whose acceptable values
32 are:
33
34 $lang: 'rdql', 'sparql11', or 'sparql'
35
36 $languri: 'http://www.w3.org/TR/rdf-sparql-query/', or 'http://jena.hpl.hp.com/2003/07/query/RDQL'
37
38 "add_service ( $service_description )"
39 Adds the service described by $service_description to the query's
40 list of data sources.
41
42 "services"
43 "algebra_fixup ( $algebra, $bridge, $base_uri, $ns )"
44 Called in the fixup method of ::Algebra classes, returns either an
45 optimized ::Algebra object ready for execution, or undef (in which
46 case it will be prepared for execution by the ::Algebra::* class
47 itself.
48
50 Gregory Todd Williams <gwilliams@cpan.org>
51
52
53
54perl v5.32.0 2020-07-28 RDF::Query::Federate(3)