1RDF::Query::Algebra::BaUssiecrGrCaopnhtPraitbtuetrendR(D3PF)e:r:lQuDeorcyu:m:eAnltgaetbiroan::BasicGraphPattern(3)
2
3
4
6 RDF::Query::Algebra::BasicGraphPattern - Algebra class for
7 BasicGraphPattern patterns
8
10 This document describes RDF::Query::Algebra::BasicGraphPattern version
11 2.918.
12
14 Beyond the methods documented below, this class inherits methods from
15 the RDF::Query::Algebra class.
16
17 "new ( @triples )"
18 Returns a new BasicGraphPattern structure.
19
20 "construct_args"
21 Returns a list of arguments that, passed to this class'
22 constructor, will produce a clone of this algebra pattern.
23
24 "triples"
25 Returns a list of triples belonging to this BGP.
26
27 "quads"
28 Returns a list of the (implicit) quads belonging to this BGP.
29
30 "sse"
31 Returns the SSE string for this algebra expression.
32
33 "explain"
34 Returns a string serialization of the algebra appropriate for
35 display on the command line.
36
37 "as_sparql"
38 Returns the SPARQL string for this algebra expression.
39
40 "as_hash"
41 Returns the query as a nested set of plain data structures (no
42 objects).
43
44 "as_spin ( $model )"
45 Adds statements to the given model to represent this algebra object
46 in the SPARQL Inferencing Notation (<http://www.spinrdf.org/>).
47
48 "type"
49 Returns the type of this algebra expression.
50
51 "referenced_variables"
52 Returns a list of the variable names used in this algebra
53 expression.
54
55 "potentially_bound"
56 Returns a list of the variable names used in this algebra
57 expression that will bind values during execution.
58
59 "definite_variables"
60 Returns a list of the variable names that will be bound after
61 evaluating this algebra expression.
62
63 "connected"
64 Returns true if the pattern is connected through shared variables,
65 false otherwise.
66
67 "subsumes ( $pattern )"
68 Returns true if the bgp subsumes the pattern, false otherwise.
69
70 "bf ()"
71 Returns a string representing the state of the nodes of the triple
72 (bound or free).
73
74 "clone"
75 "bind_variables ( \%bound )"
76 Returns a new algebra pattern with variables named in %bound
77 replaced by their corresponding bound values.
78
80 Gregory Todd Williams <gwilliams@cpan.org>
81
82
83
84perl v5.32.1 2021R-D0F1:-:2Q7uery::Algebra::BasicGraphPattern(3)