RDF::T...source(3pm)
β¨ RDF::Trine::Node::Resource β¨
okay bestie, so this is a Perl module β RDF::Trine::Node::Resource β and it's literally the RDF Node class for IRI resources. that's the whole vibe. it's giving "your fav node type but make it a resource" π
this page lives in the User Contributed Perl Documentation, and it's documented as version 1.019 of RDF::Trine::Node::Resource. periodt.
πΈ VERSION πΈ
this document describes RDF::Trine::Node::Resource version 1.019. no cap, that's the number. π
π METHODS π
so here's the tea β beyond the methods listed below, this class inherits methods from the RDF::Trine::Node class. so if you're looking for something and it's not here, go check that parent class, iykyk. π«Ά
new ( $iri, [ $base_uri ] )β returns a brand new Resource structure. fresh out the box β¨uri_valueβ returns the URI/IRI value of this resource. that's it, that's the whole job πvalueβ returns the URI/IRI value. yes bestie, same energy as above.uri ( $uri )β returns the URI value of this resource, and optionally you can pass in a$urito update it. glow up on demand πsseβ returns the SSE string for this resource.as_stringβ returns a string representation of the node. stringified and serving looks πas_ntriplesβ returns the node in a string form suitable for NTriples serialization. heads up tho: if the IRI contains punycode, it will be decoded and serialized as unicode codepoints. not me decoding punycode πtypeβ returns the type string of this node.equal ( $node )β returns true if the two nodes are equal, false otherwise. comparison check, slay or nay β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. no chill at all π
π BUGS π
please report any bugs or feature requests through the GitHub web interface at <https://github.com/kasei/perlrdf/issues>. go tell them directly, bestie, they wanna hear it π
π AUTHOR π
Gregory Todd Williams <gwilliams@cpan.org> β the main character who wrote this π
π COPYRIGHT π
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.
fr fr that's the whole page. no detail left behind, every method accounted for, we ate and left no crumbs π
okay and one last thing before you go β this was served up on perl v5.38.2, dated 2024-01-13, straight from the RDF::T...source manual. bye bestie, go write some IRIs πβ¨π¦
π¦ where this page comes from
- debian trixie: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: librdf-trine-perl 1.019-4 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms