rdf_context 0.5.5 → 0.5.6

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