RDF::Query::Algebra::Service - Algebra class for SERVICE (federation) patterns
new ( $endpoint, $pattern )
Returns a new Service structure.
construct_args
Returns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern.
endpoint
Returns the endpoint resource of the named graph expression.
pattern
Returns the graph pattern of the named graph expression.
add_bloom ( $variable, $filter )
Adds a FILTER to the enclosed GroupGraphPattern to restrict values of the named $variable to the values encoded in the $filter (a Bloom::Filter object).
$variable
$filter
sse
Returns the SSE string for this alegbra expression.
as_sparql
Returns the SPARQL string for this alegbra expression.
type
Returns the type of this algebra expression.
referenced_variables
Returns a list of the variable names used in this algebra expression.
definite_variables
Returns a list of the variable names that will be bound after evaluating this algebra expression.
qualify_uris ( \%namespaces, $base )
Returns a new algebra pattern where all referenced Resource nodes representing QNames (ns:local) are qualified using the supplied %namespaces.
fixup ( $bridge, $base, \%namespaces )
Returns a new pattern that is ready for execution using the given bridge. This method replaces generic node objects with bridge-native objects.
execute ( $query, $bridge, \%bound, $context, %args )
bloom_filter_for_iterator ( $query, $bridge, $bound, $iterator, $variable, $error )
Returns a Bloom::Filter object containing the Resource and Literal values that are bound to $variable in the $iterator's data.
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.