RDF::QUERY::ALGEBRA::TRIPLE(3PM) - man page online | library functions

Algebra class for Triple patterns.

RDF::Query::Algebra::Triple(3pmUser Contributed Perl DocumentatioRDF::Query::Algebra::Triple(3pm)


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


This document describes RDF::Query::Algebra::Triple version 2.916.


Beyond the methods documented below, this class inherits methods from the RDF::Query::Algebra class. "new ( $s, $p, $o )" Returns a new Triple structure. "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 (<>). "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). "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.


Gregory Todd Williams <>
perl v5.20.2 2015-10-16 RDF::Query::Algebra::Triple(3pm)