rdf_context 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. data/.yardopts +10 -0
  2. data/{History.txt → History.rdoc} +8 -1
  3. data/Rakefile +9 -2
  4. data/VERSION +1 -1
  5. data/bin/rdf_context +5 -2
  6. data/lib/rdf_context/aggregate_graph.rb +31 -2
  7. data/lib/rdf_context/array_hacks.rb +3 -3
  8. data/lib/rdf_context/bnode.rb +3 -3
  9. data/lib/rdf_context/conjunctive_graph.rb +8 -8
  10. data/lib/rdf_context/duration.rb +17 -4
  11. data/lib/rdf_context/graph.rb +84 -46
  12. data/lib/rdf_context/literal.rb +36 -3
  13. data/lib/rdf_context/n3parser.rb +4 -4
  14. data/lib/rdf_context/namespace.rb +21 -8
  15. data/lib/rdf_context/parser.rb +31 -16
  16. data/lib/rdf_context/quoted_graph.rb +5 -4
  17. data/lib/rdf_context/rdfaparser.rb +176 -91
  18. data/lib/rdf_context/rdfxmlparser.rb +50 -13
  19. data/lib/rdf_context/serializer/abstract_serializer.rb +14 -4
  20. data/lib/rdf_context/serializer/nt_serializer.rb +5 -0
  21. data/lib/rdf_context/serializer/recursive_serializer.rb +4 -0
  22. data/lib/rdf_context/serializer/turtle_serializer.rb +28 -27
  23. data/lib/rdf_context/serializer/xml_serializer.rb +11 -9
  24. data/lib/rdf_context/store/abstract_sql_store.rb +47 -4
  25. data/lib/rdf_context/store/abstract_store.rb +73 -1
  26. data/lib/rdf_context/store/list_store.rb +25 -6
  27. data/lib/rdf_context/store/memory_store.rb +33 -1
  28. data/lib/rdf_context/store/sqlite3_store.rb +7 -4
  29. data/lib/rdf_context/term_utils.rb +6 -0
  30. data/lib/rdf_context/triple.rb +17 -6
  31. data/lib/rdf_context/uriref.rb +19 -3
  32. data/spec/html4-manifest.yml +176 -176
  33. data/spec/html5-manifest.yml +176 -176
  34. data/spec/rdfa_helper.rb +8 -2
  35. data/spec/rdfa_parser_spec.rb +1 -1
  36. data/spec/rdfcore/Manifest.yml +1561 -2626
  37. data/spec/swap_test/n3parser.yml +134 -279
  38. data/spec/swap_test/regression.yml +140 -305
  39. data/spec/turtle/manifest-bad.yml +155 -310
  40. data/spec/turtle/manifest.yml +155 -310
  41. data/spec/xhtml-manifest.yml +139 -587
  42. data/spec/xhtml11-manifest.yml +4405 -0
  43. metadata +21 -7
  44. data/.gitmodules +0 -3
@@ -2,21 +2,16 @@
2
2
  - !ruby/object:RdfHelper::TestCase
3
3
  about: !ruby/object:RdfContext::URIRef
4
4
  namespace:
5
- normalize: true
5
+ normalize: false
6
6
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl
7
7
  uri: !ruby/object:Addressable::URI
8
8
  authority: www.w3.org
9
9
  fragment:
10
- hash: 1592065674
10
+ hash: 1257149165
11
11
  host: www.w3.org
12
- inferred_port:
13
12
  normalized_host:
14
- normalized_password:
15
13
  normalized_path:
16
- normalized_port:
17
14
  normalized_scheme:
18
- normalized_user:
19
- normalized_userinfo:
20
15
  password:
21
16
  path: /2001/sw/DataAccess/df1/tests/test-00.ttl
22
17
  port:
@@ -25,29 +20,24 @@
25
20
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl
26
21
  user:
27
22
  userinfo:
28
- validation_deferred: false
23
+ validation_deferred:
29
24
  description: Blank subject
30
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-00.ttl
25
+ inputDocument: ./spec/turtle/test-00.ttl
31
26
  name: test-00
32
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-00.out
27
+ outputDocument: ./spec/turtle/test-00.out
33
28
  - !ruby/object:RdfHelper::TestCase
34
29
  about: !ruby/object:RdfContext::URIRef
35
30
  namespace:
36
- normalize: true
31
+ normalize: false
37
32
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-01.ttl
38
33
  uri: !ruby/object:Addressable::URI
39
34
  authority: www.w3.org
40
35
  fragment:
41
- hash: 1916611982
36
+ hash: 81973492
42
37
  host: www.w3.org
43
- inferred_port:
44
38
  normalized_host:
45
- normalized_password:
46
39
  normalized_path:
47
- normalized_port:
48
40
  normalized_scheme:
49
- normalized_user:
50
- normalized_userinfo:
51
41
  password:
52
42
  path: /2001/sw/DataAccess/df1/tests/test-01.ttl
53
43
  port:
@@ -56,29 +46,24 @@
56
46
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-01.ttl
57
47
  user:
58
48
  userinfo:
59
- validation_deferred: false
49
+ validation_deferred:
60
50
  description: "@prefix and qnames"
