NAME

RDF::Query::Node::Literal - RDF Node class for literals

VERSION

This document describes RDF::Query::Node::Literal version 2.902.

METHODS

datetime

Returns a DateTime object from the literal if the literal value is in W3CDTF format.

as_sparql

Returns the SPARQL string for this node.

as_hash

Returns the query as a nested set of plain data structures (no objects).

is_numeric_type

Returns true if the literal is a known (xsd) numeric type.

numeric_value

Returns the numeric value of the literal (even if the literal isn't a known numeric type.

AUTHOR

Gregory Todd Williams <gwilliams@cpan.org>