The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

RDF::Query::Algebra::Service - Algebra class for SERVICE (federation) patterns

VERSION

This document describes RDF::Query::Algebra::Service version 2.905_01.

METHODS

Beyond the methods documented below, this class inherits methods from the RDF::Query::Algebra class.

new ( $endpoint, $pattern, $silent )

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.

silent

Returns true if the service operation is to ignore errors during execution.

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).

sse

Returns the SSE string for this algebra expression.

as_sparql

Returns the SPARQL string for this algebra expression.

as_hash

Returns the query as a nested set of plain data structures (no objects).

type

Returns the type of this algebra expression.

referenced_variables

Returns a list of the variable names used in this algebra expression.

potentially_bound

Returns a list of the variable names used in this algebra expression that will bind values during execution.

definite_variables

Returns a list of the variable names that will be bound after evaluating this algebra expression.

qualify_uris ( \%namespaces, $base_uri )

Returns a new algebra pattern where all referenced Resource nodes representing QNames (ns:local) are qualified using the supplied %namespaces.

AUTHOR

 Gregory Todd Williams <gwilliams@cpan.org>