Skip to content

Commit 356fa29

Browse files
committed
Update source locations for DCMI vocabularies.
1 parent b2fdbb7 commit 356fa29

2 files changed

Lines changed: 20 additions & 5 deletions

File tree

lib/rdf/vocab.rb

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,24 @@ module Vocab
6161
uri: "http://dbpedia.org/ontology/",
6262
skip: true # as of 2023-07-23, not available for download at previous location
6363
},
64-
dc: {uri: "http://purl.org/dc/terms/"},
65-
dc11: {uri: "http://purl.org/dc/elements/1.1/"},
64+
dc: {
65+
# https://www.dublincore.org/schemas/rdfs/
66+
uri: "http://purl.org/dc/terms/",
67+
source: 'https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_terms.nt'
68+
},
69+
dc11: {
70+
# https://www.dublincore.org/schemas/rdfs/
71+
uri: "http://purl.org/dc/elements/1.1/",
72+
source: 'https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_elements.nt'
73+
},
6674
dcat: {
6775
uri: "http://www.w3.org/ns/dcat#"
6876
},
6977
dcmitype: {
70-
uri: "http://purl.org/dc/dcmitype/",
71-
class_name: "DCMIType"
78+
# https://www.dublincore.org/schemas/rdfs/
79+
uri: "http://purl.org/dc/dcmitype/",
80+
source: 'https://www.dublincore.org/specifications/dublin-core/dcmi-terms/dublin_core_type.nt',
81+
class_name: "DCMIType"
7282
},
7383
disco: {
7484
uri: "http://rdf-vocabulary.ddialliance.org/discovery#",
@@ -231,7 +241,11 @@ module Vocab
231241
} .
232242
}
233243
},
234-
lrmi: {uri: "http://purl.org/dcx/lrmi-terms/", strict: false},
244+
lrmi: {
245+
# https://www.dublincore.org/schemas/rdfs/
246+
uri: "http://purl.org/dcx/lrmi-terms/",
247+
strict: false
248+
},
235249
ma: {uri: "http://www.w3.org/ns/ma-ont#", source: "http://www.w3.org/ns/ma-ont.rdf", strict: false},
236250
mads: {
237251
uri: "http://www.loc.gov/mads/rdf/v1#",

lib/rdf/vocab/xhtml.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module RDF::Vocab
99

1010
# Ontology definition
1111
ontology :"http://www.w3.org/1999/xhtml#",
12+
"http://www.w3.org/1999/xhtml/vocab#stylesheet": "http://www.w3.org/StyleSheets/TR/base",
1213
"http://www.w3.org/2003/g/data-view#namespaceTransformation": "http://www.w3.org/2008/07/rdfa-xslt"
1314
end
1415
end

0 commit comments

Comments
 (0)