61
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-01.ttl
51
+ inputDocument: ./spec/turtle/test-01.ttl
62
52
  name: test-01
63
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-01.out
53
+ outputDocument: ./spec/turtle/test-01.out
64
54
  - !ruby/object:RdfHelper::TestCase
65
55
  about: !ruby/object:RdfContext::URIRef
66
56
  namespace:
67
- normalize: true
57
+ normalize: false
68
58
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-02.ttl
69
59
  uri: !ruby/object:Addressable::URI
70
60
  authority: www.w3.org
71
61
  fragment:
72
- hash: -929428781
62
+ hash: -1093202181
73
63
  host: www.w3.org
74
- inferred_port:
75
64
  normalized_host:
76
- normalized_password:
77
65
  normalized_path:
78
- normalized_port:
79
66
  normalized_scheme:
80
- normalized_user:
81
- normalized_userinfo:
82
67
  password:
83
68
  path: /2001/sw/DataAccess/df1/tests/test-02.ttl
84
69
  port:
@@ -87,29 +72,24 @@
87
72
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-02.ttl
88
73
  user:
89
74
  userinfo:
90
- validation_deferred: false
75
+ validation_deferred:
91
76
  description: ", operator"
92
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-02.ttl
77
+ inputDocument: ./spec/turtle/test-02.ttl
93
78
  name: test-02
94
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-02.out
79
+ outputDocument: ./spec/turtle/test-02.out
95
80
  - !ruby/object:RdfHelper::TestCase
96
81
  about: !ruby/object:RdfContext::URIRef
97
82
  namespace:
98
- normalize: true
83
+ normalize: false
99
84
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-03.ttl
100
85
  uri: !ruby/object:Addressable::URI
101
86
  authority: www.w3.org
102
87
  fragment:
103
- hash: 1029042333
88
+ hash: -2134160126
104
89
  host: www.w3.org
105
- inferred_port:
106
90
  normalized_host:
107
- normalized_password:
108
91
  normalized_path:
109
- normalized_port:
110
92
  normalized_scheme:
111
- normalized_user:
112
- normalized_userinfo:
113
93
  password:
114
94
  path: /2001/sw/DataAccess/df1/tests/test-03.ttl
115
95
  port:
@@ -118,29 +98,24 @@
118
98
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-03.ttl
119
99
  user:
120
100
  userinfo:
121
- validation_deferred: false
101
+ validation_deferred:
122
102
  description: ; operator
123
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-03.ttl
103
+ inputDocument: ./spec/turtle/test-03.ttl
124
104
  name: test-03
125
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-03.out
105
+ outputDocument: ./spec/turtle/test-03.out
126
106
  - !ruby/object:RdfHelper::TestCase
127
107
  about: !ruby/object:RdfContext::URIRef
128
108
  namespace:
129
- normalize: true
109
+ normalize: false
130
110
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-04.ttl
131
111
  uri: !ruby/object:Addressable::URI
132
112
  authority: www.w3.org
133
113
  fragment:
134
- hash: 2002137971
114
+ hash: 985631497
135
115
  host: www.w3.org
136
- inferred_port:
137
116
  normalized_host:
138
- normalized_password:
139
117
  normalized_path:
140
- normalized_port:
141
118
  normalized_scheme:
142
- normalized_user:
143
- normalized_userinfo:
144
119
  password:
145
120
  path: /2001/sw/DataAccess/df1/tests/test-04.ttl
146
121
  port:
@@ -149,29 +124,24 @@
149
124
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-04.ttl
150
125
  user:
151
126
  userinfo:
152
- validation_deferred: false
127
+ validation_deferred:
153
128
  description: empty [] as subject and object
154
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-04.ttl
129
+ inputDocument: ./spec/turtle/test-04.ttl
155
130
  name: test-04
156
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-04.out
131
+ outputDocument: ./spec/turtle/test-04.out
157
132
  - !ruby/object:RdfHelper::TestCase
158
133
  about: !ruby/object:RdfContext::URIRef
159
134
  namespace:
160
- normalize: true
135
+ normalize: false
161
136
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-05.ttl
162
137
  uri: !ruby/object:Addressable::URI
163
138
  authority: www.w3.org
164
139
  fragment:
165
- hash: -396781847
140
+ hash: -189544176
166
141
  host: www.w3.org
167
- inferred_port:
168
142
  normalized_host:
169
- normalized_password:
170
143
  normalized_path:
171
- normalized_port:
172
144
  normalized_scheme:
173
- normalized_user:
174
- normalized_userinfo:
175
145
  password:
176
146
  path: /2001/sw/DataAccess/df1/tests/test-05.ttl
177
147
  port:
@@ -180,29 +150,24 @@
180
150
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-05.ttl
181
151
  user:
182
152
  userinfo:
183
- validation_deferred: false
153
+ validation_deferred:
184
154
  description: non-empty [] as subject and object
185
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-05.ttl
155
+ inputDocument: ./spec/turtle/test-05.ttl
186
156
  name: test-05
187
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-05.out
157
+ outputDocument: ./spec/turtle/test-05.out
188
158
  - !ruby/object:RdfHelper::TestCase
