Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rdf::query::node(3pm) [debian man page]

RDF::Query::Node(3pm)					User Contributed Perl Documentation				     RDF::Query::Node(3pm)

NAME
RDF::Query::Node - Base class for RDF Nodes VERSION
This document describes RDF::Query::Node version 2.908. METHODS
"is_variable" Returns true if this RDF node is a variable, false otherwise. "compare ( $a, $b )" Returns -1, 0, or 1 if $a is less than, equal to, or greater than $b, respectively, according to the SPARQL sorting rules. "from_trine ( $node )" Returns a new RDF::Query::Node object with the same value as $node, a RDF::Trine::Node object. This essentially promotes $node to a node object with extra functionality provided by the RDF::Query package (like SPARQL-defined ordering). "explain" Returns a string serialization of the node appropriate for display on the command line. This method is primarily used by the "explain" method of the subclasses of RDF::Query::Plan. FUNCTIONS
"compare ( $node_a, $node_b )" Returns -1, 0, or 1 if $node_a sorts less than, equal to, or greater than $node_b in the defined SPARQL ordering, respectively. This function may be used as the function argument to "<sort">. "iri ( $iri )" Returns a RDF::Query::Node::Resource object with the given IRI value. "blank ( $id )" Returns a RDF::Query::Node::Blank object with the given identifier. "literal ( $value, $lang, $dt )" Returns a RDF::Query::Node::Literal object with the given value and optional language/datatype. "variable ( $name )" Returns a RDF::Query::Node::Variable object with the given variable name. AUTHOR
Gregory Todd Williams <gwilliams@cpan.org> perl v5.14.2 2012-01-31 RDF::Query::Node(3pm)

Check Out this Related Man Page

RDF::Trine::Node(3pm)					User Contributed Perl Documentation				     RDF::Trine::Node(3pm)

NAME
RDF::Trine::Node - Base class for RDF Nodes VERSION
This document describes RDF::Trine::Node version 1.000 FUNCTIONS
"ntriples_escape ( $value )" Returns the passed string value with special characters (control characters, Unicode, etc.) escaped, suitable for printing inside an N-Triples or Turtle encoded literal. METHODS
"is_node" Returns true if this object is a RDF node, false otherwise. "is_nil" Returns true if this object is the nil-valued node. "is_blank" Returns true if this RDF node is a blank node, false otherwise. "is_resource" Returns true if this RDF node is a resource, false otherwise. "is_literal" Returns true if this RDF node is a literal, false otherwise. "is_variable" Returns true if this RDF node is a variable, false otherwise. "as_string" Returns the node in a string form. "as_ntriples" Returns the node in a string form suitable for NTriples serialization. "sse" Returns the SSE serialization of the node. "equal ( $node )" Returns true if the two nodes are equal, false otherwise. "compare ( $node_a, $node_b )" Returns -1, 0, or 1 if $node_a sorts less than, equal to, or greater than $node_b in the defined SPARQL ordering, respectively. This function may be used as the function argument to "<sort">. "from_sse ( $string, $context )" Parses the supplied SSE-encoded string and returns a RDF::Trine::Node object. BUGS
Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. AUTHOR
Gregory Todd Williams "<gwilliams@cpan.org>" COPYRIGHT
Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-06-29 RDF::Trine::Node(3pm)
Man Page