librdf-prefixes-perl

Simple way to turn uris into qnames
  https://metacpan.org/release/RDF-Prefixes
  0
  no reviews



Resource description framework (rdf) is a standard model for data interchange on the web.

rdf::prefixes is not so much for managing namespaces/prefixes in code (see rdf::trine::namespacemap for that), but as a helper for code that serialises data using namespaces.

it generates pretty prefixes, reducing "http://purl.org/dc/terms/" to "dc" rather than something too generic like "ns01", and provides a context for keeping track of namespaces already used, so that when "http://purl.org/dc/elements/1.1/" is encountered, it won't stomp on the previous definition of "dc".