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.
new($value)
new($value, $language)
new($value, $language, $datatype)
getValue()
getLang()
getDatatype()
equals($other)
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).
To install RDF::Core, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::Core
CPAN shell
perl -MCPAN -e shell install RDF::Core
For more information on module installation, please visit the detailed CPAN module installation guide.