RDF::Trine::Node::Resource(3pm)

RDF::Trine::Node::Resource3pm

Rdf node class for iri resources

Version

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

Methods

Beyond the methods documented below, this class inherits methods from the RDF::Trine::Node class.

"new ( $iri, [ $base_uri ] )"

Returns a new Resource structure.

"uri_value"

Returns the URI/IRI value of this resource.

"value"

Returns the URI/IRI value.

"uri ( $uri )"

Returns the URI value of this resource, optionally updating the URI.

"sse"

Returns the SSE string for this resource.

"as_string"

Returns a string representation of the node.

"as_ntriples"

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.

"type"

Returns the type string of this node.

"equal ( $node )"

Returns true if the two nodes are equal, false otherwise.

"qname"

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.

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12
  6. 13

Bugs

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

Author

Gregory Todd Williams "<[email protected]>"

From librdf-trine-perl 1.019-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.