189
159
  about: !ruby/object:RdfContext::URIRef
190
160
  namespace:
191
- normalize: true
161
+ normalize: false
192
162
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-06.ttl
193
163
  uri: !ruby/object:Addressable::URI
194
164
  authority: www.w3.org
195
165
  fragment:
196
- hash: 93530367
166
+ hash: -1364719849
197
167
  host: www.w3.org
198
- inferred_port:
199
168
  normalized_host:
200
- normalized_password:
201
169
  normalized_path:
202
- normalized_port:
203
170
  normalized_scheme:
204
- normalized_user:
205
- normalized_userinfo:
206
171
  password:
207
172
  path: /2001/sw/DataAccess/df1/tests/test-06.ttl
208
173
  port:
@@ -211,29 +176,24 @@
211
176
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-06.ttl
212
177
  user:
213
178
  userinfo:
214
- validation_deferred: false
179
+ validation_deferred:
215
180
  description: "'a' as predicate"
216
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-06.ttl
181
+ inputDocument: ./spec/turtle/test-06.ttl
217
182
  name: test-06
218
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-06.out
183
+ outputDocument: ./spec/turtle/test-06.out
219
184
  - !ruby/object:RdfHelper::TestCase
220
185
  about: !ruby/object:RdfContext::URIRef
221
186
  namespace:
222
- normalize: true
187
+ normalize: false
223
188
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-07.ttl
224
189
  uri: !ruby/object:Addressable::URI
225
190
  authority: www.w3.org
226
191
  fragment:
227
- hash: 498915276
192
+ hash: 1889289501
228
193
  host: www.w3.org
229
- inferred_port:
230
194
  normalized_host:
231
- normalized_password:
232
195
  normalized_path:
233
- normalized_port:
234
196
  normalized_scheme:
235
- normalized_user:
236
- normalized_userinfo:
237
197
  password:
238
198
  path: /2001/sw/DataAccess/df1/tests/test-07.ttl
239
199
  port:
@@ -242,29 +202,24 @@
242
202
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-07.ttl
243
203
  user:
244
204
  userinfo:
245
- validation_deferred: false
205
+ validation_deferred:
246
206
  description: simple collection
247
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-07.ttl
207
+ inputDocument: ./spec/turtle/test-07.ttl
248
208
  name: test-07
249
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-07.out
209
+ outputDocument: ./spec/turtle/test-07.out
250
210
  - !ruby/object:RdfHelper::TestCase
251
211
  about: !ruby/object:RdfContext::URIRef
252
212
  namespace:
253
- normalize: true
213
+ normalize: false
254
214
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-08.ttl
255
215
  uri: !ruby/object:Addressable::URI
256
216
  authority: www.w3.org
257
217
  fragment:
258
- hash: -1115355680
218
+ hash: 714113828
259
219
  host: www.w3.org
260
- inferred_port:
261
220
  normalized_host:
262
- normalized_password:
263
221
  normalized_path:
264
- normalized_port:
265
222
  normalized_scheme:
266
- normalized_user:
267
- normalized_userinfo:
268
223
  password:
269
224
  path: /2001/sw/DataAccess/df1/tests/test-08.ttl
270
225
  port:
@@ -273,29 +228,24 @@
273
228
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-08.ttl
274
229
  user:
275
230
  userinfo:
276
- validation_deferred: false
231
+ validation_deferred:
277
232
  description: empty collection
278
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-08.ttl
233
+ inputDocument: ./spec/turtle/test-08.ttl
279
234
  name: test-08
280
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-08.out
235
+ outputDocument: ./spec/turtle/test-08.out
281
236
  - !ruby/object:RdfHelper::TestCase
282
237
  about: !ruby/object:RdfContext::URIRef
283
238
  namespace:
284
- normalize: true
239
+ normalize: false
285
240
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-09.ttl
286
241
  uri: !ruby/object:Addressable::URI
287
242
  authority: www.w3.org
288
243
  fragment:
289
- hash: -1485931269
244
+ hash: -461061845
290
245
  host: www.w3.org
291
- inferred_port:
292
246
  normalized_host:
293
- normalized_password:
294
247
  normalized_path:
295
- normalized_port:
296
248
  normalized_scheme:
297
- normalized_user:
298
- normalized_userinfo:
299
249
  password:
300
250
  path: /2001/sw/DataAccess/df1/tests/test-09.ttl
301
251
  port:
@@ -304,29 +254,24 @@
304
254
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-09.ttl
305
255
  user:
306
256
  userinfo:
307
- validation_deferred: false
257
+ validation_deferred:
308
258
  description: integer datatyped literal
309
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-09.ttl
259
+ inputDocument: ./spec/turtle/test-09.ttl
310
260
  name: test-09
311
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-09.out
261
+ outputDocument: ./spec/turtle/test-09.out
312
262
  - !ruby/object:RdfHelper::TestCase
313
263
  about: !ruby/object:RdfContext::URIRef
314
264
  namespace:
315
- normalize: true
265
+ normalize: false
316
266
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-10.ttl
317
267
  uri: !ruby/object:Addressable::URI
318
268
  authority: www.w3.org
319
269
  fragment:
