NAME

RDF::Core::Resource - a resource for RDF statement

SYNOPSIS

require RDF::Core::Resource;
my $resource=new RDF::Core::Resource("http://www.gingerall.cz/employees#","Jim");
print $resource->getURI()."\n";

DESCRIPTION

Is inherited from RDF::Core::Node

It just knows it's URI. If it's created with two parameters (namespace and local value), it remembers the settings. Else it makes its own guess what namespace is.

Interface

  • new($URI)

  • new($namespace,$localValue)

  • getURI

  • getNamespace

  • getLocalValue

  • equals($other)

LICENSE

This package is subject to the MPL (or the GPL alternatively).

AUTHOR

Ginger Alliance, rdf@gingerall.cz

SEE ALSO

perl(1).