| RDF-Core documentation | view source | Contained in the RDF-Core distribution. |
RDF::Core::Resource - a resource for RDF statement
require RDF::Core::Resource;
my $resource=new RDF::Core::Resource("http://www.gingerall.cz/employees#","Jim");
print $resource->getURI()."\n";
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.
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. |