The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

RDF::Query::Algebra::BasicGraphPattern - Algebra class for BasicGraphPattern patterns

METHODS

new ( @triples )

Returns a new BasicGraphPattern structure.

construct_args

Returns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern.

triples

Returns a list of triples belonging to this BGP.

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.

check_duplicate_blanks

Returns true if blank nodes respect the SPARQL rule of no blank-label re-use across BGPs, otherwise throws a RDF::Query::Error::QueryPatternError exception.

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.

clone
bind_variables ( \%bound )

Returns a new algebra pattern with variables named in %bound replaced by their corresponding bound values.

execute ( $query, $bridge, \%bound, $context, %args )

AUTHOR

 Gregory Todd Williams <gwilliams@cpan.org>