lib/rdf/vocab.rb in rdf-vocab-0.8.7.1 vs lib/rdf/vocab.rb in rdf-vocab-0.8.8
- old
+ new
@@ -28,10 +28,37 @@
dcat: {uri: "http://www.w3.org/ns/dcat#", alias: true},
dcmitype: {
uri: "http://purl.org/dc/dcmitype/",
class_name: "DCMIType"
},
- doap: {uri: "http://usefulinc.com/ns/doap#", alias: true},
+ disco: {
+ uri: "http://rdf-vocabulary.ddialliance.org/discovery#",
+ source: "https://raw.githubusercontent.com/linked-statistics/disco-spec/master/discovery.ttl",
+ patch: %{
+ @prefix dcmitype: <http://purl.org/dc/dcmitype/> .
+ @prefix dcterms: <http://purl.org/dc/terms/> .
+ @prefix disco: <http://rdf-vocabulary.ddialliance.org/discovery#> .
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
+ DeleteExisting {
+ disco:DataFile rdfs:subClassOf dcterms:Dataset .
+ } .
+ AddNew {
+ disco:DataFile rdfs:subClassOf dcmitype:Dataset .
+ disco:Representation a rdfs:Class .
+ } .
+ }
+ },
+ doap: {
+ uri: "http://usefulinc.com/ns/doap#",
+ #patch: %{
+ # @prefix : <http://usefulinc.com/ns/doap#> .
+ # @prefix foaf: <http://xmlns.com/foaf/0.1/> .
+ # @prefix owl: <http://www.w3.org/2002/07/owl#>.
+ # DeleteExisting {: owl:imports foaf:index.rdf .} .
+ # AddNew {: owl:imports foaf: .} .
+ #},
+ alias: true
+ },
dwc: {
uri: "http://rs.tdwg.org/dwc/terms/",
source: "etc/dwcterms.rdf",
alt_source: "http://rs.tdwg.org/dwc/rdf/dwcterms.rdf"
},