lib/rdf/vocab.rb in rdf-vocab-2.2.9 vs lib/rdf/vocab.rb in rdf-vocab-3.0.0

- old
+ new

@@ -103,11 +103,12 @@ } }, dwc: { uri: "http://rs.tdwg.org/dwc/terms/", source: "etc/dwcterms.rdf", - alt_source: "http://rs.tdwg.org/dwc/rdf/dwcterms.rdf" + alt_source: "http://rs.tdwg.org/dwc/rdf/dwcterms.rdf", + strict: false, }, ebucore: { uri: "http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#", source: "https://www.ebu.ch/metadata/ontologies/ebucore/ebucore.rdf", class_name: "EBUCore", @@ -156,10 +157,28 @@ uri: "https://purl.org/geojson/vocab#", source: "http://geojson.org/geojson-ld/vocab.rdf" }, geonames: {uri: "http://www.geonames.org/ontology#"}, gr: {uri: "http://purl.org/goodrelations/v1#", source: "http://www.heppnetz.de/ontologies/goodrelations/v1.owl"}, - gs1: {uri: "http://gs1.org/voc/", source: "https://www.gs1.org/docs/gs1-smartsearch/gs1voc.ttl"}, + gs1: { + uri: "http://gs1.org/voc/", + source: "https://www.gs1.org/docs/gs1-smartsearch/gs1voc.ttl", + patch: %{ + @prefix gs1: <http://gs1.org/voc/> . + @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. + DeleteExisting { + gs1:MeasurementPrecisionCode-LESS_THAN a gs1:MeasurementPrecisionTypeCode . + gs1:PreservationTechniqueCode-COLD_SMOKE_CURING a gs1:PreservationTechniqueTypeCode . + } . + AddNew { + gs1:MeasurementPrecisionCode-LESS_THAN a gs1:MeasurementPrecisionCode . + gs1:PreservationTechniqueCode-COLD_SMOKE_CURING a gs1:PreservationTechniqueCode . + gs1:ReturnablePackageDepositDetails a rdfs:Class . + gs1:Place a rdfs:Class . + gs1:PackagingMaterialDetails a rdfs:Class . + } . + } + }, ht: {uri: "http://www.w3.org/2011/http#"}, hydra: {uri: "http://www.w3.org/ns/hydra/core#"}, iana: {uri: "http://www.iana.org/assignments/relation/", source: File.expand_path("../../../etc/iana.ttl", __FILE__)}, ical: {uri: "http://www.w3.org/2002/12/cal/icaltzd#"}, identifiers: {