lib/rdf/vocab/ore.rb in rdf-vocab-2.1.0 vs lib/rdf/vocab/ore.rb in rdf-vocab-2.1.1
- old
+ new
@@ -7,10 +7,18 @@
# # Vocabulary for <http://www.openarchives.org/ore/terms/>
# class ORE < RDF::StrictVocabulary
# end
class ORE < RDF::StrictVocabulary("http://www.openarchives.org/ore/terms/")
+ # Ontology definition
+ ontology :"http://www.openarchives.org/ore/terms/",
+ comment: %(The set of terms provided by the OAI ORE initiative).freeze,
+ :"dc:license" => %(http://creativecommons.org/licenses/by-sa/3.0/).freeze,
+ :"dc:title" => %(The OAI ORE terms vocabulary).freeze,
+ label: "The OAI ORE terms vocabulary".freeze,
+ :"rdfs:seeAlso" => %(http://www.openarchives.org/ore/toc).freeze
+
# Class definitions
term :AggregatedResource,
comment: %(A resource which is included in an Aggregation. Note that asserting that a resource is a member of the class of Aggregated Resources does not imply anything other than that it is aggregated by at least one Aggregation.).freeze,
label: "Aggregated Resource".freeze,
:"rdfs:isDefinedBy" => %(ore:).freeze,
@@ -93,15 +101,7 @@
comment: %(The subject of this relationship MUST be an Aggregation. This Aggregation should be considered an expression within the ORE context of the object of the relationship, as it is broadly equivalent to the resource. For example, the Aggregation may consist of the resources which, together, make up a journal article which has a DOI assigned to it. The Aggregation is not the article to which the DOI was assigned, but is a representation of it in some manner.).freeze,
domain: "ore:Aggregation".freeze,
label: "Similar To".freeze,
:"rdfs:isDefinedBy" => %(ore:).freeze,
type: "rdf:Property".freeze
-
- # Extra definitions
- term :"",
- comment: %(The set of terms provided by the OAI ORE initiative).freeze,
- :"dc:license" => %(http://creativecommons.org/licenses/by-sa/3.0/).freeze,
- :"dc:title" => %(The OAI ORE terms vocabulary).freeze,
- label: "The OAI ORE terms vocabulary".freeze,
- :"rdfs:seeAlso" => %(http://www.openarchives.org/ore/toc).freeze
end
end