[SCM] librdf-ns-perl Debian packaging branch, master, updated. debian/20130208-1-22-g47de138
Jakob Voss
voss at gbv.de
Fri Apr 19 13:28:43 UTC 2013
The following commit has been merged in the master branch:
commit 4eaeb64f1b71fd2b96c814c3b0555f89e87d6067
Author: Jakob Voss <voss at gbv.de>
Date: Mon May 21 09:38:27 2012 +0200
update to 20120521
diff --git a/Changes b/Changes
index c71aa96..372914e 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+20120521 (791 prefixes)
+ added: d2r,efo,enhancer,fcm,fise,fl,fls,oboe,pccz,rdrel,rec54
20120426 (780 prefixes)
added: aerols,carfo,cerif,cheminf,cts2,example,func,geom,gldp,goef,hg,ipad,isbd,kupkb,lexvo,lr,lv,marcrel,metalex,mohammad,npg,nsogi,oac,ogorg,omv,onssprel,ospost,pay,pf,pne,prism21,pro,prviv,ql,r2rml,rating,recipe,scufl2,ssn,vapour,vsws,wbc,wbp,wkd,wp,wscaim,xkos
changed: linkedct,nfo,pc,prov,xhtml
diff --git a/README b/README
index 18e0ec7..e568e6b 100644
--- a/README
+++ b/README
@@ -16,7 +16,7 @@ for easy reuse without having to download them in every application.
In short, you can get a full prefix-to-namespace mapping as blessed hash with
- RDF::NS->new('20120426')
+ RDF::NS->new('20120521')
The only argument to the constructor is the version number, that is equivalent
to the date of a particular snapshot. The changelog in the file Changes lists
diff --git a/dist.ini b/dist.ini
index 31687ba..0fd3e13 100644
--- a/dist.ini
+++ b/dist.ini
@@ -1,6 +1,6 @@
name = RDF-NS
license = Perl_5
-version = 20120426
+version = 20120521
copyright_year = 2012
author = Jakob Voss
copyright_holder = Jakob Voss
diff --git a/lib/RDF/NS.pm b/lib/RDF/NS.pm
index 495fbc4..3ac4cc4 100644
--- a/lib/RDF/NS.pm
+++ b/lib/RDF/NS.pm
@@ -131,8 +131,8 @@ sub AUTOLOAD {
=head1 SYNOPSIS
- use RDF::NS '20120426'; # check at compile time
- my $ns = RDF::NS->new('20120426'); # check at runtime
+ use RDF::NS '20120521'; # check at compile time
+ my $ns = RDF::NS->new('20120521'); # check at runtime
$ns->foaf; # http://xmlns.com/foaf/0.1/
$ns->foaf_Person; # http://xmlns.com/foaf/0.1/Person
@@ -147,9 +147,9 @@ sub AUTOLOAD {
$ns->TTL('foaf'); # @prefix foaf: <http://xmlns.com/foaf/0.1/> .
$ns->XMLNS('foaf'); # xmlns:foaf="http://xmlns.com/foaf/0.1/"
- # To get RDF::Trine::Node::Resource instead of strings
- use RDF::NS::Trine;
- $ns = RDF::NS::Trine->new('20120426');
+ # get RDF::Trine::Node::Resource instead of strings
+ use RDF::NS::Trine; # requires RDF::Trine
+ $ns = RDF::NS::Trine->new('20120521');
$ns->foaf_Person; # iri('http://xmlns.com/foaf/0.1/Person')
# load your own mapping
@@ -159,7 +159,7 @@ sub AUTOLOAD {
%map = $ns->SELECT('rdf,dc,foaf');
$uri = $ns->SELECT('foo|bar|doz'); # returns first existing namespace
- # instances are just blessed hash references
+ # instances of RDF::NS are just blessed hash references
$ns->{'foaf'}; # http://xmlns.com/foaf/0.1/
bless { foaf => 'http://xmlns.com/foaf/0.1/' }, 'RDF::NS';
print (scalar %$ns) . "prefixes\n";
@@ -180,8 +180,9 @@ The command line client L<rdfns> is installed automatically with this module:
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
This module does not require L<RDF::Trine>, which is recommended nevertheless.
-If you prefer RDF::NS to return instances of L<RDF::Trine::Node::Resource>
-instead of plain strings, use L<RDF::NS::Trine>.
+You should install at least RDF::NS 0.140. If you prefer RDF::NS to return
+instances of L<RDF::Trine::Node::Resource> instead of plain strings, use
+L<RDF::NS::Trine>.
The code repository of this module also contains an
L<update script|https://github.com/nichtich/RDF-NS/blob/master/update.pl>
diff --git a/lib/RDF/NS/Trine.pm b/lib/RDF/NS/Trine.pm
index 2b6c4ba..070513f 100644
--- a/lib/RDF/NS/Trine.pm
+++ b/lib/RDF/NS/Trine.pm
@@ -21,7 +21,7 @@ sub BLANK {
=head1 SYNOPSIS
use RDF::NS::Trine;
- use constant NS => RDF::NS::Trine->new('20120426');
+ use constant NS => RDF::NS::Trine->new('20120521');
NS->foaf_Person; # a RDF::Trine::Node::Resource
NS->URI('foaf:Person); # same
diff --git a/share/20120426.txt b/share/20120521.txt
similarity index 98%
copy from share/20120426.txt
copy to share/20120521.txt
index df32405..fa06437 100644
--- a/share/20120426.txt
+++ b/share/20120521.txt
@@ -127,6 +127,7 @@ cv http://rdfs.org/resume-rdf/
cvbase http://purl.org/captsolo/resume-rdf/0.2/base#
cyc http://sw.opencyc.org/concept/
cycann http://sw.cyc.com/CycAnnotations_v1#
+d2r http://sites.wiwiss.fu-berlin.de/suhl/bizer/d2r-server/config.rdf#
d2rq http://www.wiwiss.fu-berlin.de/suhl/bizer/D2RQ/0.1#
dady http://purl.org/NET/dady#
daia http://purl.org/ontology/daia/
@@ -188,10 +189,12 @@ eco http://www.ebusiness-unibw.org/ontologies/eclass/5.1.4/#
ecs http://rdf.ecs.soton.ac.uk/ontology/ecs#
edam http://purl.bioontology.org/ontology/EDAM/
edm http://www.europeana.eu/schemas/edm/
+efo http://www.ebi.ac.uk/efo/
eg http://eulergui.sourceforge.net/engine.owl#
elog http://eulersharp.sourceforge.net/2003/03swap/log-rules#
enc http://www.w3.org/2001/04/xmlenc#
ends http://labs.mondeca.com/vocab/endpointStatus#
+enhancer http://stanbol.apache.org/ontology/enhancer/enhancer#
environ http://eulersharp.sourceforge.net/2003/03swap/environment#
es http://eulersharp.sourceforge.net/2003/03swap/log-rules#
esd http://def.esd.org.uk/
@@ -213,10 +216,14 @@ fabio http://purl.org/spar/fabio#
factbook http://www4.wiwiss.fu-berlin.de/factbook/ns#
fb http://rdf.freebase.com/ns/
fc http://www.freeclass.eu/freeclass_v1#
+fcm http://eulersharp.sourceforge.net/2006/02swap/fcm#
fct http://openlinksw.com/services/facets/1.0/
fec http://www.rdfabout.com/rdf/schema/usfec/
fed http://www.openrdf.org/config/sail/federation#
fingal http://vocab.deri.ie/fingal#
+fise http://fise.iks-project.eu/ontology/
+fl http://eulersharp.sourceforge.net/2003/03swap/fl-rules#
+fls http://lukasblaho.sk/football_league_schema#
fn http://www.w3.org/2005/xpath-functions#
foaf http://xmlns.com/foaf/0.1/
formats http://www.w3.org/ns/formats/
@@ -405,6 +412,7 @@ oat http://openlinksw.com/schemas/oat/
oauth http://demiblog.org/vocab/oauth#
obj http://www.openrdf.org/rdf/2009/object#
obo http://purl.obolibrary.org/obo/
+oboe http://ecoinformatics.org/oboe/oboe.1.0/oboe-core.owl#
oboro http://obofoundry.org/ro/ro.owl#
oboso http://purl.org/obo/owl/SO#
oc http://opencoinage.org/rdf/
@@ -458,6 +466,7 @@ pay http://purl.org/commerce/payment#
payment http://reference.data.gov.uk/def/payment#
pbo http://purl.org/ontology/pbo/core#
pc http://purl.org/procurement/public-contracts#
+pccz http://purl.org/procurement/public-contracts-czech#
pdo http://ontologies.smile.deri.ie/pdo#
pf http://jena.hpl.hp.com/ARQ/property#
pgterms http://www.gutenberg.org/2009/pgterms/
@@ -536,8 +545,10 @@ rdfdf http://www.openlinksw.com/virtrdf-data-formats#
rdfg http://www.w3.org/2004/03/trix/rdfg-1/
rdfs http://www.w3.org/2000/01/rdf-schema#
rdo http://purl.org/rdo/ns#
+rdrel http://rdvocab.info/RDARelationshipsWEMI/
re http://www.w3.org/2000/10/swap/reason#
rec http://purl.org/ontology/rec/core#
+rec54 http://www.w3.org/2001/02pd/rec54.rdf#
recipe http://linkedrecipes.org/schema/
reco http://purl.org/reco#
ref http://purl.org/vocab/relationship/
diff --git a/t/trine.t b/t/trine.t
index de09de7..ea06559 100644
--- a/t/trine.t
+++ b/t/trine.t
@@ -3,8 +3,8 @@ use warnings;
use Test::More;
eval { require RDF::Trine::Node::Resource; };
-if ( $@ ) {
- diag("RDF::Trine missing - skip tests of RDF::NS::Trine");
+if ( $@ or $RDF::Trine::VERSION < 0.140) {
+ diag("RDF::Trine missing or too old - skip tests of RDF::NS::Trine");
ok(1, "skip tests");
done_testing;
exit 0;
--
librdf-ns-perl Debian packaging
More information about the Pkg-perl-cvs-commits
mailing list