rdf_context 0.5.6 → 0.5.7

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.
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/2000/10/swap/test/syntax/no-last-nl.n3
7
7
  uri: !ruby/object:Addressable::URI
8
8
  authority: www.w3.org
9
9
  fragment:
10
- hash: 1098672828
10
+ hash: 961633248
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: /2000/10/swap/test/syntax/no-last-nl.n3
22
17
  port:
@@ -25,30 +20,25 @@
25
20
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/no-last-nl.n3
26
21
  user:
27
22
  userinfo:
28
- validation_deferred: false
23
+ validation_deferred:
29
24
  description: An N3 file with no final newline character
30
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/no-last-nl.n3
25
+ inputDocument: ./spec/swap_test/syntax/no-last-nl.n3
31
26
  name: n3_10001
32
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10001.nt
27
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10001.nt
33
28
  rdf_type: PositiveParserTest
34
29
  - !ruby/object:RdfHelper::TestCase
35
30
  about: !ruby/object:RdfContext::URIRef
36
31
  namespace:
37
- normalize: true
32
+ normalize: false
38
33
  to_s: http://www.w3.org/2000/10/swap/test/syntax/dot-dash.n3
39
34
  uri: !ruby/object:Addressable::URI
40
35
  authority: www.w3.org
41
36
  fragment:
42
- hash: -404499172
37
+ hash: -200024522
43
38
  host: www.w3.org
44
- inferred_port:
45
39
  normalized_host:
46
- normalized_password:
47
40
  normalized_path:
48
- normalized_port:
49
41
  normalized_scheme:
50
- normalized_user:
51
- normalized_userinfo:
52
42
  password:
53
43
  path: /2000/10/swap/test/syntax/dot-dash.n3
54
44
  port:
@@ -57,30 +47,25 @@
57
47
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/dot-dash.n3
58
48
  user:
59
49
  userinfo:
60
- validation_deferred: false
50
+ validation_deferred:
61
51
  description: combinations of - and _ in identifiers
62
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/dot-dash.n3
52
+ inputDocument: ./spec/swap_test/syntax/dot-dash.n3
63
53
  name: n3_10002
64
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10002.nt
54
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10002.nt
65
55
  rdf_type: PositiveParserTest
66
56
  - !ruby/object:RdfHelper::TestCase
67
57
  about: !ruby/object:RdfContext::URIRef
68
58
  namespace:
69
- normalize: true
59
+ normalize: false
70
60
  to_s: http://www.w3.org/2000/10/swap/test/syntax/keywords1.n3
71
61
  uri: !ruby/object:Addressable::URI
72
62
  authority: www.w3.org
73
63
  fragment:
74
- hash: -302829692
64
+ hash: 1792820531
75
65
  host: www.w3.org
76
- inferred_port:
77
66
  normalized_host:
78
- normalized_password:
79
67
  normalized_path:
80
- normalized_port:
81
68
  normalized_scheme:
82
- normalized_user:
83
- normalized_userinfo:
84
69
  password:
85
70
  path: /2000/10/swap/test/syntax/keywords1.n3
86
71
  port:
@@ -89,30 +74,25 @@
89
74
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/keywords1.n3
90
75
  user:
91
76
  userinfo:
92
- validation_deferred: false
77
+ validation_deferred:
93
78
  description: "@keywords in n3"
94
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/keywords1.n3
79
+ inputDocument: ./spec/swap_test/syntax/keywords1.n3
95
80
  name: n3_10003
96
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10003.nt
81
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10003.nt
97
82
  rdf_type: PositiveParserTest
98
83
  - !ruby/object:RdfHelper::TestCase
99
84
  about: !ruby/object:RdfContext::URIRef
100
85
  namespace:
101
- normalize: true
86
+ normalize: false
102
87
  to_s: http://www.w3.org/2000/10/swap/test/syntax/keywords2.n3
103
88
  uri: !ruby/object:Addressable::URI
104
89
  authority: www.w3.org
105
90
  fragment:
106
- hash: 1124884174
91
+ hash: 987839982
107
92
  host: www.w3.org
108
- inferred_port:
109
93
  normalized_host:
110
- normalized_password:
111
94
  normalized_path:
112
- normalized_port:
113
95
  normalized_scheme:
114
- normalized_user:
115
- normalized_userinfo:
116
96
  password:
117
97
  path: /2000/10/swap/test/syntax/keywords2.n3
118
98
  port:
@@ -121,30 +101,25 @@
121
101
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/keywords2.n3
122
102
  user:
123
103
  userinfo:
124
- validation_deferred: false
104
+ validation_deferred:
125
105
  description: using no keywords in n3
126
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/keywords2.n3
106
+ inputDocument: ./spec/swap_test/syntax/keywords2.n3
127
107
  name: n3_10004