320
- hash: 165702611
270
+ hash: 873516708
321
271
  host: www.w3.org
322
- inferred_port:
323
272
  normalized_host:
324
- normalized_password:
325
273
  normalized_path:
326
- normalized_port:
327
274
  normalized_scheme:
328
- normalized_user:
329
- normalized_userinfo:
330
275
  password:
331
276
  path: /2001/sw/DataAccess/df1/tests/test-10.ttl
332
277
  port:
@@ -335,29 +280,24 @@
335
280
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-10.ttl
336
281
  user:
337
282
  userinfo:
338
- validation_deferred: false
283
+ validation_deferred:
339
284
  description: decimal integer canonicalization
340
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-10.ttl
285
+ inputDocument: ./spec/turtle/test-10.ttl
341
286
  name: test-10
342
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-10.out
287
+ outputDocument: ./spec/turtle/test-10.out
343
288
  - !ruby/object:RdfHelper::TestCase
344
289
  about: !ruby/object:RdfContext::URIRef
345
290
  namespace:
346
- normalize: true
291
+ normalize: false
347
292
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-11.ttl
348
293
  uri: !ruby/object:Addressable::URI
349
294
  authority: www.w3.org
350
295
  fragment:
351
- hash: -2040244669
296
+ hash: -301658965
352
297
  host: www.w3.org
353
- inferred_port:
354
298
  normalized_host:
355
- normalized_password:
356
299
  normalized_path:
357
- normalized_port:
358
300
  normalized_scheme:
359
- normalized_user:
360
- normalized_userinfo:
361
301
  password:
362
302
  path: /2001/sw/DataAccess/df1/tests/test-11.ttl
363
303
  port:
@@ -366,29 +306,24 @@
366
306
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-11.ttl
367
307
  user:
368
308
  userinfo:
369
- validation_deferred: false
309
+ validation_deferred:
370
310
  description: "- and _ in names and qnames"
371
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-11.ttl
311
+ inputDocument: ./spec/turtle/test-11.ttl
372
312
  name: test-11
373
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-11.out
313
+ outputDocument: ./spec/turtle/test-11.out
374
314
  - !ruby/object:RdfHelper::TestCase
375
315
  about: !ruby/object:RdfContext::URIRef
376
316
  namespace:
377
- normalize: true
317
+ normalize: false
378
318
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-12.ttl
379
319
  uri: !ruby/object:Addressable::URI
380
320
  authority: www.w3.org
381
321
  fragment:
382
- hash: -1897785824
322
+ hash: -1476834638
383
323
  host: www.w3.org
384
- inferred_port:
385
324
  normalized_host:
386
- normalized_password:
387
325
  normalized_path:
388
- normalized_port:
389
326
  normalized_scheme:
390
- normalized_user:
391
- normalized_userinfo:
392
327
  password:
393
328
  path: /2001/sw/DataAccess/df1/tests/test-12.ttl
394
329
  port:
@@ -397,29 +332,24 @@
397
332
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-12.ttl
398
333
  user:
399
334
  userinfo:
400
- validation_deferred: false
335
+ validation_deferred:
401
336
  description: tests for rdf:_<numbers> and other qnames starting with _
402
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-12.ttl
337
+ inputDocument: ./spec/turtle/test-12.ttl
403
338
  name: test-12
404
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-12.out
339
+ outputDocument: ./spec/turtle/test-12.out
405
340
  - !ruby/object:RdfHelper::TestCase
406
341
  about: !ruby/object:RdfContext::URIRef
407
342
  namespace:
408
- normalize: true
343
+ normalize: false
409
344
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-13.ttl
410
345
  uri: !ruby/object:Addressable::URI
411
346
  authority: www.w3.org
412
347
  fragment:
413
- hash: -2004756989
348
+ hash: 1777174713
414
349
  host: www.w3.org
415
- inferred_port:
416
350
  normalized_host:
417
- normalized_password:
418
351
  normalized_path:
419
- normalized_port:
420
352
  normalized_scheme:
421
- normalized_user:
422
- normalized_userinfo:
423
353
  password:
424
354
  path: /2001/sw/DataAccess/df1/tests/test-13.ttl
425
355
  port:
@@ -428,29 +358,24 @@
428
358
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-13.ttl
429
359
  user:
430
360
  userinfo:
431
- validation_deferred: false
361
+ validation_deferred:
432
362
  description: "bare : allowed"
433
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-13.ttl
363
+ inputDocument: ./spec/turtle/test-13.ttl
434
364
  name: test-13
435
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-13.out
365
+ outputDocument: ./spec/turtle/test-13.out
436
366
  - !ruby/object:RdfHelper::TestCase
437
367
  about: !ruby/object:RdfContext::URIRef
438
368
  namespace:
439
- normalize: true
369
+ normalize: false
440
370
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-17.ttl
441
371
  uri: !ruby/object:Addressable::URI
442
372
  authority: www.w3.org
443
373
  fragment:
444
- hash: 922299031
374
+ hash: 1505657045
445
375
  host: www.w3.org
446
- inferred_port:
447
376
  normalized_host:
448
- normalized_password:
449
377
  normalized_path:
