rdf-tabular 0.4.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +24 -5
- data/VERSION +1 -1
- data/etc/csvw.jsonld +135 -50
- data/lib/rdf/tabular/csvw.rb +215 -181
- data/lib/rdf/tabular/format.rb +8 -6
- data/lib/rdf/tabular/literal.rb +1 -1
- data/lib/rdf/tabular/metadata.rb +61 -80
- data/lib/rdf/tabular/reader.rb +18 -15
- data/lib/rdf/tabular/uax35.rb +143 -38
- data/spec/data/countries-minimal.json +38 -0
- data/spec/data/countries-minimal.ttl +36 -0
- data/spec/data/countries-standard.json +86 -0
- data/spec/data/countries-standard.ttl +75 -0
- data/spec/data/countries.csv +4 -0
- data/spec/data/countries.csv-minimal.json +16 -0
- data/spec/data/countries.csv-minimal.ttl +19 -0
- data/spec/data/countries.csv-standard.json +33 -0
- data/spec/data/countries.csv-standard.ttl +44 -0
- data/spec/data/countries.html +88 -0
- data/spec/data/countries.json +53 -0
- data/spec/data/countries_embed-minimal.json +38 -0
- data/spec/data/countries_embed-minimal.ttl +36 -0
- data/spec/data/countries_embed-standard.json +86 -0
- data/spec/data/countries_embed-standard.ttl +75 -0
- data/spec/data/countries_embed.html +88 -0
- data/spec/data/countries_html-minimal.json +38 -0
- data/spec/data/countries_html-minimal.ttl +36 -0
- data/spec/data/countries_html-standard.json +86 -0
- data/spec/data/countries_html-standard.ttl +75 -0
- data/spec/data/country-codes-and-names-minimal.json +19 -0
- data/spec/data/country-codes-and-names-minimal.ttl +22 -0
- data/spec/data/country-codes-and-names-standard.json +47 -0
- data/spec/data/country-codes-and-names-standard.ttl +45 -0
- data/spec/data/country-codes-and-names.csv +5 -0
- data/spec/data/country_slice.csv +4 -0
- data/spec/data/junior-roles.csv +3 -0
- data/spec/data/junior-roles.json +54 -0
- data/spec/data/roles-minimal.json +32 -0
- data/spec/data/roles-minimal.ttl +36 -0
- data/spec/data/roles-standard.json +56 -0
- data/spec/data/roles-standard.ttl +66 -0
- data/spec/data/roles.json +23 -0
- data/spec/data/senior-roles.csv +3 -0
- data/spec/data/senior-roles.json +52 -0
- data/spec/data/test232-metadata.json +10 -0
- data/spec/data/test232.csv +3 -0
- data/spec/data/tree-ops-atd.json +1 -0
- data/spec/data/tree-ops-ext-minimal.json +42 -0
- data/spec/data/tree-ops-ext-minimal.ttl +34 -0
- data/spec/data/tree-ops-ext-standard.json +93 -0
- data/spec/data/tree-ops-ext-standard.ttl +82 -0
- data/spec/data/tree-ops-ext.csv +4 -0
- data/spec/data/tree-ops-ext.json +81 -0
- data/spec/data/tree-ops-minimal.json +18 -0
- data/spec/data/tree-ops-minimal.ttl +14 -0
- data/spec/data/tree-ops-standard.json +44 -0
- data/spec/data/tree-ops-standard.ttl +44 -0
- data/spec/data/tree-ops-virtual-minimal.json +32 -0
- data/spec/data/tree-ops-virtual-minimal.ttl +25 -0
- data/spec/data/tree-ops-virtual-standard.json +49 -0
- data/spec/data/tree-ops-virtual-standard.ttl +49 -0
- data/spec/data/tree-ops-virtual.json +48 -0
- data/spec/data/tree-ops.csv +3 -0
- data/spec/data/tree-ops.csv-metadata.json +43 -0
- data/spec/data/tree-ops.html +54 -0
- data/spec/data/tree-ops.tsv +3 -0
- data/spec/format_spec.rb +5 -4
- data/spec/metadata_spec.rb +10 -16
- data/spec/suite_helper.rb +2 -2
- data/spec/suite_spec.rb +5 -6
- data/spec/uax35_spec.rb +239 -0
- metadata +149 -36
- data/lib/rdf/tabular/json.rb +0 -0
data/lib/rdf/tabular/csvw.rb
CHANGED
@@ -1,456 +1,485 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
#
|
2
|
+
# frozen_string_literal: true
|
3
|
+
# This file generated automatically using rdf vocabulary format from http://www.w3.org/ns/csvw#
|
3
4
|
require 'rdf'
|
4
5
|
module RDF::Tabular
|
6
|
+
# @!parse
|
7
|
+
# # Vocabulary for <http://www.w3.org/ns/csvw#>
|
8
|
+
# class CSVW < RDF::StrictVocabulary
|
9
|
+
# end
|
5
10
|
class CSVW < RDF::StrictVocabulary("http://www.w3.org/ns/csvw#")
|
6
11
|
|
12
|
+
# Ontology definition
|
13
|
+
ontology :"http://www.w3.org/ns/csvw#",
|
14
|
+
:"dc:date" => %(2017-05-23).freeze,
|
15
|
+
:"dc:description" => %(This document describes the RDFS vocabulary description used in the Metadata Vocabulary for Tabular Data [[tabular-metadata]] along with the default JSON-LD Context.).freeze,
|
16
|
+
:"dc:title" => %(CSVW Namespace Vocabulary Terms).freeze,
|
17
|
+
:"owl:imports" => %(http://www.w3.org/ns/prov).freeze,
|
18
|
+
:"owl:versionInfo" => %(https://github.com/w3c/csvw/commit/94898e9f0b073aa09b3334ded2eb5ab3b87b37a9).freeze,
|
19
|
+
:"rdfs:seeAlso" => %(http://www.w3.org/TR/tabular-metadata).freeze,
|
20
|
+
type: "owl:Ontology".freeze
|
21
|
+
|
7
22
|
# Class definitions
|
8
23
|
term :Cell,
|
9
24
|
comment: %(A Cell represents a cell at the intersection of a Row and a Column within a Table.).freeze,
|
10
25
|
label: "Cell".freeze,
|
11
|
-
"rdfs:isDefinedBy" => %(
|
26
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
12
27
|
type: "rdfs:Class".freeze
|
13
28
|
term :Column,
|
14
29
|
comment: %(A Column represents a vertical arrangement of Cells within a Table.).freeze,
|
15
30
|
label: "Column Description".freeze,
|
16
|
-
"rdfs:isDefinedBy" => %(
|
31
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
17
32
|
type: "rdfs:Class".freeze
|
18
33
|
term :Datatype,
|
19
34
|
comment: %(Describes facets of a datatype.).freeze,
|
20
35
|
label: "Datatype".freeze,
|
21
|
-
"rdfs:isDefinedBy" => %(
|
36
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
22
37
|
type: "rdfs:Class".freeze
|
23
38
|
term :Dialect,
|
24
39
|
comment: %(A Dialect Description provides hints to parsers about how to parse a linked file.).freeze,
|
25
40
|
label: "Dialect Description".freeze,
|
26
|
-
"rdfs:isDefinedBy" => %(
|
41
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
27
42
|
type: "rdfs:Class".freeze
|
28
43
|
term :Direction,
|
29
44
|
comment: %(The class of table/text directions.).freeze,
|
30
45
|
label: "Direction".freeze,
|
31
|
-
"rdfs:isDefinedBy" => %(
|
46
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
32
47
|
type: "rdfs:Class".freeze
|
33
48
|
term :ForeignKey,
|
34
49
|
comment: %(Describes relationships between Columns in one or more Tables.).freeze,
|
35
50
|
label: "Foreign Key Definition".freeze,
|
36
|
-
"rdfs:isDefinedBy" => %(
|
51
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
37
52
|
type: "rdfs:Class".freeze
|
38
53
|
term :NumericFormat,
|
39
54
|
comment: %(If the datatype is a numeric type, the format property indicates the expected format for that number. Its value must be either a single string or an object with one or more properties.).freeze,
|
40
55
|
label: "Numeric Format".freeze,
|
41
|
-
"rdfs:isDefinedBy" => %(
|
56
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
42
57
|
type: "rdfs:Class".freeze
|
43
58
|
term :Row,
|
44
59
|
comment: %(A Row represents a horizontal arrangement of cells within a Table.).freeze,
|
45
60
|
label: "Row".freeze,
|
46
|
-
"rdfs:isDefinedBy" => %(
|
61
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
47
62
|
type: "rdfs:Class".freeze
|
48
63
|
term :Schema,
|
49
64
|
comment: %(A Schema is a definition of a tabular format that may be common to multiple tables.).freeze,
|
50
65
|
label: "Schema".freeze,
|
51
|
-
"rdfs:isDefinedBy" => %(
|
66
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
52
67
|
type: "rdfs:Class".freeze
|
53
68
|
term :Table,
|
54
69
|
comment: %(An annotated table is a table that is annotated with additional metadata.).freeze,
|
55
70
|
label: "Annotated Table".freeze,
|
56
|
-
"rdfs:isDefinedBy" => %(
|
71
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
57
72
|
type: "rdfs:Class".freeze
|
58
73
|
term :TableGroup,
|
59
74
|
comment: %(A Group of Tables comprises a set of Annotated Tables and a set of annotations that relate to those Tables.).freeze,
|
60
75
|
label: "Group of Tables".freeze,
|
61
|
-
"rdfs:isDefinedBy" => %(
|
76
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
62
77
|
type: "rdfs:Class".freeze
|
63
78
|
term :TableReference,
|
64
79
|
comment: %(An object property that identifies a referenced table and a set of referenced columns within that table.).freeze,
|
65
80
|
label: "Table Reference".freeze,
|
66
|
-
"rdfs:isDefinedBy" => %(
|
81
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
67
82
|
type: "rdfs:Class".freeze
|
68
83
|
term :Transformation,
|
69
84
|
comment: %(A Transformation Definition is a definition of how tabular data can be transformed into another format.).freeze,
|
70
85
|
label: "Transformation Definition".freeze,
|
71
|
-
"rdfs:isDefinedBy" => %(
|
86
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
72
87
|
type: "rdfs:Class".freeze
|
73
88
|
|
74
89
|
# Property definitions
|
75
90
|
property :aboutUrl,
|
76
|
-
comment: %(A URI template property that
|
91
|
+
comment: %(A URI template property that MAY be used to indicate what a cell contains information about.).freeze,
|
77
92
|
label: "about URL".freeze,
|
78
|
-
range: "
|
79
|
-
"rdfs:isDefinedBy" => %(
|
93
|
+
range: "csvw:uriTemplate".freeze,
|
94
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
80
95
|
type: "rdf:Property".freeze
|
81
96
|
property :base,
|
82
|
-
comment: %(An atomic property that contains a single string: a term defined in the default context representing a built-in datatype URL.).freeze,
|
83
|
-
domain: "
|
97
|
+
comment: %(An atomic property that contains a single string: a term defined in the default context representing a built-in datatype URL, as listed above.).freeze,
|
98
|
+
domain: "csvw:Datatype".freeze,
|
84
99
|
label: "base".freeze,
|
85
100
|
range: "xsd:string".freeze,
|
86
|
-
"rdfs:isDefinedBy" => %(
|
101
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
87
102
|
type: "rdf:Property".freeze
|
88
103
|
property :column,
|
89
|
-
comment: %(An array property of column descriptions as described in section
|
90
|
-
domain: "
|
104
|
+
comment: %(An array property of column descriptions as described in section 5.6 Columns.).freeze,
|
105
|
+
domain: "csvw:Schema".freeze,
|
91
106
|
label: "column".freeze,
|
92
|
-
range: "
|
93
|
-
"rdfs:isDefinedBy" => %(
|
107
|
+
range: "csvw:Column".freeze,
|
108
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
94
109
|
type: "rdf:Property".freeze
|
95
110
|
property :columnReference,
|
96
|
-
comment: %(A column reference property that holds either a single reference to a column description object within this schema, or an array of references.).freeze,
|
111
|
+
comment: %(A column reference property that holds either a single reference to a column description object within this schema, or an array of references. These form the referencing columns for the foreign key definition.).freeze,
|
97
112
|
label: "column reference".freeze,
|
98
113
|
range: "xsd:string".freeze,
|
99
|
-
"rdfs:isDefinedBy" => %(
|
114
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
100
115
|
type: "rdf:Property".freeze
|
101
116
|
property :commentPrefix,
|
102
|
-
comment: %(An atomic property that sets the comment prefix flag to the single provided value, which
|
103
|
-
domain: "
|
117
|
+
comment: %(An atomic property that sets the comment prefix flag to the single provided value, which MUST be a string.).freeze,
|
118
|
+
domain: "csvw:Dialect".freeze,
|
104
119
|
label: "comment prefix".freeze,
|
105
120
|
range: "xsd:string".freeze,
|
106
|
-
"rdfs:isDefinedBy" => %(
|
121
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
107
122
|
type: "rdf:Property".freeze
|
108
123
|
property :datatype,
|
109
|
-
comment: %(An
|
124
|
+
comment: %(An object property that contains either a single string that is the main datatype of the values of the cell or a datatype description object. If the value of this property is a string, it MUST be one of the built-in datatypes defined in section 5.11.1 Built-in Datatypes or an absolute URL; if it is an object then it describes a more specialised datatype.).freeze,
|
110
125
|
label: "datatype".freeze,
|
111
|
-
"rdfs:isDefinedBy" => %(
|
126
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
112
127
|
type: "rdf:Property".freeze
|
113
128
|
property :decimalChar,
|
114
|
-
comment: %(
|
115
|
-
domain: "
|
129
|
+
comment: %(A string whose value is used to represent a decimal point within the number.).freeze,
|
130
|
+
domain: "csvw:NumericFormat".freeze,
|
116
131
|
label: "decimal character".freeze,
|
117
132
|
range: "xsd:string".freeze,
|
118
|
-
"rdfs:isDefinedBy" => %(
|
133
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
119
134
|
type: "rdf:Property".freeze
|
120
135
|
property :default,
|
121
136
|
comment: %(An atomic property holding a single string that is used to create a default value for the cell in cases where the original string value is an empty string.).freeze,
|
122
137
|
label: "default".freeze,
|
123
138
|
range: "xsd:string".freeze,
|
124
|
-
"rdfs:isDefinedBy" => %(
|
139
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
125
140
|
type: "rdf:Property".freeze
|
126
141
|
property :delimiter,
|
127
|
-
comment: %(An atomic property that sets the delimiter flag to the single provided value, which
|
128
|
-
domain: "
|
142
|
+
comment: %(An atomic property that sets the delimiter flag to the single provided value, which MUST be a string.).freeze,
|
143
|
+
domain: "csvw:Dialect".freeze,
|
129
144
|
label: "delimiter".freeze,
|
130
145
|
range: "xsd:string".freeze,
|
131
|
-
"rdfs:isDefinedBy" => %(
|
146
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
132
147
|
type: "rdf:Property".freeze
|
133
148
|
property :describes,
|
134
149
|
comment: %(From IANA describes: The relationship A 'describes' B asserts that resource A provides a description of resource B. There are no constraints on the format or representation of either A or B, neither are there any further constraints on either resource.).freeze,
|
135
|
-
domain: "
|
150
|
+
domain: "csvw:Row".freeze,
|
136
151
|
label: "describes".freeze,
|
137
|
-
"rdfs:isDefinedBy" => %(
|
152
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
138
153
|
type: "rdf:Property".freeze
|
139
154
|
property :dialect,
|
140
|
-
comment: %(
|
155
|
+
comment: %(An object property that provides a single dialect description. If provided, dialect provides hints to processors about how to parse the referenced files to create tabular data models for the tables in the group.).freeze,
|
141
156
|
label: "dialect".freeze,
|
142
|
-
range: "
|
143
|
-
"rdfs:isDefinedBy" => %(
|
157
|
+
range: "csvw:Dialect".freeze,
|
158
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
144
159
|
type: "rdf:Property".freeze
|
145
160
|
property :doubleQuote,
|
146
|
-
comment: %(A boolean atomic property that, if `true`, sets the escape character flag to `"`.
|
147
|
-
domain: "
|
161
|
+
comment: %(A boolean atomic property that, if `true`, sets the escape character flag to `"`.).freeze,
|
162
|
+
domain: "csvw:Dialect".freeze,
|
148
163
|
label: "double quote".freeze,
|
149
164
|
range: "xsd:boolean".freeze,
|
150
|
-
"rdfs:isDefinedBy" => %(
|
165
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
151
166
|
type: "rdf:Property".freeze
|
152
167
|
property :encoding,
|
153
|
-
comment: %(An atomic property that sets the encoding flag to the single provided string value, which
|
154
|
-
domain: "
|
168
|
+
comment: %(An atomic property that sets the encoding flag to the single provided string value, which MUST be a defined in [[encoding]]. The default is "utf-8".).freeze,
|
169
|
+
domain: "csvw:Dialect".freeze,
|
155
170
|
label: "encoding".freeze,
|
156
171
|
range: "xsd:string".freeze,
|
157
|
-
"rdfs:isDefinedBy" => %(
|
172
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
158
173
|
type: "rdf:Property".freeze
|
159
174
|
property :foreignKey,
|
160
|
-
comment: %(
|
161
|
-
|
175
|
+
comment: %(For a Table: a list of foreign keys on the table.
|
176
|
+
|
177
|
+
For a Schema: an array property of foreign key definitions that define how the values from specified columns within this table link to rows within this table or other tables.).freeze,
|
162
178
|
label: "foreign key".freeze,
|
163
|
-
range: "
|
164
|
-
"rdfs:isDefinedBy" => %(
|
179
|
+
range: "csvw:ForeignKey".freeze,
|
180
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
165
181
|
type: "rdf:Property".freeze
|
166
182
|
property :format,
|
167
|
-
comment: %(An atomic property that contains either a single string or an object that defines the format of a value of this type.).freeze,
|
168
|
-
domain: "
|
183
|
+
comment: %(An atomic property that contains either a single string or an object that defines the format of a value of this type, used when parsing a string value as described in Parsing Cells in [[tabular-data-model]].).freeze,
|
184
|
+
domain: "csvw:Datatype".freeze,
|
169
185
|
label: "format".freeze,
|
170
186
|
range: "xsd:string".freeze,
|
171
|
-
"rdfs:isDefinedBy" => %(
|
187
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
172
188
|
type: "rdf:Property".freeze
|
173
189
|
property :groupChar,
|
174
|
-
comment: %(
|
175
|
-
domain: "
|
190
|
+
comment: %(A string whose value is used to group digits within the number.).freeze,
|
191
|
+
domain: "csvw:NumericFormat".freeze,
|
176
192
|
label: "group character".freeze,
|
177
|
-
"rdfs:isDefinedBy" => %(
|
193
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
178
194
|
type: "rdf:Property".freeze
|
179
195
|
property :header,
|
180
196
|
comment: %(A boolean atomic property that, if `true`, sets the header row count flag to `1`, and if `false` to `0`, unless headerRowCount is provided, in which case the value provided for the header property is ignored.).freeze,
|
181
|
-
domain: "
|
197
|
+
domain: "csvw:Dialect".freeze,
|
182
198
|
label: "header".freeze,
|
183
199
|
range: "xsd:boolean".freeze,
|
184
|
-
"rdfs:isDefinedBy" => %(
|
200
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
185
201
|
type: "rdf:Property".freeze
|
186
202
|
property :headerRowCount,
|
187
|
-
comment: %(
|
188
|
-
domain: "
|
203
|
+
comment: %(An numeric atomic property that sets the header row count flag to the single provided value, which must be a non-negative integer.).freeze,
|
204
|
+
domain: "csvw:Dialect".freeze,
|
189
205
|
label: "header row count".freeze,
|
190
206
|
range: "xsd:nonNegativeInteger".freeze,
|
191
|
-
"rdfs:isDefinedBy" => %(
|
207
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
192
208
|
type: "rdf:Property".freeze
|
193
209
|
property :lang,
|
194
|
-
comment: %(An atomic property giving a single string language code as defined by [BCP47].).freeze,
|
210
|
+
comment: %(An atomic property giving a single string language code as defined by [[BCP47]].).freeze,
|
195
211
|
label: "language".freeze,
|
196
212
|
range: "xsd:string".freeze,
|
197
|
-
"rdfs:isDefinedBy" => %(
|
213
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
198
214
|
type: "rdf:Property".freeze
|
199
215
|
property :length,
|
200
216
|
comment: %(The exact length of the value of the cell.).freeze,
|
201
|
-
domain: "
|
217
|
+
domain: "csvw:Datatype".freeze,
|
202
218
|
label: "length".freeze,
|
203
219
|
range: "xsd:nonNegativeInteger".freeze,
|
204
|
-
"rdfs:isDefinedBy" => %(
|
220
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
205
221
|
type: "rdf:Property".freeze
|
206
222
|
property :lineTerminators,
|
207
|
-
comment: %(An atomic property that
|
208
|
-
domain: "
|
209
|
-
label: "line
|
223
|
+
comment: %(An atomic property that sets the line terminators flag to either an array containing the single provided string value, or the provided array.).freeze,
|
224
|
+
domain: "csvw:Dialect".freeze,
|
225
|
+
label: "line terminators".freeze,
|
210
226
|
range: "xsd:string".freeze,
|
211
|
-
"rdfs:isDefinedBy" => %(
|
227
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
212
228
|
type: "rdf:Property".freeze
|
213
229
|
property :maxExclusive,
|
214
230
|
comment: %(An atomic property that contains a single number that is the maximum valid value \(exclusive\).).freeze,
|
215
|
-
domain: "
|
231
|
+
domain: "csvw:Datatype".freeze,
|
216
232
|
label: "max exclusive".freeze,
|
217
233
|
range: "xsd:integer".freeze,
|
218
|
-
"rdfs:isDefinedBy" => %(
|
234
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
219
235
|
type: "rdf:Property".freeze
|
220
236
|
property :maxInclusive,
|
221
237
|
comment: %(An atomic property that contains a single number that is the maximum valid value \(inclusive\).).freeze,
|
222
|
-
domain: "
|
238
|
+
domain: "csvw:Datatype".freeze,
|
223
239
|
label: "max inclusive".freeze,
|
224
240
|
range: "xsd:integer".freeze,
|
225
|
-
"rdfs:isDefinedBy" => %(
|
241
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
226
242
|
type: "rdf:Property".freeze
|
227
243
|
property :maxLength,
|
228
244
|
comment: %(A numeric atomic property that contains a single integer that is the maximum length of the value.).freeze,
|
229
|
-
domain: "
|
245
|
+
domain: "csvw:Datatype".freeze,
|
230
246
|
label: "max length".freeze,
|
231
247
|
range: "xsd:nonNegativeInteger".freeze,
|
232
|
-
"rdfs:isDefinedBy" => %(
|
248
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
233
249
|
type: "rdf:Property".freeze
|
234
250
|
property :minExclusive,
|
235
251
|
comment: %(An atomic property that contains a single number that is the minimum valid value \(exclusive\).).freeze,
|
236
|
-
domain: "
|
252
|
+
domain: "csvw:Datatype".freeze,
|
237
253
|
label: "min exclusive".freeze,
|
238
254
|
range: "xsd:integer".freeze,
|
239
|
-
"rdfs:isDefinedBy" => %(
|
255
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
240
256
|
type: "rdf:Property".freeze
|
241
257
|
property :minInclusive,
|
242
258
|
comment: %(An atomic property that contains a single number that is the minimum valid value \(inclusive\).).freeze,
|
243
|
-
domain: "
|
259
|
+
domain: "csvw:Datatype".freeze,
|
244
260
|
label: "min inclusive".freeze,
|
245
261
|
range: "xsd:integer".freeze,
|
246
|
-
"rdfs:isDefinedBy" => %(
|
262
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
247
263
|
type: "rdf:Property".freeze
|
248
264
|
property :minLength,
|
249
265
|
comment: %(An atomic property that contains a single integer that is the minimum length of the value.).freeze,
|
250
|
-
domain: "
|
266
|
+
domain: "csvw:Datatype".freeze,
|
251
267
|
label: "min length".freeze,
|
252
268
|
range: "xsd:nonNegativeInteger".freeze,
|
253
|
-
"rdfs:isDefinedBy" => %(
|
269
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
254
270
|
type: "rdf:Property".freeze
|
255
271
|
property :name,
|
256
|
-
comment: %(An atomic property that gives a canonical name for the column.
|
257
|
-
domain: "
|
272
|
+
comment: %(An atomic property that gives a single canonical name for the column. The value of this property becomes the name annotation for the described column.).freeze,
|
273
|
+
domain: "csvw:Column".freeze,
|
258
274
|
label: "name".freeze,
|
259
275
|
range: "xsd:string".freeze,
|
260
|
-
"rdfs:isDefinedBy" => %(
|
276
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
261
277
|
type: "rdf:Property".freeze
|
262
278
|
property :note,
|
263
|
-
comment: %(
|
279
|
+
comment: %(An array property that provides an array of objects representing arbitrary annotations on the annotated tabular data model.).freeze,
|
264
280
|
label: "note".freeze,
|
265
|
-
"rdfs:isDefinedBy" => %(
|
281
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
266
282
|
type: "rdf:Property".freeze
|
267
283
|
property :null,
|
268
|
-
comment: %(An atomic property giving the string or strings used for null values within the data.).freeze,
|
284
|
+
comment: %(An atomic property giving the string or strings used for null values within the data. If the string value of the cell is equal to any one of these values, the cell value is `null`.).freeze,
|
269
285
|
label: "null".freeze,
|
270
286
|
range: "xsd:string".freeze,
|
271
|
-
"rdfs:isDefinedBy" => %(
|
287
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
272
288
|
type: "rdf:Property".freeze
|
273
289
|
property :ordered,
|
274
290
|
comment: %(A boolean atomic property taking a single value which indicates whether a list that is the value of the cell is ordered \(if `true`\) or unordered \(if `false`\).).freeze,
|
275
291
|
label: "ordered".freeze,
|
276
292
|
range: "xsd:boolean".freeze,
|
277
|
-
"rdfs:isDefinedBy" => %(
|
293
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
278
294
|
type: "rdf:Property".freeze
|
279
295
|
property :pattern,
|
280
|
-
comment: %(
|
281
|
-
domain: "
|
296
|
+
comment: %(A regular expression string, in the syntax and interpreted as defined by [[ECMASCRIPT]].).freeze,
|
297
|
+
domain: "csvw:NumericFormat".freeze,
|
282
298
|
label: "pattern".freeze,
|
283
299
|
range: "xsd:string".freeze,
|
284
|
-
"rdfs:isDefinedBy" => %(
|
300
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
285
301
|
type: "rdf:Property".freeze
|
286
302
|
property :primaryKey,
|
287
|
-
comment: %(A column reference property that holds either a single reference to a column description object or an array of references.
|
288
|
-
|
303
|
+
comment: %(For Schema: A column reference property that holds either a single reference to a column description object or an array of references.
|
304
|
+
|
305
|
+
For Row: a possibly empty list of cells whose values together provide a unique identifier for this row. This is similar to the name of a column.).freeze,
|
289
306
|
label: "primary key".freeze,
|
290
307
|
range: "xsd:string".freeze,
|
291
|
-
"rdfs:isDefinedBy" => %(
|
308
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
292
309
|
type: "rdf:Property".freeze
|
293
310
|
property :propertyUrl,
|
294
|
-
comment: %(An URI template property that
|
311
|
+
comment: %(An URI template property that MAY be used to create a URI for a property if the table is mapped to another format. ).freeze,
|
295
312
|
label: "property URL".freeze,
|
296
|
-
range: "
|
297
|
-
"rdfs:isDefinedBy" => %(
|
313
|
+
range: "csvw:uriTemplate".freeze,
|
314
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
298
315
|
type: "rdf:Property".freeze
|
299
316
|
property :quoteChar,
|
300
|
-
comment: %(An atomic property that sets the quote character flag to the single provided value, which must be a
|
301
|
-
domain: "
|
317
|
+
comment: %(An atomic property that sets the quote character flag to the single provided value, which must be a string or `null`.).freeze,
|
318
|
+
domain: "csvw:Dialect".freeze,
|
302
319
|
label: "quote char".freeze,
|
303
320
|
range: "xsd:string".freeze,
|
304
|
-
"rdfs:isDefinedBy" => %(
|
321
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
305
322
|
type: "rdf:Property".freeze
|
306
323
|
property :reference,
|
307
|
-
comment: %(An object property that identifies a referenced table and a set of referenced columns within that table.).freeze,
|
308
|
-
domain: "
|
324
|
+
comment: %(An object property that identifies a **referenced table** and a set of **referenced columns** within that table.).freeze,
|
325
|
+
domain: "csvw:ForeignKey".freeze,
|
309
326
|
label: "reference".freeze,
|
310
|
-
range: "
|
311
|
-
"rdfs:isDefinedBy" => %(
|
327
|
+
range: "csvw:TableReference".freeze,
|
328
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
329
|
+
type: "rdf:Property".freeze
|
330
|
+
property :referencedRow,
|
331
|
+
comment: %(A possibly empty list of pairs of a foreign key and a row in a table within the same group of tables.).freeze,
|
332
|
+
domain: "csvw:Row".freeze,
|
333
|
+
label: "referenced rows".freeze,
|
334
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
312
335
|
type: "rdf:Property".freeze
|
313
336
|
property :required,
|
314
|
-
comment: %(A boolean value which indicates whether
|
315
|
-
domain: "http://www.w3.org/ns/csvw#Column".freeze,
|
337
|
+
comment: %(A boolean atomic property taking a single value which indicates whether the cell must have a non-null value. The default is `false`. ).freeze,
|
316
338
|
label: "required".freeze,
|
317
339
|
range: "xsd:boolean".freeze,
|
318
|
-
"rdfs:isDefinedBy" => %(
|
340
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
319
341
|
type: "rdf:Property".freeze
|
320
342
|
property :resource,
|
321
343
|
comment: %(A link property holding a URL that is the identifier for a specific table that is being referenced.).freeze,
|
322
|
-
domain: "
|
344
|
+
domain: "csvw:TableReference".freeze,
|
323
345
|
label: "resource".freeze,
|
324
346
|
range: "xsd:anyURI".freeze,
|
325
|
-
"rdfs:isDefinedBy" => %(
|
347
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
326
348
|
type: "rdf:Property".freeze
|
327
349
|
property :row,
|
328
350
|
comment: %(Relates a Table to each Row output.).freeze,
|
329
|
-
domain: "
|
351
|
+
domain: "csvw:Table".freeze,
|
330
352
|
label: "row".freeze,
|
331
|
-
range: "
|
332
|
-
"rdfs:isDefinedBy" => %(
|
353
|
+
range: "csvw:Row".freeze,
|
354
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
333
355
|
subPropertyOf: "rdfs:member".freeze,
|
334
356
|
type: "rdf:Property".freeze
|
357
|
+
property :rowTitle,
|
358
|
+
comment: %(A column reference property that holds either a single reference to a column description object or an array of references.).freeze,
|
359
|
+
domain: "csvw:Schema".freeze,
|
360
|
+
label: "row titles".freeze,
|
361
|
+
range: "xsd:string".freeze,
|
362
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
363
|
+
type: "rdf:Property".freeze
|
335
364
|
property :rownum,
|
336
|
-
comment: %(The position of the row amongst the rows of the Annotated Tabl, starting from 1
|
365
|
+
comment: %(The position of the row amongst the rows of the Annotated Tabl, starting from 1).freeze,
|
337
366
|
label: "row number".freeze,
|
338
367
|
range: "xsd:integer".freeze,
|
339
|
-
"rdfs:isDefinedBy" => %(
|
368
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
340
369
|
type: "rdf:Property".freeze
|
341
370
|
property :schemaReference,
|
342
371
|
comment: %(A link property holding a URL that is the identifier for a schema that is being referenced.).freeze,
|
343
|
-
domain: "
|
372
|
+
domain: "csvw:TableReference".freeze,
|
344
373
|
label: "schema reference".freeze,
|
345
374
|
range: "xsd:anyURI".freeze,
|
346
|
-
"rdfs:isDefinedBy" => %(
|
375
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
347
376
|
type: "rdf:Property".freeze
|
348
377
|
property :scriptFormat,
|
349
378
|
comment: %(A link property giving the single URL for the format that is used by the script or template.).freeze,
|
350
|
-
domain: "
|
379
|
+
domain: "csvw:Transformation".freeze,
|
351
380
|
label: "script format".freeze,
|
352
381
|
range: "xsd:anyURI".freeze,
|
353
|
-
"rdfs:isDefinedBy" => %(
|
382
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
354
383
|
type: "rdf:Property".freeze
|
355
384
|
property :separator,
|
356
|
-
comment: %(An atomic property that
|
385
|
+
comment: %(An atomic property that MUST have a single string value that is the character used to separate items in the string value of the cell.).freeze,
|
357
386
|
label: "separator".freeze,
|
358
387
|
range: "xsd:string".freeze,
|
359
|
-
"rdfs:isDefinedBy" => %(
|
388
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
360
389
|
type: "rdf:Property".freeze
|
361
390
|
property :skipBlankRows,
|
362
|
-
comment: %(An boolean atomic property that sets the skip blank rows flag to the single provided boolean value.).freeze,
|
363
|
-
domain: "
|
391
|
+
comment: %(An boolean atomic property that sets the `skip blank rows` flag to the single provided boolean value.).freeze,
|
392
|
+
domain: "csvw:Dialect".freeze,
|
364
393
|
label: "skip blank rows".freeze,
|
365
394
|
range: "xsd:boolean".freeze,
|
366
|
-
"rdfs:isDefinedBy" => %(
|
395
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
367
396
|
type: "rdf:Property".freeze
|
368
397
|
property :skipColumns,
|
369
|
-
comment: %(An numeric atomic property that sets the skip columns flag to the single provided numeric value, which
|
370
|
-
domain: "
|
398
|
+
comment: %(An numeric atomic property that sets the `skip columns` flag to the single provided numeric value, which MUST be a non-negative integer.).freeze,
|
399
|
+
domain: "csvw:Dialect".freeze,
|
371
400
|
label: "skip columns".freeze,
|
372
401
|
range: "xsd:nonNegativeInteger".freeze,
|
373
|
-
"rdfs:isDefinedBy" => %(
|
402
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
374
403
|
type: "rdf:Property".freeze
|
375
404
|
property :skipInitialSpace,
|
376
|
-
comment: %(A boolean atomic property that, if `true`, sets the trim flag to "start". If `false`, to `false`.
|
377
|
-
domain: "
|
405
|
+
comment: %(A boolean atomic property that, if `true`, sets the trim flag to "start". If `false`, to `false`.).freeze,
|
406
|
+
domain: "csvw:Dialect".freeze,
|
378
407
|
label: "skip initial space".freeze,
|
379
408
|
range: "xsd:boolean".freeze,
|
380
|
-
"rdfs:isDefinedBy" => %(
|
409
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
381
410
|
type: "rdf:Property".freeze
|
382
411
|
property :skipRows,
|
383
|
-
comment: %(An numeric atomic property that sets the skip rows flag to the single provided numeric value, which
|
384
|
-
domain: "
|
412
|
+
comment: %(An numeric atomic property that sets the `skip rows` flag to the single provided numeric value, which MUST be a non-negative integer.).freeze,
|
413
|
+
domain: "csvw:Dialect".freeze,
|
385
414
|
label: "skip rows".freeze,
|
386
415
|
range: "xsd:nonNegativeInteger".freeze,
|
387
|
-
"rdfs:isDefinedBy" => %(
|
416
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
388
417
|
type: "rdf:Property".freeze
|
389
418
|
property :source,
|
390
419
|
comment: %(A single string atomic property that provides, if specified, the format to which the tabular data should be transformed prior to the transformation using the script or template.).freeze,
|
391
|
-
domain: "
|
420
|
+
domain: "csvw:Transformation".freeze,
|
392
421
|
label: "source".freeze,
|
393
422
|
range: "xsd:string".freeze,
|
394
|
-
"rdfs:isDefinedBy" => %(
|
423
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
395
424
|
type: "rdf:Property".freeze
|
396
425
|
property :suppressOutput,
|
397
|
-
comment: %(A boolean atomic property. If true
|
426
|
+
comment: %(A boolean atomic property. If `true`, suppresses any output that would be generated when converting a table or cells within a column.).freeze,
|
398
427
|
label: "suppress output".freeze,
|
399
428
|
range: "xsd:boolean".freeze,
|
400
|
-
"rdfs:isDefinedBy" => %(
|
429
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
401
430
|
type: "rdf:Property".freeze
|
402
431
|
property :table,
|
403
432
|
comment: %(Relates an Table group to annotated tables.).freeze,
|
404
|
-
domain: "
|
433
|
+
domain: "csvw:TableGroup".freeze,
|
405
434
|
label: "table".freeze,
|
406
|
-
range: "
|
407
|
-
"rdfs:isDefinedBy" => %(
|
435
|
+
range: "csvw:Table".freeze,
|
436
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
408
437
|
subPropertyOf: "rdfs:member".freeze,
|
409
438
|
type: "rdf:Property".freeze
|
410
439
|
property :tableDirection,
|
411
|
-
comment: %(One of
|
440
|
+
comment: %(One of `rtl`, `ltr` or `auto`. Indicates whether the tables in the group should be displayed with the first column on the right, on the left, or based on the first character in the table that has a specific direction.).freeze,
|
412
441
|
label: "table direction".freeze,
|
413
|
-
range: "
|
414
|
-
"rdfs:isDefinedBy" => %(
|
442
|
+
range: "csvw:Direction".freeze,
|
443
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
415
444
|
type: "rdf:Property".freeze
|
416
445
|
property :tableSchema,
|
417
|
-
comment: %(An object property that provides a single schema description as described in section
|
446
|
+
comment: %(An object property that provides a single schema description as described in section 5.5 Schemas, used as the default for all the tables in the group).freeze,
|
418
447
|
label: "table schema".freeze,
|
419
|
-
range: "
|
420
|
-
"rdfs:isDefinedBy" => %(
|
448
|
+
range: "csvw:Schema".freeze,
|
449
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
421
450
|
type: "rdf:Property".freeze
|
422
451
|
property :targetFormat,
|
423
452
|
comment: %(A link property giving the single URL for the format that will be created through the transformation.).freeze,
|
424
|
-
domain: "
|
453
|
+
domain: "csvw:Transformation".freeze,
|
425
454
|
label: "target format".freeze,
|
426
455
|
range: "xsd:anyURI".freeze,
|
427
|
-
"rdfs:isDefinedBy" => %(
|
456
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
428
457
|
type: "rdf:Property".freeze
|
429
458
|
property :textDirection,
|
430
|
-
comment: %(An atomic property that must have a single value that is one of
|
459
|
+
comment: %(An atomic property that must have a single value that is one of `rtl` or `ltr` \(the default\).).freeze,
|
431
460
|
label: "text direction".freeze,
|
432
|
-
range: "
|
433
|
-
"rdfs:isDefinedBy" => %(
|
461
|
+
range: "csvw:Direction".freeze,
|
462
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
434
463
|
type: "rdf:Property".freeze
|
435
464
|
property :title,
|
436
465
|
comment: %(For a Transformation A natural language property that describes the format that will be generated from the transformation.
|
437
466
|
|
438
467
|
For a Column: A natural language property that provides possible alternative names for the column.).freeze,
|
439
468
|
label: "title".freeze,
|
440
|
-
"rdfs:isDefinedBy" => %(
|
469
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
441
470
|
type: "rdf:Property".freeze
|
442
471
|
property :transformations,
|
443
472
|
comment: %(An array property of transformation definitions that provide mechanisms to transform the tabular data into other formats.).freeze,
|
444
473
|
label: "transformations".freeze,
|
445
|
-
range: "
|
446
|
-
"rdfs:isDefinedBy" => %(
|
474
|
+
range: "csvw:Transformation".freeze,
|
475
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
447
476
|
type: "rdf:Property".freeze
|
448
477
|
property :trim,
|
449
478
|
comment: %(An atomic property that, if the boolean `true`, sets the trim flag to `true` and if the boolean `false` to `false`. If the value provided is a string, sets the trim flag to the provided value, which must be one of "true", "false", "start" or "end".).freeze,
|
450
|
-
domain: "
|
479
|
+
domain: "csvw:Dialect".freeze,
|
451
480
|
label: "trim".freeze,
|
452
481
|
range: "xsd:boolean".freeze,
|
453
|
-
"rdfs:isDefinedBy" => %(
|
482
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
454
483
|
type: "rdf:Property".freeze
|
455
484
|
property :url,
|
456
485
|
comment: %(For a Table: This link property gives the single URL of the CSV file that the table is held in, relative to the location of the metadata document.
|
@@ -458,61 +487,66 @@ For a Column: A natural language property that provides possible alternative nam
|
|
458
487
|
For a Transformation: A link property giving the single URL of the file that the script or template is held in, relative to the location of the metadata document.).freeze,
|
459
488
|
label: "url".freeze,
|
460
489
|
range: "xsd:anyURI".freeze,
|
461
|
-
"rdfs:isDefinedBy" => %(
|
490
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
462
491
|
type: "rdf:Property".freeze
|
463
492
|
property :valueUrl,
|
464
|
-
comment: %(An URI template property that is used to map the values
|
493
|
+
comment: %(An URI template property that is used to map the values of cells into URLs.).freeze,
|
465
494
|
label: "valueUrl".freeze,
|
466
|
-
range: "
|
467
|
-
"rdfs:isDefinedBy" => %(
|
495
|
+
range: "csvw:uriTemplate".freeze,
|
496
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
468
497
|
type: "rdf:Property".freeze
|
469
498
|
property :virtual,
|
470
499
|
comment: %(A boolean atomic property taking a single value which indicates whether the column is a virtual column not present in the original source).freeze,
|
471
|
-
domain: "
|
500
|
+
domain: "csvw:Column".freeze,
|
472
501
|
label: "virtual".freeze,
|
473
502
|
range: "xsd:boolean".freeze,
|
474
|
-
"rdfs:isDefinedBy" => %(
|
503
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
475
504
|
type: "rdf:Property".freeze
|
476
505
|
|
477
506
|
# Datatype definitions
|
478
507
|
term :JSON,
|
479
508
|
comment: %(A literal containing JSON.).freeze,
|
480
509
|
label: "JSON".freeze,
|
481
|
-
"rdfs:isDefinedBy" => %(
|
510
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
482
511
|
subClassOf: "xsd:string".freeze,
|
483
512
|
type: "rdfs:Datatype".freeze
|
484
513
|
term :uriTemplate,
|
485
514
|
comment: %().freeze,
|
486
515
|
label: "uri template".freeze,
|
487
|
-
"rdfs:isDefinedBy" => %(
|
488
|
-
subClassOf: "xsd:
|
516
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
517
|
+
subClassOf: "xsd:string".freeze,
|
489
518
|
type: "rdfs:Datatype".freeze
|
490
519
|
|
491
520
|
# Extra definitions
|
492
|
-
term :
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
type: "
|
521
|
+
term :auto,
|
522
|
+
comment: %(Indicates whether the tables in the group should be displayed based on the first character in the table that has a specific direction.).freeze,
|
523
|
+
label: "auto".freeze,
|
524
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
525
|
+
type: "csvw:Direction".freeze
|
497
526
|
term :csvEncodedTabularData,
|
498
527
|
comment: %(Describes the role of a CSV file in the tabular data mapping.).freeze,
|
499
528
|
label: "CSV Encoded Tabular Data".freeze,
|
500
|
-
"rdfs:isDefinedBy" => %(
|
529
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
501
530
|
type: "prov:Role".freeze
|
531
|
+
term :inherit,
|
532
|
+
comment: %(For `textDirection`, indicates that the direction is inherited from the `tableDirection` annotation of the `table`.).freeze,
|
533
|
+
label: "inherit".freeze,
|
534
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
535
|
+
type: "csvw:Direction".freeze
|
502
536
|
term :ltr,
|
503
|
-
comment: %(Indicates
|
537
|
+
comment: %(Indicates whether the tables in the group should be displayed with the first column on the right.).freeze,
|
504
538
|
label: "left to right".freeze,
|
505
|
-
"rdfs:isDefinedBy" => %(
|
506
|
-
type: "
|
539
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
540
|
+
type: "csvw:Direction".freeze
|
507
541
|
term :rtl,
|
508
|
-
comment: %(
|
542
|
+
comment: %(Indicates whether the tables in the group should be displayed with the first column on the left.).freeze,
|
509
543
|
label: "right to left".freeze,
|
510
|
-
"rdfs:isDefinedBy" => %(
|
511
|
-
type: "
|
544
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
545
|
+
type: "csvw:Direction".freeze
|
512
546
|
term :tabularMetadata,
|
513
547
|
comment: %(Describes the role of a Metadata file in the tabular data mapping.).freeze,
|
514
548
|
label: "Tabular Metadata".freeze,
|
515
|
-
"rdfs:isDefinedBy" => %(
|
549
|
+
:"rdfs:isDefinedBy" => %(csvw:).freeze,
|
516
550
|
type: "prov:Role".freeze
|
517
551
|
end
|
518
552
|
end
|