lib/rdf/vocab/ogc.rb in rdf-vocab-3.1.10 vs lib/rdf/vocab/ogc.rb in rdf-vocab-3.1.11

- old
+ new

@@ -1,96 +1,59 @@ # -*- encoding: utf-8 -*- # frozen_string_literal: true # This file generated automatically using rdf vocabulary format from http://ogp.me/ns/class# require 'rdf' module RDF::Vocab - # @!parse - # # Vocabulary for <http://ogp.me/ns/class#> - # # - # class OGC < RDF::Vocabulary - # # A string representation of a true or false value. The lexical space contains: "true", "false", "1", and "0". - # # @return [RDF::Vocabulary::Term] - # attr_reader :boolean_str - # - # # A string representation of a temporal value composed of a date (year, month, day) and an optional time component (hours, minutes). The lexical space is defined by ISO 8601. - # # @return [RDF::Vocabulary::Term] - # attr_reader :date_time_str - # - # # The lexical space: "", "the", "a", "an", and "auto". - # # @return [RDF::Vocabulary::Term] - # attr_reader :determiner_str - # - # # A string representation of a 64-bit signed floating point number. Example lexical values include "1.234", "-1.234", "1.2e3", "-1.2e3", and "7E-10". - # # @return [RDF::Vocabulary::Term] - # attr_reader :float_str - # - # # A string representation of a 32-bit signed integer. Example lexical values include "1234" and "-123". - # # @return [RDF::Vocabulary::Term] - # attr_reader :integer_str - # - # # Valid mime type strings (e.g., "application/mp3"). - # # @return [RDF::Vocabulary::Term] - # attr_reader :mime_type_str - # - # # A string of Unicode characters. - # # @return [RDF::Vocabulary::Term] - # attr_reader :string - # - # # A string of Unicode characters forming a valid URL having the http or https scheme. - # # @return [RDF::Vocabulary::Term] - # attr_reader :url - # - # end OGC = Class.new(RDF::Vocabulary("http://ogp.me/ns/class#")) do # Datatype definitions term :boolean_str, comment: "A string representation of a true or false value. The lexical space contains: \"true\", \"false\", \"1\", and \"0\".".freeze, - isDefinedBy: "ogc:".freeze, + isDefinedBy: "http://ogp.me/ns/class#".freeze, label: "boolean string".freeze, - subClassOf: "xsd:string".freeze, - type: "rdfs:Datatype".freeze + subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze, + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze term :date_time_str, comment: "A string representation of a temporal value composed of a date (year, month, day) and an optional time component (hours, minutes). The lexical space is defined by ISO 8601.".freeze, - isDefinedBy: "ogc:".freeze, + isDefinedBy: "http://ogp.me/ns/class#".freeze, label: "date/time string".freeze, - subClassOf: "xsd:string".freeze, - type: "rdfs:Datatype".freeze + subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze, + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze term :determiner_str, comment: "The lexical space: \"\", \"the\", \"a\", \"an\", and \"auto\".".freeze, - isDefinedBy: "ogc:".freeze, + "http://www.w3.org/2002/07/owl#oneOf": list("".freeze, "the".freeze, "a".freeze, "an".freeze, "auto".freeze), + isDefinedBy: "http://ogp.me/ns/class#".freeze, label: "determiner".freeze, - "owl:oneOf": list("".freeze, "the".freeze, "a".freeze, "an".freeze, "auto".freeze), - subClassOf: "xsd:string".freeze, - type: "rdfs:Datatype".freeze + subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze, + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze term :float_str, comment: "A string representation of a 64-bit signed floating point number. Example lexical values include \"1.234\", \"-1.234\", \"1.2e3\", \"-1.2e3\", and \"7E-10\".".freeze, - isDefinedBy: "ogc:".freeze, + isDefinedBy: "http://ogp.me/ns/class#".freeze, label: "float string".freeze, - subClassOf: "xsd:string".freeze, - type: "rdfs:Datatype".freeze + subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze, + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze term :integer_str, comment: "A string representation of a 32-bit signed integer. Example lexical values include \"1234\" and \"-123\".".freeze, - isDefinedBy: "ogc:".freeze, + isDefinedBy: "http://ogp.me/ns/class#".freeze, label: "integer string".freeze, - subClassOf: "xsd:string".freeze, - type: "rdfs:Datatype".freeze + subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze, + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze term :mime_type_str, comment: "Valid mime type strings (e.g., \"application/mp3\").".freeze, - isDefinedBy: "og:".freeze, + isDefinedBy: "http://ogp.me/ns#".freeze, label: "mime type string".freeze, - subClassOf: "xsd:string".freeze, - type: "rdfs:Datatype".freeze + subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze, + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze term :string, comment: "A string of Unicode characters.".freeze, - isDefinedBy: "ogc:".freeze, + isDefinedBy: "http://ogp.me/ns/class#".freeze, label: "Unicode string".freeze, - subClassOf: "xsd:string".freeze, - type: "rdfs:Datatype".freeze + subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze, + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze term :url, comment: "A string of Unicode characters forming a valid URL having the http or https scheme.".freeze, - isDefinedBy: "ogc:".freeze, + isDefinedBy: "http://ogp.me/ns/class#".freeze, label: "URL".freeze, - subClassOf: "ogc:string".freeze, - type: "rdfs:Datatype".freeze + subClassOf: "http://ogp.me/ns/class#string".freeze, + type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze end end