128
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10004.nt
108
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10004.nt
129
109
  rdf_type: PositiveParserTest
130
110
  - !ruby/object:RdfHelper::TestCase
131
111
  about: !ruby/object:RdfContext::URIRef
132
112
  namespace:
133
- normalize: true
113
+ normalize: false
134
114
  to_s: http://www.w3.org/2000/10/swap/test/syntax/djb1a.n3
135
115
  uri: !ruby/object:Addressable::URI
136
116
  authority: www.w3.org
137
117
  fragment:
138
- hash: 847252753
118
+ hash: -1245829990
139
119
  host: www.w3.org
140
- inferred_port:
141
120
  normalized_host:
142
- normalized_password:
143
121
  normalized_path:
144
- normalized_port:
145
122
  normalized_scheme:
146
- normalized_user:
147
- normalized_userinfo:
148
123
  password:
149
124
  path: /2000/10/swap/test/syntax/djb1a.n3
150
125
  port:
@@ -153,30 +128,25 @@
153
128
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/djb1a.n3
154
129
  user:
155
130
  userinfo:
156
- validation_deferred: false
131
+ validation_deferred:
157
132
  description: djb noticed a:b was parsed as rdf:type token
158
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/djb1a.n3
133
+ inputDocument: ./spec/swap_test/syntax/djb1a.n3
159
134
  name: n3_10005
160
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10005.nt
135
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10005.nt
161
136
  rdf_type: PositiveParserTest
162
137
  - !ruby/object:RdfHelper::TestCase
163
138
  about: !ruby/object:RdfContext::URIRef
164
139
  namespace:
165
- normalize: true
140
+ normalize: false
166
141
  to_s: http://www.w3.org/2000/10/swap/test/contexts.n3
167
142
  uri: !ruby/object:Addressable::URI
168
143
  authority: www.w3.org
169
144
  fragment:
170
- hash: -451231723
145
+ hash: -1338678489
171
146
  host: www.w3.org
172
- inferred_port:
173
147
  normalized_host:
174
- normalized_password:
175
148
  normalized_path:
176
- normalized_port:
177
149
  normalized_scheme:
178
- normalized_user:
179
- normalized_userinfo:
180
150
  password:
181
151
  path: /2000/10/swap/test/contexts.n3
182
152
  port:
@@ -185,30 +155,25 @@
185
155
  uri_string: http://www.w3.org/2000/10/swap/test/contexts.n3
186
156
  user:
187
157
  userinfo:
188
- validation_deferred: false
158
+ validation_deferred:
189
159
  description: Parse and generate simple contexts
190
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/contexts.n3
160
+ inputDocument: ./spec/swap_test/contexts.n3
191
161
  name: n3_10007
192
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10007.nt
162
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10007.nt
193
163
  rdf_type: PositiveParserTest
194
164
  - !ruby/object:RdfHelper::TestCase
195
165
  about: !ruby/object:RdfContext::URIRef
196
166
  namespace:
197
- normalize: true
167
+ normalize: false
198
168
  to_s: http://www.w3.org/2000/10/swap/test/anon-prop.n3
199
169
  uri: !ruby/object:Addressable::URI
200
170
  authority: www.w3.org
201
171
  fragment:
202
- hash: 646131401
172
+ hash: -805068399
203
173
  host: www.w3.org
204
- inferred_port:
205
174
  normalized_host:
206
- normalized_password:
207
175
  normalized_path:
208
- normalized_port:
209
176
  normalized_scheme:
210
- normalized_user:
211
- normalized_userinfo:
212
177
  password:
213
178
  path: /2000/10/swap/test/anon-prop.n3
214
179
  port:
@@ -217,30 +182,25 @@
217
182
  uri_string: http://www.w3.org/2000/10/swap/test/anon-prop.n3
218
183
  user:
219
184
  userinfo:
220
- validation_deferred: false
185
+ validation_deferred:
221
186
  description: Parse and regen anonymous property
222
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/anon-prop.n3
187
+ inputDocument: ./spec/swap_test/anon-prop.n3
223
188
  name: n3_10008
224
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10008.nt
189
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10008.nt
225
190
  rdf_type: PositiveParserTest
226
191
  - !ruby/object:RdfHelper::TestCase
227
192
  about: !ruby/object:RdfContext::URIRef
228
193
  namespace:
229
- normalize: true
194
+ normalize: false
230
195
  to_s: http://www.w3.org/2000/10/swap/test/strquot.n3
231
196
  uri: !ruby/object:Addressable::URI
232
197
  authority: www.w3.org
233
198
  fragment:
234
- hash: -569592598
199
+ hash: -1711052224
235
200
  host: www.w3.org
236
- inferred_port:
237
201
  normalized_host:
