1RDF::NS::URIS(3pm) User Contributed Perl Documentation RDF::NS::URIS(3pm)
2
3
4
6 RDF::NS::URIS - Popular RDF namespace prefixes from prefix.cc as URI
7 objects
8
10 use RDF::NS::URIS;
11 use constant NS => RDF::NS::URIS->new('20230619');
12
13 NS->foaf_Person; # an URI object
14 NS->uri('foaf:Person); # same
15 NS->foaf_Person->as_string; # http://xmlns.com/foaf/0.1/Person
16
18 RDF::NS::URIS works like RDF::NS but it returns instances of URI
19 instead of plain strings. You must have installed module URI to use
20 this package.
21
23 URI::NamespaceMap
24
26 This software is copyright (c) 2013- by Jakob Voß.
27
28 This is free software; you can redistribute it and/or modify it under
29 the same terms as the Perl 5 programming language system itself.
30
31
32
33perl v5.38.0 2023-07-21 RDF::NS::URIS(3pm)