rdf-tabular 2.2.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +54 -48
- data/UNLICENSE +1 -1
- data/VERSION +1 -1
- data/etc/doap.csv +1 -1
- data/etc/doap.csv-metadata.json +1 -1
- data/etc/doap.ttl +16 -18
- data/etc/earl.html +648 -648
- data/etc/earl.jsonld +691 -691
- data/etc/earl.ttl +846 -846
- data/lib/rdf/tabular/csvw.rb +500 -90
- data/lib/rdf/tabular/format.rb +2 -2
- data/lib/rdf/tabular/literal.rb +1 -1
- data/lib/rdf/tabular/metadata.rb +63 -58
- data/lib/rdf/tabular/reader.rb +30 -21
- data/lib/rdf/tabular/uax35.rb +1 -1
- data/lib/rdf/tabular.rb +3 -3
- data/spec/metadata_spec.rb +85 -8
- data/spec/reader_spec.rb +2 -2
- data/spec/spec_helper.rb +20 -8
- data/spec/suite_helper.rb +2 -2
- data/spec/suite_spec.rb +4 -5
- metadata +99 -149
- data/lib/rdf/tabular/json.rb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 93426409b4e355f2e379f4312e20c3fc805c30d805e07c52dd5551d2e01c3711
|
|
4
|
+
data.tar.gz: 5211db0a8503d488ec65fe28c6344b1d469ce3921471624f612ba16d111b276d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5324b4c9ebd0472ac4c15d2b3e667df16561044f3a0daa8e9607275fdade79bad33c36c91b696bc8fd721a53bfb2b93f042e8db067af6c1a25ef4a65218b36f5
|
|
7
|
+
data.tar.gz: 69f38cada3e90501daa1c5835f0c4fb708464460df1eae21a59c83a7be52937eff4abc38a16b26fb44447f5f8b4aed97f64a80c515bf47314d381d64b3a48ffc
|
data/README.md
CHANGED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
[CSV][] reader for [RDF.rb][] and fully JSON serializer.
|
|
4
4
|
|
|
5
|
-
[](
|
|
6
|
-
[](https://coveralls.io/
|
|
8
|
-
[](https://badge.fury.io/rb/rdf-tabular)
|
|
6
|
+
[](https://github.com/ruby-rdf/rdf-tabular/actions?query=workflow%3ACI)
|
|
7
|
+
[](https://coveralls.io/github/ruby-rdf/rdf-tabular?branch=develop)
|
|
8
|
+
[](https://gitter.im/ruby-rdf/rdf)
|
|
9
9
|
|
|
10
10
|
## Features
|
|
11
11
|
|
|
12
12
|
RDF::Tabular parses CSV or other Tabular Data into [RDF][] and JSON using the [W3C CSVW][] specifications, currently undergoing development.
|
|
13
13
|
|
|
14
|
-
* Parses [number patterns](
|
|
15
|
-
* Parses [date formats](
|
|
14
|
+
* Parses [number patterns](https://www.unicode.org/reports/tr35/tr35-39/tr35-numbers.html#Number_Patterns) from [UAX35][]
|
|
15
|
+
* Parses [date formats](https://www.unicode.org/reports/tr35/tr35-39/tr35-dates.html#Contents) from [UAX35][]
|
|
16
16
|
* Returns detailed errors and warnings using optional `Logger`.
|
|
17
17
|
|
|
18
18
|
## Installation
|
|
@@ -21,7 +21,7 @@ Install with `gem install rdf-tabular`
|
|
|
21
21
|
## Description
|
|
22
22
|
RDF::Tabular parses CSVs, TSVs, and potentially other tabular data formats. Using rules defined for [W3C CSVW][], it can also parse metadata files (in JSON-LD format) to find a set of tabular data files, or locate a metadata file given a CSV:
|
|
23
23
|
|
|
24
|
-
* Given a CSV `http://example.org/mycsv.csv` look for `http://example.org/mycsv.csv-
|
|
24
|
+
* Given a CSV `http://example.org/mycsv.csv` look for `http://example.org/mycsv.csv-metadata.json` or `http://example.org/metadata.json`. Metadata can also be specified using the `describedby` link header to reference a metadata file.
|
|
25
25
|
* Given a metadata file, locate one or more CSV files described within the metadata file.
|
|
26
26
|
* Also, extract _embedded metadata_ from the CSV (limited to column titles right now).
|
|
27
27
|
|
|
@@ -31,7 +31,7 @@ Metadata can then provide datatypes for the columns, express foreign key relatio
|
|
|
31
31
|
"@context": "http://www.w3.org/ns/csvw",
|
|
32
32
|
"url": "doap.csv",
|
|
33
33
|
"tableSchema": {
|
|
34
|
-
"aboutUrl": "
|
|
34
|
+
"aboutUrl": "https://rubygems.org/gems/rdf-tabular",
|
|
35
35
|
"propertyUrl": "http://usefulinc.com/ns/doap#{_name}",
|
|
36
36
|
"null": "",
|
|
37
37
|
"columns": [
|
|
@@ -74,29 +74,29 @@ This results in the following Turtle:
|
|
|
74
74
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
75
75
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
76
76
|
|
|
77
|
-
<
|
|
77
|
+
<https://rubygems.org/gems/rdf-tabular> a doap:Project,
|
|
78
78
|
<http://www.w3.org/ns/earl#TestSubject>,
|
|
79
79
|
<http://www.w3.org/ns/earl#Software>;
|
|
80
80
|
dc:title "RDF::Tabular";
|
|
81
81
|
dc:creator <http://greggkellogg.net/foaf#me>;
|
|
82
82
|
dc:date "2015-01-05"^^xsd:date;
|
|
83
83
|
dc:description "RDF::Tabular processes tabular data with metadata creating RDF or JSON output."@en;
|
|
84
|
-
dc:isPartOf <
|
|
84
|
+
dc:isPartOf <https://rubygems.org/gems/rdf>;
|
|
85
85
|
doap:blog <http://greggkellogg.net/>;
|
|
86
|
-
doap:bug-database <
|
|
86
|
+
doap:bug-database <https://github.com/ruby-rdf/rdf-tabular/issues>;
|
|
87
87
|
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,
|
|
88
88
|
<http://dbpedia.org/resource/Ruby_(programming_language)>;
|
|
89
89
|
doap:created "2015-01-05"^^xsd:date;
|
|
90
90
|
doap:description "RDF::Tabular processes tabular data with metadata creating RDF or JSON output."@en;
|
|
91
91
|
doap:developer <http://greggkellogg.net/foaf#me>;
|
|
92
92
|
doap:documenter <http://greggkellogg.net/foaf#me>;
|
|
93
|
-
doap:download-page <
|
|
93
|
+
doap:download-page <https://rubygems.org/gems/rdf-tabular>;
|
|
94
94
|
doap:homepage <http://ruby-rdf.github.com/rdf-tabular>;
|
|
95
95
|
doap:implements <http://www.w3.org/TR/tabular-data-model/>,
|
|
96
96
|
<http://www.w3.org/TR/tabular-metadata/>,
|
|
97
97
|
<http://www.w3.org/TR/csv2rdf/>,
|
|
98
98
|
<http://www.w3.org/TR/csv2json/>;
|
|
99
|
-
doap:license <
|
|
99
|
+
doap:license <https://unlicense.org/1.0/>;
|
|
100
100
|
doap:mailing-list <http://lists.w3.org/Archives/Public/public-rdf-ruby/>;
|
|
101
101
|
doap:maintainer <http://greggkellogg.net/foaf#me>;
|
|
102
102
|
doap:name "RDF::Tabular";
|
|
@@ -110,22 +110,22 @@ This results in the following Turtle:
|
|
|
110
110
|
a csvw:Table;
|
|
111
111
|
csvw:row [
|
|
112
112
|
a csvw:Row;
|
|
113
|
-
csvw:describes <
|
|
113
|
+
csvw:describes <https://rubygems.org/gems/rdf-tabular>;
|
|
114
114
|
csvw:rownum 1;
|
|
115
115
|
csvw:url <file://users/gregg/Projects/rdf-tabular/etc/doap.csv#row=2>
|
|
116
116
|
], [
|
|
117
117
|
a csvw:Row;
|
|
118
|
-
csvw:describes <
|
|
118
|
+
csvw:describes <https://rubygems.org/gems/rdf-tabular>;
|
|
119
119
|
csvw:rownum 2;
|
|
120
120
|
csvw:url <file://users/gregg/Projects/rdf-tabular/etc/doap.csv#row=3>
|
|
121
121
|
], [
|
|
122
122
|
a csvw:Row;
|
|
123
|
-
csvw:describes <
|
|
123
|
+
csvw:describes <https://rubygems.org/gems/rdf-tabular>;
|
|
124
124
|
csvw:rownum 3;
|
|
125
125
|
csvw:url <file://users/gregg/Projects/rdf-tabular/etc/doap.csv#row=4>
|
|
126
126
|
], [
|
|
127
127
|
a csvw:Row;
|
|
128
|
-
csvw:describes <
|
|
128
|
+
csvw:describes <https://rubygems.org/gems/rdf-tabular>;
|
|
129
129
|
csvw:rownum 4;
|
|
130
130
|
csvw:url <file://users/gregg/Projects/rdf-tabular/etc/doap.csv#row=5>
|
|
131
131
|
];
|
|
@@ -144,7 +144,7 @@ This results in the following Turtle:
|
|
|
144
144
|
prov:hadRole csvw:tabularMetadata
|
|
145
145
|
];
|
|
146
146
|
prov:startedAtTime "2015-04-11T12:33:25Z"^^xsd:dateTime;
|
|
147
|
-
prov:wasAssociatedWith <
|
|
147
|
+
prov:wasAssociatedWith <https://rubygems.org/gems/rdf-tabular>
|
|
148
148
|
]
|
|
149
149
|
] .
|
|
150
150
|
|
|
@@ -162,20 +162,20 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
|
162
162
|
"rownum": 1,
|
|
163
163
|
"describes": [
|
|
164
164
|
{
|
|
165
|
-
"@id": "
|
|
165
|
+
"@id": "https://rubygems.org/gems/rdf-tabular",
|
|
166
166
|
"http://usefulinc.com/ns/doap#name": "RDF::Tabular",
|
|
167
167
|
"@type": "http://usefulinc.com/ns/doap#Project",
|
|
168
168
|
"http://usefulinc.com/ns/doap#homepage": "http://ruby-rdf.github.com/rdf-tabular",
|
|
169
|
-
"http://usefulinc.com/ns/doap#license": "
|
|
169
|
+
"http://usefulinc.com/ns/doap#license": "https://unlicense.org/1.0/",
|
|
170
170
|
"http://usefulinc.com/ns/doap#shortdesc": "Tabular Data RDF Reader and JSON serializer.",
|
|
171
171
|
"http://usefulinc.com/ns/doap#description": "RDF::Tabular processes tabular data with metadata creating RDF or JSON output.",
|
|
172
172
|
"http://usefulinc.com/ns/doap#created": "2015-01-05",
|
|
173
173
|
"http://usefulinc.com/ns/doap#programming-language": "Ruby",
|
|
174
174
|
"http://usefulinc.com/ns/doap#implements": "http://www.w3.org/TR/tabular-data-model/",
|
|
175
175
|
"http://usefulinc.com/ns/doap#category": "http://dbpedia.org/resource/Resource_Description_Framework",
|
|
176
|
-
"http://usefulinc.com/ns/doap#download-page": "
|
|
176
|
+
"http://usefulinc.com/ns/doap#download-page": "https://rubygems.org/gems/rdf-tabular",
|
|
177
177
|
"http://usefulinc.com/ns/doap#mailing-list": "http://lists.w3.org/Archives/Public/public-rdf-ruby/",
|
|
178
|
-
"http://usefulinc.com/ns/doap#bug-database": "
|
|
178
|
+
"http://usefulinc.com/ns/doap#bug-database": "https://github.com/ruby-rdf/rdf-tabular/issues",
|
|
179
179
|
"http://usefulinc.com/ns/doap#blog": "http://greggkellogg.net/",
|
|
180
180
|
"http://usefulinc.com/ns/doap#developer": "http://greggkellogg.net/foaf#me",
|
|
181
181
|
"http://usefulinc.com/ns/doap#maintainer": "http://greggkellogg.net/foaf#me",
|
|
@@ -185,7 +185,7 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
|
185
185
|
"dc:description": "RDF::Tabular processes tabular data with metadata creating RDF or JSON output.",
|
|
186
186
|
"dc:date": "2015-01-05",
|
|
187
187
|
"dc:creator": "http://greggkellogg.net/foaf#me",
|
|
188
|
-
"dc:isPartOf": "
|
|
188
|
+
"dc:isPartOf": "https://rubygems.org/gems/rdf"
|
|
189
189
|
}
|
|
190
190
|
]
|
|
191
191
|
},
|
|
@@ -194,7 +194,7 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
|
194
194
|
"rownum": 2,
|
|
195
195
|
"describes": [
|
|
196
196
|
{
|
|
197
|
-
"@id": "
|
|
197
|
+
"@id": "https://rubygems.org/gems/rdf-tabular",
|
|
198
198
|
"@type": "http://www.w3.org/ns/earl#TestSubject",
|
|
199
199
|
"http://usefulinc.com/ns/doap#implements": "http://www.w3.org/TR/tabular-metadata/",
|
|
200
200
|
"http://usefulinc.com/ns/doap#category": "http://dbpedia.org/resource/Ruby_(programming_language)"
|
|
@@ -206,7 +206,7 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
|
206
206
|
"rownum": 3,
|
|
207
207
|
"describes": [
|
|
208
208
|
{
|
|
209
|
-
"@id": "
|
|
209
|
+
"@id": "https://rubygems.org/gems/rdf-tabular",
|
|
210
210
|
"@type": "http://www.w3.org/ns/earl#Software",
|
|
211
211
|
"http://usefulinc.com/ns/doap#implements": "http://www.w3.org/TR/csv2rdf/"
|
|
212
212
|
}
|
|
@@ -217,7 +217,7 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
|
217
217
|
"rownum": 4,
|
|
218
218
|
"describes": [
|
|
219
219
|
{
|
|
220
|
-
"@id": "
|
|
220
|
+
"@id": "https://rubygems.org/gems/rdf-tabular",
|
|
221
221
|
"http://usefulinc.com/ns/doap#implements": "http://www.w3.org/TR/csv2json/"
|
|
222
222
|
}
|
|
223
223
|
]
|
|
@@ -229,8 +229,8 @@ It can also generate JSON output (not complete JSON-LD, but compatible with it),
|
|
|
229
229
|
|
|
230
230
|
## Tutorials
|
|
231
231
|
|
|
232
|
-
* [CSV on the Web](
|
|
233
|
-
* [Implementing CSV on the Web](
|
|
232
|
+
* [CSV on the Web](https://www.greggkellogg.net/2015/08/csv-on-the-web-presentation/)
|
|
233
|
+
* [Implementing CSV on the Web](https://greggkellogg.net/2015/04/implementing-csv-on-the-web/)
|
|
234
234
|
|
|
235
235
|
## Command Line
|
|
236
236
|
When the `linkeddata` gem is installed, RDF.rb includes a `rdf` executable which acts as a wrapper to perform a number of different
|
|
@@ -247,7 +247,9 @@ Example usage:
|
|
|
247
247
|
rdf serialize https://raw.githubusercontent.com/ruby-rdf/rdf-tabular/develop/etc/doap.csv \
|
|
248
248
|
--output-format ttl
|
|
249
249
|
rdf tabular-json --input-format tabular https://raw.githubusercontent.com/ruby-rdf/rdf-tabular/develop/etc/doap.csv
|
|
250
|
-
rdf validate https://raw.githubusercontent.com/ruby-rdf/rdf-tabular/develop/etc/doap.csv
|
|
250
|
+
rdf validate https://raw.githubusercontent.com/ruby-rdf/rdf-tabular/develop/etc/doap.csv --validate
|
|
251
|
+
|
|
252
|
+
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.
|
|
251
253
|
|
|
252
254
|
## RDF Reader
|
|
253
255
|
RDF::Tabular also acts as a normal RDF reader, using the standard RDF.rb Reader interface:
|
|
@@ -255,7 +257,7 @@ RDF::Tabular also acts as a normal RDF reader, using the standard RDF.rb Reader
|
|
|
255
257
|
graph = RDF::Graph.load("etc/doap.csv", minimal: true)
|
|
256
258
|
|
|
257
259
|
## Documentation
|
|
258
|
-
Full documentation available on [RubyDoc](
|
|
260
|
+
Full documentation available on [RubyDoc](https://rubydoc.info/gems/rdf-tabular/file/README.md)
|
|
259
261
|
|
|
260
262
|
### Principal Classes
|
|
261
263
|
* {RDF::Tabular}
|
|
@@ -265,21 +267,21 @@ Full documentation available on [RubyDoc](http://rubydoc.info/gems/rdf-tabular/f
|
|
|
265
267
|
* {RDF::Tabular::Reader}
|
|
266
268
|
|
|
267
269
|
## Dependencies
|
|
268
|
-
* [Ruby](
|
|
269
|
-
* [RDF.rb](
|
|
270
|
-
* [JSON](https://rubygems.org/gems/json) (>=
|
|
270
|
+
* [Ruby](https://ruby-lang.org/) (>= 2.6)
|
|
271
|
+
* [RDF.rb](https://rubygems.org/gems/rdf) (~> 3.2)
|
|
272
|
+
* [JSON](https://rubygems.org/gems/json) (>= 2.6)
|
|
271
273
|
|
|
272
274
|
## Installation
|
|
273
|
-
The recommended installation method is via [RubyGems](
|
|
275
|
+
The recommended installation method is via [RubyGems](https://rubygems.org/).
|
|
274
276
|
To install the latest official release of the `RDF::Tabular` gem, do:
|
|
275
277
|
|
|
276
278
|
% [sudo] gem install rdf-tabular
|
|
277
279
|
|
|
278
280
|
## Mailing List
|
|
279
|
-
* <
|
|
281
|
+
* <https://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
|
280
282
|
|
|
281
283
|
## Author
|
|
282
|
-
* [Gregg Kellogg](
|
|
284
|
+
* [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
|
|
283
285
|
|
|
284
286
|
## Contributing
|
|
285
287
|
* Do your best to adhere to the existing coding conventions and idioms.
|
|
@@ -288,21 +290,25 @@ To install the latest official release of the `RDF::Tabular` gem, do:
|
|
|
288
290
|
[tutorial][YARD-GS] or just look at the existing code for examples.
|
|
289
291
|
* Don't touch the `rdf-tabular.gemspec`, `VERSION` or `AUTHORS` files. If you need to change them, do so on your private branch only.
|
|
290
292
|
* Do feel free to add yourself to the `CREDITS` file and the corresponding list in the the `README`. Alphabetical order applies.
|
|
291
|
-
* Do note that in order for us to merge any non-trivial changes (as a rule
|
|
293
|
+
* Do note that in order for us to merge any non-trivial changes (as a rule
|
|
294
|
+
of thumb, additions larger than about 15 lines of code), we need an
|
|
295
|
+
explicit [public domain dedication][PDD] on record from you,
|
|
296
|
+
which you will be asked to agree to on the first commit to a repo within the organization.
|
|
297
|
+
Note that the agreement applies to all repos in the [Ruby RDF](https://github.com/ruby-rdf/) organization.
|
|
292
298
|
|
|
293
299
|
License
|
|
294
300
|
-------
|
|
295
301
|
|
|
296
302
|
This is free and unencumbered public domain software. For more information,
|
|
297
|
-
see <
|
|
298
|
-
|
|
299
|
-
[Ruby]:
|
|
300
|
-
[RDF]:
|
|
301
|
-
[YARD]:
|
|
302
|
-
[YARD-GS]:
|
|
303
|
-
[PDD]:
|
|
304
|
-
[RDF.rb]:
|
|
305
|
-
[CSV]:
|
|
306
|
-
[W3C CSVW]:
|
|
303
|
+
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
|
304
|
+
|
|
305
|
+
[Ruby]: https://ruby-lang.org/
|
|
306
|
+
[RDF]: https://www.w3.org/RDF/
|
|
307
|
+
[YARD]: https://yardoc.org/
|
|
308
|
+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
|
309
|
+
[PDD]: https://unlicense.org/#unlicensing-contributions
|
|
310
|
+
[RDF.rb]: https://rubygems.org/gems/rdf
|
|
311
|
+
[CSV]: https://en.wikipedia.org/wiki/Comma-separated_values
|
|
312
|
+
[W3C CSVW]: https://www.w3.org/2013/csvw/wiki/Main_Page
|
|
307
313
|
[URI template]: https://tools.ietf.org/html/rfc6570
|
|
308
|
-
[UAX35]:
|
|
314
|
+
[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
|
+
3.2.0
|
data/etc/doap.csv
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
name,type,homepage,license,shortdesc,description,created,programming_language,implements,category,download_page,mailing_list,bug_database,blog,developer,maintainer,documenter,maker,dc_title,dc_description,dc_date,dc_creator,isPartOf
|
|
2
|
-
RDF::Tabular,http://usefulinc.com/ns/doap#Project,http://ruby-rdf.github.com/rdf-tabular,
|
|
2
|
+
RDF::Tabular,http://usefulinc.com/ns/doap#Project,http://ruby-rdf.github.com/rdf-tabular,https://unlicense.org/1.0/,Tabular Data RDF Reader and JSON serializer.,RDF::Tabular processes tabular data with metadata creating RDF or JSON output.,1/5/2015,Ruby,http://www.w3.org/TR/tabular-data-model/,http://dbpedia.org/resource/Resource_Description_Framework,https://rubygems.org/gems/rdf-tabular,http://lists.w3.org/Archives/Public/public-rdf-ruby/,https://github.com/ruby-rdf/rdf-tabular/issues,http://greggkellogg.net/,http://greggkellogg.net/foaf#me,http://greggkellogg.net/foaf#me,http://greggkellogg.net/foaf#me,http://greggkellogg.net/foaf#me,RDF::Tabular,RDF::Tabular processes tabular data with metadata creating RDF or JSON output.,1/5/2015,http://greggkellogg.net/foaf#me,https://rubygems.org/gems/rdf
|
|
3
3
|
,http://www.w3.org/ns/earl#TestSubject,,,,,,,http://www.w3.org/TR/tabular-metadata/,http://dbpedia.org/resource/Ruby_(programming_language),,,,,,,,,,,,,
|
|
4
4
|
,http://www.w3.org/ns/earl#Software,,,,,,,http://www.w3.org/TR/csv2rdf/,,,,,,,,,,,,,,
|
|
5
5
|
,,,,,,,,http://www.w3.org/TR/csv2json/,,,,,,,,,,,,,,
|
data/etc/doap.csv-metadata.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"@context": "http://www.w3.org/ns/csvw",
|
|
3
3
|
"url": "doap.csv",
|
|
4
4
|
"tableSchema": {
|
|
5
|
-
"aboutUrl": "
|
|
5
|
+
"aboutUrl": "https://rubygems.org/gems/rdf-tabular",
|
|
6
6
|
"propertyUrl": "http://usefulinc.com/ns/doap#{_name}",
|
|
7
7
|
"null": "",
|
|
8
8
|
"columns": [
|
data/etc/doap.ttl
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@base <https://rubygems.org/gems/rdf-tabular> .
|
|
1
2
|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
2
3
|
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
3
4
|
@prefix dc: <http://purl.org/dc/terms/> .
|
|
@@ -6,12 +7,12 @@
|
|
|
6
7
|
@prefix doap: <http://usefulinc.com/ns/doap#> .
|
|
7
8
|
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
<> a doap:Project, earl:TestSubject, earl:Software ;
|
|
10
11
|
doap:name "RDF::Tabular" ;
|
|
11
|
-
doap:homepage <
|
|
12
|
-
doap:license <
|
|
13
|
-
doap:shortdesc "Tabular Data RDF Reader and JSON serializer."@en ;
|
|
14
|
-
doap:description "RDF::Tabular processes tabular data with metadata creating RDF or JSON output."@en ;
|
|
12
|
+
doap:homepage <https://ruby-rdf.github.com/rdf-tabular> ;
|
|
13
|
+
doap:license <https://unlicense.org/1.0/> ;
|
|
14
|
+
doap:shortdesc "Tabular Data RDF Reader and JSON serializer for RDF.rb."@en ;
|
|
15
|
+
doap:description "RDF::Tabular processes tabular data with metadata creating RDF or JSON output for the RDF.rb library suite."@en ;
|
|
15
16
|
doap:created "2015-01-05"^^xsd:date ;
|
|
16
17
|
doap:programming-language "Ruby" ;
|
|
17
18
|
doap:implements <http://www.w3.org/TR/tabular-data-model/>,
|
|
@@ -20,16 +21,13 @@
|
|
|
20
21
|
<http://www.w3.org/TR/csv2json/>;
|
|
21
22
|
doap:category <http://dbpedia.org/resource/Resource_Description_Framework>,
|
|
22
23
|
<http://dbpedia.org/resource/Ruby_(programming_language)> ;
|
|
23
|
-
doap:download-page
|
|
24
|
-
doap:mailing-list <
|
|
25
|
-
doap:bug-database <
|
|
26
|
-
doap:blog <
|
|
27
|
-
doap:developer <
|
|
28
|
-
doap:maintainer <
|
|
29
|
-
doap:documenter <
|
|
30
|
-
foaf:maker <
|
|
31
|
-
dc:
|
|
32
|
-
dc:
|
|
33
|
-
dc:date "2015-01-05"^^xsd:date ;
|
|
34
|
-
dc:creator <http://greggkellogg.net/foaf#me> ;
|
|
35
|
-
dc:isPartOf <http://rubygems.org/gems/rdf> .
|
|
24
|
+
doap:download-page <> ;
|
|
25
|
+
doap:mailing-list <https://lists.w3.org/Archives/Public/public-rdf-ruby/> ;
|
|
26
|
+
doap:bug-database <https://github.com/ruby-rdf/rdf-tabular/issues> ;
|
|
27
|
+
doap:blog <https://greggkellogg.net/> ;
|
|
28
|
+
doap:developer <https://greggkellogg.net/foaf#me> ;
|
|
29
|
+
doap:maintainer <https://greggkellogg.net/foaf#me> ;
|
|
30
|
+
doap:documenter <https://greggkellogg.net/foaf#me> ;
|
|
31
|
+
foaf:maker <https://greggkellogg.net/foaf#me> ;
|
|
32
|
+
dc:creator <https://greggkellogg.net/foaf#me> ;
|
|
33
|
+
dc:isPartOf <https://rubygems.org/gems/rdf> .
|