lib/rdf/vocab/datacite.rb in rdf-vocab-3.1.4 vs lib/rdf/vocab/datacite.rb in rdf-vocab-3.1.5
- old
+ new
@@ -5,10 +5,10 @@
module RDF::Vocab
# @!parse
# # Vocabulary for <http://purl.org/spar/datacite/>
# class DataCite < RDF::StrictVocabulary
# end
- class DataCite < RDF::StrictVocabulary("http://purl.org/spar/datacite/")
+ DataCite = Class.new(RDF::StrictVocabulary("http://purl.org/spar/datacite/")) do
# Ontology definition
ontology :"http://purl.org/spar/datacite/",
comment: %(This ontology is available at http://purl.org/spar/datacite/, and uses the namespace prefix datacite.).freeze,
"dc11:contributor": ["Amy J. Barton".freeze, "Egbert Gramsbergen".freeze, "Jan Ashton".freeze, "Marie-Christine Jacquemot".freeze],