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

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::Triple - Algebra class for Triple patterns

VERSION ^

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

METHODS ^

new ( $s, $p, $o )

Returns a new Triple structure.

as_sparql

Returns the SPARQL string for this alegbra expression.

referenced_blanks

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

subsumes ( $pattern )

Returns true if the triple subsumes the pattern, false otherwise.

bf ()

Returns a string representing the state of the nodes of the triple (bound or free).

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.

distinguish_bnode_variables

Returns a new Quad object with blank nodes replaced by distinguished variables.

label ( $label => $value )

Sets the named $label to $value for this triple object. If no $value is given, returns the current label value, or undef if none exists.

AUTHOR ^

 Gregory Todd Williams <gwilliams@cpan.org>