NAME

RDF::NS::Trine - Popular RDF namespace prefixes from prefix.cc as RDF::Trine nodes

VERSION

version 20111124

SYNOPSIS

use RDF::NS::Trine;

my $ns = RDF::NS::Trine->new('20111124');

$ns->foaf_Person;        # a RDF::Trine::Node::Resource
$ns->URI('foaf:Person);  # same
$ns->foaf_Person->uri;   # http://xmlns.com/foaf/0.1/Person

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.

Before using this module, make sure to install RDF::Trine, which is not automatically installed together with RDF::NS!

AUTHOR

Jakob Voss

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 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.