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.
- data/.yardopts +10 -0
- data/{History.txt → History.rdoc} +8 -1
- data/Rakefile +9 -2
- data/VERSION +1 -1
- data/bin/rdf_context +5 -2
- data/lib/rdf_context/aggregate_graph.rb +31 -2
- data/lib/rdf_context/array_hacks.rb +3 -3
- data/lib/rdf_context/bnode.rb +3 -3
- data/lib/rdf_context/conjunctive_graph.rb +8 -8
- data/lib/rdf_context/duration.rb +17 -4
- data/lib/rdf_context/graph.rb +84 -46
- data/lib/rdf_context/literal.rb +36 -3
- data/lib/rdf_context/n3parser.rb +4 -4
- data/lib/rdf_context/namespace.rb +21 -8
- data/lib/rdf_context/parser.rb +31 -16
- data/lib/rdf_context/quoted_graph.rb +5 -4
- data/lib/rdf_context/rdfaparser.rb +176 -91
- data/lib/rdf_context/rdfxmlparser.rb +50 -13
- data/lib/rdf_context/serializer/abstract_serializer.rb +14 -4
- data/lib/rdf_context/serializer/nt_serializer.rb +5 -0
- data/lib/rdf_context/serializer/recursive_serializer.rb +4 -0
- data/lib/rdf_context/serializer/turtle_serializer.rb +28 -27
- data/lib/rdf_context/serializer/xml_serializer.rb +11 -9
- data/lib/rdf_context/store/abstract_sql_store.rb +47 -4
- data/lib/rdf_context/store/abstract_store.rb +73 -1
- data/lib/rdf_context/store/list_store.rb +25 -6
- data/lib/rdf_context/store/memory_store.rb +33 -1
- data/lib/rdf_context/store/sqlite3_store.rb +7 -4
- data/lib/rdf_context/term_utils.rb +6 -0
- data/lib/rdf_context/triple.rb +17 -6
- data/lib/rdf_context/uriref.rb +19 -3
- data/spec/html4-manifest.yml +176 -176
- data/spec/html5-manifest.yml +176 -176
- data/spec/rdfa_helper.rb +8 -2
- data/spec/rdfa_parser_spec.rb +1 -1
- data/spec/rdfcore/Manifest.yml +1561 -2626
- data/spec/swap_test/n3parser.yml +134 -279
- data/spec/swap_test/regression.yml +140 -305
- data/spec/turtle/manifest-bad.yml +155 -310
- data/spec/turtle/manifest.yml +155 -310
- data/spec/xhtml-manifest.yml +139 -587
- data/spec/xhtml11-manifest.yml +4405 -0
- metadata +21 -7
- 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:
|
5
|
+
normalize: false
|
6
6
|
to_s: http://www.w3.org/2000/10/swap/test/animal.rdf
|
7
7
|
uri: !ruby/object:Addressable::URI
|
8
8
|
authority: www.w3.org
|
9
9
|
fragment:
|
10
|
-
hash:
|
10
|
+
hash: 1016554682
|
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/animal.rdf
|
22
17
|
port:
|
@@ -25,29 +20,24 @@
|
|
25
20
|
uri_string: http://www.w3.org/2000/10/swap/test/animal.rdf
|
26
21
|
user:
|
27
22
|
userinfo:
|
28
|
-
validation_deferred:
|
23
|
+
validation_deferred:
|
29
24
|
description: Parse a small RDF file, generate N3
|
30
|
-
inputDocument:
|
25
|
+
inputDocument: ./spec/swap_test/animal.rdf
|
31
26
|
name: t1001
|
32
27
|
rdf_type: CwmProofTest
|
33
28
|
- !ruby/object:RdfHelper::TestCase
|
34
29
|
about: !ruby/object:RdfContext::URIRef
|
35
30
|
namespace:
|
36
|
-
normalize:
|
31
|
+
normalize: false
|
37
32
|
to_s: http://www.w3.org/2000/10/swap/test/xml-syntax/xml_prefix.n3
|
38
33
|
uri: !ruby/object:Addressable::URI
|
39
34
|
authority: www.w3.org
|
40
35
|
fragment:
|
41
|
-
hash: -
|
36
|
+
hash: -895408757
|
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: /2000/10/swap/test/xml-syntax/xml_prefix.n3
|
53
43
|
port:
|
@@ -56,29 +46,24 @@
|
|
56
46
|
uri_string: http://www.w3.org/2000/10/swap/test/xml-syntax/xml_prefix.n3
|
57
47
|
user:
|
58
48
|
userinfo:
|
59
|
-
validation_deferred:
|
49
|
+
validation_deferred:
|
60
50
|
description: "Do not redefine the xml: prefix"
|
61
|
-
inputDocument:
|
51
|
+
inputDocument: ./spec/swap_test/xml-syntax/xml_prefix.n3
|
62
52
|
name: t1002a
|
63
53
|
rdf_type: CwmTest
|
64
54
|
- !ruby/object:RdfHelper::TestCase
|
65
55
|
about: !ruby/object:RdfContext::URIRef
|
66
56
|
namespace:
|
67
|
-
normalize:
|
57
|
+
normalize: false
|
68
58
|
to_s: http://www.w3.org/2000/10/swap/test/xml-syntax/xmlbase3.rdf
|
69
59
|
uri: !ruby/object:Addressable::URI
|
70
60
|
authority: www.w3.org
|
71
61
|
fragment:
|
72
|
-
hash:
|
62
|
+
hash: 205224968
|
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: /2000/10/swap/test/xml-syntax/xmlbase3.rdf
|
84
69
|
port:
|
@@ -87,29 +72,24 @@
|
|
87
72
|
uri_string: http://www.w3.org/2000/10/swap/test/xml-syntax/xmlbase3.rdf
|
88
73
|
user:
|
89
74
|
userinfo:
|
90
|
-
validation_deferred:
|
75
|
+
validation_deferred:
|
91
76
|
description: Allow for relative xml:base
|
92
|
-
inputDocument:
|
77
|
+
inputDocument: ./spec/swap_test/xml-syntax/xmlbase3.rdf
|
93
78
|
name: t1002b
|
94
79
|
rdf_type: CwmProofTest
|
95
80
|
- !ruby/object:RdfHelper::TestCase
|
96
81
|
about: !ruby/object:RdfContext::URIRef
|
97
82
|
namespace:
|
98
|
-
normalize:
|
83
|
+
normalize: false
|
99
84
|
to_s: http://www.w3.org/2000/10/swap/test/xml-syntax/xml_prefix2.n3
|
100
85
|
uri: !ruby/object:Addressable::URI
|
101
86
|
authority: www.w3.org
|
102
87
|
fragment:
|
103
|
-
hash: -
|
88
|
+
hash: -745963511
|
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: /2000/10/swap/test/xml-syntax/xml_prefix2.n3
|
115
95
|
port:
|
@@ -118,29 +98,24 @@
|
|
118
98
|
uri_string: http://www.w3.org/2000/10/swap/test/xml-syntax/xml_prefix2.n3
|
119
99
|
user:
|
120
100
|
userinfo:
|
121
|
-
validation_deferred:
|
101
|
+
validation_deferred:
|
122
102
|
description: "do not redefine xml: and xmlns: even if told told"
|
123
|
-
inputDocument:
|
103
|
+
inputDocument: ./spec/swap_test/xml-syntax/xml_prefix2.n3
|
124
104
|
name: t1002c
|
125
105
|
rdf_type: CwmProofTest
|
126
106
|
- !ruby/object:RdfHelper::TestCase
|
127
107
|
about: !ruby/object:RdfContext::URIRef
|
128
108
|
namespace:
|
129
|
-
normalize:
|
109
|
+
normalize: false
|
130
110
|
to_s: http://www.w3.org/2000/10/swap/test/xml-syntax/rdf_prefix.n3
|
131
111
|
uri: !ruby/object:Addressable::URI
|
132
112
|
authority: www.w3.org
|
133
113
|
fragment:
|
134
|
-
hash:
|
114
|
+
hash: 2024061580
|
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: /2000/10/swap/test/xml-syntax/rdf_prefix.n3
|
146
121
|
port:
|
@@ -149,29 +124,24 @@
|
|
149
124
|
uri_string: http://www.w3.org/2000/10/swap/test/xml-syntax/rdf_prefix.n3
|
150
125
|
user:
|
151
126
|
userinfo:
|
152
|
-
validation_deferred:
|
127
|
+
validation_deferred:
|
153
128
|
description: "Allow for redefinition of rdf:"
|
154
|
-
inputDocument:
|
129
|
+
inputDocument: ./spec/swap_test/xml-syntax/rdf_prefix.n3
|
155
130
|
name: t1002d
|
156
131
|
rdf_type: CwmTest
|
157
132
|
- !ruby/object:RdfHelper::TestCase
|
158
133
|
about: !ruby/object:RdfContext::URIRef
|
159
134
|
namespace:
|
160
|
-
normalize:
|
135
|
+
normalize: false
|
161
136
|
to_s: http://www.w3.org/2000/10/swap/test/xml-syntax/xmllit.rdf
|
162
137
|
uri: !ruby/object:Addressable::URI
|
163
138
|
authority: www.w3.org
|
164
139
|
fragment:
|
165
|
-
hash:
|
140
|
+
hash: 25135135
|
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: /2000/10/swap/test/xml-syntax/xmllit.rdf
|
177
147
|
port:
|
@@ -180,29 +150,24 @@
|
|
180
150
|
uri_string: http://www.w3.org/2000/10/swap/test/xml-syntax/xmllit.rdf
|
181
151
|
user:
|
182
152
|
userinfo:
|
183
|
-
validation_deferred:
|
153
|
+
validation_deferred:
|
184
154
|
description: rdf:parseType="Literal"
|
185
|
-
inputDocument:
|
155
|
+
inputDocument: ./spec/swap_test/xml-syntax/xmllit.rdf
|
186
156
|
name: t1002e
|
187
157
|
rdf_type: CwmTest
|
188
158
|
- !ruby/object:RdfHelper::TestCase
|
189
159
|
about: !ruby/object:RdfContext::URIRef
|
190
160
|
namespace:
|
191
|
-
normalize:
|
161
|
+
normalize: false
|
192
162
|
to_s: http://www.w3.org/2000/10/swap/test/xml-syntax/in-xml.xml
|
193
163
|
uri: !ruby/object:Addressable::URI
|
194
164
|
authority: www.w3.org
|
195
165
|
fragment:
|
196
|
-
hash:
|
166
|
+
hash: 1894189513
|
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: /2000/10/swap/test/xml-syntax/in-xml.xml
|
208
173
|
port:
|
@@ -211,29 +176,24 @@
|
|
211
176
|
uri_string: http://www.w3.org/2000/10/swap/test/xml-syntax/in-xml.xml
|
212
177
|
user:
|
213
178
|
userinfo:
|
214
|
-
validation_deferred:
|
179
|
+
validation_deferred:
|
215
180
|
description: Parse RDF embedded in foreign XML
|
216
|
-
inputDocument:
|
181
|
+
inputDocument: ./spec/swap_test/xml-syntax/in-xml.xml
|
217
182
|
name: t1003
|
218
183
|
rdf_type: CwmTest
|
219
184
|
- !ruby/object:RdfHelper::TestCase
|
220
185
|
about: !ruby/object:RdfContext::URIRef
|
221
186
|
namespace:
|
222
|
-
normalize:
|
187
|
+
normalize: false
|
223
188
|
to_s: http://www.w3.org/2000/10/swap/test/reluri-1.n3
|
224
189
|
uri: !ruby/object:Addressable::URI
|
225
190
|
authority: www.w3.org
|
226
191
|
fragment:
|
227
|
-
hash: -
|
192
|
+
hash: -520297808
|
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: /2000/10/swap/test/reluri-1.n3
|
239
199
|
port:
|
@@ -242,29 +202,24 @@
|
|
242
202
|
uri_string: http://www.w3.org/2000/10/swap/test/reluri-1.n3
|
243
203
|
user:
|
244
204
|
userinfo:
|
245
|
-
validation_deferred:
|
205
|
+
validation_deferred:
|
246
206
|
description: test generation of relative URIs
|
247
|
-
inputDocument:
|
207
|
+
inputDocument: ./spec/swap_test/reluri-1.n3
|
248
208
|
name: t1005
|
249
209
|
rdf_type: CwmTest
|
250
210
|
- !ruby/object:RdfHelper::TestCase
|
251
211
|
about: !ruby/object:RdfContext::URIRef
|
252
212
|
namespace:
|
253
|
-
normalize:
|
213
|
+
normalize: false
|
254
214
|
to_s: http://www.w3.org/2000/10/swap/test/syntax/no-last-nl.n3
|
255
215
|
uri: !ruby/object:Addressable::URI
|
256
216
|
authority: www.w3.org
|
257
217
|
fragment:
|
258
|
-
hash:
|
218
|
+
hash: 961633248
|
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: /2000/10/swap/test/syntax/no-last-nl.n3
|
270
225
|
port:
|
@@ -273,29 +228,24 @@
|
|
273
228
|
uri_string: http://www.w3.org/2000/10/swap/test/syntax/no-last-nl.n3
|
274
229
|
user:
|
275
230
|
userinfo:
|
276
|
-
validation_deferred:
|
231
|
+
validation_deferred:
|
277
232
|
description: An N3 file with no final newline character
|
278
|
-
inputDocument:
|
233
|
+
inputDocument: ./spec/swap_test/syntax/no-last-nl.n3
|
279
234
|
name: t1005a
|
280
235
|
rdf_type: CwmProofTest
|
281
236
|
- !ruby/object:RdfHelper::TestCase
|
282
237
|
about: !ruby/object:RdfContext::URIRef
|
283
238
|
namespace:
|
284
|
-
normalize:
|
239
|
+
normalize: false
|
285
240
|
to_s: http://www.w3.org/2000/10/swap/test/syntax/dot-dash.n3
|
286
241
|
uri: !ruby/object:Addressable::URI
|
287
242
|
authority: www.w3.org
|
288
243
|
fragment:
|
289
|
-
hash: -
|
244
|
+
hash: -200024522
|
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: /2000/10/swap/test/syntax/dot-dash.n3
|
301
251
|
port:
|
@@ -304,29 +254,24 @@
|
|
304
254
|
uri_string: http://www.w3.org/2000/10/swap/test/syntax/dot-dash.n3
|
305
255
|
user:
|
306
256
|
userinfo:
|
307
|
-
validation_deferred:
|
257
|
+
validation_deferred:
|
308
258
|
description: combinations of - and _ in identifiers
|
309
|
-
inputDocument:
|
259
|
+
inputDocument: ./spec/swap_test/syntax/dot-dash.n3
|
310
260
|
name: t1005b
|
311
261
|
rdf_type: CwmProofTest
|
312
262
|
- !ruby/object:RdfHelper::TestCase
|
313
263
|
about: !ruby/object:RdfContext::URIRef
|
314
264
|
namespace:
|
315
|
-
normalize:
|
265
|
+
normalize: false
|
316
266
|
to_s: http://www.w3.org/2000/10/swap/test/syntax/keywords1.n3
|
317
267
|
uri: !ruby/object:Addressable::URI
|
318
268
|
authority: www.w3.org
|
319
269
|
fragment:
|
320
|
-
hash:
|
270
|
+
hash: 1792820531
|
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: /2000/10/swap/test/syntax/keywords1.n3
|
332
277
|
port:
|
@@ -335,29 +280,24 @@
|
|
335
280
|
uri_string: http://www.w3.org/2000/10/swap/test/syntax/keywords1.n3
|
336
281
|
user:
|
337
282
|
userinfo:
|
338
|
-
validation_deferred:
|
283
|
+
validation_deferred:
|
339
284
|
description: "@keywords in n3"
|
340
|
-
inputDocument:
|
285
|
+
inputDocument: ./spec/swap_test/syntax/keywords1.n3
|
341
286
|
name: t1005c
|
342
287
|
rdf_type: CwmProofTest
|
343
288
|
- !ruby/object:RdfHelper::TestCase
|
344
289
|
about: !ruby/object:RdfContext::URIRef
|
345
290
|
namespace:
|
346
|
-
normalize:
|
291
|
+
normalize: false
|
347
292
|
to_s: http://www.w3.org/2000/10/swap/test/syntax/keywords2.n3
|
348
293
|
uri: !ruby/object:Addressable::URI
|
349
294
|
authority: www.w3.org
|
350
295
|
fragment:
|
351
|
-
hash:
|
296
|
+
hash: 987839982
|
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: /2000/10/swap/test/syntax/keywords2.n3
|
363
303
|
port:
|
@@ -366,29 +306,24 @@
|
|
366
306
|
uri_string: http://www.w3.org/2000/10/swap/test/syntax/keywords2.n3
|
367
307
|
user:
|
368
308
|
userinfo:
|
369
|
-
validation_deferred:
|
309
|
+
validation_deferred:
|
370
310
|
description: using no keywords in n3
|
371
|
-
inputDocument:
|
311
|
+
inputDocument: ./spec/swap_test/syntax/keywords2.n3
|
372
312
|
name: t1005d
|
373
313
|
rdf_type: CwmProofTest
|
374
314
|
- !ruby/object:RdfHelper::TestCase
|
375
315
|
about: !ruby/object:RdfContext::URIRef
|
376
316
|
namespace:
|
377
|
-
normalize:
|
317
|
+
normalize: false
|
378
318
|
to_s: http://www.w3.org/2000/10/swap/test/syntax/djb1a.n3
|
379
319
|
uri: !ruby/object:Addressable::URI
|
380
320
|
authority: www.w3.org
|
381
321
|
fragment:
|
382
|
-
hash:
|
322
|
+
hash: -1245829990
|
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: /2000/10/swap/test/syntax/djb1a.n3
|
394
329
|
port:
|
@@ -397,29 +332,24 @@
|
|
397
332
|
uri_string: http://www.w3.org/2000/10/swap/test/syntax/djb1a.n3
|
398
333
|
user:
|
399
334
|
userinfo:
|
400
|
-
validation_deferred:
|
335
|
+
validation_deferred:
|
401
336
|
description: djb noticed a:b was parsed as rdf:type token
|
402
|
-
inputDocument:
|
337
|
+
inputDocument: ./spec/swap_test/syntax/djb1a.n3
|
403
338
|
name: t1005e
|
404
339
|
rdf_type: CwmProofTest
|
405
340
|
- !ruby/object:RdfHelper::TestCase
|
406
341
|
about: !ruby/object:RdfContext::URIRef
|
407
342
|
namespace:
|
408
|
-
normalize:
|
343
|
+
normalize: false
|
409
344
|
to_s: http://www.w3.org/2000/10/swap/test/contexts.n3
|
410
345
|
uri: !ruby/object:Addressable::URI
|
411
346
|
authority: www.w3.org
|
412
347
|
fragment:
|
413
|
-
hash: -
|
348
|
+
hash: -1338678489
|
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: /2000/10/swap/test/contexts.n3
|
425
355
|
port:
|
@@ -428,29 +358,24 @@
|
|
428
358
|
uri_string: http://www.w3.org/2000/10/swap/test/contexts.n3
|
429
359
|
user:
|
430
360
|
userinfo:
|
431
|
-
validation_deferred:
|
361
|
+
validation_deferred:
|
432
362
|
description: Parse and generate simple contexts
|
433
|
-
inputDocument:
|
363
|
+
inputDocument: ./spec/swap_test/contexts.n3
|
434
364
|
name: t1006
|
435
365
|
rdf_type: CwmProofTest
|
436
366
|
- !ruby/object:RdfHelper::TestCase
|
437
367
|
about: !ruby/object:RdfContext::URIRef
|
438
368
|
namespace:
|
439
|
-
normalize:
|
369
|
+
normalize: false
|
440
370
|
to_s: http://www.w3.org/2000/10/swap/test/anon-prop.n3
|
441
371
|
uri: !ruby/object:Addressable::URI
|
442
372
|
authority: www.w3.org
|
443
373
|
fragment:
|
444
|
-
hash:
|
374
|
+
hash: -805068399
|
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: /2000/10/swap/test/anon-prop.n3
|
456
381
|
port:
|
@@ -459,30 +384,25 @@
|
|
459
384
|
uri_string: http://www.w3.org/2000/10/swap/test/anon-prop.n3
|
460
385
|
user:
|
461
386
|
userinfo:
|
462
|
-
validation_deferred:
|
387
|
+
validation_deferred:
|
463
388
|
description: Parse and regen anonymous property
|
464
|
-
inputDocument:
|
389
|
+
inputDocument: ./spec/swap_test/anon-prop.n3
|
465
390
|
name: t1007
|
466
391
|
rdf_type: CwmProofTest
|
467
392
|
status: pending
|
468
393
|
- !ruby/object:RdfHelper::TestCase
|
469
394
|
about: !ruby/object:RdfContext::URIRef
|
470
395
|
namespace:
|
471
|
-
normalize:
|
396
|
+
normalize: false
|
472
397
|
to_s: http://www.w3.org/2000/10/swap/test/nodeID/ex1.rdf
|
473
398
|
uri: &id001 !ruby/object:Addressable::URI
|
474
399
|
authority: www.w3.org
|
475
400
|
fragment:
|
476
|
-
hash: -
|
401
|
+
hash: -1953350031
|
477
402
|
host: www.w3.org
|
478
|
-
inferred_port:
|
479
403
|
normalized_host:
|
480
|
-
normalized_password:
|
481
404
|
normalized_path:
|
482
|
-
normalized_port:
|
483
405
|
normalized_scheme:
|
484
|
-
normalized_user:
|
485
|
-
normalized_userinfo:
|
486
406
|
password:
|
487
407
|
path: /2000/10/swap/test/nodeID/ex1.rdf
|
488
408
|
port:
|
@@ -491,39 +411,34 @@
|
|
491
411
|
uri_string: http://www.w3.org/2000/10/swap/test/nodeID/ex1.rdf
|
492
412
|
user:
|
493
413
|
userinfo:
|
494
|
-
validation_deferred:
|
414
|
+
validation_deferred:
|
495
415
|
description: Parse RDF/XML nodeID to N3
|
496
|
-
inputDocument:
|
416
|
+
inputDocument: ./spec/swap_test/nodeID/ex1.rdf
|
497
417
|
name: t1007a
|
498
418
|
rdf_type: CwmProofTest
|
499
419
|
- !ruby/object:RdfHelper::TestCase
|
500
420
|
about: !ruby/object:RdfContext::URIRef
|
501
421
|
namespace:
|
502
|
-
normalize:
|
422
|
+
normalize: false
|
503
423
|
to_s: http://www.w3.org/2000/10/swap/test/nodeID/ex1.rdf
|
504
424
|
uri: *id001
|
505
425
|
description: Parse RDF/XML nodeID and regen RDF/XML
|
506
|
-
inputDocument:
|
426
|
+
inputDocument: ./spec/swap_test/nodeID/ex1.rdf
|
507
427
|
name: t1007b
|
508
428
|
rdf_type: CwmTest
|
509
429
|
- !ruby/object:RdfHelper::TestCase
|
510
430
|
about: !ruby/object:RdfContext::URIRef
|
511
431
|
namespace:
|
512
|
-
normalize:
|
432
|
+
normalize: false
|
513
433
|
to_s: http://www.w3.org/2000/10/swap/test/nodeID/classes.n3
|
514
434
|
uri: !ruby/object:Addressable::URI
|
515
435
|
authority: www.w3.org
|
516
436
|
fragment:
|
517
|
-
hash: -
|
437
|
+
hash: -408586937
|
518
438
|
host: www.w3.org
|
519
|
-
inferred_port:
|
520
439
|
normalized_host:
|
521
|
-
normalized_password:
|
522
440
|
normalized_path:
|
523
|
-
normalized_port:
|
524
441
|
normalized_scheme:
|
525
|
-
normalized_user:
|
526
|
-
normalized_userinfo:
|
527
442
|
password:
|
528
443
|
path: /2000/10/swap/test/nodeID/classes.n3
|
529
444
|
port:
|
@@ -532,29 +447,24 @@
|
|
532
447
|
uri_string: http://www.w3.org/2000/10/swap/test/nodeID/classes.n3
|
533
448
|
user:
|
534
449
|
userinfo:
|
535
|
-
validation_deferred:
|
450
|
+
validation_deferred:
|
536
451
|
description: use nodeID's with classes
|
537
|
-
inputDocument:
|
452
|
+
inputDocument: ./spec/swap_test/nodeID/classes.n3
|
538
453
|
name: t1007c
|
539
454
|
rdf_type: CwmTest
|
540
455
|
- !ruby/object:RdfHelper::TestCase
|
541
456
|
about: !ruby/object:RdfContext::URIRef
|
542
457
|
namespace:
|
543
|
-
normalize:
|
458
|
+
normalize: false
|
544
459
|
to_s: http://www.w3.org/2000/10/swap/test/anonymous_loop.n3
|
545
460
|
uri: !ruby/object:Addressable::URI
|
546
461
|
authority: www.w3.org
|
547
462
|
fragment:
|
548
|
-
hash:
|
463
|
+
hash: 72144327
|
549
464
|
host: www.w3.org
|
550
|
-
inferred_port:
|
551
465
|
normalized_host:
|
552
|
-
normalized_password:
|
553
466
|
normalized_path:
|
554
|
-
normalized_port:
|
555
467
|
normalized_scheme:
|
556
|
-
normalized_user:
|
557
|
-
normalized_userinfo:
|
558
468
|
password:
|
559
469
|
path: /2000/10/swap/test/anonymous_loop.n3
|
560
470
|
port:
|
@@ -563,29 +473,24 @@
|
|
563
473
|
uri_string: http://www.w3.org/2000/10/swap/test/anonymous_loop.n3
|
564
474
|
user:
|
565
475
|
userinfo:
|
566
|
-
validation_deferred:
|
476
|
+
validation_deferred:
|
567
477
|
description: A loop of anonymous nodes wasn't being printed at all
|
568
|
-
inputDocument:
|
478
|
+
inputDocument: ./spec/swap_test/anonymous_loop.n3
|
569
479
|
name: t1007d
|
570
480
|
rdf_type: CwmProofTest
|
571
481
|
- !ruby/object:RdfHelper::TestCase
|
572
482
|
about: !ruby/object:RdfContext::URIRef
|
573
483
|
namespace:
|
574
|
-
normalize:
|
484
|
+
normalize: false
|
575
485
|
to_s: http://www.w3.org/2000/10/swap/test/daml-pref.n3
|
576
486
|
uri: !ruby/object:Addressable::URI
|
577
487
|
authority: www.w3.org
|
578
488
|
fragment:
|
579
|
-
hash:
|
489
|
+
hash: 1683143564
|
580
490
|
host: www.w3.org
|
581
|
-
inferred_port:
|
582
491
|
normalized_host:
|
583
|
-
normalized_password:
|
584
492
|
normalized_path:
|
585
|
-
normalized_port:
|
586
493
|
normalized_scheme:
|
587
|
-
normalized_user:
|
588
|
-
normalized_userinfo:
|
589
494
|
password:
|
590
495
|
path: /2000/10/swap/test/daml-pref.n3
|
591
496
|
port:
|
@@ -594,29 +499,24 @@
|
|
594
499
|
uri_string: http://www.w3.org/2000/10/swap/test/daml-pref.n3
|
595
500
|
user:
|
596
501
|
userinfo:
|
597
|
-
validation_deferred:
|
502
|
+
validation_deferred:
|
598
503
|
description: Convert some RDF/XML into RDF/N3
|
599
|
-
inputDocument:
|
504
|
+
inputDocument: ./spec/swap_test/daml-pref.n3
|
600
505
|
name: t1008
|
601
506
|
rdf_type: CwmProofTest
|
602
507
|
- !ruby/object:RdfHelper::TestCase
|
603
508
|
about: !ruby/object:RdfContext::URIRef
|
604
509
|
namespace:
|
605
|
-
normalize:
|
510
|
+
normalize: false
|
606
511
|
to_s: http://www.w3.org/2000/10/swap/test/syntax/colon-in-uri.rdf
|
607
512
|
uri: !ruby/object:Addressable::URI
|
608
513
|
authority: www.w3.org
|
609
514
|
fragment:
|
610
|
-
hash:
|
515
|
+
hash: -701052379
|
611
516
|
host: www.w3.org
|
612
|
-
inferred_port:
|
613
517
|
normalized_host:
|
614
|
-
normalized_password:
|
615
518
|
normalized_path:
|
616
|
-
normalized_port:
|
617
519
|
normalized_scheme:
|
618
|
-
normalized_user:
|
619
|
-
normalized_userinfo:
|
620
520
|
password:
|
621
521
|
path: /2000/10/swap/test/syntax/colon-in-uri.rdf
|
622
522
|
port:
|
@@ -625,29 +525,24 @@
|
|
625
525
|
uri_string: http://www.w3.org/2000/10/swap/test/syntax/colon-in-uri.rdf
|
626
526
|
user:
|
627
527
|
userinfo:
|
628
|
-
validation_deferred:
|
528
|
+
validation_deferred:
|
629
529
|
description: When rdf/xml localnames are not valid qNames
|
630
|
-
inputDocument:
|
530
|
+
inputDocument: ./spec/swap_test/syntax/colon-in-uri.rdf
|
631
531
|
name: t1008a
|
632
532
|
rdf_type: CwmProofTest
|
633
533
|
- !ruby/object:RdfHelper::TestCase
|
634
534
|
about: !ruby/object:RdfContext::URIRef
|
635
535
|
namespace:
|
636
|
-
normalize:
|
536
|
+
normalize: false
|
637
537
|
to_s: http://www.w3.org/2000/10/swap/test/strquot.n3
|
638
538
|
uri: &id002 !ruby/object:Addressable::URI
|
639
539
|
authority: www.w3.org
|
640
540
|
fragment:
|
641
|
-
hash: -
|
541
|
+
hash: -1711052224
|
642
542
|
host: www.w3.org
|
643
|
-
inferred_port:
|
644
543
|
normalized_host:
|
645
|
-
normalized_password:
|
646
544
|
normalized_path:
|
647
|
-
normalized_port:
|
648
545
|
normalized_scheme:
|
649
|
-
normalized_user:
|
650
|
-
normalized_userinfo:
|
651
546
|
password:
|
652
547
|
path: /2000/10/swap/test/strquot.n3
|
653
548
|
port:
|
@@ -656,39 +551,34 @@
|
|
656
551
|
uri_string: http://www.w3.org/2000/10/swap/test/strquot.n3
|
657
552
|
user:
|
658
553
|
userinfo:
|
659
|
-
validation_deferred:
|
554
|
+
validation_deferred:
|
660
555
|
description: N3 string quoting with escaping
|
661
|
-
inputDocument:
|
556
|
+
inputDocument: ./spec/swap_test/strquot.n3
|
662
557
|
name: t1009
|
663
558
|
rdf_type: CwmTest
|
664
559
|
- !ruby/object:RdfHelper::TestCase
|
665
560
|
about: !ruby/object:RdfContext::URIRef
|
666
561
|
namespace:
|
667
|
-
normalize:
|
562
|
+
normalize: false
|
668
563
|
to_s: http://www.w3.org/2000/10/swap/test/strquot.n3
|
669
564
|
uri: *id002
|
670
565
|
description: N3 string quoting with utf-8 literals
|
671
|
-
inputDocument:
|
566
|
+
inputDocument: ./spec/swap_test/strquot.n3
|
672
567
|
name: t1009aa
|
673
568
|
rdf_type: CwmProofTest
|
674
569
|
- !ruby/object:RdfHelper::TestCase
|
675
570
|
about: !ruby/object:RdfContext::URIRef
|
676
571
|
namespace:
|
677
|
-
normalize:
|
572
|
+
normalize: false
|
678
573
|
to_s: http://www.w3.org/2000/10/swap/test/i18n/n3string.n3
|
679
574
|
uri: !ruby/object:Addressable::URI
|
680
575
|
authority: www.w3.org
|
681
576
|
fragment:
|
682
|
-
hash:
|
577
|
+
hash: -829889742
|
683
578
|
host: www.w3.org
|
684
|
-
inferred_port:
|
685
579
|
normalized_host:
|
686
|
-
normalized_password:
|
687
580
|
normalized_path:
|
688
|
-
normalized_port:
|
689
581
|
normalized_scheme:
|
690
|
-
normalized_user:
|
691
|
-
normalized_userinfo:
|
692
582
|
password:
|
693
583
|
path: /2000/10/swap/test/i18n/n3string.n3
|
694
584
|
port:
|
@@ -697,30 +587,25 @@
|
|
697
587
|
uri_string: http://www.w3.org/2000/10/swap/test/i18n/n3string.n3
|
698
588
|
user:
|
699
589
|
userinfo:
|
700
|
-
validation_deferred:
|
590
|
+
validation_deferred:
|
701
591
|
description: log:n3string genertating utf-8 literals was double encoding
|
702
|
-
inputDocument:
|
592
|
+
inputDocument: ./spec/swap_test/i18n/n3string.n3
|
703
593
|
name: t1009ab
|
704
594
|
rdf_type: CwmProofTest
|
705
595
|
status: pending
|
706
596
|
- !ruby/object:RdfHelper::TestCase
|
707
597
|
about: !ruby/object:RdfContext::URIRef
|
708
598
|
namespace:
|
709
|
-
normalize:
|
599
|
+
normalize: false
|
710
600
|
to_s: http://www.w3.org/2000/10/swap/test/xml-syntax/non-ascii-pred.rdf
|
711
601
|
uri: !ruby/object:Addressable::URI
|
712
602
|
authority: www.w3.org
|
713
603
|
fragment:
|
714
|
-
hash: -
|
604
|
+
hash: -83967977
|
715
605
|
host: www.w3.org
|
716
|
-
inferred_port:
|
717
606
|
normalized_host:
|
718
|
-
normalized_password:
|
719
607
|
normalized_path:
|
720
|
-
normalized_port:
|
721
608
|
normalized_scheme:
|
722
|
-
normalized_user:
|
723
|
-
normalized_userinfo:
|
724
609
|
password:
|
725
610
|
path: /2000/10/swap/test/xml-syntax/non-ascii-pred.rdf
|
726
611
|
port:
|
@@ -729,29 +614,24 @@
|
|
729
614
|
uri_string: http://www.w3.org/2000/10/swap/test/xml-syntax/non-ascii-pred.rdf
|
730
615
|
user:
|
731
616
|
userinfo:
|
732
|
-
validation_deferred:
|
617
|
+
validation_deferred:
|
733
618
|
description: XML to XML with utf-8 non-ascii characters
|
734
|
-
inputDocument:
|
619
|
+
inputDocument: ./spec/swap_test/xml-syntax/non-ascii-pred.rdf
|
735
620
|
name: t1009b
|
736
621
|
rdf_type: CwmProofTest
|
737
622
|
- !ruby/object:RdfHelper::TestCase
|
738
623
|
about: !ruby/object:RdfContext::URIRef
|
739
624
|
namespace:
|
740
|
-
normalize:
|
625
|
+
normalize: false
|
741
626
|
to_s: http://www.w3.org/2000/10/swap/test/syntax/path1.n3
|
742
627
|
uri: !ruby/object:Addressable::URI
|
743
628
|
authority: www.w3.org
|
744
629
|
fragment:
|
745
|
-
hash:
|
630
|
+
hash: 779388392
|
746
631
|
host: www.w3.org
|
747
|
-
inferred_port:
|
748
632
|
normalized_host:
|
749
|
-
normalized_password:
|
750
633
|
normalized_path:
|
751
|
-
normalized_port:
|
752
634
|
normalized_scheme:
|
753
|
-
normalized_user:
|
754
|
-
normalized_userinfo:
|
755
635
|
password:
|
756
636
|
path: /2000/10/swap/test/syntax/path1.n3
|
757
637
|
port:
|
@@ -760,29 +640,24 @@
|
|
760
640
|
uri_string: http://www.w3.org/2000/10/swap/test/syntax/path1.n3
|
761
641
|
user:
|
762
642
|
userinfo:
|
763
|
-
validation_deferred:
|
643
|
+
validation_deferred:
|
764
644
|
description: Path syntax, simple
|
765
|
-
inputDocument:
|
645
|
+
inputDocument: ./spec/swap_test/syntax/path1.n3
|
766
646
|
name: t1010
|
767
647
|
rdf_type: CwmProofTest
|
768
648
|
- !ruby/object:RdfHelper::TestCase
|
769
649
|
about: !ruby/object:RdfContext::URIRef
|
770
650
|
namespace:
|
771
|
-
normalize:
|
651
|
+
normalize: false
|
772
652
|
to_s: http://www.w3.org/2000/10/swap/test/syntax/path2.n3
|
773
653
|
uri: !ruby/object:Addressable::URI
|
774
654
|
authority: www.w3.org
|
775
655
|
fragment:
|
776
|
-
hash: -
|
656
|
+
hash: -25592157
|
777
657
|
host: www.w3.org
|
778
|
-
inferred_port:
|
779
658
|
normalized_host:
|
780
|
-
normalized_password:
|
781
659
|
normalized_path:
|
782
|
-
normalized_port:
|
783
660
|
normalized_scheme:
|
784
|
-
normalized_user:
|
785
|
-
normalized_userinfo:
|
786
661
|
password:
|
787
662
|
path: /2000/10/swap/test/syntax/path2.n3
|
788
663
|
port:
|
@@ -791,30 +666,25 @@
|
|
791
666
|
uri_string: http://www.w3.org/2000/10/swap/test/syntax/path2.n3
|
792
667
|
user:
|
793
668
|
userinfo:
|
794
|
-
validation_deferred:
|
669
|
+
validation_deferred:
|
795
670
|
description: Path syntax, more
|
796
|
-
inputDocument:
|
671
|
+
inputDocument: ./spec/swap_test/syntax/path2.n3
|
797
672
|
name: t1011
|
798
673
|
rdf_type: CwmProofTest
|
799
674
|
status: pending
|
800
675
|
- !ruby/object:RdfHelper::TestCase
|
801
676
|
about: !ruby/object:RdfContext::URIRef
|
802
677
|
namespace:
|
803
|
-
normalize:
|
678
|
+
normalize: false
|
804
679
|
to_s: http://www.w3.org/2000/10/swap/test/syntax/numbers.n3
|
805
680
|
uri: !ruby/object:Addressable::URI
|
806
681
|
authority: www.w3.org
|
807
682
|
fragment:
|
808
|
-
hash:
|
683
|
+
hash: 1886207498
|
809
684
|
host: www.w3.org
|
810
|
-
inferred_port:
|
811
685
|
normalized_host:
|
812
|
-
normalized_password:
|
813
686
|
normalized_path:
|
814
|
-
normalized_port:
|
815
687
|
normalized_scheme:
|
816
|
-
normalized_user:
|
817
|
-
normalized_userinfo:
|
818
688
|
password:
|
819
689
|
path: /2000/10/swap/test/syntax/numbers.n3
|
820
690
|
port:
|
@@ -823,29 +693,24 @@
|
|
823
693
|
uri_string: http://www.w3.org/2000/10/swap/test/syntax/numbers.n3
|
824
694
|
user:
|
825
695
|
userinfo:
|
826
|
-
validation_deferred:
|
696
|
+
validation_deferred:
|
827
697
|
description: Number syntax
|
828
|
-
inputDocument:
|
698
|
+
inputDocument: ./spec/swap_test/syntax/numbers.n3
|
829
699
|
name: t10115
|
830
700
|
rdf_type: CwmProofTest
|
831
701
|
- !ruby/object:RdfHelper::TestCase
|
832
702
|
about: !ruby/object:RdfContext::URIRef
|
833
703
|
namespace:
|
834
|
-
normalize:
|
704
|
+
normalize: false
|
835
705
|
to_s: http://www.w3.org/2000/10/swap/test/syntax/lstring.n3
|
836
706
|
uri: !ruby/object:Addressable::URI
|
837
707
|
authority: www.w3.org
|
838
708
|
fragment:
|
839
|
-
hash:
|
709
|
+
hash: 2133162527
|
840
710
|
host: www.w3.org
|
841
|
-
inferred_port:
|
842
711
|
normalized_host:
|
843
|
-
normalized_password:
|
844
712
|
normalized_path:
|
845
|
-
normalized_port:
|
846
713
|
normalized_scheme:
|
847
|
-
normalized_user:
|
848
|
-
normalized_userinfo:
|
849
714
|
password:
|
850
715
|
path: /2000/10/swap/test/syntax/lstring.n3
|
851
716
|
port:
|
@@ -854,29 +719,24 @@
|
|
854
719
|
uri_string: http://www.w3.org/2000/10/swap/test/syntax/lstring.n3
|
855
720
|
user:
|
856
721
|
userinfo:
|
857
|
-
validation_deferred:
|
722
|
+
validation_deferred:
|
858
723
|
description: N3 string nested triple quoting
|
859
|
-
inputDocument:
|
724
|
+
inputDocument: ./spec/swap_test/syntax/lstring.n3
|
860
725
|
name: t1014
|
861
726
|
rdf_type: CwmProofTest
|
862
727
|
- !ruby/object:RdfHelper::TestCase
|
863
728
|
about: !ruby/object:RdfContext::URIRef
|
864
729
|
namespace:
|
865
|
-
normalize:
|
730
|
+
normalize: false
|
866
731
|
to_s: http://www.w3.org/2000/10/swap/test/lists.n3
|
867
732
|
uri: !ruby/object:Addressable::URI
|
868
733
|
authority: www.w3.org
|
869
734
|
fragment:
|
870
|
-
hash:
|
735
|
+
hash: 877091703
|
871
736
|
host: www.w3.org
|
872
|
-
inferred_port:
|
873
737
|
normalized_host:
|
874
|
-
normalized_password:
|
875
738
|
normalized_path:
|
876
|
-
normalized_port:
|
877
739
|
normalized_scheme:
|
878
|
-
normalized_user:
|
879
|
-
normalized_userinfo:
|
880
740
|
password:
|
881
741
|
path: /2000/10/swap/test/lists.n3
|
882
742
|
port:
|
@@ -885,29 +745,24 @@
|
|
885
745
|
uri_string: http://www.w3.org/2000/10/swap/test/lists.n3
|
886
746
|
user:
|
887
747
|
userinfo:
|
888
|
-
validation_deferred:
|
748
|
+
validation_deferred:
|
889
749
|
description: parsing and generation of N3 list syntax
|
890
|
-
inputDocument:
|
750
|
+
inputDocument: ./spec/swap_test/lists.n3
|
891
751
|
name: t1017
|
892
752
|
rdf_type: CwmProofTest
|
893
753
|
- !ruby/object:RdfHelper::TestCase
|
894
754
|
about: !ruby/object:RdfContext::URIRef
|
895
755
|
namespace:
|
896
|
-
normalize:
|
756
|
+
normalize: false
|
897
757
|
to_s: http://www.w3.org/2000/10/swap/test/lists-simple.n3
|
898
758
|
uri: !ruby/object:Addressable::URI
|
899
759
|
authority: www.w3.org
|
900
760
|
fragment:
|
901
|
-
hash:
|
761
|
+
hash: 2072382225
|
902
762
|
host: www.w3.org
|
903
|
-
inferred_port:
|
904
763
|
normalized_host:
|
905
|
-
normalized_password:
|
906
764
|
normalized_path:
|
907
|
-
normalized_port:
|
908
765
|
normalized_scheme:
|
909
|
-
normalized_user:
|
910
|
-
normalized_userinfo:
|
911
766
|
password:
|
912
767
|
path: /2000/10/swap/test/lists-simple.n3
|
913
768
|
port:
|
@@ -916,29 +771,24 @@
|
|
916
771
|
uri_string: http://www.w3.org/2000/10/swap/test/lists-simple.n3
|
917
772
|
user:
|
918
773
|
userinfo:
|
919
|
-
validation_deferred:
|
774
|
+
validation_deferred:
|
920
775
|
description: conversion of subset of N3 list syntax to RDF
|
921
|
-
inputDocument:
|
776
|
+
inputDocument: ./spec/swap_test/lists-simple.n3
|
922
777
|
name: t1018
|
923
778
|
rdf_type: CwmTest
|
924
779
|
- !ruby/object:RdfHelper::TestCase
|
925
780
|
about: !ruby/object:RdfContext::URIRef
|
926
781
|
namespace:
|
927
|
-
normalize:
|
782
|
+
normalize: false
|
928
783
|
to_s: http://www.w3.org/2000/10/swap/test/list/itemType.rdf
|
929
784
|
uri: !ruby/object:Addressable::URI
|
930
785
|
authority: www.w3.org
|
931
786
|
fragment:
|
932
|
-
hash:
|
787
|
+
hash: 1550965565
|
933
788
|
host: www.w3.org
|
934
|
-
inferred_port:
|
935
789
|
normalized_host:
|
936
|
-
normalized_password:
|
937
790
|
normalized_path:
|
938
|
-
normalized_port:
|
939
791
|
normalized_scheme:
|
940
|
-
normalized_user:
|
941
|
-
normalized_userinfo:
|
942
792
|
password:
|
943
793
|
path: /2000/10/swap/test/list/itemType.rdf
|
944
794
|
port:
|
@@ -947,29 +797,24 @@
|
|
947
797
|
uri_string: http://www.w3.org/2000/10/swap/test/list/itemType.rdf
|
948
798
|
user:
|
949
799
|
userinfo:
|
950
|
-
validation_deferred:
|
800
|
+
validation_deferred:
|
951
801
|
description: make sure typeNodes in RDF/XML Collections are parsed
|
952
|
-
inputDocument:
|
802
|
+
inputDocument: ./spec/swap_test/list/itemType.rdf
|
953
803
|
name: t1018a1
|
954
804
|
rdf_type: CwmProofTest
|
955
805
|
- !ruby/object:RdfHelper::TestCase
|
956
806
|
about: !ruby/object:RdfContext::URIRef
|
957
807
|
namespace:
|
958
|
-
normalize:
|
808
|
+
normalize: false
|
959
809
|
to_s: http://www.w3.org/2000/10/swap/test/norm/fix.rdf
|
960
810
|
uri: &id003 !ruby/object:Addressable::URI
|
961
811
|
authority: www.w3.org
|
962
812
|
fragment:
|
963
|
-
hash: -
|
813
|
+
hash: -680718847
|
964
814
|
host: www.w3.org
|
965
|
-
inferred_port:
|
966
815
|
normalized_host:
|
967
|
-
normalized_password:
|
968
816
|
normalized_path:
|
969
|
-
normalized_port:
|
970
817
|
normalized_scheme:
|
971
|
-
normalized_user:
|
972
|
-
normalized_userinfo:
|
973
818
|
password:
|
974
819
|
path: /2000/10/swap/test/norm/fix.rdf
|
975
820
|
port:
|
@@ -978,49 +823,44 @@
|
|
978
823
|
uri_string: http://www.w3.org/2000/10/swap/test/norm/fix.rdf
|
979
824
|
user:
|
980
825
|
userinfo:
|
981
|
-
validation_deferred:
|
826
|
+
validation_deferred:
|
982
827
|
description: Avoiding default namespace on attrs
|
983
|
-
inputDocument:
|
828
|
+
inputDocument: ./spec/swap_test/norm/fix.rdf
|
984
829
|
name: t1019
|
985
830
|
rdf_type: CwmProofTest
|
986
831
|
- !ruby/object:RdfHelper::TestCase
|
987
832
|
about: !ruby/object:RdfContext::URIRef
|
988
833
|
namespace:
|
989
|
-
normalize:
|
834
|
+
normalize: false
|
990
835
|
to_s: http://www.w3.org/2000/10/swap/test/norm/fix.rdf
|
991
836
|
uri: *id003
|
992
837
|
description: Avoiding default namespace on attrs
|
993
|
-
inputDocument:
|
838
|
+
inputDocument: ./spec/swap_test/norm/fix.rdf
|
994
839
|
name: t1020
|
995
840
|
rdf_type: CwmTest
|
996
841
|
- !ruby/object:RdfHelper::TestCase
|
997
842
|
about: !ruby/object:RdfContext::URIRef
|
998
843
|
namespace:
|
999
|
-
normalize:
|
844
|
+
normalize: false
|
1000
845
|
to_s: http://www.w3.org/2000/10/swap/test/norm/fix.rdf
|
1001
846
|
uri: *id003
|
1002
847
|
description: Avoiding default namespace on attrs
|
1003
|
-
inputDocument:
|
848
|
+
inputDocument: ./spec/swap_test/norm/fix.rdf
|
1004
849
|
name: t1021
|
1005
850
|
rdf_type: CwmTest
|
1006
851
|
- !ruby/object:RdfHelper::TestCase
|
1007
852
|
about: !ruby/object:RdfContext::URIRef
|
1008
853
|
namespace:
|
1009
|
-
normalize:
|
854
|
+
normalize: false
|
1010
855
|
to_s: http://www.w3.org/2000/10/swap/test/owl-ex.rdf
|
1011
856
|
uri: !ruby/object:Addressable::URI
|
1012
857
|
authority: www.w3.org
|
1013
858
|
fragment:
|
1014
|
-
hash:
|
859
|
+
hash: 931822430
|
1015
860
|
host: www.w3.org
|
1016
|
-
inferred_port:
|
1017
861
|
normalized_host:
|
1018
|
-
normalized_password:
|
1019
862
|
normalized_path:
|
1020
|
-
normalized_port:
|
1021
863
|
normalized_scheme:
|
1022
|
-
normalized_user:
|
1023
|
-
normalized_userinfo:
|
1024
864
|
password:
|
1025
865
|
path: /2000/10/swap/test/owl-ex.rdf
|
1026
866
|
port:
|
@@ -1029,29 +869,24 @@
|
|
1029
869
|
uri_string: http://www.w3.org/2000/10/swap/test/owl-ex.rdf
|
1030
870
|
user:
|
1031
871
|
userinfo:
|
1032
|
-
validation_deferred:
|
872
|
+
validation_deferred:
|
1033
873
|
description: Early DAML (now OWL) example in XML/RDF
|
1034
|
-
inputDocument:
|
874
|
+
inputDocument: ./spec/swap_test/owl-ex.rdf
|
1035
875
|
name: t1022
|
1036
876
|
rdf_type: CwmProofTest
|
1037
877
|
- !ruby/object:RdfHelper::TestCase
|
1038
878
|
about: !ruby/object:RdfContext::URIRef
|
1039
879
|
namespace:
|
1040
|
-
normalize:
|
880
|
+
normalize: false
|
1041
881
|
to_s: http://www.w3.org/2000/10/swap/test/xml-syntax/basic-serialization.n3
|
1042
882
|
uri: !ruby/object:Addressable::URI
|
1043
883
|
authority: www.w3.org
|
1044
884
|
fragment:
|
1045
|
-
hash:
|
885
|
+
hash: -1649195530
|
1046
886
|
host: www.w3.org
|
1047
|
-
inferred_port:
|
1048
887
|
normalized_host:
|
1049
|
-
normalized_password:
|
1050
888
|
normalized_path:
|
1051
|
-
normalized_port:
|
1052
889
|
normalized_scheme:
|
1053
|
-
normalized_user:
|
1054
|
-
normalized_userinfo:
|
1055
890
|
password:
|
1056
891
|
path: /2000/10/swap/test/xml-syntax/basic-serialization.n3
|
1057
892
|
port:
|
@@ -1060,8 +895,8 @@
|
|
1060
895
|
uri_string: http://www.w3.org/2000/10/swap/test/xml-syntax/basic-serialization.n3
|
1061
896
|
user:
|
1062
897
|
userinfo:
|
1063
|
-
validation_deferred:
|
898
|
+
validation_deferred:
|
1064
899
|
description: extremely basic RDF serialization test
|
1065
|
-
inputDocument:
|
900
|
+
inputDocument: ./spec/swap_test/xml-syntax/basic-serialization.n3
|
1066
901
|
name: t1063
|
1067
902
|
rdf_type: CwmTest
|