238
- normalized_password:
239
202
  normalized_path:
240
- normalized_port:
241
203
  normalized_scheme:
242
- normalized_user:
243
- normalized_userinfo:
244
204
  password:
245
205
  path: /2000/10/swap/test/strquot.n3
246
206
  port:
@@ -249,30 +209,25 @@
249
209
  uri_string: http://www.w3.org/2000/10/swap/test/strquot.n3
250
210
  user:
251
211
  userinfo:
252
- validation_deferred: false
212
+ validation_deferred:
253
213
  description: N3 string quoting with escaping
254
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/strquot.n3
214
+ inputDocument: ./spec/swap_test/strquot.n3
255
215
  name: n3_10009
256
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10009.nt
216
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10009.nt
257
217
  rdf_type: PositiveParserTest
258
218
  - !ruby/object:RdfHelper::TestCase
259
219
  about: !ruby/object:RdfContext::URIRef
260
220
  namespace:
261
- normalize: true
221
+ normalize: false
262
222
  to_s: http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3
263
223
  uri: !ruby/object:Addressable::URI
264
224
  authority: www.w3.org
265
225
  fragment:
266
- hash: -1159675347
226
+ hash: -1226340415
267
227
  host: www.w3.org
268
- inferred_port:
269
228
  normalized_host:
270
- normalized_password:
271
229
  normalized_path:
272
- normalized_port:
273
230
  normalized_scheme:
274
- normalized_user:
275
- normalized_userinfo:
276
231
  password:
277
232
  path: /2000/10/swap/test/i18n/hiragana.n3
278
233
  port:
@@ -281,29 +236,24 @@
281
236
  uri_string: http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3
282
237
  user:
283
238
  userinfo:
284
- validation_deferred: false
239
+ validation_deferred:
285
240
  description: N3 string, qname and IRI with utf-8 non-ascii characters
286
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/i18n/hiragana.n3
241
+ inputDocument: ./spec/swap_test/i18n/hiragana.n3
287
242
  name: n3_10010
288
243
  rdf_type: PositiveParserTest
289
244
  - !ruby/object:RdfHelper::TestCase
290
245
  about: !ruby/object:RdfContext::URIRef
291
246
  namespace:
292
- normalize: true
247
+ normalize: false
293
248
  to_s: http://www.w3.org/2000/10/swap/test/syntax/path1.n3
294
249
  uri: !ruby/object:Addressable::URI
295
250
  authority: www.w3.org
296
251
  fragment:
297
- hash: -1846557590
252
+ hash: 779388392
298
253
  host: www.w3.org
299
- inferred_port:
300
254
  normalized_host:
301
- normalized_password:
302
255
  normalized_path:
303
- normalized_port:
304
256
  normalized_scheme:
305
- normalized_user:
306
- normalized_userinfo:
307
257
  password:
308
258
  path: /2000/10/swap/test/syntax/path1.n3
309
259
  port:
@@ -312,30 +262,25 @@
312
262
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/path1.n3
313
263
  user:
314
264
  userinfo:
315
- validation_deferred: false
265
+ validation_deferred:
316
266
  description: Path syntax, simple
317
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/path1.n3
267
+ inputDocument: ./spec/swap_test/syntax/path1.n3
318
268
  name: n3_10011
319
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10011.nt
269
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10011.nt
320
270
  rdf_type: PositiveParserTest
321
271
  - !ruby/object:RdfHelper::TestCase
322
272
  about: !ruby/object:RdfContext::URIRef
323
273
  namespace:
324
- normalize: true
274
+ normalize: false
325
275
  to_s: http://www.w3.org/2000/10/swap/test/syntax/path2.n3
326
276
  uri: !ruby/object:Addressable::URI
327
277
  authority: www.w3.org
328
278
  fragment:
329
- hash: -1729023871
279
+ hash: -25592157
330
280
  host: www.w3.org
331
- inferred_port:
332
281
  normalized_host:
333
- normalized_password:
334
282
  normalized_path:
335
- normalized_port:
336
283
  normalized_scheme:
337
- normalized_user:
338
- normalized_userinfo:
339
284
  password:
340
285
  path: /2000/10/swap/test/syntax/path2.n3
341
286
  port:
@@ -344,30 +289,25 @@
344
289
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/path2.n3
345
290
  user:
346
291
  userinfo:
347
- validation_deferred: false
292
+ validation_deferred:
348
293
  description: Path syntax, more
349
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/path2.n3
294
+ inputDocument: ./spec/swap_test/syntax/path2.n3
350
295
  name: n3_10012
351
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10012.nt
296
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10012.nt
352
297
  rdf_type: PositiveParserTest
353
298
  - !ruby/object:RdfHelper::TestCase
354
299
  about: !ruby/object:RdfContext::URIRef
