diff --git a/etc/cc.ttl b/etc/cc.ttl index fed1c83..8d17ddb 100644 --- a/etc/cc.ttl +++ b/etc/cc.ttl @@ -72,7 +72,7 @@ copyrightable work"""@en-us . owl:equivalentProperty . - xhv:license ; + xhv:license ; xhv:stylesheet . a cc:Requirement; @@ -107,13 +107,13 @@ distribution"""@en-us . a rdf:Property; rdfs:domain ; - rdfs:range . + rdfs:range . a rdf:Property; rdfs:label """deprecated on"""@en-us; rdfs:domain ; - rdfs:range . + rdfs:range . a rdf:Property; rdfs:label "jurisdiction"@en-us; @@ -122,7 +122,7 @@ on"""@en-us; a rdf:Property; rdfs:domain ; - rdfs:range . + rdfs:range . a rdf:Property; rdfs:domain ; @@ -182,8 +182,8 @@ the license."""@en-us . license"""@en-us; rdfs:domain ; rdfs:range ; - rdfs:subPropertyOf ; - owl:sameAs . + rdfs:subPropertyOf ; + owl:sameAs . a rdf:Property; rdfs:label "permits"@en-us; diff --git a/lib/rdf/vocab/cc.rb b/lib/rdf/vocab/cc.rb index 864bdc0..59646ef 100644 --- a/lib/rdf/vocab/cc.rb +++ b/lib/rdf/vocab/cc.rb @@ -53,12 +53,12 @@ class CC < RDF::StrictVocabulary("http://creativecommons.org/ns#") property :attributionURL, domain: "cc:Work".freeze, label: "attributionURL".freeze, - range: "https://www.w3.org/2000/01/rdf-schema#Resource".freeze, + range: "rdfs:Resource".freeze, type: "rdf:Property".freeze property :deprecatedOn, domain: "cc:License".freeze, label: "deprecated\non".freeze, - range: "https://www.w3.org/2001/XMLSchema-datatypes#date".freeze, + range: "http://www.w3.org/2001/XMLSchema-datatypes#date".freeze, type: "rdf:Property".freeze property :jurisdiction, domain: "cc:License".freeze, @@ -68,14 +68,14 @@ class CC < RDF::StrictVocabulary("http://creativecommons.org/ns#") property :legalcode, domain: "cc:License".freeze, label: "legalcode".freeze, - range: "https://www.w3.org/2000/01/rdf-schema#Resource".freeze, + range: "rdfs:Resource".freeze, type: "rdf:Property".freeze property :license, domain: "cc:Work".freeze, label: "has\nlicense".freeze, :"owl:sameAs" => [], range: "cc:License".freeze, - subPropertyOf: "https://purl.org/dc/terms/license".freeze, + subPropertyOf: "dc:license".freeze, type: "rdf:Property".freeze property :morePermissions, domain: "cc:Work".freeze,