| RDF-Core documentation | view source | Contained in the RDF-Core distribution. |
RDF::Core::Literal - a literal value for RDF statement
require RDF::Core::Literal;
my $literal=new RDF::Core::Literal("Jim Brown");
print $literal->getValue()."\n";
Is inherited from RDF::Core::Node, you can specify it's language and datatype URI.
See http://www.w3.org/TR/rdf-concepts/#section-Literal-Equality for details on literal equality.
This package is subject to the MPL (or the GPL alternatively).
Ginger Alliance, rdf@gingerall.cz
perl(1).
| RDF-Core documentation | view source | Contained in the RDF-Core distribution. |