RDF::Query::Algebra::Optional - Algebra class for Optional patterns
new ( $pattern, $opt_pattern )
Returns a new Optional structure.
construct_args
Returns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern.
pattern
Returns the base pattern (LHS) onto which the optional pattern joins.
optional
Returns the optional pattern (RHS).
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.
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 )
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.