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

This document describes RDF::Query::Algebra::BasicGraphPattern version 2.200, released 6 August 2009.

new ( @triples )Returns a new BasicGraphPattern structure.
construct_argsReturns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern.
triplesReturns a list of triples belonging to this BGP.
sseReturns the SSE string for this alegbra expression.
as_sparqlReturns the SPARQL string for this alegbra expression.
typeReturns the type of this algebra expression.
referenced_variablesReturns a list of the variable names used in this algebra expression.
definite_variablesReturns a list of the variable names that will be bound after evaluating this algebra expression.
check_duplicate_blanksReturns 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 ( $query,
$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.
connectedReturns true if the pattern is connected through shared variables, fase otherwise.
subsumes ( $pattern )Returns true if the bgp subsumes the pattern, false otherwise.
bf ()Returns a string representing the state of the nodes of the triple (bound or free).
clone
bind_variables ( \%bound )Returns a new algebra pattern with variables named in %bound replaced by their corresponding bound values.

Gregory Todd Williams <gwilliams@cpan.org>