GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RDF::Query::Node::Literal(3) User Contributed Perl Documentation RDF::Query::Node::Literal(3)

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

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

Beyond the methods documented below, this class inherits methods from the RDF::Query::Node and RDF::Trine::Node::Literal classes.
"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_simple_literal"
Returns true if the literal is "simple" -- is a literal without datatype or language.
"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.
"type_list"
Returns a two-item list suitable for use as the second and third arguments to RDF::Query::Node::Literal constructor. The two returned values correspond to literal language tag and literal datatype URI, respectively.

 Gregory Todd Williams <gwilliams@cpan.org>
2017-01-04 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.