355
300
  namespace:
356
- normalize: true
301
+ normalize: false
357
302
  to_s: http://www.w3.org/2000/10/swap/test/syntax/numbers.n3
358
303
  uri: !ruby/object:Addressable::URI
359
304
  authority: www.w3.org
360
305
  fragment:
361
- hash: 1079802367
306
+ hash: 1886207498
362
307
  host: www.w3.org
363
- inferred_port:
364
308
  normalized_host:
365
- normalized_password:
366
309
  normalized_path:
367
- normalized_port:
368
310
  normalized_scheme:
369
- normalized_user:
370
- normalized_userinfo:
371
311
  password:
372
312
  path: /2000/10/swap/test/syntax/numbers.n3
373
313
  port:
@@ -376,30 +316,25 @@
376
316
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/numbers.n3
377
317
  user:
378
318
  userinfo:
379
- validation_deferred: false
319
+ validation_deferred:
380
320
  description: Number syntax
381
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/numbers.n3
321
+ inputDocument: ./spec/swap_test/syntax/numbers.n3
382
322
  name: n3_10013
383
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10013.nt
323
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10013.nt
384
324
  rdf_type: PositiveParserTest
385
325
  - !ruby/object:RdfHelper::TestCase
386
326
  about: !ruby/object:RdfContext::URIRef
387
327
  namespace:
388
- normalize: true
328
+ normalize: false
389
329
  to_s: http://www.w3.org/2000/10/swap/test/syntax/qvars1.n3
390
330
  uri: !ruby/object:Addressable::URI
391
331
  authority: www.w3.org
392
332
  fragment:
393
- hash: -1061410506
333
+ hash: 543409409
394
334
  host: www.w3.org
395
- inferred_port:
396
335
  normalized_host:
397
- normalized_password:
398
336
  normalized_path:
399
- normalized_port:
400
337
  normalized_scheme:
401
- normalized_user:
402
- normalized_userinfo:
403
338
  password:
404
339
  path: /2000/10/swap/test/syntax/qvars1.n3
405
340
  port:
@@ -408,30 +343,25 @@
408
343
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/qvars1.n3
409
344
  user:
410
345
  userinfo:
411
- validation_deferred: false
346
+ validation_deferred:
412
347
  description: Quick variable syntax, simple
413
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/qvars1.n3
348
+ inputDocument: ./spec/swap_test/syntax/qvars1.n3
414
349
  name: n3_10014
415
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10014.nt
350
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10014.nt
416
351
  rdf_type: PositiveParserTest
417
352
  - !ruby/object:RdfHelper::TestCase
418
353
  about: !ruby/object:RdfContext::URIRef
419
354
  namespace:
420
- normalize: true
355
+ normalize: false
421
356
  to_s: http://www.w3.org/2000/10/swap/test/syntax/qvars2.n3
422
357
  uri: !ruby/object:Addressable::URI
423
358
  authority: www.w3.org
424
359
  fragment:
425
- hash: 1455131155
360
+ hash: -261571140
426
361
  host: www.w3.org
427
- inferred_port:
428
362
  normalized_host:
429
- normalized_password:
430
363
  normalized_path:
431
- normalized_port:
432
364
  normalized_scheme:
433
- normalized_user:
434
- normalized_userinfo:
435
365
  password:
436
366
  path: /2000/10/swap/test/syntax/qvars2.n3
437
367
  port:
@@ -440,30 +370,25 @@
440
370
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/qvars2.n3
441
371
  user:
442
372
  userinfo:
443
- validation_deferred: false
373
+ validation_deferred:
444
374
  description: Quick variable syntax, more
445
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/qvars2.n3
375
+ inputDocument: ./spec/swap_test/syntax/qvars2.n3
446
376
  name: n3_10015
447
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10015.nt
377
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10015.nt
448
378
  rdf_type: PositiveParserTest
449
379
  - !ruby/object:RdfHelper::TestCase
450
380
  about: !ruby/object:RdfContext::URIRef
451
381
  namespace:
452
- normalize: true
382
+ normalize: false
453
383
  to_s: http://www.w3.org/2000/10/swap/test/syntax/lstring.n3
454
384
  uri: !ruby/object:Addressable::URI
455
385
  authority: www.w3.org
456
386
  fragment:
457
- hash: 1305658
387
+ hash: 2133162527
458
388
  host: www.w3.org
459
- inferred_port:
460
389
  normalized_host:
461
- normalized_password:
462
390
  normalized_path:
463
- normalized_port:
464
391
  normalized_scheme:
465
- normalized_user:
466
- normalized_userinfo:
467
392
  password:
468
393
  path: /2000/10/swap/test/syntax/lstring.n3
469
394
  port:
@@ -472,30 +397,25 @@
472
397
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/lstring.n3
473
398
  user:
