NAME
RDF::NS::Trine - Popular RDF namespace prefixes from prefix.cc as RDF::Trine nodes
VERSION
version 20120124
SYNOPSIS
use RDF::NS::Trine;
use constant NS => RDF::NS::Trine->new('20120124');
NS->foaf_Person; # a RDF::Trine::Node::Resource
NS->URI('foaf:Person); # same
NS->foaf_Person->uri; # http://xmlns.com/foaf/0.1/Person
NS->_; # a RDF::Trine::Node::Blank
NS->_abc; # a blank node with id 'abc'
NS->URI('_:abc'); # same
DESCRIPTION
In contrast to RDF::NS, which should be consulted for documentation, this returns no plain string URIs but instances of RDF::Trine::Node::Resource or RDF::Trine::Node::Blank.
Before using this module, make sure to install RDF::Trine, which is not installed automatically together with RDF::NS!
AUTHOR
Jakob Voss
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Jakob Voss.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.