rdf-tabular 1.0.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +62 -44
- data/UNLICENSE +1 -1
- data/VERSION +1 -1
- data/etc/csvw.jsonld +135 -50
- data/etc/doap.csv +1 -1
- data/etc/doap.csv-metadata.json +1 -1
- data/etc/doap.ttl +14 -13
- data/etc/earl.html +648 -648
- data/etc/earl.jsonld +691 -691
- data/etc/earl.ttl +846 -846
- data/lib/rdf/tabular.rb +3 -3
- data/lib/rdf/tabular/csvw.rb +626 -182
- data/lib/rdf/tabular/format.rb +8 -6
- data/lib/rdf/tabular/literal.rb +1 -1
- data/lib/rdf/tabular/metadata.rb +63 -58
- data/lib/rdf/tabular/reader.rb +32 -20
- data/lib/rdf/tabular/uax35.rb +1 -1
- 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 +1 -1
- data/spec/metadata_spec.rb +85 -8
- data/spec/reader_spec.rb +2 -2
- data/spec/suite_helper.rb +2 -2
- data/spec/suite_spec.rb +4 -5
- metadata +147 -37
- data/lib/rdf/tabular/json.rb +0 -0
- data/spec/w3c-csvw +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8f68919eede6ef37e82c02137ca4fed754cfb5ff8783d224ffb2667e83f27b24
|
4
|
+
data.tar.gz: 68f52f1bba580653f7173eef677bdcadbd62293892b100b62d85c9c39f349202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c3351072c7cef3f82cf5e4bb160defd7dc5a1d3a39cf4094543a48de9c8e81bcb47fb448d901dd14423062765bf17c283377fbdbf9f57f03f508d5b8f3d00e4
|
7
|
+
data.tar.gz: 47eb938e6067ed620e9fab129a45eae3f89fc01a53044aa4a72d0ef4100f9e0e6a36a80a98d3800f10a458f953877cdc6d3e1a8eb4295130d5534864d5697fee
|
data/README.md
CHANGED
@@ -2,17 +2,16 @@
|
|
2
2
|
|
3
3
|
[CSV][] reader for [RDF.rb][] and fully JSON serializer.
|
4
4
|
|
5
|
-
[![Gem Version](https://badge.fury.io/rb/rdf-tabular.png)](
|
6
|
-
[![Build Status](https://secure.travis-ci.org/ruby-rdf/rdf-tabular.png?branch=master)](
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/rdf-tabular.png)](https://badge.fury.io/rb/rdf-tabular)
|
6
|
+
[![Build Status](https://secure.travis-ci.org/ruby-rdf/rdf-tabular.png?branch=master)](https://travis-ci.org/ruby-rdf/rdf-tabular)
|
7
7
|
[![Coverage Status](https://coveralls.io/repos/ruby-rdf/rdf-tabular/badge.svg)](https://coveralls.io/r/ruby-rdf/rdf-tabular)
|
8
|
-
[![Dependency Status](https://gemnasium.com/ruby-rdf/rdf-tabular.png)](https://gemnasium.com/ruby-rdf/rdf-tabular)
|
9
8
|
|
10
9
|
## Features
|
11
10
|
|
12
11
|
RDF::Tabular parses CSV or other Tabular Data into [RDF][] and JSON using the [W3C CSVW][] specifications, currently undergoing development.
|
13
12
|
|
14
|
-
* Parses [number patterns](
|
15
|
-
* Parses [date formats](
|
13
|
+
* Parses [number patterns](https://www.unicode.org/reports/tr35/tr35-39/tr35-numbers.html#Number_Patterns) from [UAX35][]
|
14
|
+
* Parses [date formats](https://www.unicode.org/reports/tr35/tr35-39/tr35-dates.html#Contents) from [UAX35][]
|
16
15
|
* Returns detailed errors and warnings using optional `Logger`.
|
17
16
|
|
18
17
|
## Installation
|
@@ -31,7 +30,7 @@ Metadata can then provide datatypes for the columns, express foreign key relatio
|
|
31
30
|
"@context": "http://www.w3.org/ns/csvw",
|
32
31
|
"url": "doap.csv",
|
33
32
|
"tableSchema": {
|
34
|
-
"aboutUrl": "
|
33
|
+
"aboutUrl": "https://rubygems.org/gems/rdf-tabular",
|
35
34
|
"propertyUrl": "http://usefulinc.com/ns/doap#{_name}",
|
36
35
|
"null": "",
|
37
36
|
"columns": [
|
@@ -74,29 +73,29 @@ This results in the following Turtle:
|
|
74
73
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
75
74
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
76
75
|
|
77
|
-
<
|
76
|
+
<https://rubygems.org/gems/rdf-tabular> a doap:Project,
|
78
77
|
<http://www.w3.org/ns/earl#TestSubject>,
|
79
78
|
<http://www.w3.org/ns/earl#Software>;
|
80
79
|
dc:title "RDF::Tabular";
|
81
80
|
dc:creator <http://greggkellogg.net/foaf#me>;
|
82
81
|
dc:date "2015-01-05"^^xsd:date;
|
83
82
|
dc:description "RDF::Tabular processes tabular data with metadata creating RDF or JSON output."@en;
|
84
|
-
dc:isPartOf <
|
83
|
+
dc:isPartOf <https://rubygems.org/gems/rdf>;
|
85
84
|
doap:blog <http://greggkellogg.net/>;
|
86
|
-
doap:bug-database <
|
85
|
+
doap:bug-database <https://github.com/ruby-rdf/rdf-tabular/issues>;
|
87
86
|
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,
|
88
87
|
<http://dbpedia.org/resource/Ruby_(programming_language)>;
|
89
88
|
doap:created "2015-01-05"^^xsd:date;
|
90
89
|
doap:description "RDF::Tabular processes tabular data with metadata creating RDF or JSON output."@en;
|
91
90
|
doap:developer <http://greggkellogg.net/foaf#me>;
|
92
91
|
doap:documenter <http://greggkellogg.net/foaf#me>;
|
93
|
-
doap:download-page <
|
92
|
+
doap:download-page <https://rubygems.org/gems/rdf-tabular>;
|
94
93
|
doap:homepage <http://ruby-rdf.github.com/rdf-tabular>;
|
95
94
|
doap:implements <http://www.w3.org/TR/tabular-data-model/>,
|
96
95
|
<http://www.w3.org/TR/tabular-metadata/>,
|
97
96
|
<http://www.w3.org/TR/csv2rdf/>,
|
98
97
|
<http://www.w3.org/TR/csv2json/>;
|
99
|
-
doap:license <
|
98
|
+
doap:license <https://unlicense.org/1.0/>;
|
100
99
|
doap:mailing-list <http://lists.w3.org/Archives/Public/public-rdf-ruby/>;
|
101
100
|
doap:maintainer <http://greggkellogg.net/foaf#me>;
|
102
101
|
doap:name "RDF::Tabular";
|
@@ -110,22 +109,22 @@ This results in the following Turtle:
|
|
110
109
|
a csvw:Table;
|
111
110
|
csvw:row [
|
112
111
|
a csvw:Row;
|
113
|
-
csvw:describes <
|
112
|
+
csvw:describes <https://rubygems.org/gems/rdf-tabular>;
|
114
113
|
csvw:rownum 1;
|
115
114
|
csvw:url <file://users/gregg/Projects/rdf-tabular/etc/doap.csv#row=2>
|
116
115
|
], [
|
117
116
|
a csvw:Row;
|
118
|
-
csvw:describes <
|
117
|
+
csvw:describes <https://rubygems.org/gems/rdf-tabular>;
|
119
118
|
csvw:rownum 2;
|
120
119
|
csvw:url <file://users/gregg/Projects/rdf-tabular/etc/doap.csv#row=3>
|
121
120
|
], [
|
122
121
|
a csvw:Row;
|
123
|
-
csvw:describes <
|
122
|
+
csvw:describes <https://rubygems.org/gems/rdf-tabular>;
|
124
123
|
csvw:rownum 3;
|
125
124
|
csvw:url <file://users/gregg/Projects/rdf-tabular/etc/doap.csv#row=4>
|
126
125
|
], [
|
127
126
|
a csvw:Row;
|
128
|
-
csvw:describes <
|
127
|
+
csvw:describes <https://rubygems.org/gems/rdf-tabular>;
|
129
128
|
csvw:rownum 4;
|
130
129
|
csvw:url <file://users/gregg/Projects/rdf-tabular/etc/doap.csv#row=5>
|
131
130
|
];
|
@@ -144,7 +143,7 @@ This results in the following Turtle:
|
|
144
143
|
prov:hadRole csvw:tabularMetadata
|
145
144
|
];
|
146
145
|
prov:startedAtTime "2015-04-11T12:33:25Z"^^xsd:dateTime;
|
147
|
-
prov:wasAssociatedWith <
|
146
|
+
prov:wasAssociatedWith <https://rubygems.org/gems/rdf-tabular>
|
148
147
|
]
|
149
148
|
] .
|
150
149
|
|
@@ -162,20 +161,20 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
162
161
|
"rownum": 1,
|
163
162
|
"describes": [
|
164
163
|
{
|
165
|
-
"@id": "
|
164
|
+
"@id": "https://rubygems.org/gems/rdf-tabular",
|
166
165
|
"http://usefulinc.com/ns/doap#name": "RDF::Tabular",
|
167
166
|
"@type": "http://usefulinc.com/ns/doap#Project",
|
168
167
|
"http://usefulinc.com/ns/doap#homepage": "http://ruby-rdf.github.com/rdf-tabular",
|
169
|
-
"http://usefulinc.com/ns/doap#license": "
|
168
|
+
"http://usefulinc.com/ns/doap#license": "https://unlicense.org/1.0/",
|
170
169
|
"http://usefulinc.com/ns/doap#shortdesc": "Tabular Data RDF Reader and JSON serializer.",
|
171
170
|
"http://usefulinc.com/ns/doap#description": "RDF::Tabular processes tabular data with metadata creating RDF or JSON output.",
|
172
171
|
"http://usefulinc.com/ns/doap#created": "2015-01-05",
|
173
172
|
"http://usefulinc.com/ns/doap#programming-language": "Ruby",
|
174
173
|
"http://usefulinc.com/ns/doap#implements": "http://www.w3.org/TR/tabular-data-model/",
|
175
174
|
"http://usefulinc.com/ns/doap#category": "http://dbpedia.org/resource/Resource_Description_Framework",
|
176
|
-
"http://usefulinc.com/ns/doap#download-page": "
|
175
|
+
"http://usefulinc.com/ns/doap#download-page": "https://rubygems.org/gems/rdf-tabular",
|
177
176
|
"http://usefulinc.com/ns/doap#mailing-list": "http://lists.w3.org/Archives/Public/public-rdf-ruby/",
|
178
|
-
"http://usefulinc.com/ns/doap#bug-database": "
|
177
|
+
"http://usefulinc.com/ns/doap#bug-database": "https://github.com/ruby-rdf/rdf-tabular/issues",
|
179
178
|
"http://usefulinc.com/ns/doap#blog": "http://greggkellogg.net/",
|
180
179
|
"http://usefulinc.com/ns/doap#developer": "http://greggkellogg.net/foaf#me",
|
181
180
|
"http://usefulinc.com/ns/doap#maintainer": "http://greggkellogg.net/foaf#me",
|
@@ -185,7 +184,7 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
185
184
|
"dc:description": "RDF::Tabular processes tabular data with metadata creating RDF or JSON output.",
|
186
185
|
"dc:date": "2015-01-05",
|
187
186
|
"dc:creator": "http://greggkellogg.net/foaf#me",
|
188
|
-
"dc:isPartOf": "
|
187
|
+
"dc:isPartOf": "https://rubygems.org/gems/rdf"
|
189
188
|
}
|
190
189
|
]
|
191
190
|
},
|
@@ -194,7 +193,7 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
194
193
|
"rownum": 2,
|
195
194
|
"describes": [
|
196
195
|
{
|
197
|
-
"@id": "
|
196
|
+
"@id": "https://rubygems.org/gems/rdf-tabular",
|
198
197
|
"@type": "http://www.w3.org/ns/earl#TestSubject",
|
199
198
|
"http://usefulinc.com/ns/doap#implements": "http://www.w3.org/TR/tabular-metadata/",
|
200
199
|
"http://usefulinc.com/ns/doap#category": "http://dbpedia.org/resource/Ruby_(programming_language)"
|
@@ -206,7 +205,7 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
206
205
|
"rownum": 3,
|
207
206
|
"describes": [
|
208
207
|
{
|
209
|
-
"@id": "
|
208
|
+
"@id": "https://rubygems.org/gems/rdf-tabular",
|
210
209
|
"@type": "http://www.w3.org/ns/earl#Software",
|
211
210
|
"http://usefulinc.com/ns/doap#implements": "http://www.w3.org/TR/csv2rdf/"
|
212
211
|
}
|
@@ -217,7 +216,7 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
217
216
|
"rownum": 4,
|
218
217
|
"describes": [
|
219
218
|
{
|
220
|
-
"@id": "
|
219
|
+
"@id": "https://rubygems.org/gems/rdf-tabular",
|
221
220
|
"http://usefulinc.com/ns/doap#implements": "http://www.w3.org/TR/csv2json/"
|
222
221
|
}
|
223
222
|
]
|
@@ -229,8 +228,27 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
229
228
|
|
230
229
|
## Tutorials
|
231
230
|
|
232
|
-
* [CSV on the Web](
|
233
|
-
* [Implementing CSV on the Web](
|
231
|
+
* [CSV on the Web](https://www.greggkellogg.net/2015/08/csv-on-the-web-presentation/)
|
232
|
+
* [Implementing CSV on the Web](https://greggkellogg.net/2015/04/implementing-csv-on-the-web/)
|
233
|
+
|
234
|
+
## Command Line
|
235
|
+
When the `linkeddata` gem is installed, RDF.rb includes a `rdf` executable which acts as a wrapper to perform a number of different
|
236
|
+
operations on RDF files using available readers and writers, including RDF::Tabular. The commands specific to RDF::Tabular is
|
237
|
+
|
238
|
+
* `tabular-json`: Parse the CSV file and emit data as Tabular JSON
|
239
|
+
|
240
|
+
To use RDF::Tabular specific features, you must use the `--input-format tabular` option to the `rdf` executable.
|
241
|
+
|
242
|
+
Other `rdf` commands and options treat CSV as a standard RDF format.
|
243
|
+
|
244
|
+
Example usage:
|
245
|
+
|
246
|
+
rdf serialize https://raw.githubusercontent.com/ruby-rdf/rdf-tabular/develop/etc/doap.csv \
|
247
|
+
--output-format ttl
|
248
|
+
rdf tabular-json --input-format tabular https://raw.githubusercontent.com/ruby-rdf/rdf-tabular/develop/etc/doap.csv
|
249
|
+
rdf validate https://raw.githubusercontent.com/ruby-rdf/rdf-tabular/develop/etc/doap.csv --validate
|
250
|
+
|
251
|
+
Note that the `--validate` option must be used with the `validate` (or other) command to detect parse-time errors in addition to validating any resulting RDF triples.
|
234
252
|
|
235
253
|
## RDF Reader
|
236
254
|
RDF::Tabular also acts as a normal RDF reader, using the standard RDF.rb Reader interface:
|
@@ -238,7 +256,7 @@ RDF::Tabular also acts as a normal RDF reader, using the standard RDF.rb Reader
|
|
238
256
|
graph = RDF::Graph.load("etc/doap.csv", minimal: true)
|
239
257
|
|
240
258
|
## Documentation
|
241
|
-
Full documentation available on [RubyDoc](
|
259
|
+
Full documentation available on [RubyDoc](https://rubydoc.info/gems/rdf-tabular/file/README.md)
|
242
260
|
|
243
261
|
### Principal Classes
|
244
262
|
* {RDF::Tabular}
|
@@ -248,21 +266,21 @@ Full documentation available on [RubyDoc](http://rubydoc.info/gems/rdf-tabular/f
|
|
248
266
|
* {RDF::Tabular::Reader}
|
249
267
|
|
250
268
|
## Dependencies
|
251
|
-
* [Ruby](
|
252
|
-
* [RDF.rb](
|
253
|
-
* [JSON](https://rubygems.org/gems/json) (>=
|
269
|
+
* [Ruby](https://ruby-lang.org/) (>= 2.2.2)
|
270
|
+
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.0)
|
271
|
+
* [JSON](https://rubygems.org/gems/json) (>= 2.0)
|
254
272
|
|
255
273
|
## Installation
|
256
|
-
The recommended installation method is via [RubyGems](
|
274
|
+
The recommended installation method is via [RubyGems](https://rubygems.org/).
|
257
275
|
To install the latest official release of the `RDF::Tabular` gem, do:
|
258
276
|
|
259
277
|
% [sudo] gem install rdf-tabular
|
260
278
|
|
261
279
|
## Mailing List
|
262
|
-
* <
|
280
|
+
* <https://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
263
281
|
|
264
282
|
## Author
|
265
|
-
* [Gregg Kellogg](
|
283
|
+
* [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
|
266
284
|
|
267
285
|
## Contributing
|
268
286
|
* Do your best to adhere to the existing coding conventions and idioms.
|
@@ -277,15 +295,15 @@ License
|
|
277
295
|
-------
|
278
296
|
|
279
297
|
This is free and unencumbered public domain software. For more information,
|
280
|
-
see <
|
281
|
-
|
282
|
-
[Ruby]:
|
283
|
-
[RDF]:
|
284
|
-
[YARD]:
|
285
|
-
[YARD-GS]:
|
286
|
-
[PDD]:
|
287
|
-
[RDF.rb]:
|
288
|
-
[CSV]:
|
289
|
-
[W3C CSVW]:
|
298
|
+
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
299
|
+
|
300
|
+
[Ruby]: https://ruby-lang.org/
|
301
|
+
[RDF]: https://www.w3.org/RDF/
|
302
|
+
[YARD]: https://yardoc.org/
|
303
|
+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
304
|
+
[PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
|
305
|
+
[RDF.rb]: https://rubygems.org/gems/rdf
|
306
|
+
[CSV]: https://en.wikipedia.org/wiki/Comma-separated_values
|
307
|
+
[W3C CSVW]: https://www.w3.org/2013/csvw/wiki/Main_Page
|
290
308
|
[URI template]: https://tools.ietf.org/html/rfc6570
|
291
|
-
[UAX35]:
|
309
|
+
[UAX35]: https://www.unicode.org/reports/tr15/
|
data/UNLICENSE
CHANGED
@@ -21,4 +21,4 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
21
21
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
22
|
OTHER DEALINGS IN THE SOFTWARE.
|
23
23
|
|
24
|
-
For more information, please refer to <
|
24
|
+
For more information, please refer to <https://unlicense.org/>
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
3.1.1
|
data/etc/csvw.jsonld
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"@context": {
|
3
|
+
"as": "https://www.w3.org/ns/activitystreams#",
|
3
4
|
"cc": "http://creativecommons.org/ns#",
|
4
5
|
"csvw": "http://www.w3.org/ns/csvw#",
|
5
6
|
"ctag": "http://commontag.org/ns#",
|
@@ -8,10 +9,13 @@
|
|
8
9
|
"dcat": "http://www.w3.org/ns/dcat#",
|
9
10
|
"dcterms": "http://purl.org/dc/terms/",
|
10
11
|
"dctypes": "http://purl.org/dc/dcmitype/",
|
12
|
+
"dqv": "http://www.w3.org/ns/dqv#",
|
13
|
+
"duv": "https://www.w3.org/TR/vocab-duv#",
|
11
14
|
"foaf": "http://xmlns.com/foaf/0.1/",
|
12
15
|
"gr": "http://purl.org/goodrelations/v1#",
|
13
16
|
"grddl": "http://www.w3.org/2003/g/data-view#",
|
14
17
|
"ical": "http://www.w3.org/2002/12/cal/icaltzd#",
|
18
|
+
"ldp": "http://www.w3.org/ns/ldp#",
|
15
19
|
"ma": "http://www.w3.org/ns/ma-ont#",
|
16
20
|
"oa": "http://www.w3.org/ns/oa#",
|
17
21
|
"og": "http://ogp.me/ns#",
|
@@ -105,7 +109,7 @@
|
|
105
109
|
"Transformation": "csvw:Transformation",
|
106
110
|
"aboutUrl": {
|
107
111
|
"@id": "csvw:aboutUrl",
|
108
|
-
"@type": "
|
112
|
+
"@type": "csvw:uriTemplate"
|
109
113
|
},
|
110
114
|
"base": {
|
111
115
|
"@id": "csvw:base",
|
@@ -237,7 +241,7 @@
|
|
237
241
|
},
|
238
242
|
"propertyUrl": {
|
239
243
|
"@id": "csvw:propertyUrl",
|
240
|
-
"@type": "
|
244
|
+
"@type": "csvw:uriTemplate"
|
241
245
|
},
|
242
246
|
"quoteChar": {
|
243
247
|
"@id": "csvw:quoteChar",
|
@@ -247,6 +251,9 @@
|
|
247
251
|
"@id": "csvw:reference",
|
248
252
|
"@type": "@id"
|
249
253
|
},
|
254
|
+
"referencedRows": {
|
255
|
+
"@id": "csvw:referencedRow"
|
256
|
+
},
|
250
257
|
"required": {
|
251
258
|
"@id": "csvw:required",
|
252
259
|
"@type": "xsd:boolean"
|
@@ -260,6 +267,10 @@
|
|
260
267
|
"@type": "@id",
|
261
268
|
"@container": "@set"
|
262
269
|
},
|
270
|
+
"rowTitles": {
|
271
|
+
"@id": "csvw:rowTitle",
|
272
|
+
"@language": null
|
273
|
+
},
|
263
274
|
"rownum": {
|
264
275
|
"@id": "csvw:rownum",
|
265
276
|
"@type": "xsd:integer"
|
@@ -339,7 +350,7 @@
|
|
339
350
|
},
|
340
351
|
"valueUrl": {
|
341
352
|
"@id": "csvw:valueUrl",
|
342
|
-
"@type": "
|
353
|
+
"@type": "csvw:uriTemplate"
|
343
354
|
},
|
344
355
|
"virtual": {
|
345
356
|
"@id": "csvw:virtual",
|
@@ -358,6 +369,9 @@
|
|
358
369
|
"dc:description": {
|
359
370
|
"@container": "@language"
|
360
371
|
},
|
372
|
+
"dc:date": {
|
373
|
+
"@type": "xsd:date"
|
374
|
+
},
|
361
375
|
"rdfs:comment": {
|
362
376
|
"@container": "@language"
|
363
377
|
},
|
@@ -370,6 +384,9 @@
|
|
370
384
|
"rdfs:range": {
|
371
385
|
"@type": "@id"
|
372
386
|
},
|
387
|
+
"rdfs:seeAlso": {
|
388
|
+
"@type": "@id"
|
389
|
+
},
|
373
390
|
"rdfs:subClassOf": {
|
374
391
|
"@type": "@id"
|
375
392
|
},
|
@@ -390,8 +407,7 @@
|
|
390
407
|
"@type": "@id"
|
391
408
|
},
|
392
409
|
"owl:versionInfo": {
|
393
|
-
"@type": "
|
394
|
-
"@language": null
|
410
|
+
"@type": "@id"
|
395
411
|
},
|
396
412
|
"owl:inverseOf": {
|
397
413
|
"@type": "@vocab"
|
@@ -425,6 +441,14 @@
|
|
425
441
|
"dc:description": {
|
426
442
|
"en": "This document describes the RDFS vocabulary description used in the Metadata Vocabulary for Tabular Data [[tabular-metadata]] along with the default JSON-LD Context."
|
427
443
|
},
|
444
|
+
"dc:date": "2017-05-23",
|
445
|
+
"owl:imports": [
|
446
|
+
"http://www.w3.org/ns/prov"
|
447
|
+
],
|
448
|
+
"owl:versionInfo": "https://github.com/w3c/csvw/commit/94898e9f0b073aa09b3334ded2eb5ab3b87b37a9",
|
449
|
+
"rdfs:seeAlso": [
|
450
|
+
"http://www.w3.org/TR/tabular-metadata"
|
451
|
+
],
|
428
452
|
"rdfs_classes": [
|
429
453
|
{
|
430
454
|
"@id": "csvw:Cell",
|
@@ -565,7 +589,7 @@
|
|
565
589
|
"en": "about URL"
|
566
590
|
},
|
567
591
|
"rdfs:comment": {
|
568
|
-
"en": "A URI template property that
|
592
|
+
"en": "A URI template property that MAY be used to indicate what a cell contains information about."
|
569
593
|
},
|
570
594
|
"rdfs:domain": {
|
571
595
|
"owl:unionOf": [
|
@@ -584,7 +608,7 @@
|
|
584
608
|
"en": "base"
|
585
609
|
},
|
586
610
|
"rdfs:comment": {
|
587
|
-
"en": "An atomic property that contains a single string: a term defined in the default context representing a built-in datatype URL."
|
611
|
+
"en": "An atomic property that contains a single string: a term defined in the default context representing a built-in datatype URL, as listed above."
|
588
612
|
},
|
589
613
|
"rdfs:domain": "csvw:Datatype",
|
590
614
|
"rdfs:range": "xsd:string"
|
@@ -596,7 +620,7 @@
|
|
596
620
|
"en": "column reference"
|
597
621
|
},
|
598
622
|
"rdfs:comment": {
|
599
|
-
"en": "A column reference property that holds either a single reference to a column description object within this schema, or an array of references."
|
623
|
+
"en": "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."
|
600
624
|
},
|
601
625
|
"rdfs:domain": {
|
602
626
|
"owl:unionOf": [
|
@@ -613,7 +637,7 @@
|
|
613
637
|
"en": "column"
|
614
638
|
},
|
615
639
|
"rdfs:comment": {
|
616
|
-
"en": "An array property of column descriptions as described in section
|
640
|
+
"en": "An array property of column descriptions as described in section 5.6 Columns."
|
617
641
|
},
|
618
642
|
"rdfs:domain": "csvw:Schema",
|
619
643
|
"rdfs:range": "csvw:Column"
|
@@ -625,7 +649,7 @@
|
|
625
649
|
"en": "comment prefix"
|
626
650
|
},
|
627
651
|
"rdfs:comment": {
|
628
|
-
"en": "An atomic property that sets the comment prefix flag to the single provided value, which
|
652
|
+
"en": "An atomic property that sets the comment prefix flag to the single provided value, which MUST be a string."
|
629
653
|
},
|
630
654
|
"rdfs:domain": "csvw:Dialect",
|
631
655
|
"rdfs:range": "xsd:string"
|
@@ -637,7 +661,7 @@
|
|
637
661
|
"en": "datatype"
|
638
662
|
},
|
639
663
|
"rdfs:comment": {
|
640
|
-
"en": "An
|
664
|
+
"en": "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."
|
641
665
|
},
|
642
666
|
"rdfs:domain": {
|
643
667
|
"owl:unionOf": [
|
@@ -661,7 +685,7 @@
|
|
661
685
|
"en": "decimal character"
|
662
686
|
},
|
663
687
|
"rdfs:comment": {
|
664
|
-
"en": "
|
688
|
+
"en": "A string whose value is used to represent a decimal point within the number."
|
665
689
|
},
|
666
690
|
"rdfs:domain": "csvw:NumericFormat",
|
667
691
|
"rdfs:range": "xsd:string"
|
@@ -703,7 +727,7 @@
|
|
703
727
|
"en": "delimiter"
|
704
728
|
},
|
705
729
|
"rdfs:comment": {
|
706
|
-
"en": "An atomic property that sets the delimiter flag to the single provided value, which
|
730
|
+
"en": "An atomic property that sets the delimiter flag to the single provided value, which MUST be a string."
|
707
731
|
},
|
708
732
|
"rdfs:domain": "csvw:Dialect",
|
709
733
|
"rdfs:range": "xsd:string"
|
@@ -715,7 +739,7 @@
|
|
715
739
|
"en": "dialect"
|
716
740
|
},
|
717
741
|
"rdfs:comment": {
|
718
|
-
"en": "
|
742
|
+
"en": "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."
|
719
743
|
},
|
720
744
|
"rdfs:domain": {
|
721
745
|
"owl:unionOf": [
|
@@ -732,7 +756,7 @@
|
|
732
756
|
"en": "double quote"
|
733
757
|
},
|
734
758
|
"rdfs:comment": {
|
735
|
-
"en": "A boolean atomic property that, if `true`, sets the escape character flag to `\"`.
|
759
|
+
"en": "A boolean atomic property that, if `true`, sets the escape character flag to `\"`."
|
736
760
|
},
|
737
761
|
"rdfs:domain": "csvw:Dialect",
|
738
762
|
"rdfs:range": "xsd:boolean"
|
@@ -744,7 +768,7 @@
|
|
744
768
|
"en": "encoding"
|
745
769
|
},
|
746
770
|
"rdfs:comment": {
|
747
|
-
"en": "An atomic property that sets the encoding flag to the single provided string value, which
|
771
|
+
"en": "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\"."
|
748
772
|
},
|
749
773
|
"rdfs:domain": "csvw:Dialect",
|
750
774
|
"rdfs:range": "xsd:string"
|
@@ -756,9 +780,14 @@
|
|
756
780
|
"en": "foreign key"
|
757
781
|
},
|
758
782
|
"rdfs:comment": {
|
759
|
-
"en": "
|
783
|
+
"en": "For a Table: a list of foreign keys on the table.\n\nFor 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."
|
784
|
+
},
|
785
|
+
"rdfs:domain": {
|
786
|
+
"owl:unionOf": [
|
787
|
+
"csvw:Table",
|
788
|
+
"csvw:Schema"
|
789
|
+
]
|
760
790
|
},
|
761
|
-
"rdfs:domain": "csvw:Schema",
|
762
791
|
"rdfs:range": "csvw:ForeignKey"
|
763
792
|
},
|
764
793
|
{
|
@@ -768,7 +797,7 @@
|
|
768
797
|
"en": "format"
|
769
798
|
},
|
770
799
|
"rdfs:comment": {
|
771
|
-
"en": "An atomic property that contains either a single string or an object that defines the format of a value of this type."
|
800
|
+
"en": "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]]."
|
772
801
|
},
|
773
802
|
"rdfs:domain": "csvw:Datatype",
|
774
803
|
"rdfs:range": "xsd:string"
|
@@ -780,7 +809,7 @@
|
|
780
809
|
"en": "group character"
|
781
810
|
},
|
782
811
|
"rdfs:comment": {
|
783
|
-
"en": "
|
812
|
+
"en": "A string whose value is used to group digits within the number."
|
784
813
|
},
|
785
814
|
"rdfs:domain": "csvw:NumericFormat",
|
786
815
|
"rdfs:range": {
|
@@ -809,7 +838,7 @@
|
|
809
838
|
"en": "header row count"
|
810
839
|
},
|
811
840
|
"rdfs:comment": {
|
812
|
-
"en": "
|
841
|
+
"en": "An numeric atomic property that sets the header row count flag to the single provided value, which must be a non-negative integer."
|
813
842
|
},
|
814
843
|
"rdfs:domain": "csvw:Dialect",
|
815
844
|
"rdfs:range": "xsd:nonNegativeInteger"
|
@@ -821,7 +850,7 @@
|
|
821
850
|
"en": "language"
|
822
851
|
},
|
823
852
|
"rdfs:comment": {
|
824
|
-
"en": "An atomic property giving a single string language code as defined by [BCP47]."
|
853
|
+
"en": "An atomic property giving a single string language code as defined by [[BCP47]]."
|
825
854
|
},
|
826
855
|
"rdfs:domain": {
|
827
856
|
"owl:unionOf": [
|
@@ -849,10 +878,10 @@
|
|
849
878
|
"@id": "csvw:lineTerminators",
|
850
879
|
"@type": "rdf:Property",
|
851
880
|
"rdfs:label": {
|
852
|
-
"en": "line
|
881
|
+
"en": "line terminators"
|
853
882
|
},
|
854
883
|
"rdfs:comment": {
|
855
|
-
"en": "An atomic property that
|
884
|
+
"en": "An atomic property that sets the line terminators flag to either an array containing the single provided string value, or the provided array."
|
856
885
|
},
|
857
886
|
"rdfs:domain": "csvw:Dialect",
|
858
887
|
"rdfs:range": "xsd:string"
|
@@ -936,7 +965,7 @@
|
|
936
965
|
"en": "name"
|
937
966
|
},
|
938
967
|
"rdfs:comment": {
|
939
|
-
"en": "An atomic property that gives a canonical name for the column.
|
968
|
+
"en": "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."
|
940
969
|
},
|
941
970
|
"rdfs:domain": "csvw:Column",
|
942
971
|
"rdfs:range": "xsd:string"
|
@@ -948,7 +977,7 @@
|
|
948
977
|
"en": "note"
|
949
978
|
},
|
950
979
|
"rdfs:comment": {
|
951
|
-
"en": "
|
980
|
+
"en": "An array property that provides an array of objects representing arbitrary annotations on the annotated tabular data model."
|
952
981
|
},
|
953
982
|
"rdfs:domain": {
|
954
983
|
"owl:unionOf": [
|
@@ -964,7 +993,7 @@
|
|
964
993
|
"en": "null"
|
965
994
|
},
|
966
995
|
"rdfs:comment": {
|
967
|
-
"en": "An atomic property giving the string or strings used for null values within the data."
|
996
|
+
"en": "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`."
|
968
997
|
},
|
969
998
|
"rdfs:domain": {
|
970
999
|
"owl:unionOf": [
|
@@ -1002,7 +1031,7 @@
|
|
1002
1031
|
"en": "pattern"
|
1003
1032
|
},
|
1004
1033
|
"rdfs:comment": {
|
1005
|
-
"en": "
|
1034
|
+
"en": "A regular expression string, in the syntax and interpreted as defined by [[ECMASCRIPT]]."
|
1006
1035
|
},
|
1007
1036
|
"rdfs:domain": "csvw:NumericFormat",
|
1008
1037
|
"rdfs:range": "xsd:string"
|
@@ -1014,9 +1043,14 @@
|
|
1014
1043
|
"en": "primary key"
|
1015
1044
|
},
|
1016
1045
|
"rdfs:comment": {
|
1017
|
-
"en": "A column reference property that holds either a single reference to a column description object or an array of references."
|
1046
|
+
"en": "For Schema: A column reference property that holds either a single reference to a column description object or an array of references.\n\nFor 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."
|
1047
|
+
},
|
1048
|
+
"rdfs:domain": {
|
1049
|
+
"owl:unionOf": [
|
1050
|
+
"csvw:Schema",
|
1051
|
+
"csvw:Row"
|
1052
|
+
]
|
1018
1053
|
},
|
1019
|
-
"rdfs:domain": "csvw:Schema",
|
1020
1054
|
"rdfs:range": "xsd:string"
|
1021
1055
|
},
|
1022
1056
|
{
|
@@ -1026,7 +1060,7 @@
|
|
1026
1060
|
"en": "property URL"
|
1027
1061
|
},
|
1028
1062
|
"rdfs:comment": {
|
1029
|
-
"en": "An URI template property that
|
1063
|
+
"en": "An URI template property that MAY be used to create a URI for a property if the table is mapped to another format. "
|
1030
1064
|
},
|
1031
1065
|
"rdfs:domain": {
|
1032
1066
|
"owl:unionOf": [
|
@@ -1045,7 +1079,7 @@
|
|
1045
1079
|
"en": "quote char"
|
1046
1080
|
},
|
1047
1081
|
"rdfs:comment": {
|
1048
|
-
"en": "An atomic property that sets the quote character flag to the single provided value, which must be a
|
1082
|
+
"en": "An atomic property that sets the quote character flag to the single provided value, which must be a string or `null`."
|
1049
1083
|
},
|
1050
1084
|
"rdfs:domain": "csvw:Dialect",
|
1051
1085
|
"rdfs:range": "xsd:string"
|
@@ -1057,11 +1091,22 @@
|
|
1057
1091
|
"en": "reference"
|
1058
1092
|
},
|
1059
1093
|
"rdfs:comment": {
|
1060
|
-
"en": "An object property that identifies a referenced table and a set of referenced columns within that table."
|
1094
|
+
"en": "An object property that identifies a **referenced table** and a set of **referenced columns** within that table."
|
1061
1095
|
},
|
1062
1096
|
"rdfs:domain": "csvw:ForeignKey",
|
1063
1097
|
"rdfs:range": "csvw:TableReference"
|
1064
1098
|
},
|
1099
|
+
{
|
1100
|
+
"@id": "csvw:referencedRow",
|
1101
|
+
"@type": "rdf:Property",
|
1102
|
+
"rdfs:label": {
|
1103
|
+
"en": "referenced rows"
|
1104
|
+
},
|
1105
|
+
"rdfs:comment": {
|
1106
|
+
"en": "A possibly empty list of pairs of a foreign key and a row in a table within the same group of tables."
|
1107
|
+
},
|
1108
|
+
"rdfs:domain": "csvw:Row"
|
1109
|
+
},
|
1065
1110
|
{
|
1066
1111
|
"@id": "csvw:required",
|
1067
1112
|
"@type": "rdf:Property",
|
@@ -1069,9 +1114,16 @@
|
|
1069
1114
|
"en": "required"
|
1070
1115
|
},
|
1071
1116
|
"rdfs:comment": {
|
1072
|
-
"en": "A boolean value which indicates whether
|
1117
|
+
"en": "A boolean atomic property taking a single value which indicates whether the cell must have a non-null value. The default is `false`. "
|
1118
|
+
},
|
1119
|
+
"rdfs:domain": {
|
1120
|
+
"owl:unionOf": [
|
1121
|
+
"csvw:TableGroup",
|
1122
|
+
"csvw:Table",
|
1123
|
+
"csvw:Schema",
|
1124
|
+
"csvw:Column"
|
1125
|
+
]
|
1073
1126
|
},
|
1074
|
-
"rdfs:domain": "csvw:Column",
|
1075
1127
|
"rdfs:range": "xsd:boolean"
|
1076
1128
|
},
|
1077
1129
|
{
|
@@ -1099,6 +1151,18 @@
|
|
1099
1151
|
"rdfs:domain": "csvw:Table",
|
1100
1152
|
"rdfs:range": "csvw:Row"
|
1101
1153
|
},
|
1154
|
+
{
|
1155
|
+
"@id": "csvw:rowTitle",
|
1156
|
+
"@type": "rdf:Property",
|
1157
|
+
"rdfs:label": {
|
1158
|
+
"en": "row titles"
|
1159
|
+
},
|
1160
|
+
"rdfs:comment": {
|
1161
|
+
"en": "A column reference property that holds either a single reference to a column description object or an array of references."
|
1162
|
+
},
|
1163
|
+
"rdfs:domain": "csvw:Schema",
|
1164
|
+
"rdfs:range": "xsd:string"
|
1165
|
+
},
|
1102
1166
|
{
|
1103
1167
|
"@id": "csvw:rownum",
|
1104
1168
|
"@type": "rdf:Property",
|
@@ -1106,7 +1170,7 @@
|
|
1106
1170
|
"en": "row number"
|
1107
1171
|
},
|
1108
1172
|
"rdfs:comment": {
|
1109
|
-
"en": "The position of the row amongst the rows of the Annotated Tabl, starting from 1
|
1173
|
+
"en": "The position of the row amongst the rows of the Annotated Tabl, starting from 1"
|
1110
1174
|
},
|
1111
1175
|
"rdfs:range": "xsd:integer"
|
1112
1176
|
},
|
@@ -1141,7 +1205,7 @@
|
|
1141
1205
|
"en": "separator"
|
1142
1206
|
},
|
1143
1207
|
"rdfs:comment": {
|
1144
|
-
"en": "An atomic property that
|
1208
|
+
"en": "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."
|
1145
1209
|
},
|
1146
1210
|
"rdfs:domain": {
|
1147
1211
|
"owl:unionOf": [
|
@@ -1160,7 +1224,7 @@
|
|
1160
1224
|
"en": "skip blank rows"
|
1161
1225
|
},
|
1162
1226
|
"rdfs:comment": {
|
1163
|
-
"en": "An boolean atomic property that sets the skip blank rows flag to the single provided boolean value."
|
1227
|
+
"en": "An boolean atomic property that sets the `skip blank rows` flag to the single provided boolean value."
|
1164
1228
|
},
|
1165
1229
|
"rdfs:domain": "csvw:Dialect",
|
1166
1230
|
"rdfs:range": "xsd:boolean"
|
@@ -1172,7 +1236,7 @@
|
|
1172
1236
|
"en": "skip columns"
|
1173
1237
|
},
|
1174
1238
|
"rdfs:comment": {
|
1175
|
-
"en": "An numeric atomic property that sets the skip columns flag to the single provided numeric value, which
|
1239
|
+
"en": "An numeric atomic property that sets the `skip columns` flag to the single provided numeric value, which MUST be a non-negative integer."
|
1176
1240
|
},
|
1177
1241
|
"rdfs:domain": "csvw:Dialect",
|
1178
1242
|
"rdfs:range": "xsd:nonNegativeInteger"
|
@@ -1184,7 +1248,7 @@
|
|
1184
1248
|
"en": "skip initial space"
|
1185
1249
|
},
|
1186
1250
|
"rdfs:comment": {
|
1187
|
-
"en": "A boolean atomic property that, if `true`, sets the trim flag to \"start\". If `false`, to `false`.
|
1251
|
+
"en": "A boolean atomic property that, if `true`, sets the trim flag to \"start\". If `false`, to `false`."
|
1188
1252
|
},
|
1189
1253
|
"rdfs:domain": "csvw:Dialect",
|
1190
1254
|
"rdfs:range": "xsd:boolean"
|
@@ -1196,7 +1260,7 @@
|
|
1196
1260
|
"en": "skip rows"
|
1197
1261
|
},
|
1198
1262
|
"rdfs:comment": {
|
1199
|
-
"en": "An numeric atomic property that sets the skip rows flag to the single provided numeric value, which
|
1263
|
+
"en": "An numeric atomic property that sets the `skip rows` flag to the single provided numeric value, which MUST be a non-negative integer."
|
1200
1264
|
},
|
1201
1265
|
"rdfs:domain": "csvw:Dialect",
|
1202
1266
|
"rdfs:range": "xsd:nonNegativeInteger"
|
@@ -1220,7 +1284,7 @@
|
|
1220
1284
|
"en": "suppress output"
|
1221
1285
|
},
|
1222
1286
|
"rdfs:comment": {
|
1223
|
-
"en": "A boolean atomic property. If true
|
1287
|
+
"en": "A boolean atomic property. If `true`, suppresses any output that would be generated when converting a table or cells within a column."
|
1224
1288
|
},
|
1225
1289
|
"rdfs:domain": {
|
1226
1290
|
"owl:unionOf": [
|
@@ -1250,7 +1314,7 @@
|
|
1250
1314
|
"en": "table direction"
|
1251
1315
|
},
|
1252
1316
|
"rdfs:comment": {
|
1253
|
-
"en": "One of
|
1317
|
+
"en": "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."
|
1254
1318
|
},
|
1255
1319
|
"rdfs:domain": {
|
1256
1320
|
"owl:unionOf": [
|
@@ -1267,7 +1331,7 @@
|
|
1267
1331
|
"en": "table schema"
|
1268
1332
|
},
|
1269
1333
|
"rdfs:comment": {
|
1270
|
-
"en": "An object property that provides a single schema description as described in section
|
1334
|
+
"en": "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"
|
1271
1335
|
},
|
1272
1336
|
"rdfs:domain": {
|
1273
1337
|
"owl:unionOf": [
|
@@ -1315,7 +1379,7 @@
|
|
1315
1379
|
"en": "text direction"
|
1316
1380
|
},
|
1317
1381
|
"rdfs:comment": {
|
1318
|
-
"en": "An atomic property that must have a single value that is one of
|
1382
|
+
"en": "An atomic property that must have a single value that is one of `rtl` or `ltr` (the default)."
|
1319
1383
|
},
|
1320
1384
|
"rdfs:domain": {
|
1321
1385
|
"owl:unionOf": [
|
@@ -1339,7 +1403,8 @@
|
|
1339
1403
|
"rdfs:domain": {
|
1340
1404
|
"owl:unionOf": [
|
1341
1405
|
"csvw:Transformation",
|
1342
|
-
"csvw:Column"
|
1406
|
+
"csvw:Column",
|
1407
|
+
"csvw:Row"
|
1343
1408
|
]
|
1344
1409
|
}
|
1345
1410
|
},
|
@@ -1379,7 +1444,7 @@
|
|
1379
1444
|
"en": "valueUrl"
|
1380
1445
|
},
|
1381
1446
|
"rdfs:comment": {
|
1382
|
-
"en": "An URI template property that is used to map the values
|
1447
|
+
"en": "An URI template property that is used to map the values of cells into URLs."
|
1383
1448
|
},
|
1384
1449
|
"rdfs:domain": {
|
1385
1450
|
"owl:unionOf": [
|
@@ -1425,10 +1490,30 @@
|
|
1425
1490
|
"rdfs:comment": {
|
1426
1491
|
"en": ""
|
1427
1492
|
},
|
1428
|
-
"rdfs:subClassOf": "xsd:
|
1493
|
+
"rdfs:subClassOf": "xsd:string"
|
1429
1494
|
}
|
1430
1495
|
],
|
1431
1496
|
"rdfs_instances": [
|
1497
|
+
{
|
1498
|
+
"@id": "csvw:auto",
|
1499
|
+
"@type": "Direction",
|
1500
|
+
"rdfs:label": {
|
1501
|
+
"en": "auto"
|
1502
|
+
},
|
1503
|
+
"rdfs:comment": {
|
1504
|
+
"en": "Indicates whether the tables in the group should be displayed based on the first character in the table that has a specific direction."
|
1505
|
+
}
|
1506
|
+
},
|
1507
|
+
{
|
1508
|
+
"@id": "csvw:inherit",
|
1509
|
+
"@type": "Direction",
|
1510
|
+
"rdfs:label": {
|
1511
|
+
"en": "inherit"
|
1512
|
+
},
|
1513
|
+
"rdfs:comment": {
|
1514
|
+
"en": "For `textDirection`, indicates that the direction is inherited from the `tableDirection` annotation of the `table`."
|
1515
|
+
}
|
1516
|
+
},
|
1432
1517
|
{
|
1433
1518
|
"@id": "csvw:ltr",
|
1434
1519
|
"@type": "Direction",
|
@@ -1436,7 +1521,7 @@
|
|
1436
1521
|
"en": "left to right"
|
1437
1522
|
},
|
1438
1523
|
"rdfs:comment": {
|
1439
|
-
"en": "Indicates
|
1524
|
+
"en": "Indicates whether the tables in the group should be displayed with the first column on the right."
|
1440
1525
|
}
|
1441
1526
|
},
|
1442
1527
|
{
|
@@ -1446,7 +1531,7 @@
|
|
1446
1531
|
"en": "right to left"
|
1447
1532
|
},
|
1448
1533
|
"rdfs:comment": {
|
1449
|
-
"en": "
|
1534
|
+
"en": "Indicates whether the tables in the group should be displayed with the first column on the left."
|
1450
1535
|
}
|
1451
1536
|
},
|
1452
1537
|
{
|