Gregory Williams > RDF-Query-2.200 > RDF::Query::Node::Literal

Download:
RDF-Query-2.200.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
Report a bug
Module Version: 2.200   Source  

NAME ^

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

VERSION ^

This document describes RDF::Query::Node::Literal version 2.200, released 6 August 2009.

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>