474
399
  userinfo:
475
- validation_deferred: false
400
+ validation_deferred:
476
401
  description: N3 string nested triple quoting
477
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/lstring.n3
402
+ inputDocument: ./spec/swap_test/syntax/lstring.n3
478
403
  name: n3_10016
479
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10016.nt
404
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10016.nt
480
405
  rdf_type: PositiveParserTest
481
406
  - !ruby/object:RdfHelper::TestCase
482
407
  about: !ruby/object:RdfContext::URIRef
483
408
  namespace:
484
- normalize: true
409
+ normalize: false
485
410
  to_s: http://www.w3.org/2000/10/swap/test/lists.n3
486
411
  uri: !ruby/object:Addressable::URI
487
412
  authority: www.w3.org
488
413
  fragment:
489
- hash: 1964583980
414
+ hash: 877091703
490
415
  host: www.w3.org
491
- inferred_port:
492
416
  normalized_host:
493
- normalized_password:
494
417
  normalized_path:
495
- normalized_port:
496
418
  normalized_scheme:
497
- normalized_user:
498
- normalized_userinfo:
499
419
  password:
500
420
  path: /2000/10/swap/test/lists.n3
501
421
  port:
@@ -504,30 +424,25 @@
504
424
  uri_string: http://www.w3.org/2000/10/swap/test/lists.n3
505
425
  user:
506
426
  userinfo:
507
- validation_deferred: false
427
+ validation_deferred:
508
428
  description: parsing and generation of N3 list syntax
509
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/lists.n3
429
+ inputDocument: ./spec/swap_test/lists.n3
510
430
  name: n3_10017
511
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10017.nt
431
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10017.nt
512
432
  rdf_type: PositiveParserTest
513
433
  - !ruby/object:RdfHelper::TestCase
514
434
  about: !ruby/object:RdfContext::URIRef
515
435
  namespace:
516
- normalize: true
436
+ normalize: false
517
437
  to_s: http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3
518
438
  uri: !ruby/object:Addressable::URI
519
439
  authority: www.w3.org
520
440
  fragment:
521
- hash: 1042427669
441
+ hash: 50492811
522
442
  host: www.w3.org
523
- inferred_port:
524
443
  normalized_host:
525
- normalized_password:
526
444
  normalized_path:
527
- normalized_port:
528
445
  normalized_scheme:
529
- normalized_user:
530
- normalized_userinfo:
531
446
  password:
532
447
  path: /2000/10/swap/test/syntax/trailing-semicolon.n3
533
448
  port:
@@ -536,30 +451,25 @@
536
451
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3
537
452
  user:
538
453
  userinfo:
539
- validation_deferred: false
454
+ validation_deferred:
540
455
  description: Propertylists can end in trailing semicolon.
541
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/trailing-semicolon.n3
456
+ inputDocument: ./spec/swap_test/syntax/trailing-semicolon.n3
542
457
  name: n3_10018
543
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10018.nt
458
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10018.nt
544
459
  rdf_type: PositiveParserTest
545
460
  - !ruby/object:RdfHelper::TestCase
546
461
  about: !ruby/object:RdfContext::URIRef
547
462
  namespace:
548
- normalize: true
463
+ normalize: false
549
464
  to_s: http://www.w3.org/2000/10/swap/test/syntax/this-quantifiers.n3
550
465
  uri: !ruby/object:Addressable::URI
551
466
  authority: www.w3.org
552
467
  fragment:
553
- hash: -941221360
468
+ hash: 1721981270
554
469
  host: www.w3.org
555
- inferred_port:
556
470
  normalized_host:
557
- normalized_password:
558
471
  normalized_path:
559
- normalized_port:
560
472
  normalized_scheme:
561
- normalized_user:
562
- normalized_userinfo:
563
473
  password:
564
474
  path: /2000/10/swap/test/syntax/this-quantifiers.n3
565
475
  port:
@@ -568,30 +478,25 @@
568
478
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/this-quantifiers.n3
569
479
  user:
570
480
  userinfo:
571
- validation_deferred: false
481
+ validation_deferred:
572
482
  description: Can still read the old 'this log:forSome' syntax?
573
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/this-quantifiers.n3
483
+ inputDocument: ./spec/swap_test/syntax/this-quantifiers.n3
574
484
  name: n3_10019
575
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10019.nt
485
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10019.nt
576
486
  rdf_type: NegativeParserTest
577
487
  - !ruby/object:RdfHelper::TestCase
578
488
  about: !ruby/object:RdfContext::URIRef
579
489
  namespace:
580
- normalize: true
490
+ normalize: false
581
491
  to_s: http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3
582
492
  uri: !ruby/object:Addressable::URI
583
493
  authority: www.w3.org
