NAME

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

VERSION

This document describes RDF::Query::Node::Literal version 2.201, released 30 January 2010.

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.

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>