lib/rdf/vocab/skosxl.rb in rdf-vocab-3.1.4 vs lib/rdf/vocab/skosxl.rb in rdf-vocab-3.1.5
- old
+ new
@@ -3,12 +3,41 @@
# This file generated automatically using rdf vocabulary format from http://www.w3.org/2008/05/skos-xl#
require 'rdf'
module RDF::Vocab
# @!parse
# # Vocabulary for <http://www.w3.org/2008/05/skos-xl#>
+ # #
+ # # SKOS XL Vocabulary
+ # #
+ # # An RDF vocabulary extending SKOS and allowing the description and linking of lexical entities.
+ # # @see http://www.w3.org/2008/05/skos
# class SKOSXL < RDF::StrictVocabulary
+ # # @return [RDF::Vocabulary::Term]
+ # attr_reader :Label
+ #
+ # # If C skosxl:altLabel L and L skosxl:literalForm V, then X skos:altLabel V.
+ # # @return [RDF::Vocabulary::Term]
+ # attr_reader :altLabel
+ #
+ # # If C skosxl:hiddenLabel L and L skosxl:literalForm V, then C skos:hiddenLabel V.
+ # # @return [RDF::Vocabulary::Term]
+ # attr_reader :hiddenLabel
+ #
+ # # @return [RDF::Vocabulary::Term]
+ # attr_reader :labelRelation
+ #
+ # # If two instances of the class skosxl:Label have the same literal form, they are not necessarily the same resource.
+ # #
+ # # The range of skosxl:literalForm is the class of RDF plain literals.
+ # # @return [RDF::Vocabulary::Term]
+ # attr_reader :literalForm
+ #
+ # # If C skosxl:prefLabel L and L skosxl:literalForm V, then X skos:prefLabel V.
+ # # @return [RDF::Vocabulary::Term]
+ # attr_reader :prefLabel
+ #
# end
- class SKOSXL < RDF::StrictVocabulary("http://www.w3.org/2008/05/skos-xl#")
+ SKOSXL = Class.new(RDF::StrictVocabulary("http://www.w3.org/2008/05/skos-xl#")) do
# Ontology definition
ontology :"http://www.w3.org/2008/05/skos-xl#",
"dc:contributor": "Participants in W3C's Semantic Web Deployment Working Group.".freeze,
"dc:creator": ["Alistair Miles".freeze, "Sean Bechhofer".freeze],