450
- normalized_port:
451
378
  normalized_scheme:
452
- normalized_user:
453
- normalized_userinfo:
454
379
  password:
455
380
  path: /2001/sw/DataAccess/df1/tests/test-17.ttl
456
381
  port:
@@ -459,29 +384,24 @@
459
384
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-17.ttl
460
385
  user:
461
386
  userinfo:
462
- validation_deferred: false
387
+ validation_deferred:
463
388
  description: simple long literal
464
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-17.ttl
389
+ inputDocument: ./spec/turtle/test-17.ttl
465
390
  name: test-17
466
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-17.out
391
+ outputDocument: ./spec/turtle/test-17.out
467
392
  - !ruby/object:RdfHelper::TestCase
468
393
  about: !ruby/object:RdfContext::URIRef
469
394
  namespace:
470
- normalize: true
395
+ normalize: false
471
396
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-18.ttl
472
397
  uri: !ruby/object:Addressable::URI
473
398
  authority: www.w3.org
474
399
  fragment:
475
- hash: -546940123
400
+ hash: 330481371
476
401
  host: www.w3.org
477
- inferred_port:
478
402
  normalized_host:
479
- normalized_password:
480
403
  normalized_path:
481
- normalized_port:
482
404
  normalized_scheme:
483
- normalized_user:
484
- normalized_userinfo:
485
405
  password:
486
406
  path: /2001/sw/DataAccess/df1/tests/test-18.ttl
487
407
  port:
@@ -490,29 +410,24 @@
490
410
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-18.ttl
491
411
  user:
492
412
  userinfo:
493
- validation_deferred: false
413
+ validation_deferred:
494
414
  description: long literals with escapes
495
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-18.ttl
415
+ inputDocument: ./spec/turtle/test-18.ttl
496
416
  name: test-18
497
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-18.out
417
+ outputDocument: ./spec/turtle/test-18.out
498
418
  - !ruby/object:RdfHelper::TestCase
499
419
  about: !ruby/object:RdfContext::URIRef
500
420
  namespace:
501
- normalize: true
421
+ normalize: false
502
422
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-19.ttl
503
423
  uri: !ruby/object:Addressable::URI
504
424
  authority: www.w3.org
505
425
  fragment:
506
- hash: 1766714122
426
+ hash: -844694302
507
427
  host: www.w3.org
508
- inferred_port:
509
428
  normalized_host:
510
- normalized_password:
511
429
  normalized_path:
512
- normalized_port:
513
430
  normalized_scheme:
514
- normalized_user:
515
- normalized_userinfo:
516
431
  password:
517
432
  path: /2001/sw/DataAccess/df1/tests/test-19.ttl
518
433
  port:
@@ -521,29 +436,24 @@
521
436
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-19.ttl
522
437
  user:
523
438
  userinfo:
524
- validation_deferred: false
439
+ validation_deferred:
525
440
  description: floating point number
526
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-19.ttl
441
+ inputDocument: ./spec/turtle/test-19.ttl
527
442
  name: test-19
528
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-19.out
443
+ outputDocument: ./spec/turtle/test-19.out
529
444
  - !ruby/object:RdfHelper::TestCase
530
445
  about: !ruby/object:RdfContext::URIRef
531
446
  namespace:
532
- normalize: true
447
+ normalize: false
533
448
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-20.ttl
534
449
  uri: !ruby/object:Addressable::URI
535
450
  authority: www.w3.org
536
451
  fragment:
537
- hash: -1419034149
452
+ hash: 489884251
538
453
  host: www.w3.org
539
- inferred_port:
540
454
  normalized_host:
541
- normalized_password:
542
455
  normalized_path:
543
- normalized_port:
544
456
  normalized_scheme:
545
- normalized_user:
546
- normalized_userinfo:
547
457
  password:
548
458
  path: /2001/sw/DataAccess/df1/tests/test-20.ttl
549
459
  port:
@@ -552,29 +462,24 @@
552
462
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-20.ttl
553
463
  user:
554
464
  userinfo:
555
- validation_deferred: false
465
+ validation_deferred:
556
466
  description: empty literals, normal and long variant
557
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-20.ttl
467
+ inputDocument: ./spec/turtle/test-20.ttl
558
468
  name: test-20
559
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-20.out
469
+ outputDocument: ./spec/turtle/test-20.out
560
470
  - !ruby/object:RdfHelper::TestCase
561
471
  about: !ruby/object:RdfContext::URIRef
562
472
  namespace:
563
- normalize: true
473
+ normalize: false
564
474
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-21.ttl
565
475
  uri: !ruby/object:Addressable::URI
566
476
  authority: www.w3.org
567
477
  fragment:
568
- hash: -342164609
478
+ hash: -685291422
569
479
  host: www.w3.org
570
- inferred_port:
571
480
  normalized_host:
572
- normalized_password:
573
481
  normalized_path:
574
- normalized_port:
575
482
  normalized_scheme:
576
- normalized_user:
577
- normalized_userinfo:
578
483
  password:
579
484
  path: /2001/sw/DataAccess/df1/tests/test-21.ttl
580
485
  port:
