RDF::Trine::Node::Resource(3) RDF Node class for IRI resources


This document describes RDF::Trine::Node::Resource version 1.014


Beyond the methods documented below, this class inherits methods from the RDF::Trine::Node class.
"new ( $iri, [ $base_uri ] )"
Returns a new Resource structure.
Returns the URI/IRI value of this resource.
Returns the URI/IRI value.
"uri ( $uri )"
Returns the URI value of this resource, optionally updating the URI.
Returns the SSE string for this resource.
Returns a string representation of the node.
Returns the node in a string form suitable for NTriples serialization. If the IRI contains punycode, it will be decoded and serialized as unicode codepoints.
Returns the type string of this node.
"equal ( $node )"
Returns true if the two nodes are equal, false otherwise.
If the IRI can be split into a namespace and local part for construction of a QName, returns a list containing these two parts. Otherwise throws an exception.


Please report any bugs or feature requests to through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>.


Gregory Todd Williams "<[email protected]>"


Copyright (c) 2006-2012 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.