DOKK / manpages / debian 10 / librdf-ns-perl / RDF::NS::URIS.3pm.en
RDF::NS::URIS(3pm) User Contributed Perl Documentation RDF::NS::URIS(3pm)

RDF::NS::URIS - Popular RDF namespace prefixes from prefix.cc as URI objects

  use RDF::NS::URIS;
  use constant NS => RDF::NS::URIS->new('20170111');
  NS->foaf_Person;             # an URI object
  NS->uri('foaf:Person);       # same
  NS->foaf_Person->as_string;  # http://xmlns.com/foaf/0.1/Person

RDF::NS::URIS works like RDF::NS but it returns instances of URI instead of plain strings. You must have installed module URI to use this package.

URI::NamespaceMap

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

2017-01-12 perl v5.24.1