1RDF::Query::Node(3)   User Contributed Perl Documentation  RDF::Query::Node(3)
2
3
4

NAME

6       RDF::Query::Node - Base class for RDF Nodes
7

VERSION

9       This document describes RDF::Query::Node version 2.918.
10

METHODS

12       "is_variable"
13           Returns true if this RDF node is a variable, false otherwise.
14
15       "compare ( $a, $b )"
16           Returns -1, 0, or 1 if $a is less than, equal to, or greater than
17           $b, respectively, according to the SPARQL sorting rules.
18
19       "from_trine ( $node )"
20           Returns a new RDF::Query::Node object with the same value as $node,
21           a RDF::Trine::Node object. This essentially promotes $node to a
22           node object with extra functionality provided by the RDF::Query
23           package (like SPARQL-defined ordering).
24
25       "from_attean ( $node )"
26           Likewise, but from Attean.
27
28       "explain"
29           Returns a string serialization of the node appropriate for display
30           on the command line. This method is primarily used by the "explain"
31           method of the subclasses of RDF::Query::Plan.
32

FUNCTIONS

34       "compare ( $node_a, $node_b )"
35           Returns -1, 0, or 1 if $node_a sorts less than, equal to, or
36           greater than $node_b in the defined SPARQL ordering, respectively.
37           This function may be used as the function argument to "<sort">.
38
39       "iri ( $iri )"
40           Returns a RDF::Query::Node::Resource object with the given IRI
41           value.
42
43       "blank ( $id )"
44           Returns a RDF::Query::Node::Blank object with the given identifier.
45
46       "literal ( $value, $lang, $dt )"
47           Returns a RDF::Query::Node::Literal object with the given value and
48           optional language/datatype.
49
50       "variable ( $name )"
51           Returns a RDF::Query::Node::Variable object with the given variable
52           name.
53

AUTHOR

55        Gregory Todd Williams <gwilliams@cpan.org>
56
57
58
59perl v5.32.1                      2021-01-27               RDF::Query::Node(3)
Impressum