NAME

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

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>