@@ -583,29 +488,24 @@
583
488
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-21.ttl
584
489
  user:
585
490
  userinfo:
586
- validation_deferred: false
491
+ validation_deferred:
587
492
  description: positive integer, decimal and doubles
588
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-21.ttl
493
+ inputDocument: ./spec/turtle/test-21.ttl
589
494
  name: test-21
590
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-21.out
495
+ outputDocument: ./spec/turtle/test-21.out
591
496
  - !ruby/object:RdfHelper::TestCase
592
497
  about: !ruby/object:RdfContext::URIRef
593
498
  namespace:
594
- normalize: true
499
+ normalize: false
595
500
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-22.ttl
596
501
  uri: !ruby/object:Addressable::URI
597
502
  authority: www.w3.org
598
503
  fragment:
599
- hash: 106306278
504
+ hash: -1860467095
600
505
  host: www.w3.org
601
- inferred_port:
602
506
  normalized_host:
603
- normalized_password:
604
507
  normalized_path:
605
- normalized_port:
606
508
  normalized_scheme:
607
- normalized_user:
608
- normalized_userinfo:
609
509
  password:
610
510
  path: /2001/sw/DataAccess/df1/tests/test-22.ttl
611
511
  port:
@@ -614,29 +514,24 @@
614
514
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-22.ttl
615
515
  user:
616
516
  userinfo:
617
- validation_deferred: false
517
+ validation_deferred:
618
518
  description: negative integer, decimal and doubles
619
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-22.ttl
519
+ inputDocument: ./spec/turtle/test-22.ttl
620
520
  name: test-22
621
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-22.out
521
+ outputDocument: ./spec/turtle/test-22.out
622
522
  - !ruby/object:RdfHelper::TestCase
623
523
  about: !ruby/object:RdfContext::URIRef
624
524
  namespace:
625
- normalize: true
525
+ normalize: false
626
526
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-23.ttl
627
527
  uri: !ruby/object:Addressable::URI
628
528
  authority: www.w3.org
629
529
  fragment:
630
- hash: 2108585334
530
+ hash: 1393542256
631
531
  host: www.w3.org
632
- inferred_port:
633
532
  normalized_host:
634
- normalized_password:
635
533
  normalized_path:
636
- normalized_port:
637
534
  normalized_scheme:
638
- normalized_user:
639
- normalized_userinfo:
640
535
  password:
641
536
  path: /2001/sw/DataAccess/df1/tests/test-23.ttl
642
537
  port:
@@ -645,29 +540,24 @@
645
540
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-23.ttl
646
541
  user:
647
542
  userinfo:
648
- validation_deferred: false
543
+ validation_deferred:
649
544
  description: long literal ending in double quote
650
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-23.ttl
545
+ inputDocument: ./spec/turtle/test-23.ttl
651
546
  name: test-23
652
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-23.out
547
+ outputDocument: ./spec/turtle/test-23.out
653
548
  - !ruby/object:RdfHelper::TestCase
654
549
  about: !ruby/object:RdfContext::URIRef
655
550
  namespace:
656
- normalize: true
551
+ normalize: false
657
552
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-24.ttl
658
553
  uri: !ruby/object:Addressable::URI
659
554
  authority: www.w3.org
660
555
  fragment:
661
- hash: 1796699874
556
+ hash: 218366583
662
557
  host: www.w3.org
663
- inferred_port:
664
558
  normalized_host:
665
- normalized_password:
666
559
  normalized_path:
667
- normalized_port:
668
560
  normalized_scheme:
669
- normalized_user:
670
- normalized_userinfo:
671
561
  password:
672
562
  path: /2001/sw/DataAccess/df1/tests/test-24.ttl
673
563
  port:
@@ -676,29 +566,24 @@
676
566
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-24.ttl
677
567
  user:
678
568
  userinfo:
679
- validation_deferred: false
569
+ validation_deferred:
680
570
  description: boolean literals
681
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-24.ttl
571
+ inputDocument: ./spec/turtle/test-24.ttl
682
572
  name: test-24
683
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-24.out
573
+ outputDocument: ./spec/turtle/test-24.out
684
574
  - !ruby/object:RdfHelper::TestCase
685
575
  about: !ruby/object:RdfContext::URIRef
686
576
  namespace:
687
- normalize: true
577
+ normalize: false
688
578
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-25.ttl
689
579
  uri: !ruby/object:Addressable::URI
690
580
  authority: www.w3.org
691
581
  fragment:
692
- hash: -678357987
582
+ hash: -956809090
693
583
  host: www.w3.org
694
- inferred_port:
695
584
  normalized_host:
696
- normalized_password:
697
585
  normalized_path:
698
- normalized_port:
699
586
  normalized_scheme:
700
- normalized_user:
701
- normalized_userinfo:
702
587
  password:
703
588
  path: /2001/sw/DataAccess/df1/tests/test-25.ttl
704
589
  port:
@@ -707,29 +592,24 @@
707
592
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-25.ttl
708
593
  user:
709
594
  userinfo:
710
- validation_deferred: false
595
+ validation_deferred:
711
596
  description: comments
712
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-25.ttl
597
+ inputDocument: ./spec/turtle/test-25.ttl
713
598
  name: test-25
