# -*- encoding: utf-8 -*- # frozen_string_literal: true # This file generated automatically using rdf vocabulary format from http://www.w3.org/2001/XMLSchema# require 'rdf' module RDF # @!parse # # Vocabulary for <http://www.w3.org/2001/XMLSchema#> # # # class XSD < RDF::Vocabulary # # `ENTITIES` represents the `ENTITIES` attribute type from [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·value space· of `ENTITIES` is the set of finite, non-zero-length sequences of ·{ENTITY}· values that have been declared as unparsed entities in a document type definition. The ·lexical space· of `ENTITIES` is the set of space-separated lists of tokens, of which each token is in the ·lexical space· of {ENTITY}. The ·item type· of `ENTITIES` is {ENTITY}. `ENTITIES` is derived from ·{anySimpleType}· in two steps: an anonymous list type is defined, whose ·item type· is {ENTITY}; this is the ·base type· of `ENTITIES`, which restricts its value space to lists with at least one item. # # @return [RDF::Vocabulary::Term] # attr_reader :ENTITIES # # # `ENTITY` represents the `ENTITY` attribute type from [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·value space· of `ENTITY` is the set of all strings that ·match· the `NCName` production in [Namespaces in XML](http://www.w3.org/TR/1999/REC-xml-names-19990114/) and have been declared as an unparsed entity in a document type definition. The ·lexical space· of `ENTITY` is the set of all strings that ·match· the `NCName` production in [Namespaces in XML](http://www.w3.org/TR/1999/REC-xml-names-19990114/). The ·base type· of `ENTITY` is {NCName}. # # @return [RDF::Vocabulary::Term] # attr_reader :ENTITY # # # `ID` represents the ID attribute type from [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·value space· of `ID` is the set of all strings that ·match· the `NCName` production in [Namespaces in XML]. The ·lexical space· of `ID` is the set of all strings that ·match· the `NCName` production in [Namespaces in XML](http://www.w3.org/TR/1999/REC-xml-names-19990114/). The ·base type· of `ID` is {NCName}. # # @return [RDF::Vocabulary::Term] # attr_reader :ID # # # `IDREF` represents the `IDRE`F attribute type from [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·value space· of `IDREF` is the set of all strings that ·match· the `NCName` production in [Namespaces in XML](http://www.w3.org/TR/1999/REC-xml-names-19990114/). The ·lexical space· of `IDREF` is the set of strings that ·match· the `NCName` production in [Namespaces in XML](http://www.w3.org/TR/1999/REC-xml-names-19990114/). The ·base type· of `IDREF` is {NCName}. # # @return [RDF::Vocabulary::Term] # attr_reader :IDREF # # # `IDREFS` represents the `IDREFS` attribute type from [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·value space· of `IDREFS` is the set of finite, non-zero-length sequences of `IDREFs`. The ·lexical space· of `IDREFS` is the set of space-separated lists of tokens, of which each token is in the ·lexical space· of `IDREF.` The ·item type· of `IDREFS` is {IDREF}. `IDREFS` is derived from ·{anySimpleType}· in two steps: an anonymous list type is defined, whose ·item type· is {IDREF}; this is the ·base type· of `IDREFS`, which restricts its value space to lists with at least one item. # # @return [RDF::Vocabulary::Term] # attr_reader :IDREFS # # # `NCName` represents XML "non-colonized" `Names`. The ·value space· of `NCName` is the set of all strings which ·match· the `NCName` production of [Namespaces in XML](http://www.w3.org/TR/1999/REC-xml-names-19990114/). The ·lexical space· of `NCName` is the set of all strings which ·match· the `NCName` production of [Namespaces in XML](http://www.w3.org/TR/1999/REC-xml-names-19990114/). The ·base type· of `NCName` is {Name}. # # @return [RDF::Vocabulary::Term] # attr_reader :NCName # # # `NMTOKEN` represents the `NMTOKEN` attribute type from [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·value space· of `NMTOKEN` is the set of tokens that ·match· the `Nmtoken` production in [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·lexical space· of `NMTOKEN` is the set of strings that ·match· the `Nmtoken` production in [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·base type· of `NMTOKEN` is {token}. # # @return [RDF::Vocabulary::Term] # attr_reader :NMTOKEN # # # `NMTOKENS` represents the `NMTOKENS` attribute type from [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·value space· of `NMTOKENS` is the set of finite, non-zero-length sequences of ·`NMTOKEN`·s. The ·lexical space· of `NMTOKENS` is the set of space-separated lists of tokens, of which each token is in the ·lexical space· of `NMTOKEN`. The ·item type· of `NMTOKENS` is `NMTOKEN`. `NMTOKEN`S is derived from ·{anySimpleType}· in two steps: an anonymous list type is defined, whose ·item type· is `NMTOKEN`; this is the ·base type· of `NMTOKENS`, which restricts its value space to lists with at least one item. # # @return [RDF::Vocabulary::Term] # attr_reader :NMTOKENS # # # `NOTATION` represents the `NOTATION` attribute type from [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·value space· of `NOTATION` is the set of `QName`s of notations declared in the current schema. The ·lexical space· of `NOTATION` is the set of all names of notations declared in the current schema (in the form of `QNames`). # # @return [RDF::Vocabulary::Term] # attr_reader :NOTATION # # # `Name` represents XML Names. The ·value space· of `Name` is the set of all strings which ·match· the `Name` production of [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814)(http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·lexical space· of `Name` is the set of all strings which ·match· the `Name` production of [XML](http://www.w3.org/TR/2000/WD-xml-2e-20000814). The ·base type· of `Name` is {token}. # # @return [RDF::Vocabulary::Term] # attr_reader :Name # # # `QName` represents XML qualified names. The ·value space· of `QName` is the set of tuples `{namespace name, local part}`, where namespace name is an anyURI and local part is an NCName. The ·lexical space· of `QName` is the set of strings that ·match· the `QName` production of [Namespaces in XML](http://www.w3.org/TR/1999/REC-xml-names-19990114/). # # @return [RDF::Vocabulary::Term] # attr_reader :QName # # # `anyAtomicType` is a special ·restriction· of {anySimpleType}. The ·value· and ·lexical spaces· of `anyAtomicType` are the unions of the ·value· and ·lexical spaces· of all the ·primitive· datatypes, and `anyAtomicType` is their ·base type·. # # @return [RDF::Vocabulary::Term] # attr_reader :anyAtomicType # # # The definition of `anySimpleType` is a special ·restriction· of {anyType}. The ·lexical space· of `anySimpleType` is the set of all sequences of Unicode characters, and its ·value space· includes all ·atomic values· and all finite-length lists of zero or more ·atomic values·. # # @return [RDF::Vocabulary::Term] # attr_reader :anySimpleType # # # The root of the [XML Schema 1.1] datatype heirarchy. # # @return [RDF::Vocabulary::Term] # attr_reader :anyType # # # `anyURI` represents an Internationalized Resource Identifier Reference (`IRI`). An `anyURI` value can be absolute or relative, and may have an optional fragment identifier (i.e., it may be an `IRI Reference`). This type should be used when the value fulfills the role of an `IRI`, as defined in [RFC 2045](https://www.ietf.org/rfc/rfc3987.txt) or its successor(s) in the IETF Standards Track. # # @return [RDF::Vocabulary::Term] # attr_reader :anyURI # # # `base64Binary` represents arbitrary `Base64`-encoded binary data. For `base64Binary` data the entire binary stream is encoded using the `Base64` Encoding defined in [RFC 3548](https://www.ietf.org/rfc/rfc3548.txt), which is derived from the encoding described in [RFC 2045](https://www.ietf.org/rfc/rfc2045.txt). # # @return [RDF::Vocabulary::Term] # attr_reader :base64Binary # # # `boolean` represents the values of two-valued logic. # # @return [RDF::Vocabulary::Term] # attr_reader :boolean # # # ` byte` is ·derived· from short by setting the value of ·`maxInclusive`· to be `127` and ·`minInclusive`· to be `-128`. The ·base type· of `byte` is {short}. # # @return [RDF::Vocabulary::Term] # attr_reader :byte # # # `date` represents top-open intervals of exactly one day in length on the timelines of {dateTime}, beginning on the beginning moment of each day, up to but not including the beginning moment of the next day). For non-timezoned values, the top-open intervals disjointly cover the non-timezoned timeline, one per day. For timezoned values, the intervals begin at every minute and therefore overlap. # # @return [RDF::Vocabulary::Term] # attr_reader :date # # # `dateTime` represents instants of time, optionally marked with a particular time zone offset. Values representing the same instant but having different time zone offsets are equal but not identical. # # @return [RDF::Vocabulary::Term] # attr_reader :dateTime # # # The `dateTimeStamp` datatype is ·derived· from {dateTime} by giving the value required to its explicitTimezone facet. The result is that all values of `dateTimeStamp` are required to have explicit time zone offsets and the datatype is totally ordered. # # @return [RDF::Vocabulary::Term] # attr_reader :dateTimeStamp # # # `dayTimeDuration` is a datatype ·derived· from {duration} by restricting its ·lexical representations· to instances of `dayTimeDurationLexicalRep`. The ·value space· of `dayTimeDuration` is therefore that of {duration} restricted to those whose ·months· property is 0. This results in a {duration} datatype which is totally ordered. # # @return [RDF::Vocabulary::Term] # attr_reader :dayTimeDuration # # # `decimal` represents a subset of the real numbers, which can be represented by decimal numerals. The ·value space· of `decimal` is the set of numbers that can be obtained by dividing an integer by a non-negative power of ten, i.e., expressible as `i / 10n` where `i` and `n` are integers and `n ≥ 0`. Precision is not reflected in this value space; the number `2.0` is not distinct from the number `2.00`. The order relation on `decimal` is the order relation on real numbers, restricted to this subset. # # @return [RDF::Vocabulary::Term] # attr_reader :decimal # # # The `double` datatype is patterned after the IEEE double-precision 64-bit floating point datatype [IEEE 754-2008](https://ieeexplore.ieee.org/document/4610935). Each floating point datatype has a value space that is a subset of the rational numbers. Floating point numbers are often used to approximate arbitrary real numbers. # # @return [RDF::Vocabulary::Term] # attr_reader :double # # # `duration` is a datatype that represents durations of time. The concept of duration being captured is drawn from those of [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html), specifically durations without fixed endpoints. For example, "15 days" (whose most common lexical representation in duration is "'P15D'") is a `duration` value; "15 days beginning 12 July 1995" and "15 days ending 12 July 1995" are not `duration` values. `duration` can provide addition and subtraction operations between duration values and between `duration`/{dateTime} value pairs, and can be the result of subtracting dateTime values. However, only addition to {dateTime} is required for XML Schema processing and is defined in the function ·`dateTimePlusDuration`·. # # @return [RDF::Vocabulary::Term] # attr_reader :duration # # # The `float` datatype is patterned after the IEEE single-precision 32-bit floating point datatype [IEEE 754-2008](https://ieeexplore.ieee.org/document/4610935). Its value space is a subset of the rational numbers. Floating point numbers are often used to approximate arbitrary real numbers. # # @return [RDF::Vocabulary::Term] # attr_reader :float # # # `gDay` represents whole days within an arbitrary month—days that recur at the same point in each (Gregorian) month. This datatype is used to represent a specific day of the month. To indicate, for example, that an employee gets a paycheck on the 15th of each month. (Obviously, days beyond 28 cannot occur in all months; they are nonetheless permitted, up to 31.) # # @return [RDF::Vocabulary::Term] # attr_reader :gDay # # # `gMonth` represents whole (Gregorian) months within an arbitrary year—months that recur at the same point in each year. It might be used, for example, to say what month annual Thanksgiving celebrations fall in different countries (--11 in the United States, --10 in Canada, and possibly other months in other countries). # # @return [RDF::Vocabulary::Term] # attr_reader :gMonth # # # `gMonthDay` represents whole calendar days that recur at the same point in each calendar year, or that occur in some arbitrary calendar year. (Obviously, days beyond 28 cannot occur in all Februaries; 29 is nonetheless permitted.) # # @return [RDF::Vocabulary::Term] # attr_reader :gMonthDay # # # `gYear` represents Gregorian calendar years. # # @return [RDF::Vocabulary::Term] # attr_reader :gYear # # # `gYearMonth` represents specific whole Gregorian months in specific Gregorian years. # # @return [RDF::Vocabulary::Term] # attr_reader :gYearMonth # # # `hexBinary` represents arbitrary hex-encoded binary data. # # @return [RDF::Vocabulary::Term] # attr_reader :hexBinary # # # `int` is ·derived· from long by setting the value of ·`maxInclusive`· to be ``2147483647`` and ·`minInclusive`· to be ``-2147483648``. The ·base type· of `int` is {long}. # # @return [RDF::Vocabulary::Term] # attr_reader :int # # # `integer` is ·derived· from {decimal} by fixing the value of ·`fractionDigits`· to be `0` and disallowing the trailing decimal point. This results in the standard mathematical concept of the integer numbers. The ·value space· of `integer` is the infinite set `{...,-2,-1,0,1,2,...}`. The ·base type· of `integer` is {decimal}. # # @return [RDF::Vocabulary::Term] # attr_reader :integer # # # `language` represents formal natural language identifiers, as defined by [BCP 47](https://tools.ietf.org/html/bcp47) (currently represented by [RFC 2045](https://www.ietf.org/rfc/rfc4646.txt) and [RFC 2045](https://www.ietf.org/rfc/rfc4647.txt)) or its successor(s). The ·value space· and ·lexical space· of `language` are the set of all strings that conform to the pattern `[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*` # # @return [RDF::Vocabulary::Term] # attr_reader :language # # # `long` is ·derived· from {integer} by setting the value of ·`maxInclusive`· to be `9223372036854775807` and ·`minInclusive`· to be `-9223372036854775808`. The ·base type· of `long` is {integer}. # # @return [RDF::Vocabulary::Term] # attr_reader :long # # # `negativeInteger` is ·derived· from {nonPositiveInteger} by setting the value of ·`maxInclusive`· to be `-1`. This results in the standard mathematical concept of the negative integers. The ·value space· of `negativeInteger` is the infinite set `{...,-2,-1}`. The ·base type· of `negativeInteger` is {nonPositiveInteger}. # # @return [RDF::Vocabulary::Term] # attr_reader :negativeInteger # # # `nonNegativeInteger` is ·derived· from {integer} by setting the value of ·`minInclusive`· to be `0`. This results in the standard mathematical concept of the non-negative integers. The ·value space· of `nonNegativeInteger` is the infinite set `{0,1,2,...}`. The ·base type· of `nonNegativeInteger` is {integer}. # # @return [RDF::Vocabulary::Term] # attr_reader :nonNegativeInteger # # # `nonPositiveInteger` is ·derived· from {integer} by setting the value of ·`maxInclusive`· to be `0`. This results in the standard mathematical concept of the non-positive integers. The ·value space· of `nonPositiveInteger` is the infinite set `{...,-2,-1,0}`. The ·base type· of `nonPositiveInteger` is {integer}. # # @return [RDF::Vocabulary::Term] # attr_reader :nonPositiveInteger # # # `normalizedString` represents white space normalized strings. The ·value space· of `normalizedString` is the set of strings that do not contain the carriage return `(#xD)`, line feed `(#xA) no`r tab `(#x9)` characters. The ·lexical space· of `normalizedString` is the set of strings that do not contain the carriage return `(#xD)`, line feed `(#xA)` nor tab `(#x9)` characters. The ·base type· of `normalizedString` is {string}. # # @return [RDF::Vocabulary::Term] # attr_reader :normalizedString # # # `positiveInteger` is ·derived· from `nonNegativeInteger` by setting the value of ·`minInclusive`· to be `1`. This results in the standard mathematical concept of the positive integer numbers. The ·value space· of `positiveInteger` is the infinite set `{1,2,...}`. The ·base type· of `positiveInteger` is {nonNegativeInteger}. # # @return [RDF::Vocabulary::Term] # attr_reader :positiveInteger # # # `short` is ·derived· from `int` by setting the value of ·`maxInclusive`· to be `32767` and ·minInclusive· to be `-32768`. The ·base type· of `short` is {int}. # # @return [RDF::Vocabulary::Term] # attr_reader :short # # # The `string` datatype represents character strings in XML. # # @return [RDF::Vocabulary::Term] # attr_reader :string # # # `time` represents instants of time that recur at the same point in each calendar day, or that occur in some arbitrary calendar day. # # @return [RDF::Vocabulary::Term] # attr_reader :time # # # `token` represents tokenized strings. The ·value space· of `token` is the set of strings that do not contain the carriage return `(#xD)`, line feed `(#xA)` nor tab `(#x9)` characters, that have no leading or trailing spaces `(#x20)` and that have no internal sequences of two or more spaces. The ·lexical space· of `token` is the set of strings that do not contain the carriage return `(#xD)`, line feed `(#xA)` nor tab `(#x9)` characters, that have no leading or trailing spaces `(#x20)` and that have no internal sequences of two or more spaces. The ·base type· of `token` is {normalizedString}. # # @return [RDF::Vocabulary::Term] # attr_reader :token # # # `unsignedByte` is ·derived· from {unsignedShort} by setting the value of ·`maxInclusive`· to be `255`. The ·base type· of `unsignedByte` is {unsignedShort}. # # @return [RDF::Vocabulary::Term] # attr_reader :unsignedByte # # # `unsignedInt` is ·derived· from {unsignedLong} by setting the value of ·`maxInclusive`· to be `4294967295`. The ·base type· of `unsignedInt` is {unsignedLong}. # # @return [RDF::Vocabulary::Term] # attr_reader :unsignedInt # # # `unsignedLong` is ·derived· from {nonNegativeInteger} by setting the value of ·`maxInclusive`· to be `18446744073709551615`. The ·base type· of `unsignedLong` is {nonNegativeInteger}. # # @return [RDF::Vocabulary::Term] # attr_reader :unsignedLong # # # `unsignedShort` is ·derived· from {unsignedInt} by setting the value of ·`maxInclusive`· to be `65535`. The ·base type· of `unsignedShort` is {unsignedInt}. # # @return [RDF::Vocabulary::Term] # attr_reader :unsignedShort # # # `yearMonthDuration` is a datatype ·derived· from {duration} by restricting its ·lexical representations· to instances of `yearMonthDurationLexicalRep`. The ·value space· of `yearMonthDuration` is therefore that of {duration} restricted to those whose ·seconds· property is 0. This results in a duration datatype which is totally ordered. # # @return [RDF::Vocabulary::Term] # attr_reader :yearMonthDuration # # end XSD = Class.new(RDF::Vocabulary("http://www.w3.org/2001/XMLSchema#")) do # Datatype definitions term :ENTITIES, comment: %( ENTITIES represents the ENTITIES attribute type from [XML]. The ·value space· of ENTITIES is the set of finite, non-zero-length sequences of ·ENTITY· values that have been declared as unparsed entities in a document type definition. The ·lexical space· of ENTITIES is the set of space-separated lists of tokens, of which each token is in the ·lexical space· of ENTITY. The ·item type· of ENTITIES is ENTITY. ENTITIES is derived from ·anySimpleType· in two steps: an anonymous list type is defined, whose ·item type· is ENTITY; this is the ·base type· of ENTITIES, which restricts its value space to lists with at least one item. ).freeze, label: "ENTITIES".freeze, subClassOf: "xsd:anySimpleType".freeze, type: "rdfs:Datatype".freeze term :ENTITY, comment: %( ENTITY represents the ENTITY attribute type from [XML]. The ·value space· of ENTITY is the set of all strings that ·match· the NCName production in [Namespaces in XML] and have been declared as an unparsed entity in a document type definition. The ·lexical space· of ENTITY is the set of all strings that ·match· the NCName production in [Namespaces in XML]. The ·base type· of ENTITY is NCName. ).freeze, label: "ENTITY".freeze, subClassOf: "xsd:NCName".freeze, type: "rdfs:Datatype".freeze term :ID, comment: %( ID represents the ID attribute type from [XML]. The ·value space· of ID is the set of all strings that ·match· the NCName production in [Namespaces in XML]. The ·lexical space· of ID is the set of all strings that ·match· the NCName production in [Namespaces in XML]. The ·base type· of ID is NCName. ).freeze, label: "ID".freeze, subClassOf: "xsd:NCName".freeze, type: "rdfs:Datatype".freeze term :IDREF, comment: %( IDREF represents the IDREF attribute type from [XML]. The ·value space· of IDREF is the set of all strings that ·match· the NCName production in [Namespaces in XML]. The ·lexical space· of IDREF is the set of strings that ·match· the NCName production in [Namespaces in XML]. The ·base type· of IDREF is NCName. ).freeze, label: "IDREF".freeze, subClassOf: "xsd:NCName".freeze, type: "rdfs:Datatype".freeze term :IDREFS, comment: %( IDREFS represents the IDREFS attribute type from [XML]. The ·value space· of IDREFS is the set of finite, non-zero-length sequences of IDREFs. The ·lexical space· of IDREFS is the set of space-separated lists of tokens, of which each token is in the ·lexical space· of IDREF. The ·item type· of IDREFS is IDREF. IDREFS is derived from ·anySimpleType· in two steps: an anonymous list type is defined, whose ·item type· is IDREF; this is the ·base type· of IDREFS, which restricts its value space to lists with at least one item. ).freeze, label: "IDREFS".freeze, subClassOf: "xsd:anySimpleType".freeze, type: "rdfs:Datatype".freeze term :NCName, comment: %( NCName represents XML "non-colonized" Names. The ·value space· of NCName is the set of all strings which ·match· the NCName production of [Namespaces in XML]. The ·lexical space· of NCName is the set of all strings which ·match· the NCName production of [Namespaces in XML]. The ·base type· of NCName is Name. ).freeze, label: "NCName".freeze, subClassOf: "xsd:Name".freeze, type: "rdfs:Datatype".freeze term :NMTOKEN, comment: %( NMTOKEN represents the NMTOKEN attribute type from [XML]. The ·value space· of NMTOKEN is the set of tokens that ·match· the Nmtoken production in [XML]. The ·lexical space· of NMTOKEN is the set of strings that ·match· the Nmtoken production in [XML]. The ·base type· of NMTOKEN is token. ).freeze, label: "NMTOKEN".freeze, subClassOf: "xsd:token".freeze, type: "rdfs:Datatype".freeze term :NMTOKENS, comment: %( NMTOKENS represents the NMTOKENS attribute type from [XML]. The ·value space· of NMTOKENS is the set of finite, non-zero-length sequences of ·NMTOKEN·s. The ·lexical space· of NMTOKENS is the set of space-separated lists of tokens, of which each token is in the ·lexical space· of NMTOKEN. The ·item type· of NMTOKENS is NMTOKEN. NMTOKENS is derived from ·anySimpleType· in two steps: an anonymous list type is defined, whose ·item type· is NMTOKEN; this is the ·base type· of NMTOKENS, which restricts its value space to lists with at least one item. ).freeze, label: "NMTOKENS".freeze, subClassOf: "xsd:anySimpleType".freeze, type: "rdfs:Datatype".freeze term :NOTATION, comment: %( NOTATION represents the NOTATION attribute type from [XML]. The ·value space· of NOTATION is the set of QNames of notations declared in the current schema. The ·lexical space· of NOTATION is the set of all names of notations declared in the current schema \(in the form of QNames\). ).freeze, label: "NOTATION".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :Name, comment: %( Name represents XML Names. The ·value space· of Name is the set of all strings which ·match· the Name production of [XML]. The ·lexical space· of Name is the set of all strings which ·match· the Name production of [XML]. The ·base type· of Name is token. ).freeze, label: "Name".freeze, subClassOf: "xsd:token".freeze, type: "rdfs:Datatype".freeze term :QName, comment: %( QName represents XML qualified names. The ·value space· of QName is the set of tuples {namespace name, local part}, where namespace name is an anyURI and local part is an NCName. The ·lexical space· of QName is the set of strings that ·match· the QName production of [Namespaces in XML]. ).freeze, label: "QName".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :anyAtomicType, comment: %( anyAtomicType is a special ·restriction· of anySimpleType. The ·value· and ·lexical spaces· of anyAtomicType are the unions of the ·value· and ·lexical spaces· of all the ·primitive· datatypes, and anyAtomicType is their ·base type·. ).freeze, label: "anySimpleType".freeze, subClassOf: "xsd:anyType".freeze, type: "rdfs:Datatype".freeze term :anySimpleType, comment: %( The definition of anySimpleType is a special ·restriction· of anyType. The ·lexical space· of anySimpleType is the set of all sequences of Unicode characters, and its ·value space· includes all ·atomic values· and all finite-length lists of zero or more ·atomic values·. ).freeze, label: "anySimpleType".freeze, subClassOf: "xsd:anyType".freeze, type: "rdfs:Datatype".freeze term :anyType, comment: %( The root of the [XML Schema 1.1] datatype heirarchy. ).freeze, label: "anyType".freeze, type: "rdfs:Datatype".freeze term :anyURI, comment: %( anyURI represents an Internationalized Resource Identifier Reference \(IRI\). An anyURI value can be absolute or relative, and may have an optional fragment identifier \(i.e., it may be an IRI Reference\). This type should be used when the value fulfills the role of an IRI, as defined in [RFC 3987] or its successor\(s\) in the IETF Standards Track. ).freeze, label: "anyURI".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :base64Binary, comment: %( base64Binary represents arbitrary Base64-encoded binary data. For base64Binary data the entire binary stream is encoded using the Base64 Encoding defined in [RFC 3548], which is derived from the encoding described in [RFC 2045]. ).freeze, label: "base64Binary".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :boolean, comment: %( boolean represents the values of two-valued logic. ).freeze, label: "boolean".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :byte, comment: %( byte is ·derived· from short by setting the value of ·maxInclusive· to be 127 and ·minInclusive· to be -128. The ·base type· of byte is short. ).freeze, label: "byte".freeze, subClassOf: "xsd:short".freeze, type: "rdfs:Datatype".freeze term :date, comment: %( date represents top-open intervals of exactly one day in length on the timelines of dateTime, beginning on the beginning moment of each day, up to but not including the beginning moment of the next day\). For non-timezoned values, the top-open intervals disjointly cover the non-timezoned timeline, one per day. For timezoned values, the intervals begin at every minute and therefore overlap. ).freeze, label: "date".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :dateTime, comment: %( dateTime represents instants of time, optionally marked with a particular time zone offset. Values representing the same instant but having different time zone offsets are equal but not identical. ).freeze, label: "dateTime".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :dateTimeStamp, comment: %( The dateTimeStamp datatype is ·derived· from dateTime by giving the value required to its explicitTimezone facet. The result is that all values of dateTimeStamp are required to have explicit time zone offsets and the datatype is totally ordered. ).freeze, label: "dateTimeStamp".freeze, subClassOf: "xsd:dateTime".freeze, type: "rdfs:Datatype".freeze term :dayTimeDuration, comment: %( dayTimeDuration is a datatype ·derived· from duration by restricting its ·lexical representations· to instances of dayTimeDurationLexicalRep. The ·value space· of dayTimeDuration is therefore that of duration restricted to those whose ·months· property is 0. This results in a duration datatype which is totally ordered. ).freeze, label: "dayTimeDuration".freeze, subClassOf: "xsd:duration".freeze, type: "rdfs:Datatype".freeze term :decimal, comment: %( decimal represents a subset of the real numbers, which can be represented by decimal numerals. The ·value space· of decimal is the set of numbers that can be obtained by dividing an integer by a non-negative power of ten, i.e., expressible as i / 10n where i and n are integers and n ≥ 0. Precision is not reflected in this value space; the number 2.0 is not distinct from the number 2.00. The order relation on decimal is the order relation on real numbers, restricted to this subset. ).freeze, label: "decimal".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :double, comment: %( The double datatype is patterned after the IEEE double-precision 64-bit floating point datatype [IEEE 754-2008]. Each floating point datatype has a value space that is a subset of the rational numbers. Floating point numbers are often used to approximate arbitrary real numbers. ).freeze, label: "double".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :duration, comment: %( duration is a datatype that represents durations of time. The concept of duration being captured is drawn from those of [ISO 8601], specifically durations without fixed endpoints. For example, "15 days" \(whose most common lexical representation in duration is "'P15D'"\) is a duration value; "15 days beginning 12 July 1995" and "15 days ending 12 July 1995" are not duration values. duration can provide addition and subtraction operations between duration values and between duration/dateTime value pairs, and can be the result of subtracting dateTime values. However, only addition to dateTime is required for XML Schema processing and is defined in the function ·dateTimePlusDuration·. ).freeze, label: "duration".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :float, comment: %( The float datatype is patterned after the IEEE single-precision 32-bit floating point datatype [IEEE 754-2008]. Its value space is a subset of the rational numbers. Floating point numbers are often used to approximate arbitrary real numbers. ).freeze, label: "float".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :gDay, comment: %( gDay represents whole days within an arbitrary month—days that recur at the same point in each \(Gregorian\) month. This datatype is used to represent a specific day of the month. To indicate, for example, that an employee gets a paycheck on the 15th of each month. \(Obviously, days beyond 28 cannot occur in all months; they are nonetheless permitted, up to 31.\) ).freeze, label: "gDay".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :gMonth, comment: %( gMonth represents whole \(Gregorian\) months within an arbitrary year—months that recur at the same point in each year. It might be used, for example, to say what month annual Thanksgiving celebrations fall in different countries \(--11 in the United States, --10 in Canada, and possibly other months in other countries\). ).freeze, label: "gMonth".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :gMonthDay, comment: %( gMonthDay represents whole calendar days that recur at the same point in each calendar year, or that occur in some arbitrary calendar year. \(Obviously, days beyond 28 cannot occur in all Februaries; 29 is nonetheless permitted.\) ).freeze, label: "gMonthDay".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :gYear, comment: %( gYear represents Gregorian calendar years. ).freeze, label: "gYear".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :gYearMonth, comment: %( gYearMonth represents specific whole Gregorian months in specific Gregorian years. ).freeze, label: "gYearMonth".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :hexBinary, comment: %( hexBinary represents arbitrary hex-encoded binary data. ).freeze, label: "hexBinary".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :int, comment: %( int is ·derived· from long by setting the value of ·maxInclusive· to be 2147483647 and ·minInclusive· to be -2147483648. The ·base type· of int is long. ).freeze, label: "int".freeze, subClassOf: "xsd:long".freeze, type: "rdfs:Datatype".freeze term :integer, comment: %( integer is ·derived· from decimal by fixing the value of ·fractionDigits· to be 0 and disallowing the trailing decimal point. This results in the standard mathematical concept of the integer numbers. The ·value space· of integer is the infinite set {...,-2,-1,0,1,2,...}. The ·base type· of integer is decimal. ).freeze, label: "integer".freeze, subClassOf: "xsd:decimal".freeze, type: "rdfs:Datatype".freeze term :language, comment: %( language represents formal natural language identifiers, as defined by [BCP 47] \(currently represented by [RFC 4646] and [RFC 4647]\) or its successor\(s\). The ·value space· and ·lexical space· of language are the set of all strings that conform to the pattern [a-zA-Z]{1,8}\(-[a-zA-Z0-9]{1,8}\)* ).freeze, label: "language".freeze, subClassOf: "xsd:token".freeze, type: "rdfs:Datatype".freeze term :long, comment: %( long is ·derived· from integer by setting the value of ·maxInclusive· to be 9223372036854775807 and ·minInclusive· to be -9223372036854775808. The ·base type· of long is integer. ).freeze, label: "long".freeze, subClassOf: "xsd:integer".freeze, type: "rdfs:Datatype".freeze term :negativeInteger, comment: %( negativeInteger is ·derived· from nonPositiveInteger by setting the value of ·maxInclusive· to be -1. This results in the standard mathematical concept of the negative integers. The ·value space· of negativeInteger is the infinite set {...,-2,-1}. The ·base type· of negativeInteger is nonPositiveInteger. ).freeze, label: "negativeInteger".freeze, subClassOf: "xsd:nonPositiveInteger".freeze, type: "rdfs:Datatype".freeze term :nonNegativeInteger, comment: %( nonNegativeInteger is ·derived· from integer by setting the value of ·minInclusive· to be 0. This results in the standard mathematical concept of the non-negative integers. The ·value space· of nonNegativeInteger is the infinite set {0,1,2,...}. The ·base type· of nonNegativeInteger is integer. ).freeze, label: "nonNegativeInteger".freeze, subClassOf: "xsd:integer".freeze, type: "rdfs:Datatype".freeze term :nonPositiveInteger, comment: %( nonPositiveInteger is ·derived· from integer by setting the value of ·maxInclusive· to be 0. This results in the standard mathematical concept of the non-positive integers. The ·value space· of nonPositiveInteger is the infinite set {...,-2,-1,0}. The ·base type· of nonPositiveInteger is integer. ).freeze, label: "nonPositiveInteger".freeze, subClassOf: "xsd:integer".freeze, type: "rdfs:Datatype".freeze term :normalizedString, comment: %( normalizedString represents white space normalized strings. The ·value space· of normalizedString is the set of strings that do not contain the carriage return \(#xD\), line feed \(#xA\) nor tab \(#x9\) characters. The ·lexical space· of normalizedString is the set of strings that do not contain the carriage return \(#xD\), line feed \(#xA\) nor tab \(#x9\) characters. The ·base type· of normalizedString is string. ).freeze, label: "normalizedString".freeze, subClassOf: "xsd:string".freeze, type: "rdfs:Datatype".freeze term :positiveInteger, comment: %( positiveInteger is ·derived· from nonNegativeInteger by setting the value of ·minInclusive· to be 1. This results in the standard mathematical concept of the positive integer numbers. The ·value space· of positiveInteger is the infinite set {1,2,...}. The ·base type· of positiveInteger is nonNegativeInteger. ).freeze, label: "positiveInteger".freeze, subClassOf: "xsd:nonNegativeInteger".freeze, type: "rdfs:Datatype".freeze term :short, comment: %( short is ·derived· from int by setting the value of ·maxInclusive· to be 32767 and ·minInclusive· to be -32768. The ·base type· of short is int. ).freeze, label: "short".freeze, subClassOf: "xsd:int".freeze, type: "rdfs:Datatype".freeze term :string, comment: %( The string datatype represents character strings in XML. ).freeze, label: "string".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :time, comment: %( time represents instants of time that recur at the same point in each calendar day, or that occur in some arbitrary calendar day. ).freeze, label: "time".freeze, subClassOf: "xsd:anyAtomicType".freeze, type: "rdfs:Datatype".freeze term :token, comment: %( token represents tokenized strings. The ·value space· of token is the set of strings that do not contain the carriage return \(#xD\), line feed \(#xA\) nor tab \(#x9\) characters, that have no leading or trailing spaces \(#x20\) and that have no internal sequences of two or more spaces. The ·lexical space· of token is the set of strings that do not contain the carriage return \(#xD\), line feed \(#xA\) nor tab \(#x9\) characters, that have no leading or trailing spaces \(#x20\) and that have no internal sequences of two or more spaces. The ·base type· of token is normalizedString. ).freeze, label: "token".freeze, subClassOf: "xsd:normalizedString".freeze, type: "rdfs:Datatype".freeze term :unsignedByte, comment: %( nsignedByte is ·derived· from unsignedShort by setting the value of ·maxInclusive· to be 255. The ·base type· of unsignedByte is unsignedShort. ).freeze, label: "unsignedByte".freeze, subClassOf: "xsd:unsignedShort".freeze, type: "rdfs:Datatype".freeze term :unsignedInt, comment: %( unsignedInt is ·derived· from unsignedLong by setting the value of ·maxInclusive· to be 4294967295. The ·base type· of unsignedInt is unsignedLong. ).freeze, label: "unsignedInt".freeze, subClassOf: "xsd:unsignedLong".freeze, type: "rdfs:Datatype".freeze term :unsignedLong, comment: %( unsignedLong is ·derived· from nonNegativeInteger by setting the value of ·maxInclusive· to be 18446744073709551615. The ·base type· of unsignedLong is nonNegativeInteger. ).freeze, label: "unsignedLong".freeze, subClassOf: "xsd:nonNegativeInteger".freeze, type: "rdfs:Datatype".freeze term :unsignedShort, comment: %( unsignedShort is ·derived· from unsignedInt by setting the value of ·maxInclusive· to be 65535. The ·base type· of unsignedShort is unsignedInt. ).freeze, label: "unsignedShort".freeze, subClassOf: "xsd:unsignedInt".freeze, type: "rdfs:Datatype".freeze term :yearMonthDuration, comment: %( yearMonthDuration is a datatype ·derived· from duration by restricting its ·lexical representations· to instances of yearMonthDurationLexicalRep. The ·value space· of yearMonthDuration is therefore that of duration restricted to those whose ·seconds· property is 0. This results in a duration datatype which is totally ordered. ).freeze, label: "yearMonthDuration".freeze, subClassOf: "xsd:duration".freeze, type: "rdfs:Datatype".freeze end end