RDF::Query::Federate - A subclass of RDF::Query for efficient federated query execution.
This document describes RDF::Query::Federate version 2.910.
This module's API and functionality should be considered deprecated. If you need functionality that this module provides, please get in touch.
my $service = RDF::Query::ServiceDescription->new( $url ); my $query = new RDF::Query::Federate ( $sparql ); $query->add_service( $service ); my $stream = $query->execute();
...
new ( $query, \%options )
new ( $query, $base_uri, $languri, $lang )
Returns a new RDF::Query::Federate object for the specified $query. The query language defaults to SPARQLP, but may be set specifically by specifying either $languri or $lang, whose acceptable values are:
$query
$languri
$lang
$lang: 'rdql', 'sparql11', or 'sparql' $languri: 'http://www.w3.org/TR/rdf-sparql-query/', or 'http://jena.hpl.hp.com/2003/07/query/RDQL'
add_service ( $service_description )
Adds the service described by $service_description to the query's list of data sources.
$service_description
services
algebra_fixup ( $algebra, $bridge, $base_uri, $ns )
Called in the fixup method of ::Algebra classes, returns either an optimized ::Algebra object ready for execution, or undef (in which case it will be prepared for execution by the ::Algebra::* class itself.
Gregory Todd Williams <gwilliams@cpan.org>
To install RDF::Query, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::Query
CPAN shell
perl -MCPAN -e shell install RDF::Query
For more information on module installation, please visit the detailed CPAN module installation guide.