584
494
  fragment:
585
- hash: 726672199
495
+ hash: 999879983
586
496
  host: www.w3.org
587
- inferred_port:
588
497
  normalized_host:
589
- normalized_password:
590
498
  normalized_path:
591
- normalized_port:
592
499
  normalized_scheme:
593
- normalized_user:
594
- normalized_userinfo:
595
500
  password:
596
501
  path: /2000/10/swap/test/syntax/this-rules.n3
597
502
  port:
@@ -600,30 +505,25 @@
600
505
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3
601
506
  user:
602
507
  userinfo:
603
- validation_deferred: false
508
+ validation_deferred:
604
509
  description: Can still read the old 'this log:forAll' syntax
605
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/this-rules.n3
510
+ inputDocument: ./spec/swap_test/syntax/this-rules.n3
606
511
  name: n3_10020
607
- outputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/n3/n3parser.tests_n3_10020.nt
512
+ outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10020.nt
608
513
  rdf_type: NegativeParserTest
609
514
  - !ruby/object:RdfHelper::TestCase
610
515
  about: !ruby/object:RdfContext::URIRef
611
516
  namespace:
612
- normalize: true
517
+ normalize: false
613
518
  to_s: http://www.w3.org/2000/10/swap/test/syntax/equals1.n3
614
519
  uri: !ruby/object:Addressable::URI
615
520
  authority: www.w3.org
616
521
  fragment:
617
- hash: 599653594
522
+ hash: -783633403
618
523
  host: www.w3.org
619
- inferred_port:
620
524
  normalized_host:
621
- normalized_password:
622
525
  normalized_path:
623
- normalized_port:
624
526
  normalized_scheme:
625
- normalized_user:
626
- normalized_userinfo:
627
527
  password:
628
528
  path: /2000/10/swap/test/syntax/equals1.n3
629
529
  port:
@@ -632,29 +532,24 @@
632
532
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/equals1.n3
633
533
  user:
634
534
  userinfo:
635
- validation_deferred: false
535
+ validation_deferred:
636
536
  description: The = keyword
637
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/equals1.n3
537
+ inputDocument: ./spec/swap_test/syntax/equals1.n3
638
538
  name: n3_10025
639
539
  rdf_type: PositiveParserTest
640
540
  - !ruby/object:RdfHelper::TestCase
641
541
  about: !ruby/object:RdfContext::URIRef
642
542
  namespace:
643
- normalize: true
543
+ normalize: false
644
544
  to_s: http://www.w3.org/2000/10/swap/test/syntax/equals2.n3
645
545
  uri: !ruby/object:Addressable::URI
646
546
  authority: www.w3.org
647
547
  fragment:
648
- hash: -1086335871
548
+ hash: -1588613952
649
549
  host: www.w3.org
650
- inferred_port:
651
550
  normalized_host:
652
- normalized_password:
653
551
  normalized_path:
654
- normalized_port:
655
552
  normalized_scheme:
656
- normalized_user:
657
- normalized_userinfo:
658
553
  password:
659
554
  path: /2000/10/swap/test/syntax/equals2.n3
660
555
  port:
@@ -663,29 +558,24 @@
663
558
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/equals2.n3
664
559
  user:
665
560
  userinfo:
666
- validation_deferred: false
561
+ validation_deferred:
667
562
  description: The = keyword
668
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/equals2.n3
563
+ inputDocument: ./spec/swap_test/syntax/equals2.n3
669
564
  name: n3_10026
670
565
  rdf_type: PositiveParserTest
671
566
  - !ruby/object:RdfHelper::TestCase
672
567
  about: !ruby/object:RdfContext::URIRef
673
568
  namespace:
674
- normalize: true
569
+ normalize: false
675
570
  to_s: http://www.w3.org/2000/10/swap/test/syntax/zero-predicates.n3
676
571
  uri: !ruby/object:Addressable::URI
677
572
  authority: www.w3.org
678
573
  fragment:
679
- hash: 12026862
574
+ hash: -335847247
680
575
  host: www.w3.org
681
- inferred_port:
682
576
  normalized_host:
683
- normalized_password:
684
577
  normalized_path:
685
- normalized_port:
686
578
  normalized_scheme:
687
- normalized_user:
688
- normalized_userinfo:
689
579
  password:
690
580
  path: /2000/10/swap/test/syntax/zero-predicates.n3
691
581
  port:
@@ -694,29 +584,24 @@
694
584
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/zero-predicates.n3
695
585
  user:
696
586
  userinfo:
697
- validation_deferred: false
587
+ validation_deferred:
698
588
  description: A statement that says nothing at all
699
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/zero-predicates.n3
589
+ inputDocument: ./spec/swap_test/syntax/zero-predicates.n3
700
590
  name: n3_10027
