RDF::NS::Trine - Popular RDF namespace prefixes from prefix.cc as RDF::Trine nodes
use RDF::NS::Trine; use constant NS => RDF::NS::Trine->new('20180213'); NS->foaf_Person; # iri('http://xmlns.com/foaf/0.1/Person') NS->uri('foaf:Person); # same RDF::Trine::Node::Resource NS->foaf_Person->uri; # http://xmlns.com/foaf/0.1/Person NS->_; # RDF::Trine::Node::Blank NS->_abc; # blank node with id 'abc' NS->uri('_:abc'); # same
Returns a new RDF::Trine::Node::Blank.
This software is copyright (c) 2013- by Jakob Voß.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.