714
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-25.out
599
+ outputDocument: ./spec/turtle/test-25.out
715
600
  - !ruby/object:RdfHelper::TestCase
716
601
  about: !ruby/object:RdfContext::URIRef
717
602
  namespace:
718
- normalize: true
603
+ normalize: false
719
604
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-26.ttl
720
605
  uri: !ruby/object:Addressable::URI
721
606
  authority: www.w3.org
722
607
  fragment:
723
- hash: -532845045
608
+ hash: -2131984763
724
609
  host: www.w3.org
725
- inferred_port:
726
610
  normalized_host:
727
- normalized_password:
728
611
  normalized_path:
729
- normalized_port:
730
612
  normalized_scheme:
731
- normalized_user:
732
- normalized_userinfo:
733
613
  password:
734
614
  path: /2001/sw/DataAccess/df1/tests/test-26.ttl
735
615
  port:
@@ -738,29 +618,24 @@
738
618
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-26.ttl
739
619
  user:
740
620
  userinfo:
741
- validation_deferred: false
621
+ validation_deferred:
742
622
  description: no final mewline
743
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-26.ttl
623
+ inputDocument: ./spec/turtle/test-26.ttl
744
624
  name: test-26
745
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-26.out
625
+ outputDocument: ./spec/turtle/test-26.out
746
626
  - !ruby/object:RdfHelper::TestCase
747
627
  about: !ruby/object:RdfContext::URIRef
748
628
  namespace:
749
- normalize: true
629
+ normalize: false
750
630
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-27.ttl
751
631
  uri: !ruby/object:Addressable::URI
752
632
  authority: www.w3.org
753
633
  fragment:
754
- hash: 17113173
634
+ hash: 1122024588
755
635
  host: www.w3.org
756
- inferred_port:
757
636
  normalized_host:
758
- normalized_password:
759
637
  normalized_path:
760
- normalized_port:
761
638
  normalized_scheme:
762
- normalized_user:
763
- normalized_userinfo:
764
639
  password:
765
640
  path: /2001/sw/DataAccess/df1/tests/test-27.ttl
766
641
  port:
@@ -769,29 +644,24 @@
769
644
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-27.ttl
770
645
  user:
771
646
  userinfo:
772
- validation_deferred: false
647
+ validation_deferred:
773
648
  description: duplicate prefix
774
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-27.ttl
649
+ inputDocument: ./spec/turtle/test-27.ttl
775
650
  name: test-27
776
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-27.out
651
+ outputDocument: ./spec/turtle/test-27.out
777
652
  - !ruby/object:RdfHelper::TestCase
778
653
  about: !ruby/object:RdfContext::URIRef
779
654
  namespace:
780
- normalize: true
655
+ normalize: false
781
656
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-28.ttl
782
657
  uri: !ruby/object:Addressable::URI
783
658
  authority: www.w3.org
784
659
  fragment:
785
- hash: 504919177
660
+ hash: -53151085
786
661
  host: www.w3.org
787
- inferred_port:
788
662
  normalized_host:
789
- normalized_password:
790
663
  normalized_path:
791
- normalized_port:
792
664
  normalized_scheme:
793
- normalized_user:
794
- normalized_userinfo:
795
665
  password:
796
666
  path: /2001/sw/DataAccess/df1/tests/test-28.ttl
797
667
  port:
@@ -800,29 +670,24 @@
800
670
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-28.ttl
801
671
  user:
802
672
  userinfo:
803
- validation_deferred: false
673
+ validation_deferred:
804
674
  description: decimal data types (serializing test)
805
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-28.ttl
675
+ inputDocument: ./spec/turtle/test-28.ttl
806
676
  name: test-28
807
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-28.out
677
+ outputDocument: ./spec/turtle/test-28.out
808
678
  - !ruby/object:RdfHelper::TestCase
809
679
  about: !ruby/object:RdfContext::URIRef
810
680
  namespace:
811
- normalize: true
681
+ normalize: false
812
682
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-29.ttl
813
683
  uri: !ruby/object:Addressable::URI
814
684
  authority: www.w3.org
815
685
  fragment:
816
- hash: 724043183
686
+ hash: -1228326759
817
687
  host: www.w3.org
818
- inferred_port:
819
688
  normalized_host:
820
- normalized_password:
821
689
  normalized_path:
822
- normalized_port:
823
690
  normalized_scheme:
824
- normalized_user:
825
- normalized_userinfo:
826
691
  password:
827
692
  path: /2001/sw/DataAccess/df1/tests/test-29.ttl
828
693
  port:
@@ -831,29 +696,24 @@
831
696
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-29.ttl
832
697
  user:
833
698
  userinfo:
834
- validation_deferred: false
699
+ validation_deferred:
835
700
  description: Escaping U+0001 to U+007F in a URI
836
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-29.ttl
701
+ inputDocument: ./spec/turtle/test-29.ttl
837
702
  name: test-29
838
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-29.out
703
+ outputDocument: ./spec/turtle/test-29.out
839
704
  - !ruby/object:RdfHelper::TestCase
840
705
  about: !ruby/object:RdfContext::URIRef
