summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2020-04-22 01:21:05 +0200
committerSam Thursfield <sam@afuera.me.uk>2020-04-22 01:33:24 +0200
commit3d541fb56ff3db66142d46eca3a58a5ea4451795 (patch)
tree59ee71ea482ce5c0c78f7e2e4e43132090a8776d /utils
parent99abf208e8d2110a90a0da3d3e96cfed09e36365 (diff)
downloadtracker-3d541fb56ff3db66142d46eca3a58a5ea4451795.tar.gz
Update ontology URLs for 3.0
Our ontology URLs now use a namespace that we manage, at http://tracker.api.gnome.org/. This domain won't expire and can redirect anywhere we want, so that it can always link to the correct documentation for the ontologies. We are going to continue using the Nepomuk name in the ontologies that were developed by the Nepomuk project, despite changing the URL. This way we acknowledge that we have downstream changes to the Nepomuk ontologies but still provide a link to the original shared vocabularies. Fixes https://gitlab.gnome.org/GNOME/tracker/-/issues/162 and https://gitlab.gnome.org/GNOME/tracker/-/issues/104
Diffstat (limited to 'utils')
-rw-r--r--utils/ontology/README.example2
-rw-r--r--utils/ontology/ontology-validator.c8
-rw-r--r--utils/ontology/rdfxml2metadatasample.xsl16
-rw-r--r--utils/ontology/rdfxml2servicesample.xsl16
-rw-r--r--utils/ontology/rdfxml2unittest_data.xsl32
-rw-r--r--utils/ontology/rdfxml2unittest_query.xsl32
-rw-r--r--utils/ontology/rdfxmlsample.xsl16
-rw-r--r--utils/ontology/service2rdf-xml.py16
8 files changed, 69 insertions, 69 deletions
diff --git a/utils/ontology/README.example b/utils/ontology/README.example
index 48277a2bc..ceb8dbd04 100644
--- a/utils/ontology/README.example
+++ b/utils/ontology/README.example
@@ -9,7 +9,7 @@
E.g.
- ./ttl2html -f ../../src/ontologies/39-mto.ontology -u http://www.tracker-project.org/temp/mto#
+ ./ttl2html -f ../../src/ontologies/39-mto.ontology -u http://tracker.api.gnome.org/ontology/v3/mto#
== ontology-validator ==
diff --git a/utils/ontology/ontology-validator.c b/utils/ontology/ontology-validator.c
index fd3123134..c133d19d5 100644
--- a/utils/ontology/ontology-validator.c
+++ b/utils/ontology/ontology-validator.c
@@ -43,12 +43,12 @@ static GOptionEntry entries[] = {
#define RDFS_SUBCLASSOF "http://www.w3.org/2000/01/rdf-schema#subClassOf"
#define RDFS_SUBPROPERTYOF "http://www.w3.org/2000/01/rdf-schema#subPropertyOf"
#define RDFS_TYPE "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
-#define TRACKER_NS "http://www.tracker-project.org/ontologies/tracker#Namespace"
-#define TRACKER_ONTO "http://www.tracker-project.org/ontologies/tracker#Ontology"
-#define TRACKER_PREFIX "http://www.tracker-project.org/ontologies/tracker#prefix"
+#define TRACKER_NS "http://tracker.api.gnome.org/ontology/v3/tracker#Namespace"
+#define TRACKER_ONTO "http://tracker.api.gnome.org/ontology/v3/tracker#Ontology"
+#define TRACKER_PREFIX "http://tracker.api.gnome.org/ontology/v3/tracker#prefix"
#define RDFS_RANGE "http://www.w3.org/2000/01/rdf-schema#range"
#define RDFS_DOMAIN "http://www.w3.org/2000/01/rdf-schema#domain"
-#define NRL_IFP "http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#InverseFunctionalProperty"
+#define NRL_IFP "http://tracker.api.gnome.org/ontology/v3/nrl#InverseFunctionalProperty"
static GList *unknown_items = NULL;
static GList *known_items = NULL;
diff --git a/utils/ontology/rdfxml2metadatasample.xsl b/utils/ontology/rdfxml2metadatasample.xsl
index b73d70c66..d4d3e8317 100644
--- a/utils/ontology/rdfxml2metadatasample.xsl
+++ b/utils/ontology/rdfxml2metadatasample.xsl
@@ -1,23 +1,23 @@
<xsl:stylesheet version = '1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
- xmlns:nid3="http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#"
- xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
- xmlns:nmo="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#"
- xmlns:nie="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#"
+ xmlns:nid3="http://tracker.api.gnome.org/ontology/v3/nid3#"
+ xmlns:nfo="http://tracker.api.gnome.org/ontology/v3/nfo#"
+ xmlns:nmo="http://tracker.api.gnome.org/ontology/v3/nmo#"
+ xmlns:nie="http://tracker.api.gnome.org/ontology/v3/nie#"
xmlns:exif="http://www.kanzaki.com/ns/exif#"
- xmlns:nao="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#"
+ xmlns:nao="http://tracker.api.gnome.org/ontology/v3/nao#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:protege="http://protege.stanford.edu/system#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:ncal="http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#"
+ xmlns:ncal="http://tracker.api.gnome.org/ontology/v3/ncal#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
- xmlns:nrl="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#"
+ xmlns:nrl="http://tracker.api.gnome.org/ontology/v3/nrl#"
xmlns:pimo="http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:tmo="http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:nco="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#"
+ xmlns:nco="http://tracker.api.gnome.org/ontology/v3/nco#"
xmlns:nexif="http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#">
<xsl:output method="text" />
diff --git a/utils/ontology/rdfxml2servicesample.xsl b/utils/ontology/rdfxml2servicesample.xsl
index eb1e114d5..b8bdf2720 100644
--- a/utils/ontology/rdfxml2servicesample.xsl
+++ b/utils/ontology/rdfxml2servicesample.xsl
@@ -1,23 +1,23 @@
<xsl:stylesheet version = '1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
- xmlns:nid3="http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#"
- xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
- xmlns:nmo="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#"
- xmlns:nie="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#"
+ xmlns:nid3="http://tracker.api.gnome.org/ontology/v3/nid3#"
+ xmlns:nfo="http://tracker.api.gnome.org/ontology/v3/nfo#"
+ xmlns:nmo="http://tracker.api.gnome.org/ontology/v3/nmo#"
+ xmlns:nie="http://tracker.api.gnome.org/ontology/v3/nie#"
xmlns:exif="http://www.kanzaki.com/ns/exif#"
- xmlns:nao="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#"
+ xmlns:nao="http://tracker.api.gnome.org/ontology/v3/nao#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:protege="http://protege.stanford.edu/system#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:ncal="http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#"
+ xmlns:ncal="http://tracker.api.gnome.org/ontology/v3/ncal#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
- xmlns:nrl="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#"
+ xmlns:nrl="http://tracker.api.gnome.org/ontology/v3/nrl#"
xmlns:pimo="http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:tmo="http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:nco="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#"
+ xmlns:nco="http://tracker.api.gnome.org/ontology/v3/nco#"
xmlns:nexif="http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#">
<xsl:output method="text" />
diff --git a/utils/ontology/rdfxml2unittest_data.xsl b/utils/ontology/rdfxml2unittest_data.xsl
index ecd109ab8..a9698caaa 100644
--- a/utils/ontology/rdfxml2unittest_data.xsl
+++ b/utils/ontology/rdfxml2unittest_data.xsl
@@ -1,23 +1,23 @@
<xsl:stylesheet version = '1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
- xmlns:nid3="http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#"
- xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
- xmlns:nmo="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#"
- xmlns:nie="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#"
+ xmlns:nid3="http://tracker.api.gnome.org/ontology/v3/nid3#"
+ xmlns:nfo="http://tracker.api.gnome.org/ontology/v3/nfo#"
+ xmlns:nmo="http://tracker.api.gnome.org/ontology/v3/nmo#"
+ xmlns:nie="http://tracker.api.gnome.org/ontology/v3/nie#"
xmlns:exif="http://www.kanzaki.com/ns/exif#"
- xmlns:nao="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#"
+ xmlns:nao="http://tracker.api.gnome.org/ontology/v3/nao#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:protege="http://protege.stanford.edu/system#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:ncal="http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#"
+ xmlns:ncal="http://tracker.api.gnome.org/ontology/v3/ncal#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
- xmlns:nrl="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#"
+ xmlns:nrl="http://tracker.api.gnome.org/ontology/v3/nrl#"
xmlns:pimo="http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:tmo="http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:nco="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#"
+ xmlns:nco="http://tracker.api.gnome.org/ontology/v3/nco#"
xmlns:nexif="http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#">
<xsl:output method="text" />
@@ -44,23 +44,23 @@
@prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; .
@prefix owl: &lt;http://www.w3.org/2002/07/owl#&gt; .
@prefix xsl: &lt;http://www.w3.org/1999/XSL/Transform#&gt; .
-@prefix nid3: &lt;http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#&gt; .
-@prefix nfo: &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#&gt; .
-@prefix nmo: &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#&gt; .
-@prefix nie: &lt;http://www.semanticdesktop.org/ontologies/2007/01/19/nie#&gt; .
+@prefix nid3: &lt;http://tracker.api.gnome.org/ontology/v3/nid3#&gt; .
+@prefix nfo: &lt;http://tracker.api.gnome.org/ontology/v3/nfo#&gt; .
+@prefix nmo: &lt;http://tracker.api.gnome.org/ontology/v3/nmo#&gt; .
+@prefix nie: &lt;http://tracker.api.gnome.org/ontology/v3/nie#&gt; .
@prefix exif: &lt;http://www.kanzaki.com/ns/exif#&gt; .
-@prefix nao: &lt;http://www.semanticdesktop.org/ontologies/2007/08/15/nao#&gt; .
+@prefix nao: &lt;http://tracker.api.gnome.org/ontology/v3/nao#&gt; .
@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
@prefix protege: &lt;http://protege.stanford.edu/system#&gt; .
@prefix dcterms: &lt;http://purl.org/dc/terms/&gt; .
-@prefix ncal: &lt;http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#&gt; .
+@prefix ncal: &lt;http://tracker.api.gnome.org/ontology/v3/ncal#&gt; .
@prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; .
-@prefix nrl: &lt;http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#&gt; .
+@prefix nrl: &lt;http://tracker.api.gnome.org/ontology/v3/nrl#&gt; .
@prefix pimo: &lt;http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#&gt; .
@prefix geo: &lt;http://www.w3.org/2003/01/geo/wgs84_pos#&gt; .
@prefix tmo: &lt;http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#&gt; .
@prefix dc: &lt;http://purl.org/dc/elements/1.1/&gt; .
-@prefix nco: &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nco#&gt; .
+@prefix nco: &lt;http://tracker.api.gnome.org/ontology/v3/nco#&gt; .
@prefix nexif: &lt;http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#&gt; .
<xsl:for-each select="rdfs:Class">
diff --git a/utils/ontology/rdfxml2unittest_query.xsl b/utils/ontology/rdfxml2unittest_query.xsl
index 6a55ccbbd..a1dae397c 100644
--- a/utils/ontology/rdfxml2unittest_query.xsl
+++ b/utils/ontology/rdfxml2unittest_query.xsl
@@ -1,23 +1,23 @@
<xsl:stylesheet version = '1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
- xmlns:nid3="http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#"
- xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
- xmlns:nmo="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#"
- xmlns:nie="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#"
+ xmlns:nid3="http://tracker.api.gnome.org/ontology/v3/nid3#"
+ xmlns:nfo="http://tracker.api.gnome.org/ontology/v3/nfo#"
+ xmlns:nmo="http://tracker.api.gnome.org/ontology/v3/nmo#"
+ xmlns:nie="http://tracker.api.gnome.org/ontology/v3/nie#"
xmlns:exif="http://www.kanzaki.com/ns/exif#"
- xmlns:nao="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#"
+ xmlns:nao="http://tracker.api.gnome.org/ontology/v3/nao#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:protege="http://protege.stanford.edu/system#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:ncal="http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#"
+ xmlns:ncal="http://tracker.api.gnome.org/ontology/v3/ncal#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
- xmlns:nrl="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#"
+ xmlns:nrl="http://tracker.api.gnome.org/ontology/v3/nrl#"
xmlns:pimo="http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:tmo="http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:nco="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#"
+ xmlns:nco="http://tracker.api.gnome.org/ontology/v3/nco#"
xmlns:nexif="http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#">
<xsl:output method="text" />
@@ -44,23 +44,23 @@
@prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; .
@prefix owl: &lt;http://www.w3.org/2002/07/owl#&gt; .
@prefix xsl: &lt;http://www.w3.org/1999/XSL/Transform#&gt; .
-@prefix nid3: &lt;http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#&gt; .
-@prefix nfo: &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#&gt; .
-@prefix nmo: &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#&gt; .
-@prefix nie: &lt;http://www.semanticdesktop.org/ontologies/2007/01/19/nie#&gt; .
+@prefix nid3: &lt;http://tracker.api.gnome.org/ontology/v3/nid3#&gt; .
+@prefix nfo: &lt;http://tracker.api.gnome.org/ontology/v3/nfo#&gt; .
+@prefix nmo: &lt;http://tracker.api.gnome.org/ontology/v3/nmo#&gt; .
+@prefix nie: &lt;http://tracker.api.gnome.org/ontology/v3/nie#&gt; .
@prefix exif: &lt;http://www.kanzaki.com/ns/exif#&gt; .
-@prefix nao: &lt;http://www.semanticdesktop.org/ontologies/2007/08/15/nao#&gt; .
+@prefix nao: &lt;http://tracker.api.gnome.org/ontology/v3/nao#&gt; .
@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
@prefix protege: &lt;http://protege.stanford.edu/system#&gt; .
@prefix dcterms: &lt;http://purl.org/dc/terms/&gt; .
-@prefix ncal: &lt;http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#&gt; .
+@prefix ncal: &lt;http://tracker.api.gnome.org/ontology/v3/ncal#&gt; .
@prefix xsd: &lt;http://www.w3.org/2001/XMLSchema#&gt; .
-@prefix nrl: &lt;http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#&gt; .
+@prefix nrl: &lt;http://tracker.api.gnome.org/ontology/v3/nrl#&gt; .
@prefix pimo: &lt;http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#&gt; .
@prefix geo: &lt;http://www.w3.org/2003/01/geo/wgs84_pos#&gt; .
@prefix tmo: &lt;http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#&gt; .
@prefix dc: &lt;http://purl.org/dc/elements/1.1/&gt; .
-@prefix nco: &lt;http://www.semanticdesktop.org/ontologies/2007/03/22/nco#&gt; .
+@prefix nco: &lt;http://tracker.api.gnome.org/ontology/v3/nco#&gt; .
@prefix nexif: &lt;http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#&gt; .
<xsl:for-each select="rdfs:Class">
diff --git a/utils/ontology/rdfxmlsample.xsl b/utils/ontology/rdfxmlsample.xsl
index 947d659ae..3aea4808c 100644
--- a/utils/ontology/rdfxmlsample.xsl
+++ b/utils/ontology/rdfxmlsample.xsl
@@ -1,23 +1,23 @@
<xsl:stylesheet version = '1.0'
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
- xmlns:nid3="http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#"
- xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
- xmlns:nmo="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#"
- xmlns:nie="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#"
+ xmlns:nid3="http://tracker.api.gnome.org/ontology/v3/nid3#"
+ xmlns:nfo="http://tracker.api.gnome.org/ontology/v3/nfo#"
+ xmlns:nmo="http://tracker.api.gnome.org/ontology/v3/nmo#"
+ xmlns:nie="http://tracker.api.gnome.org/ontology/v3/nie#"
xmlns:exif="http://www.kanzaki.com/ns/exif#"
- xmlns:nao="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#"
+ xmlns:nao="http://tracker.api.gnome.org/ontology/v3/nao#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:protege="http://protege.stanford.edu/system#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
- xmlns:ncal="http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#"
+ xmlns:ncal="http://tracker.api.gnome.org/ontology/v3/ncal#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
- xmlns:nrl="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#"
+ xmlns:nrl="http://tracker.api.gnome.org/ontology/v3/nrl#"
xmlns:pimo="http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#"
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
xmlns:tmo="http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:nco="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#"
+ xmlns:nco="http://tracker.api.gnome.org/ontology/v3/nco#"
xmlns:nexif="http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#">
<xsl:output method="text" />
<xsl:template match="rdf:RDF">
diff --git a/utils/ontology/service2rdf-xml.py b/utils/ontology/service2rdf-xml.py
index e131aefc5..c385f74c2 100644
--- a/utils/ontology/service2rdf-xml.py
+++ b/utils/ontology/service2rdf-xml.py
@@ -57,24 +57,24 @@ def main():
metadata.readfp(open(metadataf))
print("<rdf:RDF")
- print(" xmlns:nid3=\"http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#\"")
- print(" xmlns:nfo=\"http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#\"")
- print(" xmlns:nmo=\"http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#\"")
- print(" xmlns:nie=\"http://www.semanticdesktop.org/ontologies/2007/01/19/nie#\"")
+ print(" xmlns:nid3=\"http://tracker.api.gnome.org/ontology/v3/nid3#\"")
+ print(" xmlns:nfo=\"http://tracker.api.gnome.org/ontology/v3/nfo#\"")
+ print(" xmlns:nmo=\"http://tracker.api.gnome.org/ontology/v3/nmo#\"")
+ print(" xmlns:nie=\"http://tracker.api.gnome.org/ontology/v3/nie#\"")
print(" xmlns:exif=\"http://www.kanzaki.com/ns/exif#\"")
- print(" xmlns:nao=\"http://www.semanticdesktop.org/ontologies/2007/08/15/nao#\"")
+ print(" xmlns:nao=\"http://tracker.api.gnome.org/ontology/v3/nao#\"")
print(" xmlns:rdfs=\"http://www.w3.org/2000/01/rdf-schema#\"")
print(" xmlns:protege=\"http://protege.stanford.edu/system#\"")
print(" xmlns:dcterms=\"http://purl.org/dc/terms/\"")
print(" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"")
- print(" xmlns:ncal=\"http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#\"")
+ print(" xmlns:ncal=\"http://tracker.api.gnome.org/ontology/v3/ncal#\"")
print(" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema#\"")
- print(" xmlns:nrl=\"http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#\"")
+ print(" xmlns:nrl=\"http://tracker.api.gnome.org/ontology/v3/nrl#\"")
print(" xmlns:pimo=\"http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#\"")
print(" xmlns:geo=\"http://www.w3.org/2003/01/geo/wgs84_pos#\"")
print(" xmlns:tmo=\"http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#\"")
print(" xmlns:dc=\"http://purl.org/dc/elements/1.1/\"")
- print(" xmlns:nco=\"http://www.semanticdesktop.org/ontologies/2007/03/22/nco#\"")
+ print(" xmlns:nco=\"http://tracker.api.gnome.org/ontology/v3/nco#\"")
print(" xmlns:nexif=\"http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#\">")
print("")