NAME

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

VERSION

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

METHODS

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.

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.

qualify_uris ( \%namespaces, $base )

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

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.

AUTHOR

Gregory Todd Williams <gwilliams@cpan.org>