aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-07 18:44:40 -0400
committerDavid Robillard <d@drobilla.net>2022-07-17 17:08:39 -0400
commit1c04550ba7db794fe23032143afeb07bee04ea08 (patch)
tree9392a5351241f3bbe151220a0fb75a447debcb1d
parentc473f47f21c84aaf03ec179dde57c7929867b1ec (diff)
downloadlv2-1c04550ba7db794fe23032143afeb07bee04ea08.tar.xz
Consistently use the prefix "dcterms" everywhere
-rw-r--r--doc/index.html.in4
-rw-r--r--lv2specgen/DTD/xhtml-rdfa-1.dtd2
-rwxr-xr-xlv2specgen/lv2specgen.py2
-rw-r--r--lv2specgen/template.html6
-rw-r--r--schemas.lv2/dcterms.ttl (renamed from schemas.lv2/dct.ttl)0
-rw-r--r--schemas.lv2/doap.ttl4
-rw-r--r--schemas.lv2/foaf.ttl10
-rw-r--r--schemas.lv2/manifest.ttl2
-rw-r--r--schemas.lv2/owl.ttl4
-rw-r--r--schemas.lv2/rdf.ttl6
-rw-r--r--schemas.lv2/rdfs.ttl4
-rwxr-xr-xutil/lv2_validate.in2
12 files changed, 23 insertions, 23 deletions
diff --git a/doc/index.html.in b/doc/index.html.in
index 875ad39..e097eab 100644
--- a/doc/index.html.in
+++ b/doc/index.html.in
@@ -62,12 +62,12 @@
</div>
<div>
Valid
- <a about="" rel="dct:conformsTo" resource="http://www.w3.org/TR/rdfa-syntax"
+ <a about="" rel="dcterms:conformsTo" resource="http://www.w3.org/TR/rdfa-syntax"
href="http://validator.w3.org/check?uri=referer">
XHTML+RDFa
</a>
and
- <a about="" rel="dct:conformsTo" resource="http://www.w3.org/TR/CSS2"
+ <a about="" rel="dcterms:conformsTo" resource="http://www.w3.org/TR/CSS2"
href="http://jigsaw.w3.org/css-validator/check/referer">
CSS
</a>
diff --git a/lv2specgen/DTD/xhtml-rdfa-1.dtd b/lv2specgen/DTD/xhtml-rdfa-1.dtd
index 26ed117..dcfbf09 100644
--- a/lv2specgen/DTD/xhtml-rdfa-1.dtd
+++ b/lv2specgen/DTD/xhtml-rdfa-1.dtd
@@ -442,7 +442,7 @@
mangle DTDs to appease validation -->
<!ATTLIST html xmlns:dc CDATA #IMPLIED>
-<!ATTLIST html xmlns:dct CDATA #IMPLIED>
+<!ATTLIST html xmlns:dcterms CDATA #IMPLIED>
<!ATTLIST html xmlns:rdf CDATA #IMPLIED>
<!ATTLIST html xmlns:rdfs CDATA #IMPLIED>
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index a4ccefa..ceeefbd 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -93,7 +93,7 @@ ns_list = {
"http://rdfs.org/sioc/ns#": "sioc",
"http://xmlns.com/foaf/0.1/": "foaf",
"http://purl.org/dc/elements/1.1/": "dc",
- "http://purl.org/dc/terms/": "dct",
+ "http://purl.org/dc/terms/": "dcterms",
"http://purl.org/rss/1.0/modules/content/": "content",
"http://www.w3.org/2003/01/geo/wgs84_pos#": "geo",
"http://www.w3.org/2004/02/skos/core#": "skos",
diff --git a/lv2specgen/template.html b/lv2specgen/template.html
index ed9d6fb..879a109 100644
--- a/lv2specgen/template.html
+++ b/lv2specgen/template.html
@@ -3,7 +3,7 @@
<html about="@URI@"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:dct="http://purl.org/dc/terms/"
+ xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:lv2="http://lv2plug.in/ns/lv2core#"
@@ -77,12 +77,12 @@
</div>
<div>
Valid
- <a about="" rel="dct:conformsTo" resource="http://www.w3.org/TR/rdfa-syntax"
+ <a about="" rel="dcterms:conformsTo" resource="http://www.w3.org/TR/rdfa-syntax"
href="http://validator.w3.org/check?uri=referer">
XHTML+RDFa
</a>
and
- <a about="" rel="dct:conformsTo" resource="http://www.w3.org/TR/CSS2"
+ <a about="" rel="dcterms:conformsTo" resource="http://www.w3.org/TR/CSS2"
href="http://jigsaw.w3.org/css-validator/check/referer">
CSS
</a>
diff --git a/schemas.lv2/dct.ttl b/schemas.lv2/dcterms.ttl
index f6a5d06..f6a5d06 100644
--- a/schemas.lv2/dct.ttl
+++ b/schemas.lv2/dcterms.ttl
diff --git a/schemas.lv2/doap.ttl b/schemas.lv2/doap.ttl
index c8daf59..b806d31 100644
--- a/schemas.lv2/doap.ttl
+++ b/schemas.lv2/doap.ttl
@@ -1,4 +1,4 @@
-@prefix dct: <http://purl.org/dc/terms/> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@@ -14,7 +14,7 @@ doap:
décrit en utilisant RDF Schema du W3C et OWL."""@fr ,
"Slovník Description of a Project (DOAP, Popis projektu), popsaný použitím W3C RDF Schema a Web Ontology Language."@cs ,
"The Description of a Project (DOAP) vocabulary, described using W3C RDF Schema and the Web Ontology Language." ;
- dct:title "Description of a Project (DOAP) vocabulary" ;
+ dcterms:title "Description of a Project (DOAP) vocabulary" ;
owl:imports foaf: ;
foaf:maker [
a foaf:Person ;
diff --git a/schemas.lv2/foaf.ttl b/schemas.lv2/foaf.ttl
index e8379ac..17dcc13 100644
--- a/schemas.lv2/foaf.ttl
+++ b/schemas.lv2/foaf.ttl
@@ -2,12 +2,12 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-@prefix dct: <http://purl.org/dc/terms/> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
foaf:
a owl:Ontology ;
- dct:description "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." ;
- dct:title "Friend of a Friend (FOAF) vocabulary" ;
+ dcterms:description "The Friend of a Friend (FOAF) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language." ;
+ dcterms:title "Friend of a Friend (FOAF) vocabulary" ;
rdfs:comment "This version of the FOAF vocabulary has been slightly trimmed for LV2." .
foaf:Agent
@@ -15,7 +15,7 @@ foaf:Agent
owl:Class ;
rdfs:comment "An agent (eg. person, group, software or physical artifact)." ;
rdfs:label "Agent" ;
- owl:equivalentClass dct:Agent .
+ owl:equivalentClass dcterms:Agent .
foaf:Document
a rdfs:Class ,
@@ -347,7 +347,7 @@ foaf:maker
rdfs:isDefinedBy foaf: ;
rdfs:label "maker" ;
rdfs:range foaf:Agent ;
- owl:equivalentProperty dct:creator ;
+ owl:equivalentProperty dcterms:creator ;
owl:inverseOf foaf:made .
foaf:mbox
diff --git a/schemas.lv2/manifest.ttl b/schemas.lv2/manifest.ttl
index ad142c1..ed11c1a 100644
--- a/schemas.lv2/manifest.ttl
+++ b/schemas.lv2/manifest.ttl
@@ -7,7 +7,7 @@
<http://purl.org/dc/terms/>
a owl:Ontology ;
- rdfs:seeAlso <dct.ttl> .
+ rdfs:seeAlso <dcterms.ttl> .
<http://usefulinc.com/ns/doap#>
a owl:Ontology ;
diff --git a/schemas.lv2/owl.ttl b/schemas.lv2/owl.ttl
index 6392774..26bd0e8 100644
--- a/schemas.lv2/owl.ttl
+++ b/schemas.lv2/owl.ttl
@@ -2,10 +2,10 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
-@prefix dct: <http://purl.org/dc/terms/> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
<http://www.w3.org/2002/07/owl>
- dct:title "The OWL 2 Schema vocabulary (OWL 2)" ;
+ dcterms:title "The OWL 2 Schema vocabulary (OWL 2)" ;
a owl:Ontology ;
rdfs:comment """
This ontology partially describes the built-in classes and
diff --git a/schemas.lv2/rdf.ttl b/schemas.lv2/rdf.ttl
index 63b5628..cb758cb 100644
--- a/schemas.lv2/rdf.ttl
+++ b/schemas.lv2/rdf.ttl
@@ -1,12 +1,12 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
-@prefix dct: <http://purl.org/dc/terms/> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
rdf:
a owl:Ontology ;
- dct:description "This is the RDF Schema for the RDF vocabulary defined in the RDF namespace." ;
- dct:title "The RDF Vocabulary (RDF)" ;
+ dcterms:description "This is the RDF Schema for the RDF vocabulary defined in the RDF namespace." ;
+ dcterms:title "The RDF Vocabulary (RDF)" ;
rdfs:seeAlso <http://www.w3.org/2000/01/rdf-schema-more> .
rdf:Alt
diff --git a/schemas.lv2/rdfs.ttl b/schemas.lv2/rdfs.ttl
index 5dc1bf3..10cfbb7 100644
--- a/schemas.lv2/rdfs.ttl
+++ b/schemas.lv2/rdfs.ttl
@@ -1,11 +1,11 @@
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
-@prefix dct: <http://purl.org/dc/terms/> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
rdfs:
a owl:Ontology ;
- dct:title "The RDF Schema vocabulary (RDFS)" ;
+ dcterms:title "The RDF Schema vocabulary (RDFS)" ;
rdfs:seeAlso <http://www.w3.org/2000/01/rdf-schema-more> .
rdfs:Class
diff --git a/util/lv2_validate.in b/util/lv2_validate.in
index 2295f98..66fee6b 100755
--- a/util/lv2_validate.in
+++ b/util/lv2_validate.in
@@ -85,7 +85,7 @@ sord_validate \
"$LV2DIR/schemas.lv2/xsd.ttl" \
"$LV2DIR/schemas.lv2/manifest.ttl" \
"$LV2DIR/schemas.lv2/rdf.ttl" \
- "$LV2DIR/schemas.lv2/dct.ttl" \
+ "$LV2DIR/schemas.lv2/dcterms.ttl" \
"$LV2DIR/schemas.lv2/doap.ttl" \
"$LV2DIR/schemas.lv2/rdfs.ttl" \
"$LV2DIR/schemas.lv2/dcs.ttl" \