1RDF::Trine::Node::ResouUrsceer(3C)ontributed Perl DocumeRnDtFa:t:iTornine::Node::Resource(3)
2
3
4
6 RDF::Trine::Node::Resource - RDF Node class for IRI resources
7
9 This document describes RDF::Trine::Node::Resource version 1.019
10
12 Beyond the methods documented below, this class inherits methods from
13 the RDF::Trine::Node class.
14
15 "new ( $iri, [ $base_uri ] )"
16 Returns a new Resource structure.
17
18 "uri_value"
19 Returns the URI/IRI value of this resource.
20
21 "value"
22 Returns the URI/IRI value.
23
24 "uri ( $uri )"
25 Returns the URI value of this resource, optionally updating the
26 URI.
27
28 "sse"
29 Returns the SSE string for this resource.
30
31 "as_string"
32 Returns a string representation of the node.
33
34 "as_ntriples"
35 Returns the node in a string form suitable for NTriples
36 serialization. If the IRI contains punycode, it will be decoded
37 and serialized as unicode codepoints.
38
39 "type"
40 Returns the type string of this node.
41
42 "equal ( $node )"
43 Returns true if the two nodes are equal, false otherwise.
44
45 "qname"
46 If the IRI can be split into a namespace and local part for
47 construction of a QName, returns a list containing these two parts.
48 Otherwise throws an exception.
49
51 Please report any bugs or feature requests to through the GitHub web
52 interface at <https://github.com/kasei/perlrdf/issues>.
53
55 Gregory Todd Williams "<gwilliams@cpan.org>"
56
58 Copyright (c) 2006-2012 Gregory Todd Williams. This program is free
59 software; you can redistribute it and/or modify it under the same terms
60 as Perl itself.
61
62
63
64perl v5.32.0 2020-07-28 RDF::Trine::Node::Resource(3)