Dear all,
During the recent Moving to Moose hackathon[1], it was decided we needed to
consolidate modules that dealt with namespaces, and prefix-namespace
mappings. There are various uses for this, both RDF and XML people tend to
use it extensively, and we found that it didn't belong in any of these
namespaces, and should not depend on the core modules of these
technologies. Instead, it should depend on Moose. :-)
So, a few of us sat down and did that. The distribution has two modules,
URI::Namespace which is intended to replace XML::Namespace and
RDF::Trine::Namespace and URI::NamespaceMap, which is intended to replace
RDF::Trine::NamespaceMap.
So, I uploaded the file
URI-NamespaceMap-0.02.tar.gz
which has entered CPAN as
file: $CPAN/authors/id/K/KJ/KJETILK/URI-NamespaceMap-0.02.tar.gz
size: 47689 bytes
md5: 1e1d70a7ec6031f43a4bd926e1ffc5e1
RDF::Trine is being refactored to use this already. I have also done some
work to incorporate RDF::NS, XML::CommonNS and RDF::Prefixes, which will
add some DWIMmiry to it so you don't have to write long URI strings
yourself if you don't want to, but this still sits in my github repo.
[1] http://act.yapc.eu/mtmh2012/
Cheers,
Kjetil
--
Kjetil Kjernsmo
PhD Research Fellow, University of Oslo, Norway
Semantic Web / SPARQL Query Federation
[email protected] http://www.kjetil.kjernsmo.net/