-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcsvw.ttl
More file actions
524 lines (514 loc) · 26.1 KB
/
csvw.ttl
File metadata and controls
524 lines (514 loc) · 26.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
@prefix as: <https://www.w3.org/ns/activitystreams#> .
@prefix cc: <http://creativecommons.org/ns#> .
@prefix csvw: <http://www.w3.org/ns/csvw#> .
@prefix ctag: <http://commontag.org/ns#> .
@prefix dc: <http://purl.org/dc/terms/> .
@prefix dc11: <http://purl.org/dc/elements/1.1/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dctypes: <http://purl.org/dc/dcmitype/> .
@prefix dqv: <http://www.w3.org/ns/dqv#> .
@prefix duv: <https://www.w3.org/TR/vocab-duv#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix gr: <http://purl.org/goodrelations/v1#> .
@prefix grddl: <http://www.w3.org/2003/g/data-view#> .
@prefix ical: <http://www.w3.org/2002/12/cal/icaltzd#> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .
@prefix ma: <http://www.w3.org/ns/ma-ont#> .
@prefix oa: <http://www.w3.org/ns/oa#> .
@prefix og: <http://ogp.me/ns#> .
@prefix org: <http://www.w3.org/ns/org#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix qb: <http://purl.org/linked-data/cube#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfa: <http://www.w3.org/ns/rdfa#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rev: <http://purl.org/stuff/rev#> .
@prefix rif: <http://www.w3.org/2007/rif#> .
@prefix rr: <http://www.w3.org/ns/r2rml#> .
@prefix schema: <http://schema.org/> .
@prefix sd: <http://www.w3.org/ns/sparql-service-description#> .
@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix skosxl: <http://www.w3.org/2008/05/skos-xl#> .
@prefix v: <http://rdf.data-vocabulary.org/#> .
@prefix vcard: <http://www.w3.org/2006/vcard/ns#> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix wdr: <http://www.w3.org/2007/05/powder#> .
@prefix wrds: <http://www.w3.org/2007/05/powder-s#> .
@prefix xhv: <http://www.w3.org/1999/xhtml/vocab#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# CSVM Ontology definition
csvw: a owl:Ontology;
dc:title "CSVW Namespace Vocabulary Terms"@en;
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."""@en;
dc:date "2017-06-06"^^xsd:date;
owl:imports <http://www.w3.org/ns/prov>;
owl:versionInfo <https://github.com/w3c/csvw/commit/fcc9db20ba4de10e41e964eee1b5d01defa4c664>;
rdfs:seeAlso <http://www.w3.org/TR/tabular-metadata>;
.
# Class definitions
csvw:Cell a rdfs:Class;
rdfs:label "Cell"@en;
rdfs:comment """A Cell represents a cell at the intersection of a Row and a Column within a Table."""@en;
rdfs:isDefinedBy csvw: .
csvw:Column a rdfs:Class;
rdfs:label "Column Description"@en;
rdfs:comment """A Column represents a vertical arrangement of Cells within a Table."""@en;
rdfs:isDefinedBy csvw: .
csvw:Datatype a rdfs:Class;
rdfs:label "Datatype"@en;
rdfs:comment """Describes facets of a datatype."""@en;
rdfs:isDefinedBy csvw: .
csvw:Dialect a rdfs:Class;
rdfs:label "Dialect Description"@en;
rdfs:comment """A Dialect Description provides hints to parsers about how to parse a linked file."""@en;
rdfs:isDefinedBy csvw: .
csvw:Direction a rdfs:Class;
rdfs:label "Direction"@en;
rdfs:comment """The class of table/text directions."""@en;
rdfs:isDefinedBy csvw: .
csvw:ForeignKey a rdfs:Class;
rdfs:label "Foreign Key Definition"@en;
rdfs:comment """Describes relationships between Columns in one or more Tables."""@en;
rdfs:isDefinedBy csvw: .
csvw:NumericFormat a rdfs:Class;
rdfs:label "Numeric Format"@en;
rdfs: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."""@en;
rdfs:isDefinedBy csvw: .
csvw:Row a rdfs:Class;
rdfs:label "Row"@en;
rdfs:comment """A Row represents a horizontal arrangement of cells within a Table."""@en;
rdfs:isDefinedBy csvw: .
csvw:Schema a rdfs:Class;
rdfs:label "Schema"@en;
rdfs:comment """A Schema is a definition of a tabular format that may be common to multiple tables."""@en;
rdfs:isDefinedBy csvw: .
csvw:Table a rdfs:Class;
rdfs:label "Annotated Table"@en;
rdfs:comment """An annotated table is a table that is annotated with additional metadata."""@en;
rdfs:isDefinedBy csvw: .
csvw:TableGroup a rdfs:Class;
rdfs:label "Group of Tables"@en;
rdfs:comment """A Group of Tables comprises a set of Annotated Tables and a set of annotations that relate to those Tables."""@en;
rdfs:isDefinedBy csvw: .
csvw:TableReference a rdfs:Class;
rdfs:label "Table Reference"@en;
rdfs:comment """An object property that identifies a referenced table and a set of referenced columns within that table."""@en;
rdfs:isDefinedBy csvw: .
csvw:Transformation a rdfs:Class;
rdfs:label "Transformation Definition"@en;
rdfs:comment """A Transformation Definition is a definition of how tabular data can be transformed into another format."""@en;
rdfs:isDefinedBy csvw: .
# Property definitions
csvw:aboutUrl a rdf:Property;
rdfs:label "about URL"@en;
rdfs:comment """A URI template property that MAY be used to indicate what a cell contains information about."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range csvw:uriTemplate;
rdfs:isDefinedBy csvw: .
csvw:base a rdf:Property;
rdfs:label "base"@en;
rdfs: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."""@en;
rdfs:domain csvw:Datatype;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:columnReference a rdf:Property;
rdfs:label "column reference"@en;
rdfs: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."""@en;
rdfs:domain [ owl:unionOf (csvw:ForeignKey csvw:TableReference)];
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:column a rdf:Property;
rdfs:label "column"@en;
rdfs:comment """An array property of column descriptions as described in section 5.6 Columns."""@en;
rdfs:domain csvw:Schema;
rdfs:range csvw:Column;
rdfs:isDefinedBy csvw: .
csvw:commentPrefix a rdf:Property;
rdfs:label "comment prefix"@en;
rdfs:comment """An atomic property that sets the comment prefix flag to the single provided value, which MUST be a string."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:datatype a rdf:Property;
rdfs:label "datatype"@en;
rdfs: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."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range [ owl:unionOf (csvw:Datatype xsd:string)];
rdfs:isDefinedBy csvw: .
csvw:decimalChar a rdf:Property;
rdfs:label "decimal character"@en;
rdfs:comment """A string whose value is used to represent a decimal point within the number."""@en;
rdfs:domain csvw:NumericFormat;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:default a rdf:Property;
rdfs:label "default"@en;
rdfs: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."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:describes a rdf:Property;
rdfs:label "describes"@en;
rdfs: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."""@en;
rdfs:domain csvw:Row;
rdfs:isDefinedBy csvw: .
csvw:delimiter a rdf:Property;
rdfs:label "delimiter"@en;
rdfs:comment """An atomic property that sets the delimiter flag to the single provided value, which MUST be a string."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:dialect a rdf:Property;
rdfs:label "dialect"@en;
rdfs: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."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table)];
rdfs:range csvw:Dialect;
rdfs:isDefinedBy csvw: .
csvw:doubleQuote a rdf:Property;
rdfs:label "double quote"@en;
rdfs:comment """A boolean atomic property that, if `true`, sets the escape character flag to `"`."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:boolean;
rdfs:isDefinedBy csvw: .
csvw:encoding a rdf:Property;
rdfs:label "encoding"@en;
rdfs: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"."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:foreignKey a rdf:Property;
rdfs:label "foreign key"@en;
rdfs:comment """For a Table: a list of foreign keys on the table.
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."""@en;
rdfs:domain [ owl:unionOf (csvw:Table csvw:Schema)];
rdfs:range csvw:ForeignKey;
rdfs:isDefinedBy csvw: .
csvw:format a rdf:Property;
rdfs:label "format"@en;
rdfs: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]]."""@en;
rdfs:domain csvw:Datatype;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:groupChar a rdf:Property;
rdfs:label "group character"@en;
rdfs:comment """A string whose value is used to group digits within the number."""@en;
rdfs:domain csvw:NumericFormat;
rdfs:range [ owl:unionOf (csvw:NumericFormat xsd:string)];
rdfs:isDefinedBy csvw: .
csvw:header a rdf:Property;
rdfs:label "header"@en;
rdfs: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."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:boolean;
rdfs:isDefinedBy csvw: .
csvw:headerRowCount a rdf:Property;
rdfs:label "header row count"@en;
rdfs:comment """An numeric atomic property that sets the header row count flag to the single provided value, which must be a non-negative integer."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:nonNegativeInteger;
rdfs:isDefinedBy csvw: .
csvw:lang a rdf:Property;
rdfs:label "language"@en;
rdfs:comment """An atomic property giving a single string language code as defined by [[BCP47]]."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:length a rdf:Property;
rdfs:label "length"@en;
rdfs:comment """The exact length of the value of the cell."""@en;
rdfs:domain csvw:Datatype;
rdfs:range xsd:nonNegativeInteger;
rdfs:isDefinedBy csvw: .
csvw:lineTerminators a rdf:Property;
rdfs:label "line terminators"@en;
rdfs:comment """An atomic property that sets the line terminators flag to either an array containing the single provided string value, or the provided array."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:maxExclusive a rdf:Property;
rdfs:label "max exclusive"@en;
rdfs:comment """An atomic property that contains a single number that is the maximum valid value (exclusive)."""@en;
rdfs:domain csvw:Datatype;
rdfs:range xsd:integer;
rdfs:isDefinedBy csvw: .
csvw:maxInclusive a rdf:Property;
rdfs:label "max inclusive"@en;
rdfs:comment """An atomic property that contains a single number that is the maximum valid value (inclusive)."""@en;
rdfs:domain csvw:Datatype;
rdfs:range xsd:integer;
rdfs:isDefinedBy csvw: .
csvw:maxLength a rdf:Property;
rdfs:label "max length"@en;
rdfs:comment """A numeric atomic property that contains a single integer that is the maximum length of the value."""@en;
rdfs:domain csvw:Datatype;
rdfs:range xsd:nonNegativeInteger;
rdfs:isDefinedBy csvw: .
csvw:minExclusive a rdf:Property;
rdfs:label "min exclusive"@en;
rdfs:comment """An atomic property that contains a single number that is the minimum valid value (exclusive)."""@en;
rdfs:domain csvw:Datatype;
rdfs:range xsd:integer;
rdfs:isDefinedBy csvw: .
csvw:minInclusive a rdf:Property;
rdfs:label "min inclusive"@en;
rdfs:comment """An atomic property that contains a single number that is the minimum valid value (inclusive)."""@en;
rdfs:domain csvw:Datatype;
rdfs:range xsd:integer;
rdfs:isDefinedBy csvw: .
csvw:minLength a rdf:Property;
rdfs:label "min length"@en;
rdfs:comment """An atomic property that contains a single integer that is the minimum length of the value."""@en;
rdfs:domain csvw:Datatype;
rdfs:range xsd:nonNegativeInteger;
rdfs:isDefinedBy csvw: .
csvw:name a rdf:Property;
rdfs:label "name"@en;
rdfs: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."""@en;
rdfs:domain csvw:Column;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:note a rdf:Property;
rdfs:label "note"@en;
rdfs:comment """An array property that provides an array of objects representing arbitrary annotations on the annotated tabular data model."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table)];
rdfs:isDefinedBy csvw: .
csvw:null a rdf:Property;
rdfs:label "null"@en;
rdfs: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`."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:ordered a rdf:Property;
rdfs:label "ordered"@en;
rdfs: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`)."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range xsd:boolean;
rdfs:isDefinedBy csvw: .
csvw:pattern a rdf:Property;
rdfs:label "pattern"@en;
rdfs:comment """A regular expression string, in the syntax and interpreted as defined by [[ECMASCRIPT]]."""@en;
rdfs:domain csvw:NumericFormat;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:primaryKey a rdf:Property;
rdfs:label "primary key"@en;
rdfs:comment """For Schema: A column reference property that holds either a single reference to a column description object or an array of references.
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."""@en;
rdfs:domain [ owl:unionOf (csvw:Schema csvw:Row)];
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:propertyUrl a rdf:Property;
rdfs:label "property URL"@en;
rdfs:comment """An URI template property that MAY be used to create a URI for a property if the table is mapped to another format. """@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range csvw:uriTemplate;
rdfs:isDefinedBy csvw: .
csvw:quoteChar a rdf:Property;
rdfs:label "quote char"@en;
rdfs:comment """An atomic property that sets the quote character flag to the single provided value, which must be a string or `null`."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:reference a rdf:Property;
rdfs:label "reference"@en;
rdfs:comment """An object property that identifies a **referenced table** and a set of **referenced columns** within that table."""@en;
rdfs:domain csvw:ForeignKey;
rdfs:range csvw:TableReference;
rdfs:isDefinedBy csvw: .
csvw:referencedRow a rdf:Property;
rdfs:label "referenced rows"@en;
rdfs:comment """A possibly empty list of pairs of a foreign key and a row in a table within the same group of tables."""@en;
rdfs:domain csvw:Row;
rdfs:isDefinedBy csvw: .
csvw:required a rdf:Property;
rdfs:label "required"@en;
rdfs:comment """A boolean atomic property taking a single value which indicates whether the cell must have a non-null value. The default is `false`. """@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range xsd:boolean;
rdfs:isDefinedBy csvw: .
csvw:resource a rdf:Property;
rdfs:label "resource"@en;
rdfs:comment """A link property holding a URL that is the identifier for a specific table that is being referenced."""@en;
rdfs:domain csvw:TableReference;
rdfs:range xsd:anyURI;
rdfs:isDefinedBy csvw: .
csvw:row a rdf:Property;
rdfs:label "row"@en;
rdfs:comment """Relates a Table to each Row output."""@en;
rdfs:subPropertyOf rdfs:member;
rdfs:domain csvw:Table;
rdfs:range csvw:Row;
rdfs:isDefinedBy csvw: .
csvw:rowTitle a rdf:Property;
rdfs:label "row titles"@en;
rdfs:comment """A column reference property that holds either a single reference to a column description object or an array of references."""@en;
rdfs:domain csvw:Schema;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:rownum a rdf:Property;
rdfs:label "row number"@en;
rdfs:comment """The position of the row amongst the rows of the Annotated Tabl, starting from 1"""@en;
rdfs:range xsd:integer;
rdfs:isDefinedBy csvw: .
csvw:scriptFormat a rdf:Property;
rdfs:label "script format"@en;
rdfs:comment """A link property giving the single URL for the format that is used by the script or template."""@en;
rdfs:domain csvw:Transformation;
rdfs:range xsd:anyURI;
rdfs:isDefinedBy csvw: .
csvw:schemaReference a rdf:Property;
rdfs:label "schema reference"@en;
rdfs:comment """A link property holding a URL that is the identifier for a schema that is being referenced."""@en;
rdfs:domain csvw:TableReference;
rdfs:range xsd:anyURI;
rdfs:isDefinedBy csvw: .
csvw:separator a rdf:Property;
rdfs:label "separator"@en;
rdfs: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."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:skipBlankRows a rdf:Property;
rdfs:label "skip blank rows"@en;
rdfs:comment """An boolean atomic property that sets the `skip blank rows` flag to the single provided boolean value."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:boolean;
rdfs:isDefinedBy csvw: .
csvw:skipColumns a rdf:Property;
rdfs:label "skip columns"@en;
rdfs:comment """An numeric atomic property that sets the `skip columns` flag to the single provided numeric value, which MUST be a non-negative integer."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:nonNegativeInteger;
rdfs:isDefinedBy csvw: .
csvw:skipInitialSpace a rdf:Property;
rdfs:label "skip initial space"@en;
rdfs:comment """A boolean atomic property that, if `true`, sets the trim flag to "start". If `false`, to `false`."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:boolean;
rdfs:isDefinedBy csvw: .
csvw:skipRows a rdf:Property;
rdfs:label "skip rows"@en;
rdfs:comment """An numeric atomic property that sets the `skip rows` flag to the single provided numeric value, which MUST be a non-negative integer."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:nonNegativeInteger;
rdfs:isDefinedBy csvw: .
csvw:source a rdf:Property;
rdfs:label "source"@en;
rdfs: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."""@en;
rdfs:domain csvw:Transformation;
rdfs:range xsd:string;
rdfs:isDefinedBy csvw: .
csvw:suppressOutput a rdf:Property;
rdfs:label "suppress output"@en;
rdfs:comment """A boolean atomic property. If `true`, suppresses any output that would be generated when converting a table or cells within a column."""@en;
rdfs:domain [ owl:unionOf (csvw:Table csvw:Column)];
rdfs:range xsd:boolean;
rdfs:isDefinedBy csvw: .
csvw:table a rdf:Property;
rdfs:label "table"@en;
rdfs:comment """Relates an Table group to annotated tables."""@en;
rdfs:subPropertyOf rdfs:member;
rdfs:domain csvw:TableGroup;
rdfs:range csvw:Table;
rdfs:isDefinedBy csvw: .
csvw:tableDirection a rdf:Property;
rdfs:label "table direction"@en;
rdfs: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."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table)];
rdfs:range csvw:Direction;
rdfs:isDefinedBy csvw: .
csvw:tableSchema a rdf:Property;
rdfs:label "table schema"@en;
rdfs: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"""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table)];
rdfs:range csvw:Schema;
rdfs:isDefinedBy csvw: .
csvw:targetFormat a rdf:Property;
rdfs:label "target format"@en;
rdfs:comment """A link property giving the single URL for the format that will be created through the transformation."""@en;
rdfs:domain csvw:Transformation;
rdfs:range xsd:anyURI;
rdfs:isDefinedBy csvw: .
csvw:transformations a rdf:Property;
rdfs:label "transformations"@en;
rdfs:comment """An array property of transformation definitions that provide mechanisms to transform the tabular data into other formats."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range csvw:Transformation;
rdfs:isDefinedBy csvw: .
csvw:textDirection a rdf:Property;
rdfs:label "text direction"@en;
rdfs:comment """An atomic property that must have a single value that is one of `rtl` or `ltr` (the default)."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range csvw:Direction;
rdfs:isDefinedBy csvw: .
csvw:title a rdf:Property;
rdfs:label "title"@en;
rdfs:comment """For a Transformation A natural language property that describes the format that will be generated from the transformation.
For a Column: A natural language property that provides possible alternative names for the column."""@en;
rdfs:domain [ owl:unionOf (csvw:Transformation csvw:Column csvw:Row)];
rdfs:isDefinedBy csvw: .
csvw:trim a rdf:Property;
rdfs:label "trim"@en;
rdfs: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"."""@en;
rdfs:domain csvw:Dialect;
rdfs:range xsd:boolean;
rdfs:isDefinedBy csvw: .
csvw:url a rdf:Property;
rdfs:label "url"@en;
rdfs: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.
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."""@en;
rdfs:domain [ owl:unionOf (csvw:Table csvw:Transformation)];
rdfs:range xsd:anyURI;
rdfs:isDefinedBy csvw: .
csvw:valueUrl a rdf:Property;
rdfs:label "valueUrl"@en;
rdfs:comment """An URI template property that is used to map the values of cells into URLs."""@en;
rdfs:domain [ owl:unionOf (csvw:TableGroup csvw:Table csvw:Schema csvw:Column)];
rdfs:range csvw:uriTemplate;
rdfs:isDefinedBy csvw: .
csvw:virtual a rdf:Property;
rdfs:label "virtual"@en;
rdfs:comment """A boolean atomic property taking a single value which indicates whether the column is a virtual column not present in the original source"""@en;
rdfs:domain csvw:Column;
rdfs:range xsd:boolean;
rdfs:isDefinedBy csvw: .
# Datatype definitions
csvw:JSON a rdfs:Datatype;
rdfs:label "JSON"@en;
rdfs:comment """A literal containing JSON."""@en;
rdfs:subClassOf xsd:string;
rdfs:isDefinedBy csvw: .
csvw:uriTemplate a rdfs:Datatype;
rdfs:label "uri template"@en;
rdfs:comment """"""@en;
rdfs:subClassOf xsd:string;
rdfs:isDefinedBy csvw: .
# Instance definitions
csvw:auto a csvw:Direction;
rdfs:label "auto"@en;
rdfs:comment """Indicates whether the tables in the group should be displayed based on the first character in the table that has a specific direction."""@en;
rdfs:isDefinedBy csvw: .
csvw:inherit a csvw:Direction;
rdfs:label "inherit"@en;
rdfs:comment """For `textDirection`, indicates that the direction is inherited from the `tableDirection` annotation of the `table`."""@en;
rdfs:isDefinedBy csvw: .
csvw:ltr a csvw:Direction;
rdfs:label "left to right"@en;
rdfs:comment """Indicates whether the tables in the group should be displayed with the first column on the right."""@en;
rdfs:isDefinedBy csvw: .
csvw:rtl a csvw:Direction;
rdfs:label "right to left"@en;
rdfs:comment """Indicates whether the tables in the group should be displayed with the first column on the left."""@en;
rdfs:isDefinedBy csvw: .
csvw:csvEncodedTabularData a prov:Role;
rdfs:label "CSV Encoded Tabular Data"@en;
rdfs:comment """Describes the role of a CSV file in the tabular data mapping."""@en;
rdfs:isDefinedBy csvw: .
csvw:tabularMetadata a prov:Role;
rdfs:label "Tabular Metadata"@en;
rdfs:comment """Describes the role of a Metadata file in the tabular data mapping."""@en;
rdfs:isDefinedBy csvw: .