701
591
  rdf_type: PositiveParserTest
702
592
  - !ruby/object:RdfHelper::TestCase
703
593
  about: !ruby/object:RdfContext::URIRef
704
594
  namespace:
705
- normalize: true
595
+ normalize: false
706
596
  to_s: http://www.w3.org/2000/10/swap/test/tests-work.txt
707
597
  uri: !ruby/object:Addressable::URI
708
598
  authority: www.w3.org
709
599
  fragment:
710
- hash: 775255256
600
+ hash: -645452563
711
601
  host: www.w3.org
712
- inferred_port:
713
602
  normalized_host:
714
- normalized_password:
715
603
  normalized_path:
716
- normalized_port:
717
604
  normalized_scheme:
718
- normalized_user:
719
- normalized_userinfo:
720
605
  password:
721
606
  path: /2000/10/swap/test/tests-work.txt
722
607
  port:
@@ -725,29 +610,24 @@
725
610
  uri_string: http://www.w3.org/2000/10/swap/test/tests-work.txt
726
611
  user:
727
612
  userinfo:
728
- validation_deferred: false
613
+ validation_deferred:
729
614
  description: something that isn't n3
730
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/tests-work.txt
615
+ inputDocument: ./spec/swap_test/tests-work.txt
731
616
  name: n3_20000
732
617
  rdf_type: NegativeParserTest
733
618
  - !ruby/object:RdfHelper::TestCase
734
619
  about: !ruby/object:RdfContext::URIRef
735
620
  namespace:
736
- normalize: true
621
+ normalize: false
737
622
  to_s: http://www.w3.org/2000/10/swap/test/syntax/neg-keywords3.n3
738
623
  uri: !ruby/object:Addressable::URI
739
624
  authority: www.w3.org
740
625
  fragment:
741
- hash: -131122030
626
+ hash: 1476266585
742
627
  host: www.w3.org
743
- inferred_port:
744
628
  normalized_host:
745
- normalized_password:
746
629
  normalized_path:
747
- normalized_port:
748
630
  normalized_scheme:
749
- normalized_user:
750
- normalized_userinfo:
751
631
  password:
752
632
  path: /2000/10/swap/test/syntax/neg-keywords3.n3
753
633
  port:
@@ -756,29 +636,24 @@
756
636
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/neg-keywords3.n3
757
637
  user:
758
638
  userinfo:
759
- validation_deferred: false
639
+ validation_deferred:
760
640
  description: "@keywords is not a valid predicate"
761
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/neg-keywords3.n3
641
+ inputDocument: ./spec/swap_test/syntax/neg-keywords3.n3
762
642
  name: n3_20001
763
643
  rdf_type: NegativeParserTest
764
644
  - !ruby/object:RdfHelper::TestCase
765
645
  about: !ruby/object:RdfContext::URIRef
766
646
  namespace:
767
- normalize: true
647
+ normalize: false
768
648
  to_s: http://www.w3.org/2000/10/swap/test/syntax/neg-single-quote.n3
769
649
  uri: !ruby/object:Addressable::URI
770
650
  authority: www.w3.org
771
651
  fragment:
772
- hash: -197488415
652
+ hash: 1920766115
773
653
  host: www.w3.org
774
- inferred_port:
775
654
  normalized_host:
776
- normalized_password:
777
655
  normalized_path:
778
- normalized_port:
779
656
  normalized_scheme:
780
- normalized_user:
781
- normalized_userinfo:
782
657
  password:
783
658
  path: /2000/10/swap/test/syntax/neg-single-quote.n3
784
659
  port:
@@ -787,29 +662,24 @@
787
662
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/neg-single-quote.n3
788
663
  user:
789
664
  userinfo:
790
- validation_deferred: false
665
+ validation_deferred:
791
666
  description: single quoted strings are illegal
792
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/neg-single-quote.n3
667
+ inputDocument: ./spec/swap_test/syntax/neg-single-quote.n3
793
668
  name: n3_20002
794
669
  rdf_type: NegativeParserTest
795
670
  - !ruby/object:RdfHelper::TestCase
796
671
  about: !ruby/object:RdfContext::URIRef
797
672
  namespace:
798
- normalize: true
673
+ normalize: false
799
674
  to_s: http://www.w3.org/2000/10/swap/test/syntax/neg-thisadoc.n3
800
675
  uri: !ruby/object:Addressable::URI
801
676
  authority: www.w3.org
802
677
  fragment:
803
- hash: -1078914087
678
+ hash: -1933695432
804
679
  host: www.w3.org
805
- inferred_port:
806
680
  normalized_host:
807
- normalized_password:
808
681
  normalized_path:
809
- normalized_port:
810
682
  normalized_scheme:
811
- normalized_user:
812
- normalized_userinfo:
813
683
  password:
