rdf 3.2.4 → 3.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rdf/cli.rb +3 -2
- data/lib/rdf/format.rb +34 -2
- data/lib/rdf/model/literal/date.rb +27 -82
- data/lib/rdf/model/literal/datetime.rb +22 -122
- data/lib/rdf/model/literal/decimal.rb +12 -0
- data/lib/rdf/model/literal/double.rb +20 -0
- data/lib/rdf/model/literal/integer.rb +6 -0
- data/lib/rdf/model/literal/numeric.rb +154 -4
- data/lib/rdf/model/literal/temporal.rb +310 -0
- data/lib/rdf/model/literal/time.rb +29 -98
- data/lib/rdf/model/literal.rb +2 -1
- data/lib/rdf/model/uri.rb +7 -0
- data/lib/rdf/nquads.rb +4 -1
- data/lib/rdf/ntriples/format.rb +4 -1
- data/lib/rdf/query/solution.rb +1 -2
- data/lib/rdf/query/solutions.rb +21 -0
- data/lib/rdf/vocab/xsd.rb +98 -98
- metadata +10 -3
data/lib/rdf/vocab/xsd.rb
CHANGED
@@ -7,55 +7,55 @@ module RDF
|
|
7
7
|
# # Vocabulary for <http://www.w3.org/2001/XMLSchema#>
|
8
8
|
# #
|
9
9
|
# class XSD < RDF::Vocabulary
|
10
|
-
# # ENTITIES represents the ENTITIES attribute type from [XML]. The
|
10
|
+
# # `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.
|
11
11
|
# # @return [RDF::Vocabulary::Term]
|
12
12
|
# attr_reader :ENTITIES
|
13
13
|
#
|
14
|
-
# # ENTITY represents the ENTITY attribute type from [XML]. The
|
14
|
+
# # `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.
|
15
15
|
# # @return [RDF::Vocabulary::Term]
|
16
16
|
# attr_reader :ENTITY
|
17
17
|
#
|
18
|
-
# # ID represents the ID attribute type from [XML]. The
|
18
|
+
# # `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`.
|
19
19
|
# # @return [RDF::Vocabulary::Term]
|
20
20
|
# attr_reader :ID
|
21
21
|
#
|
22
|
-
# # IDREF represents the IDREF attribute type from [XML]. The
|
22
|
+
# # `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`.
|
23
23
|
# # @return [RDF::Vocabulary::Term]
|
24
24
|
# attr_reader :IDREF
|
25
25
|
#
|
26
|
-
# # IDREFS represents the IDREFS attribute type from [XML]. The
|
26
|
+
# # `IDREFS` represents the `IDREFS` attribute type from [XML]. The _value space_ of `IDREFS` is the set of finite, non-zero-length sequences of `IDREF`s. 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.
|
27
27
|
# # @return [RDF::Vocabulary::Term]
|
28
28
|
# attr_reader :IDREFS
|
29
29
|
#
|
30
|
-
# # NCName represents XML "non-colonized" Names. The
|
30
|
+
# # `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`.
|
31
31
|
# # @return [RDF::Vocabulary::Term]
|
32
32
|
# attr_reader :NCName
|
33
33
|
#
|
34
|
-
# # NMTOKEN represents the NMTOKEN attribute type from [XML]. The
|
34
|
+
# # `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`.
|
35
35
|
# # @return [RDF::Vocabulary::Term]
|
36
36
|
# attr_reader :NMTOKEN
|
37
37
|
#
|
38
|
-
# # NMTOKENS represents the NMTOKENS attribute type from [XML]. The
|
38
|
+
# # `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.
|
39
39
|
# # @return [RDF::Vocabulary::Term]
|
40
40
|
# attr_reader :NMTOKENS
|
41
41
|
#
|
42
|
-
# # NOTATION represents the NOTATION attribute type from [XML]. The
|
42
|
+
# # `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`).
|
43
43
|
# # @return [RDF::Vocabulary::Term]
|
44
44
|
# attr_reader :NOTATION
|
45
45
|
#
|
46
|
-
# # Name represents XML Names. The
|
46
|
+
# # `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`.
|
47
47
|
# # @return [RDF::Vocabulary::Term]
|
48
48
|
# attr_reader :Name
|
49
49
|
#
|
50
|
-
# # QName represents XML qualified names. The
|
50
|
+
# # `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].
|
51
51
|
# # @return [RDF::Vocabulary::Term]
|
52
52
|
# attr_reader :QName
|
53
53
|
#
|
54
|
-
# # anyAtomicType is a special
|
54
|
+
# # `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_.
|
55
55
|
# # @return [RDF::Vocabulary::Term]
|
56
56
|
# attr_reader :anyAtomicType
|
57
57
|
#
|
58
|
-
# # The definition of anySimpleType is a special
|
58
|
+
# # The definition of `anySimpleType` is a special _restriction_ of `anyType`. The _lexical space_ of a`nySimpleType` 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_.
|
59
59
|
# # @return [RDF::Vocabulary::Term]
|
60
60
|
# attr_reader :anySimpleType
|
61
61
|
#
|
@@ -63,147 +63,147 @@ module RDF
|
|
63
63
|
# # @return [RDF::Vocabulary::Term]
|
64
64
|
# attr_reader :anyType
|
65
65
|
#
|
66
|
-
# # 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.
|
66
|
+
# # `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.
|
67
67
|
# # @return [RDF::Vocabulary::Term]
|
68
68
|
# attr_reader :anyURI
|
69
69
|
#
|
70
|
-
# # 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].
|
70
|
+
# # `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].
|
71
71
|
# # @return [RDF::Vocabulary::Term]
|
72
72
|
# attr_reader :base64Binary
|
73
73
|
#
|
74
|
-
# # boolean represents the values of two-valued logic.
|
74
|
+
# # `boolean` represents the values of two-valued logic.
|
75
75
|
# # @return [RDF::Vocabulary::Term]
|
76
76
|
# attr_reader :boolean
|
77
77
|
#
|
78
|
-
# # byte is
|
78
|
+
# # `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`.
|
79
79
|
# # @return [RDF::Vocabulary::Term]
|
80
80
|
# attr_reader :byte
|
81
81
|
#
|
82
|
-
# # date represents top-open intervals of exactly one day in length on the timelines of dateTime
|
82
|
+
# # `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.
|
83
83
|
# # @return [RDF::Vocabulary::Term]
|
84
84
|
# attr_reader :date
|
85
85
|
#
|
86
|
-
# # 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.
|
86
|
+
# # `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.
|
87
87
|
# # @return [RDF::Vocabulary::Term]
|
88
88
|
# attr_reader :dateTime
|
89
89
|
#
|
90
|
-
# # The dateTimeStamp datatype is
|
90
|
+
# # 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.
|
91
91
|
# # @return [RDF::Vocabulary::Term]
|
92
92
|
# attr_reader :dateTimeStamp
|
93
93
|
#
|
94
|
-
# # dayTimeDuration is a datatype
|
94
|
+
# # `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.
|
95
95
|
# # @return [RDF::Vocabulary::Term]
|
96
96
|
# attr_reader :dayTimeDuration
|
97
97
|
#
|
98
|
-
# # decimal represents a subset of the real numbers, which can be represented by decimal numerals. The
|
98
|
+
# # `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.
|
99
99
|
# # @return [RDF::Vocabulary::Term]
|
100
100
|
# attr_reader :decimal
|
101
101
|
#
|
102
|
-
# # 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.
|
102
|
+
# # 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.
|
103
103
|
# # @return [RDF::Vocabulary::Term]
|
104
104
|
# attr_reader :double
|
105
105
|
#
|
106
|
-
# # 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
|
106
|
+
# # `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`.
|
107
107
|
# # @return [RDF::Vocabulary::Term]
|
108
108
|
# attr_reader :duration
|
109
109
|
#
|
110
|
-
# # 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.
|
110
|
+
# # 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.
|
111
111
|
# # @return [RDF::Vocabulary::Term]
|
112
112
|
# attr_reader :float
|
113
113
|
#
|
114
|
-
# # 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.)
|
114
|
+
# # `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.)
|
115
115
|
# # @return [RDF::Vocabulary::Term]
|
116
116
|
# attr_reader :gDay
|
117
117
|
#
|
118
|
-
# # 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 (
|
118
|
+
# # `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).
|
119
119
|
# # @return [RDF::Vocabulary::Term]
|
120
120
|
# attr_reader :gMonth
|
121
121
|
#
|
122
|
-
# # 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.)
|
122
|
+
# # `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.)
|
123
123
|
# # @return [RDF::Vocabulary::Term]
|
124
124
|
# attr_reader :gMonthDay
|
125
125
|
#
|
126
|
-
# # gYear represents Gregorian calendar years.
|
126
|
+
# # `gYear` represents Gregorian calendar years.
|
127
127
|
# # @return [RDF::Vocabulary::Term]
|
128
128
|
# attr_reader :gYear
|
129
129
|
#
|
130
|
-
# # gYearMonth represents specific whole Gregorian months in specific Gregorian years.
|
130
|
+
# # `gYearMonth` represents specific whole Gregorian months in specific Gregorian years.
|
131
131
|
# # @return [RDF::Vocabulary::Term]
|
132
132
|
# attr_reader :gYearMonth
|
133
133
|
#
|
134
|
-
# # hexBinary represents arbitrary hex-encoded binary data.
|
134
|
+
# # hexBinary` represents arbitrary hex-encoded binary data.
|
135
135
|
# # @return [RDF::Vocabulary::Term]
|
136
136
|
# attr_reader :hexBinary
|
137
137
|
#
|
138
|
-
# # int is
|
138
|
+
# # `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`.
|
139
139
|
# # @return [RDF::Vocabulary::Term]
|
140
140
|
# attr_reader :int
|
141
141
|
#
|
142
|
-
# # integer is
|
142
|
+
# # `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`.
|
143
143
|
# # @return [RDF::Vocabulary::Term]
|
144
144
|
# attr_reader :integer
|
145
145
|
#
|
146
|
-
# # language represents formal natural language identifiers, as defined by [BCP 47] (currently represented by [RFC 4646] and [RFC 4647]) or its successor(s). The
|
146
|
+
# # `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})*`.
|
147
147
|
# # @return [RDF::Vocabulary::Term]
|
148
148
|
# attr_reader :language
|
149
149
|
#
|
150
|
-
# # long is
|
150
|
+
# # `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`.
|
151
151
|
# # @return [RDF::Vocabulary::Term]
|
152
152
|
# attr_reader :long
|
153
153
|
#
|
154
|
-
# # negativeInteger is
|
154
|
+
# # `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`.
|
155
155
|
# # @return [RDF::Vocabulary::Term]
|
156
156
|
# attr_reader :negativeInteger
|
157
157
|
#
|
158
|
-
# # nonNegativeInteger is
|
158
|
+
# # `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`.
|
159
159
|
# # @return [RDF::Vocabulary::Term]
|
160
160
|
# attr_reader :nonNegativeInteger
|
161
161
|
#
|
162
|
-
# # nonPositiveInteger is
|
162
|
+
# # `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`.
|
163
163
|
# # @return [RDF::Vocabulary::Term]
|
164
164
|
# attr_reader :nonPositiveInteger
|
165
165
|
#
|
166
|
-
# # normalizedString represents white space normalized strings. The
|
166
|
+
# # `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`.
|
167
167
|
# # @return [RDF::Vocabulary::Term]
|
168
168
|
# attr_reader :normalizedString
|
169
169
|
#
|
170
|
-
# # positiveInteger is
|
170
|
+
# # `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`.
|
171
171
|
# # @return [RDF::Vocabulary::Term]
|
172
172
|
# attr_reader :positiveInteger
|
173
173
|
#
|
174
|
-
# # short is
|
174
|
+
# # `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`.
|
175
175
|
# # @return [RDF::Vocabulary::Term]
|
176
176
|
# attr_reader :short
|
177
177
|
#
|
178
|
-
# # The string datatype represents character strings in XML.
|
178
|
+
# # The `string` datatype represents character strings in XML.
|
179
179
|
# # @return [RDF::Vocabulary::Term]
|
180
180
|
# attr_reader :string
|
181
181
|
#
|
182
|
-
# # time represents instants of time that recur at the same point in each calendar day, or that occur in some arbitrary calendar day.
|
182
|
+
# # `time` represents instants of time that recur at the same point in each calendar day, or that occur in some arbitrary calendar day.
|
183
183
|
# # @return [RDF::Vocabulary::Term]
|
184
184
|
# attr_reader :time
|
185
185
|
#
|
186
|
-
# # token represents tokenized strings. The
|
186
|
+
# # `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`.
|
187
187
|
# # @return [RDF::Vocabulary::Term]
|
188
188
|
# attr_reader :token
|
189
189
|
#
|
190
|
-
# #
|
190
|
+
# # `unsignedByte` is _derived_ from `unsignedShort` by setting the value of `maxInclusive` to be `255`. The _base type_ of `unsignedByte` is `unsignedShort`.
|
191
191
|
# # @return [RDF::Vocabulary::Term]
|
192
192
|
# attr_reader :unsignedByte
|
193
193
|
#
|
194
|
-
# # unsignedInt is
|
194
|
+
# # `unsignedInt` is _derived_ from `unsignedLong` by setting the value of `maxInclusive` to be `4294967295`. The _base type_ of `unsignedInt` is `unsignedLong`.
|
195
195
|
# # @return [RDF::Vocabulary::Term]
|
196
196
|
# attr_reader :unsignedInt
|
197
197
|
#
|
198
|
-
# # unsignedLong is
|
198
|
+
# # `unsignedLong` is _derived_ from `nonNegativeInteger` by setting the value of `maxInclusive` to be `18446744073709551615`. The _base type_ of `unsignedLong` is `nonNegativeInteger`.
|
199
199
|
# # @return [RDF::Vocabulary::Term]
|
200
200
|
# attr_reader :unsignedLong
|
201
201
|
#
|
202
|
-
# # unsignedShort is
|
202
|
+
# # `unsignedShort` is _derived_ from `unsignedInt` by setting the value of `maxInclusive` to be `65535`. The _base type_ of `unsignedShort` is `unsignedInt`.
|
203
203
|
# # @return [RDF::Vocabulary::Term]
|
204
204
|
# attr_reader :unsignedShort
|
205
205
|
#
|
206
|
-
# # yearMonthDuration is a datatype
|
206
|
+
# # `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.
|
207
207
|
# # @return [RDF::Vocabulary::Term]
|
208
208
|
# attr_reader :yearMonthDuration
|
209
209
|
#
|
@@ -212,67 +212,67 @@ module RDF
|
|
212
212
|
|
213
213
|
# Datatype definitions
|
214
214
|
term :ENTITIES,
|
215
|
-
comment: "\n ENTITIES represents the ENTITIES attribute type from [XML]. The
|
215
|
+
comment: "\n `ENTITIES` represents the `ENTITIES` attribute type from [XML]. The _value\n space_ of `ENTITIES` is the set of finite, non-zero-length sequences of\n `ENTITY` values that have been declared as unparsed entities in a document\n type definition. The _lexical space_ of `ENTITIES` is the set of\n space-separated lists of tokens, of which each token is in the _lexical\n space_ of `ENTITY`. The _item type_ of `ENTITIES` is `ENTITY`. `ENTITIES` is\n derived from `anySimpleType` in two steps: an anonymous list type is\n defined, whose _item type_ is `ENTITY`; this is the _base type_ of `ENTITIES`,\n which restricts its value space to lists with at least one item.\n ",
|
216
216
|
label: "ENTITIES",
|
217
217
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anySimpleType",
|
218
218
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
219
219
|
term :ENTITY,
|
220
|
-
comment: "\n ENTITY represents the ENTITY attribute type from [XML]. The
|
220
|
+
comment: "\n `ENTITY` represents the `ENTITY` attribute type from [XML]. The _value space_\n of `ENTITY` is the set of all strings that match the `NCName` production in\n [Namespaces in XML] and have been declared as an unparsed entity in a\n document type definition. The _lexical space_ of ENTITY is the set of all\n strings that match the NCName production in [Namespaces in XML]. The\n _base type_ of ENTITY is NCName.\n ",
|
221
221
|
label: "ENTITY",
|
222
222
|
subClassOf: "http://www.w3.org/2001/XMLSchema#NCName",
|
223
223
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
224
224
|
term :ID,
|
225
|
-
comment: "\n ID represents the ID attribute type from [XML]. The
|
225
|
+
comment: "\n `ID` represents the `ID` attribute type from [XML]. The _value space_ of `ID` is\n the set of all strings that match the `NCName` production in [Namespaces\n in XML]. The _lexical space_ of `ID` is the set of all strings that match\n the `NCName` production in [Namespaces in XML]. The _base type_ of `ID` is\n `NCName`.\n ",
|
226
226
|
label: "ID",
|
227
227
|
subClassOf: "http://www.w3.org/2001/XMLSchema#NCName",
|
228
228
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
229
229
|
term :IDREF,
|
230
|
-
comment: "\n IDREF represents the IDREF attribute type from [XML]. The
|
230
|
+
comment: "\n `IDREF` represents the `IDREF` attribute type from [XML]. The _value space_ of\n `IDREF` is the set of all strings that match the `NCName` production in\n [Namespaces in XML]. The _lexical space_ of `IDREF` is the set of strings\n that match the `NCName` production in [Namespaces in XML]. The _base type_\n of `IDREF` is `NCName`.\n ",
|
231
231
|
label: "IDREF",
|
232
232
|
subClassOf: "http://www.w3.org/2001/XMLSchema#NCName",
|
233
233
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
234
234
|
term :IDREFS,
|
235
|
-
comment: "\n IDREFS represents the IDREFS attribute type from [XML]. The
|
235
|
+
comment: "\n `IDREFS` represents the `IDREFS` attribute type from [XML]. The _value space_\n of `IDREFS` is the set of finite, non-zero-length sequences of `IDREF`s. The\n _lexical space_ of `IDREFS` is the set of space-separated lists of tokens, of\n which each token is in the _lexical space_ of `IDREF`. The _item type_ of\n `IDREFS` is `IDREF`. `IDREFS` is derived from `anySimpleType` in two steps: an\n anonymous list type is defined, whose _item type_ is `IDREF`; this is the\n _base type_ of `IDREFS`, which restricts its value space to lists with at\n least one item.\n ",
|
236
236
|
label: "IDREFS",
|
237
237
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anySimpleType",
|
238
238
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
239
239
|
term :NCName,
|
240
|
-
comment: "\n NCName represents XML \"non-colonized\" Names. The
|
240
|
+
comment: "\n `NCName` represents XML \"non-colonized\" Names. The _value space_ of `NCName`\n is the set of all strings which match the `NCName` production of\n [Namespaces in XML]. The _lexical space_ of `NCName` is the set of all\n strings which match the `NCName` production of [Namespaces in XML]. The\n _base type_ of `NCName` is `Name`.\n ",
|
241
241
|
label: "NCName",
|
242
242
|
subClassOf: "http://www.w3.org/2001/XMLSchema#Name",
|
243
243
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
244
244
|
term :NMTOKEN,
|
245
|
-
comment: "\n NMTOKEN represents the NMTOKEN attribute type from [XML]. The
|
245
|
+
comment: "\n `NMTOKEN` represents the `NMTOKEN` attribute type from [XML]. The _value\n space_ of `NMTOKEN` is the set of tokens that match the `Nmtoken` production\n in [XML]. The _lexical space_ of `NMTOKEN` is the set of strings that\n match the Nmtoken production in [XML]. The _base type_ of `NMTOKEN` is\n `token`.\n ",
|
246
246
|
label: "NMTOKEN",
|
247
247
|
subClassOf: "http://www.w3.org/2001/XMLSchema#token",
|
248
248
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
249
249
|
term :NMTOKENS,
|
250
|
-
comment: "\n NMTOKENS represents the NMTOKENS attribute type from [XML]. The
|
250
|
+
comment: "\n `NMTOKENS` represents the `NMTOKENS` attribute type from [XML]. The _value\n space_ of `NMTOKENS` is the set of finite, non-zero-length sequences of\n `NMTOKEN`s. The _lexical space_ of `NMTOKENS` is the set of space-separated\n lists of tokens, of which each token is in the _lexical space_ of `NMTOKEN`.\n The _item type_ of `NMTOKENS` is `NMTOKEN`. `NMTOKENS` is derived from\n `anySimpleType` in two steps: an anonymous list type is defined, whose\n _item type_ is `NMTOKEN`; this is the _base type_ of `NMTOKENS`, which\n restricts its value space to lists with at least one item.\n ",
|
251
251
|
label: "NMTOKENS",
|
252
252
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anySimpleType",
|
253
253
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
254
254
|
term :NOTATION,
|
255
|
-
comment: "\n NOTATION represents the NOTATION attribute type from [XML]. The
|
255
|
+
comment: "\n `NOTATION` represents the `NOTATION` attribute type from [XML]. The _value\n space_ of `NOTATION` is the set of `QNames` of notations declared in the\n current schema. The _lexical space_ of `NOTATION` is the set of all names of\n notations declared in the current schema (in the form of `QNames`).\n ",
|
256
256
|
label: "NOTATION",
|
257
257
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
258
258
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
259
259
|
term :Name,
|
260
|
-
comment: "\n Name represents XML Names. The
|
260
|
+
comment: "\n `Name` represents XML Names. The _value space_ of `Name` is the set of all\n strings which match the `Name` production of [XML]. The _lexical space_ of\n `Name` is the set of all strings which match the `Name` production of [XML].\n The _base type_ of `Name` is `token`.\n ",
|
261
261
|
label: "Name",
|
262
262
|
subClassOf: "http://www.w3.org/2001/XMLSchema#token",
|
263
263
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
264
264
|
term :QName,
|
265
|
-
comment: "\n QName represents XML qualified names. The
|
265
|
+
comment: "\n `QName` represents XML qualified names. The _value space_ of `QName` is the set\n of tuples `{namespace name, local part}`, where namespace name is an `anyURI`\n and local part is an `NCName`. The _lexical space_ of `QName` is the set of\n strings that match the `QName` production of [Namespaces in XML].\n ",
|
266
266
|
label: "QName",
|
267
267
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
268
268
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
269
269
|
term :anyAtomicType,
|
270
|
-
comment: "\n anyAtomicType is a special
|
270
|
+
comment: "\n `anyAtomicType` is a special _restriction_ of `anySimpleType`. The _value_ and\n _lexical spaces_ of `anyAtomicType` are the unions of the _value_ and\n _lexical spaces_ of all the _primitive_ datatypes, and `anyAtomicType` is\n their _base type_.\n ",
|
271
271
|
label: "anySimpleType",
|
272
272
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyType",
|
273
273
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
274
274
|
term :anySimpleType,
|
275
|
-
comment: "\n The definition of anySimpleType is a special
|
275
|
+
comment: "\n The definition of `anySimpleType` is a special _restriction_ of `anyType`. The\n _lexical space_ of a`nySimpleType` is the set of all sequences of Unicode\n characters, and its _value space_ includes all _atomic values_ and all\n finite-length lists of zero or more _atomic values_.\n ",
|
276
276
|
label: "anySimpleType",
|
277
277
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyType",
|
278
278
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
@@ -281,182 +281,182 @@ module RDF
|
|
281
281
|
label: "anyType",
|
282
282
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
283
283
|
term :anyURI,
|
284
|
-
comment: "\n anyURI represents an Internationalized Resource Identifier Reference\n (IRI). An anyURI value can be absolute or relative, and may have an\n optional fragment identifier (i.e., it may be an IRI Reference). This\n type should be used when the value fulfills the role of an IRI, as\n defined in [RFC 3987] or its successor(s) in the IETF Standards Track.\n ",
|
284
|
+
comment: "\n `anyURI` represents an Internationalized Resource Identifier Reference\n (IRI). An `anyURI` value can be absolute or relative, and may have an\n optional fragment identifier (i.e., it may be an IRI Reference). This\n type should be used when the value fulfills the role of an IRI, as\n defined in [RFC 3987] or its successor(s) in the IETF Standards Track.\n ",
|
285
285
|
label: "anyURI",
|
286
286
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
287
287
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
288
288
|
term :base64Binary,
|
289
|
-
comment: "\n base64Binary represents arbitrary Base64-encoded binary data. For\n base64Binary data the entire binary stream is encoded using the Base64
|
289
|
+
comment: "\n `base64Binary` represents arbitrary Base64-encoded binary data. For\n `base64Binary` data the entire binary stream is encoded using the `Base64`\n Encoding defined in [RFC 3548], which is derived from the encoding\n described in [RFC 2045].\n ",
|
290
290
|
label: "base64Binary",
|
291
291
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
292
292
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
293
293
|
term :boolean,
|
294
|
-
comment: "\n boolean represents the values of two-valued logic.\n ",
|
294
|
+
comment: "\n `boolean` represents the values of two-valued logic.\n ",
|
295
295
|
label: "boolean",
|
296
296
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
297
297
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
298
298
|
term :byte,
|
299
|
-
comment: "\n byte is
|
299
|
+
comment: "\n `byte` is _derived_ from `short` by setting the value of `maxInclusive` to be\n `127` and `minInclusive` to be `-128`. The _base type_ of `byte` is `short`.\n ",
|
300
300
|
label: "byte",
|
301
301
|
subClassOf: "http://www.w3.org/2001/XMLSchema#short",
|
302
302
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
303
303
|
term :date,
|
304
|
-
comment: "\n date represents top-open intervals of exactly one day in length on the\n timelines of dateTime
|
304
|
+
comment: "\n `date` represents top-open intervals of exactly one day in length on the\n timelines of `dateTime`, beginning on the beginning moment of each day, up to\n but not including the beginning moment of the next day). For non-timezoned\n values, the top-open intervals disjointly cover the non-timezoned timeline,\n one per day. For timezoned values, the intervals begin at every minute and\n therefore overlap.\n ",
|
305
305
|
label: "date",
|
306
306
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
307
307
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
308
308
|
term :dateTime,
|
309
|
-
comment: "\n dateTime represents instants of time, optionally marked with a particular\n time zone offset. Values representing the same instant but having different\n time zone offsets are equal but not identical.\n ",
|
309
|
+
comment: "\n `dateTime` represents instants of time, optionally marked with a particular\n time zone offset. Values representing the same instant but having different\n time zone offsets are equal but not identical.\n ",
|
310
310
|
label: "dateTime",
|
311
311
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
312
312
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
313
313
|
term :dateTimeStamp,
|
314
|
-
comment: "\n The dateTimeStamp datatype is
|
314
|
+
comment: "\n The `dateTimeStamp` datatype is _derived_ from `dateTime` by giving the value\n required to its `explicitTimezone` facet. The result is that all values of\n `dateTimeStamp` are required to have explicit time zone offsets and the\n datatype is totally ordered.\n ",
|
315
315
|
label: "dateTimeStamp",
|
316
316
|
subClassOf: "http://www.w3.org/2001/XMLSchema#dateTime",
|
317
317
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
318
318
|
term :dayTimeDuration,
|
319
|
-
comment: "\n dayTimeDuration is a datatype
|
319
|
+
comment: "\n `dayTimeDuration` is a datatype _derived_ from `duration` by restricting its\n _lexical representations_ to instances of `dayTimeDurationLexicalRep`. The\n _value space_ of `dayTimeDuration` is therefore that of `duration` restricted\n to those whose `months` property is `0`. This results in a `duration` datatype\n which is totally ordered.\n ",
|
320
320
|
label: "dayTimeDuration",
|
321
321
|
subClassOf: "http://www.w3.org/2001/XMLSchema#duration",
|
322
322
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
323
323
|
term :decimal,
|
324
|
-
comment: "\n decimal represents a subset of the real numbers, which can be represented\n by decimal numerals. The
|
324
|
+
comment: "\n `decimal` represents a subset of the real numbers, which can be represented\n by decimal numerals. The _value space_ of decimal is the set of numbers\n that can be obtained by dividing an integer by a non-negative power of ten,\n i.e., expressible as `i / 10n` where `i` and `n` are integers and `n ≥ 0`.\n Precision is not reflected in this value space; the number `2.0` is not\n distinct from the number `2.00`. The order relation on `decimal` is the order\n relation on real numbers, restricted to this subset.\n ",
|
325
325
|
label: "decimal",
|
326
326
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
327
327
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
328
328
|
term :double,
|
329
|
-
comment: "\n The double datatype is patterned after the IEEE double-precision 64-bit\n floating point datatype [IEEE 754-2008]. Each floating point datatype has a\n value space that is a subset of the rational numbers. Floating point\n numbers are often used to approximate arbitrary real numbers.\n ",
|
329
|
+
comment: "\n The `double` datatype is patterned after the IEEE double-precision 64-bit\n floating point datatype [IEEE 754-2008]. Each floating point datatype has a\n value space that is a subset of the rational numbers. Floating point\n numbers are often used to approximate arbitrary real numbers.\n ",
|
330
330
|
label: "double",
|
331
331
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
332
332
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
333
333
|
term :duration,
|
334
|
-
comment: "\n duration is a datatype that represents durations of time. The concept of\n duration being captured is drawn from those of [ISO 8601], specifically\n durations without fixed endpoints. For example, \"15 days\" (whose most\n common lexical representation in duration is
|
334
|
+
comment: "\n `duration` is a datatype that represents durations of time. The concept of\n duration being captured is drawn from those of [ISO 8601], specifically\n durations without fixed endpoints. For example, \"15 days\" (whose most\n common lexical representation in duration is `\"'P15D'\"`) is a duration value;\n \"15 days beginning 12 July 1995\" and \"15 days ending 12 July 1995\" are not\n duration values. duration can provide addition and subtraction operations\n between duration values and between duration/dateTime value pairs, and can\n be the result of subtracting dateTime values. However, only addition to\n `dateTime` is required for XML Schema processing and is defined in the\n function `dateTimePlusDuration`.\n ",
|
335
335
|
label: "duration",
|
336
336
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
337
337
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
338
338
|
term :float,
|
339
|
-
comment: "\n The float datatype is patterned after the IEEE single-precision 32-bit\n floating point datatype [IEEE 754-2008]. Its value space is a subset of the\n rational numbers. Floating point numbers are often used to approximate\n arbitrary real numbers.\n ",
|
339
|
+
comment: "\n The `float` datatype is patterned after the IEEE single-precision 32-bit\n floating point datatype [IEEE 754-2008]. Its value space is a subset of the\n rational numbers. Floating point numbers are often used to approximate\n arbitrary real numbers.\n ",
|
340
340
|
label: "float",
|
341
341
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
342
342
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
343
343
|
term :gDay,
|
344
|
-
comment: "\n gDay represents whole days within an arbitrary month—days that recur at the\n same point in each (Gregorian) month. This datatype is used to represent a\n specific day of the month. To indicate, for example, that an employee gets\n a paycheck on the 15th of each month. (Obviously, days beyond 28 cannot\n occur in all months; they are nonetheless permitted, up to 31.)\n ",
|
344
|
+
comment: "\n `gDay` represents whole days within an arbitrary month—days that recur at the\n same point in each (Gregorian) month. This datatype is used to represent a\n specific day of the month. To indicate, for example, that an employee gets\n a paycheck on the 15th of each month. (Obviously, days beyond 28 cannot\n occur in all months; they are nonetheless permitted, up to 31.)\n ",
|
345
345
|
label: "gDay",
|
346
346
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
347
347
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
348
348
|
term :gMonth,
|
349
|
-
comment: "\n gMonth represents whole (Gregorian) months within an arbitrary year—months\n that recur at the same point in each year. It might be used, for example,\n to say what month annual Thanksgiving celebrations fall in different\n countries (
|
349
|
+
comment: "\n `gMonth` represents whole (Gregorian) months within an arbitrary year—months\n that recur at the same point in each year. It might be used, for example,\n to say what month annual Thanksgiving celebrations fall in different\n countries (`--11` in the United States, `--10` in Canada, and possibly other\n months in other countries).\n ",
|
350
350
|
label: "gMonth",
|
351
351
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
352
352
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
353
353
|
term :gMonthDay,
|
354
|
-
comment: "\n gMonthDay represents whole calendar days that recur at the same point in\n each calendar year, or that occur in some arbitrary calendar year.\n (Obviously, days beyond 28 cannot occur in all Februaries; 29 is\n nonetheless permitted.)\n ",
|
354
|
+
comment: "\n `gMonthDay` represents whole calendar days that recur at the same point in\n each calendar year, or that occur in some arbitrary calendar year.\n (Obviously, days beyond 28 cannot occur in all Februaries; 29 is\n nonetheless permitted.)\n ",
|
355
355
|
label: "gMonthDay",
|
356
356
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
357
357
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
358
358
|
term :gYear,
|
359
|
-
comment: "\n gYear represents Gregorian calendar years.\n ",
|
359
|
+
comment: "\n `gYear` represents Gregorian calendar years.\n ",
|
360
360
|
label: "gYear",
|
361
361
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
362
362
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
363
363
|
term :gYearMonth,
|
364
|
-
comment: "\n gYearMonth represents specific whole Gregorian months in specific Gregorian years.\n ",
|
364
|
+
comment: "\n `gYearMonth` represents specific whole Gregorian months in specific Gregorian years.\n ",
|
365
365
|
label: "gYearMonth",
|
366
366
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
367
367
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
368
368
|
term :hexBinary,
|
369
|
-
comment: "\n hexBinary represents arbitrary hex-encoded binary data. \n ",
|
369
|
+
comment: "\n hexBinary` represents arbitrary hex-encoded binary data. \n ",
|
370
370
|
label: "hexBinary",
|
371
371
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
372
372
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
373
373
|
term :int,
|
374
|
-
comment: "\n int is
|
374
|
+
comment: "\n `int` is _derived_ from `long` by setting the value of `maxInclusive` to be\n `2147483647` and `minInclusive` to be `-2147483648`. The _base type_ of `int`\n is `long`.\n ",
|
375
375
|
label: "int",
|
376
376
|
subClassOf: "http://www.w3.org/2001/XMLSchema#long",
|
377
377
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
378
378
|
term :integer,
|
379
|
-
comment: "\n integer is
|
379
|
+
comment: "\n `integer` is _derived_ from `decimal` by fixing the value of `fractionDigits`\n to be `0` and disallowing the trailing decimal point. This results in the\n standard mathematical concept of the integer numbers. The _value space_ of\n `integer` is the infinite set `{...,-2,-1,0,1,2,...}`. The _base type_ of\n `integer` is `decimal`.\n ",
|
380
380
|
label: "integer",
|
381
381
|
subClassOf: "http://www.w3.org/2001/XMLSchema#decimal",
|
382
382
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
383
383
|
term :language,
|
384
|
-
comment: "\n language represents formal natural language identifiers, as defined by [BCP\n 47] (currently represented by [RFC 4646] and [RFC 4647]) or its\n successor(s). The
|
384
|
+
comment: "\n `language` represents formal natural language identifiers, as defined by [BCP\n 47] (currently represented by [RFC 4646] and [RFC 4647]) or its\n successor(s). The _value space_ and _lexical space_ of `language` are the set\n of all strings that conform to the pattern `[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*`.\n ",
|
385
385
|
label: "language",
|
386
386
|
subClassOf: "http://www.w3.org/2001/XMLSchema#token",
|
387
387
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
388
388
|
term :long,
|
389
|
-
comment: "\n long is
|
389
|
+
comment: "\n `long` is _derived_ from `integer` by setting the value of `maxInclusive` to\n be `9223372036854775807` and `minInclusive` to be `-9223372036854775808`. The\n _base type_ of `long` is `integer`.\n ",
|
390
390
|
label: "long",
|
391
391
|
subClassOf: "http://www.w3.org/2001/XMLSchema#integer",
|
392
392
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
393
393
|
term :negativeInteger,
|
394
|
-
comment: "\n negativeInteger is
|
394
|
+
comment: "\n `negativeInteger` is _derived_ from `nonPositiveInteger` by setting the value\n of `maxInclusive` to be `-1`. This results in the standard mathematical\n concept of the negative integers. The _value space_ of `negativeInteger` is\n the infinite set `{...,-2,-1}`. The _base type_ of `negativeInteger` is\n `nonPositiveInteger`.\n ",
|
395
395
|
label: "negativeInteger",
|
396
396
|
subClassOf: "http://www.w3.org/2001/XMLSchema#nonPositiveInteger",
|
397
397
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
398
398
|
term :nonNegativeInteger,
|
399
|
-
comment: "\n nonNegativeInteger is
|
399
|
+
comment: "\n `nonNegativeInteger` is _derived_ from `integer` by setting the value of\n `minInclusive` to be `0`. This results in the standard mathematical concept\n of the non-negative integers. The _value space_ of `nonNegativeInteger` is\n the infinite set `{0,1,2,...}`. The _base type_ of `nonNegativeInteger` is\n `integer`.\n ",
|
400
400
|
label: "nonNegativeInteger",
|
401
401
|
subClassOf: "http://www.w3.org/2001/XMLSchema#integer",
|
402
402
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
403
403
|
term :nonPositiveInteger,
|
404
|
-
comment: "\n nonPositiveInteger is
|
404
|
+
comment: "\n `nonPositiveInteger` is _derived_ from `integer` by setting the value of\n `maxInclusive` to be `0`. This results in the standard mathematical concept\n of the non-positive integers. The _value space_ of `nonPositiveInteger` is\n the infinite set `{...,-2,-1,0}`. The _base type_ of `nonPositiveInteger` is\n `integer`.\n ",
|
405
405
|
label: "nonPositiveInteger",
|
406
406
|
subClassOf: "http://www.w3.org/2001/XMLSchema#integer",
|
407
407
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
408
408
|
term :normalizedString,
|
409
|
-
comment: "\n normalizedString represents white space normalized strings. The
|
409
|
+
comment: "\n `normalizedString` represents white space normalized strings. The _value\n space_ of `normalizedString` is the set of strings that do not contain the\n carriage return (`#xD`), line feed (`#xA`) nor tab (`#x9`) characters. The\n _lexical space_ of `normalizedString` is the set of strings that do not\n contain the carriage return (`#xD`), line feed (`#xA`) nor tab (`#x9`)\n characters. The _base type_ of `normalizedString` is `string`.\n ",
|
410
410
|
label: "normalizedString",
|
411
411
|
subClassOf: "http://www.w3.org/2001/XMLSchema#string",
|
412
412
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
413
413
|
term :positiveInteger,
|
414
|
-
comment: "\n positiveInteger is
|
414
|
+
comment: "\n `positiveInteger` is _derived_ from `nonNegativeInteger` by setting the value\n of `minInclusive` to be `1`. This results in the standard mathematical\n concept of the positive integer numbers. The _value space_ of\n `positiveInteger` is the infinite set `{1,2,...}`. The _base type_ of\n `positiveInteger` is `nonNegativeInteger`.\n ",
|
415
415
|
label: "positiveInteger",
|
416
416
|
subClassOf: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
|
417
417
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
418
418
|
term :short,
|
419
|
-
comment: "\n short is
|
419
|
+
comment: "\n `short` is _derived_ from `int` by setting the value of `maxInclusive` to be\n `32767` and `minInclusive` to be `-32768`. The _base type_ of `short` is `int`.\n ",
|
420
420
|
label: "short",
|
421
421
|
subClassOf: "http://www.w3.org/2001/XMLSchema#int",
|
422
422
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
423
423
|
term :string,
|
424
|
-
comment: "\n The string datatype represents character strings in XML.\n ",
|
424
|
+
comment: "\n The `string` datatype represents character strings in XML.\n ",
|
425
425
|
label: "string",
|
426
426
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
427
427
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
428
428
|
term :time,
|
429
|
-
comment: "\n time represents instants of time that recur at the same point in each\n calendar day, or that occur in some arbitrary calendar day.\n ",
|
429
|
+
comment: "\n `time` represents instants of time that recur at the same point in each\n calendar day, or that occur in some arbitrary calendar day.\n ",
|
430
430
|
label: "time",
|
431
431
|
subClassOf: "http://www.w3.org/2001/XMLSchema#anyAtomicType",
|
432
432
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
433
433
|
term :token,
|
434
|
-
comment: "\n token represents tokenized strings. The
|
434
|
+
comment: "\n `token` represents tokenized strings. The _value space_ of `token` is the set\n of strings that do not contain the carriage return (`#xD`), line feed (`#xA`)\n nor tab (`#x9`) characters, that have no leading or trailing spaces (`#x20`)\n and that have no internal sequences of two or more spaces. The _lexical\n space_ of `token` is the set of strings that do not contain the carriage\n return (`#xD`), line feed (`#xA`) nor tab (`#x9`) characters, that have no\n leading or trailing spaces (`#x20`) and that have no internal sequences of\n two or more spaces. The _base type_ of `token` is `normalizedString`.\n ",
|
435
435
|
label: "token",
|
436
436
|
subClassOf: "http://www.w3.org/2001/XMLSchema#normalizedString",
|
437
437
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
438
438
|
term :unsignedByte,
|
439
|
-
comment: "\n
|
439
|
+
comment: "\n `unsignedByte` is _derived_ from `unsignedShort` by setting the value of\n `maxInclusive` to be `255`. The _base type_ of `unsignedByte` is\n `unsignedShort`.\n ",
|
440
440
|
label: "unsignedByte",
|
441
441
|
subClassOf: "http://www.w3.org/2001/XMLSchema#unsignedShort",
|
442
442
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
443
443
|
term :unsignedInt,
|
444
|
-
comment: "\n unsignedInt is
|
444
|
+
comment: "\n `unsignedInt` is _derived_ from `unsignedLong` by setting the value of\n `maxInclusive` to be `4294967295`. The _base type_ of `unsignedInt` is\n `unsignedLong`.\n ",
|
445
445
|
label: "unsignedInt",
|
446
446
|
subClassOf: "http://www.w3.org/2001/XMLSchema#unsignedLong",
|
447
447
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
448
448
|
term :unsignedLong,
|
449
|
-
comment: "\n unsignedLong is
|
449
|
+
comment: "\n `unsignedLong` is _derived_ from `nonNegativeInteger` by setting the value of\n `maxInclusive` to be `18446744073709551615`. The _base type_ of `unsignedLong`\n is `nonNegativeInteger`.\n ",
|
450
450
|
label: "unsignedLong",
|
451
451
|
subClassOf: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger",
|
452
452
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
453
453
|
term :unsignedShort,
|
454
|
-
comment: "\n unsignedShort is
|
454
|
+
comment: "\n `unsignedShort` is _derived_ from `unsignedInt` by setting the value of\n `maxInclusive` to be `65535`. The _base type_ of `unsignedShort` is\n `unsignedInt`.\n ",
|
455
455
|
label: "unsignedShort",
|
456
456
|
subClassOf: "http://www.w3.org/2001/XMLSchema#unsignedInt",
|
457
457
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|
458
458
|
term :yearMonthDuration,
|
459
|
-
comment: "\n yearMonthDuration is a datatype
|
459
|
+
comment: "\n `yearMonthDuration` is a datatype _derived_ from `duration` by restricting its\n _lexical representations_ to instances of `yearMonthDurationLexicalRep`. The\n _value space_ of `yearMonthDuration` is therefore that of `duration`\n restricted to those whose `seconds` property is `0`. This results in a\n `duration` datatype which is totally ordered.\n ",
|
460
460
|
label: "yearMonthDuration",
|
461
461
|
subClassOf: "http://www.w3.org/2001/XMLSchema#duration",
|
462
462
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype"
|