Gregory Williams > RDF-Query > RDF::Query::Algebra

Download:
RDF-Query-2.200.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
Report a bug
Module Version: 2.200   Source  

NAME ^

RDF::Query::Algebra - Base class for Algebra expressions

VERSION ^

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

METHODS ^

referenced_blanks

Returns a list of the blank node names used in this algebra expression.

referenced_functions

Returns a list of the Function URIs used in 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.

qualify_uris ( \%namespaces, $base )

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

bind_variables ( \%bound )

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

is_solution_modifier

Returns true if this node is a solution modifier.

subpatterns_of_type ( $type [, $block] )

Returns a list of Algebra patterns matching $type (tested with isa). If $block is given, then matching stops descending a subtree if the current node is of type $block, continuing matching on other subtrees. This list includes the current algebra object if it matches $type, and is generated in infix order.

from_sse ( $sse, \%context )

Given an SSE serialization, returns the corresponding algebra expression.

AUTHOR ^

 Gregory Todd Williams <gwilliams@cpan.org>