841
706
  namespace:
842
- normalize: true
707
+ normalize: false
843
708
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-30.ttl
844
709
  uri: !ruby/object:Addressable::URI
845
710
  authority: www.w3.org
846
711
  fragment:
847
- hash: -600783871
712
+ hash: 106251794
848
713
  host: www.w3.org
849
- inferred_port:
850
714
  normalized_host:
851
- normalized_password:
852
715
  normalized_path:
853
- normalized_port:
854
716
  normalized_scheme:
855
- normalized_user:
856
- normalized_userinfo:
857
717
  password:
858
718
  path: /2001/sw/DataAccess/df1/tests/test-30.ttl
859
719
  port:
@@ -862,29 +722,24 @@
862
722
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-30.ttl
863
723
  user:
864
724
  userinfo:
865
- validation_deferred: false
725
+ validation_deferred:
866
726
  description: "@base"
867
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-30.ttl
727
+ inputDocument: ./spec/turtle/test-30.ttl
868
728
  name: test-30
869
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/test-30.out
729
+ outputDocument: ./spec/turtle/test-30.out
870
730
  - !ruby/object:RdfHelper::TestCase
871
731
  about: !ruby/object:RdfContext::URIRef
872
732
  namespace:
873
- normalize: true
733
+ normalize: false
874
734
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdf-schema.ttl
875
735
  uri: !ruby/object:Addressable::URI
876
736
  authority: www.w3.org
877
737
  fragment:
878
- hash: 1372235181
738
+ hash: 293163627
879
739
  host: www.w3.org
880
- inferred_port:
881
740
  normalized_host:
882
- normalized_password:
883
741
  normalized_path:
884
- normalized_port:
885
742
  normalized_scheme:
886
- normalized_user:
887
- normalized_userinfo:
888
743
  password:
889
744
  path: /2001/sw/DataAccess/df1/tests/rdf-schema.ttl
890
745
  port:
@@ -893,29 +748,24 @@
893
748
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdf-schema.ttl
894
749
  user:
895
750
  userinfo:
896
- validation_deferred: false
751
+ validation_deferred:
897
752
  description: RDF Namespace document converted into Turtle
898
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/rdf-schema.ttl
753
+ inputDocument: ./spec/turtle/rdf-schema.ttl
899
754
  name: rdf-schema
900
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/rdf-schema.out
755
+ outputDocument: ./spec/turtle/rdf-schema.out
901
756
  - !ruby/object:RdfHelper::TestCase
902
757
  about: !ruby/object:RdfContext::URIRef
903
758
  namespace:
904
- normalize: true
759
+ normalize: false
905
760
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfs-namespace.ttl
906
761
  uri: !ruby/object:Addressable::URI
907
762
  authority: www.w3.org
908
763
  fragment:
909
- hash: 1351972057
764
+ hash: 2021930350
910
765
  host: www.w3.org
911
- inferred_port:
912
766
  normalized_host:
913
- normalized_password:
914
767
  normalized_path:
915
- normalized_port:
916
768
  normalized_scheme:
917
- normalized_user:
918
- normalized_userinfo:
919
769
  password:
920
770
  path: /2001/sw/DataAccess/df1/tests/rdfs-namespace.ttl
921
771
  port:
@@ -924,29 +774,24 @@
924
774
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfs-namespace.ttl
925
775
  user:
926
776
  userinfo:
927
- validation_deferred: false
777
+ validation_deferred:
928
778
  description: RDFS Namespace document converted into Turtle
929
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/rdfs-namespace.ttl
779
+ inputDocument: ./spec/turtle/rdfs-namespace.ttl
930
780
  name: rdfs-namespace
931
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/rdfs-namespace.out
781
+ outputDocument: ./spec/turtle/rdfs-namespace.out
932
782
  - !ruby/object:RdfHelper::TestCase
933
783
  about: !ruby/object:RdfContext::URIRef
934
784
  namespace:
935
- normalize: true
785
+ normalize: false
936
786
  to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl
937
787
  uri: !ruby/object:Addressable::URI
938
788
  authority: www.w3.org
939
789
  fragment:
940
- hash: -1445136833
790
+ hash: -1337970517
941
791
  host: www.w3.org
942
- inferred_port:
943
792
  normalized_host:
944
- normalized_password:
945
793
  normalized_path:
946
- normalized_port:
947
794
  normalized_scheme:
948
- normalized_user:
949
- normalized_userinfo:
950
795
  password:
951
796
  path: /2001/sw/DataAccess/df1/tests/rdfq-results.ttl
952
797
  port:
@@ -955,8 +800,8 @@
955
800
  uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl
956
801
  user:
957
802
  userinfo:
958
- validation_deferred: false
803
+ validation_deferred:
959
804
  description: Example query result from http://www.w3.org/2003/03/rdfqr-tests/recording-query-results.html
960
- inputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/rdfq-results.ttl
805
+ inputDocument: ./spec/turtle/rdfq-results.ttl
961
806
  name: rdfq-results
962
- outputDocument: /Users/gregg/Projects/rdf_context/spec/turtle/rdfq-results.out
807
+ outputDocument: ./spec/turtle/rdfq-results.out