1RDF::Query::Algebra::TrUispelre(C3o)ntributed Perl DocumReDnFt:a:tQiuoenry::Algebra::Triple(3)
2
3
4
6 RDF::Query::Algebra::Triple - Algebra class for Triple patterns
7
9 This document describes RDF::Query::Algebra::Triple version 2.918.
10
12 Beyond the methods documented below, this class inherits methods from
13 the RDF::Query::Algebra class.
14
15 "new ( $s, $p, $o )"
16 Returns a new Triple structure.
17
18 "as_sparql"
19 Returns the SPARQL string for this algebra expression.
20
21 "as_hash"
22 Returns the query as a nested set of plain data structures (no
23 objects).
24
25 "as_spin ( $model )"
26 Adds statements to the given model to represent this algebra object
27 in the SPARQL Inferencing Notation (<http://www.spinrdf.org/>).
28
29 "referenced_blanks"
30 Returns a list of the blank node names used in this algebra
31 expression.
32
33 "subsumes ( $pattern )"
34 Returns true if the triple subsumes the pattern, false otherwise.
35
36 "bf ()"
37 Returns a string representing the state of the nodes of the triple
38 (bound or free).
39
40 "distinguish_bnode_variables"
41 Returns a new Quad object with blank nodes replaced by
42 distinguished variables.
43
44 "label ( $label => $value )"
45 Sets the named $label to $value for this triple object. If no
46 $value is given, returns the current label value, or undef if none
47 exists.
48
50 Gregory Todd Williams <gwilliams@cpan.org>
51
52
53
54perl v5.30.0 2019-07-26 RDF::Query::Algebra::Triple(3)