Reference

RDF::Query::Algebra::NamedGraph(3pm)

Algebra class for NamedGraph patterns

NAME

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

VERSION

This document describes RDF::Query::Algebra::NamedGraph version 2.919.

METHODS

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

"new ( $graph, $pattern )"

Returns a new NamedGraph structure.

"construct_args"

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

"graph"

Returns the graph node of the named graph expression.

"pattern"

Returns the graph pattern of the named graph expression.

"quads"

Returns a list of the quads belonging to this NamedGraph.

"sse"

Returns the SSE string for this algebra expression.

"explain"

Returns a string serialization of the algebra appropriate for display on the command line.

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

"as_spin ( $model )"

Adds statements to the given model to represent this algebra object in the SPARQL Inferencing Notation (<http://www.spinrdf.org/>).

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

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

AUTHOR

 Gregory Todd Williams <[email protected]>

History