814
684
  path: /2000/10/swap/test/syntax/neg-thisadoc.n3
815
685
  port:
@@ -818,29 +688,24 @@
818
688
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/neg-thisadoc.n3
819
689
  user:
820
690
  userinfo:
821
- validation_deferred: false
691
+ validation_deferred:
822
692
  description: "The `this' keyword is no longer legal "
823
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/neg-thisadoc.n3
693
+ inputDocument: ./spec/swap_test/syntax/neg-thisadoc.n3
824
694
  name: n3_20003
825
695
  rdf_type: NegativeParserTest
826
696
  - !ruby/object:RdfHelper::TestCase
827
697
  about: !ruby/object:RdfContext::URIRef
828
698
  namespace:
829
- normalize: true
699
+ normalize: false
830
700
  to_s: http://www.w3.org/2000/10/swap/test/syntax/neg-literal-predicate.n3
831
701
  uri: !ruby/object:Addressable::URI
832
702
  authority: www.w3.org
833
703
  fragment:
834
- hash: -519870981
704
+ hash: 410084121
835
705
  host: www.w3.org
836
- inferred_port:
837
706
  normalized_host:
838
- normalized_password:
839
707
  normalized_path:
840
- normalized_port:
841
708
  normalized_scheme:
842
- normalized_user:
843
- normalized_userinfo:
844
709
  password:
845
710
  path: /2000/10/swap/test/syntax/neg-literal-predicate.n3
846
711
  port:
@@ -849,29 +714,24 @@
849
714
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/neg-literal-predicate.n3
850
715
  user:
851
716
  userinfo:
852
- validation_deferred: false
717
+ validation_deferred:
853
718
  description: A predicate cannot be a literal, I hope
854
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/neg-literal-predicate.n3
719
+ inputDocument: ./spec/swap_test/syntax/neg-literal-predicate.n3
855
720
  name: n3_20004
856
721
  rdf_type: NegativeParserTest
857
722
  - !ruby/object:RdfHelper::TestCase
858
723
  about: !ruby/object:RdfContext::URIRef
859
724
  namespace:
860
- normalize: true
725
+ normalize: false
861
726
  to_s: http://www.w3.org/2000/10/swap/test/syntax/neg-formula-predicate.n3
862
727
  uri: !ruby/object:Addressable::URI
863
728
  authority: www.w3.org
864
729
  fragment:
865
- hash: -1939990936
730
+ hash: -951218457
866
731
  host: www.w3.org
867
- inferred_port:
868
732
  normalized_host:
869
- normalized_password:
870
733
  normalized_path:
871
- normalized_port:
872
734
  normalized_scheme:
873
- normalized_user:
874
- normalized_userinfo:
875
735
  password:
876
736
  path: /2000/10/swap/test/syntax/neg-formula-predicate.n3
877
737
  port:
@@ -880,29 +740,24 @@
880
740
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/neg-formula-predicate.n3
881
741
  user:
882
742
  userinfo:
883
- validation_deferred: false
743
+ validation_deferred:
884
744
  description: A predicate cannot be a formula, I hope
885
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/neg-formula-predicate.n3
745
+ inputDocument: ./spec/swap_test/syntax/neg-formula-predicate.n3
886
746
  name: n3_20005
887
747
  rdf_type: NegativeParserTest
888
748
  - !ruby/object:RdfHelper::TestCase
889
749
  about: !ruby/object:RdfContext::URIRef
890
750
  namespace:
891
- normalize: true
751
+ normalize: false
892
752
  to_s: http://www.w3.org/2000/10/swap/test/syntax/zero-objects.n3
893
753
  uri: !ruby/object:Addressable::URI
894
754
  authority: www.w3.org
895
755
  fragment:
896
- hash: 1129214327
756
+ hash: 998484651
897
757
  host: www.w3.org
898
- inferred_port:
899
758
  normalized_host:
900
- normalized_password:
901
759
  normalized_path:
902
- normalized_port:
903
760
  normalized_scheme:
904
- normalized_user:
905
- normalized_userinfo:
906
761
  password:
907
762
  path: /2000/10/swap/test/syntax/zero-objects.n3
908
763
  port:
@@ -911,8 +766,8 @@
911
766
  uri_string: http://www.w3.org/2000/10/swap/test/syntax/zero-objects.n3
912
767
  user:
913
768
  userinfo:
914
- validation_deferred: false
769
+ validation_deferred:
915
770
  description: A statement that says nothing at all
916
- inputDocument: /Users/gregg/Projects/rdf_context/spec/swap_test/syntax/zero-objects.n3
771
+ inputDocument: ./spec/swap_test/syntax/zero-objects.n3
917
772
  name: n3_20028
918
773
  rdf_type: NegativeParserTest