
RDF::Trine::Statement - Algebra class for Triple patterns

This document describes RDF::Trine::Statement version 0.111

new ( $s,
$p,
$o )Returns a new Triple structure.
construct_argsReturns a list of arguments that, passed to this class' constructor, will produce a clone of this algebra pattern.
nodesReturns the subject, predicate and object of the triple pattern.
node_namesReturns the method names for accessing the nodes of this statement.
subjectReturns the subject node of the triple pattern.
predicateReturns the predicate node of the triple pattern.
objectReturns the object node of the triple pattern.
as_stringReturns the statement in a string form.
has_blanksReturns true if any of the nodes in this statement are blank nodes.
sseReturns the SSE string for this alegbra expression.
from_sse ( $string,
$context )Parses the supplied SSE-encoded string and returns a RDF::Trine::Statement object.
typeReturns the type of this algebra expression.
referenced_variablesReturns a list of the variable names used in this algebra expression.
definite_variablesReturns a list of the variable names that will be bound after evaluating this algebra expression.
clone
bind_variables ( \%bound )Returns a new algebra pattern with variables named in %bound replaced by their corresponding bound values.
subsumes ( $statement )Returns true if this statement will subsume the $statement when matched against a triple store.
from_redland ( $statement )Given a RDF::Redland::Statement object, returns a perl-native RDF::Trine::Statement object.

Gregory Todd Williams <gwilliams@cpan.org>

Copyright (c) 2006-2009 Gregory Todd Williams. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.