rdf_context 0.5.7 → 0.5.8.1
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/History.rdoc +15 -1
- data/README.rdoc +2 -0
- data/Rakefile +2 -4
- data/VERSION +1 -1
- data/bin/rdf_context +5 -54
- data/lib/rdf_context.rb +5 -0
- data/lib/rdf_context/graph.rb +68 -49
- data/lib/rdf_context/n3parser.rb +2 -2
- data/lib/rdf_context/namespace.rb +1 -1
- data/lib/rdf_context/nokogiri_hacks.rb +7 -0
- data/lib/rdf_context/parser.rb +57 -13
- data/lib/rdf_context/rdfaparser.rb +200 -130
- data/lib/rdf_context/rdfxmlparser.rb +8 -8
- data/lib/rdf_context/serializer/recursive_serializer.rb +1 -1
- data/lib/rdf_context/serializer/turtle_serializer.rb +15 -15
- data/lib/rdf_context/serializer/xml_serializer.rb +8 -8
- data/lib/rdf_context/store/memory_store.rb +14 -14
- data/lib/rdf_context/store/sqlite3_store.rb +4 -4
- data/lib/rdf_context/uriref.rb +11 -4
- data/script/console +1 -3
- data/script/tc +44 -0
- data/spec/.gitignore +1 -0
- data/spec/aggregate_graph_spec.rb +1 -0
- data/spec/bnode_spec.rb +2 -1
- data/spec/conjunctive_graph_spec.rb +1 -0
- data/spec/cwm_spec.rb +1 -0
- data/spec/duration_spec.rb +1 -0
- data/spec/graph_spec.rb +27 -0
- data/spec/list_store_spec.rb +1 -0
- data/spec/literal_spec.rb +1 -0
- data/spec/matchers.rb +1 -1
- data/spec/memory_store_spec.rb +1 -0
- data/spec/n3parser_spec.rb +1 -0
- data/spec/namespaces_spec.rb +1 -0
- data/spec/parser_spec.rb +1 -0
- data/spec/rdf_helper.rb +4 -4
- data/spec/rdfa_helper.rb +24 -0
- data/spec/rdfa_parser_spec.rb +6 -36
- data/spec/rdfcore/.gitignore +1 -0
- data/spec/rdfxml_spec.rb +1 -0
- data/spec/sqlite3_store_spec.rb +1 -0
- data/spec/string_hacks_spec.rb +2 -0
- data/spec/swap_test/.gitignore +1 -0
- data/spec/triple_spec.rb +1 -0
- data/spec/turtle/.gitignore +1 -0
- data/spec/turtle_serializer_spec.rb +3 -2
- data/spec/turtle_spec.rb +1 -0
- data/spec/uriref_spec.rb +13 -12
- data/spec/xml_serializer_spec.rb +7 -6
- metadata +26 -61
- data/spec/html4-manifest.yml +0 -4937
- data/spec/html5-manifest.yml +0 -4937
- data/spec/rdfcore/Manifest.yml +0 -6242
- data/spec/swap_test/n3parser.yml +0 -773
- data/spec/swap_test/regression.yml +0 -902
- data/spec/turtle/manifest-bad.yml +0 -807
- data/spec/turtle/manifest.yml +0 -807
- data/spec/xhtml-manifest.yml +0 -3901
- data/spec/xhtml11-manifest.yml +0 -4405
data/spec/swap_test/n3parser.yml
DELETED
|
@@ -1,773 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
- !ruby/object:RdfHelper::TestCase
|
|
3
|
-
about: !ruby/object:RdfContext::URIRef
|
|
4
|
-
namespace:
|
|
5
|
-
normalize: false
|
|
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: 961633248
|
|
11
|
-
host: www.w3.org
|
|
12
|
-
normalized_host:
|
|
13
|
-
normalized_path:
|
|
14
|
-
normalized_scheme:
|
|
15
|
-
password:
|
|
16
|
-
path: /2000/10/swap/test/syntax/no-last-nl.n3
|
|
17
|
-
port:
|
|
18
|
-
query:
|
|
19
|
-
scheme: http
|
|
20
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/no-last-nl.n3
|
|
21
|
-
user:
|
|
22
|
-
userinfo:
|
|
23
|
-
validation_deferred:
|
|
24
|
-
description: An N3 file with no final newline character
|
|
25
|
-
inputDocument: ./spec/swap_test/syntax/no-last-nl.n3
|
|
26
|
-
name: n3_10001
|
|
27
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10001.nt
|
|
28
|
-
rdf_type: PositiveParserTest
|
|
29
|
-
- !ruby/object:RdfHelper::TestCase
|
|
30
|
-
about: !ruby/object:RdfContext::URIRef
|
|
31
|
-
namespace:
|
|
32
|
-
normalize: false
|
|
33
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/dot-dash.n3
|
|
34
|
-
uri: !ruby/object:Addressable::URI
|
|
35
|
-
authority: www.w3.org
|
|
36
|
-
fragment:
|
|
37
|
-
hash: -200024522
|
|
38
|
-
host: www.w3.org
|
|
39
|
-
normalized_host:
|
|
40
|
-
normalized_path:
|
|
41
|
-
normalized_scheme:
|
|
42
|
-
password:
|
|
43
|
-
path: /2000/10/swap/test/syntax/dot-dash.n3
|
|
44
|
-
port:
|
|
45
|
-
query:
|
|
46
|
-
scheme: http
|
|
47
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/dot-dash.n3
|
|
48
|
-
user:
|
|
49
|
-
userinfo:
|
|
50
|
-
validation_deferred:
|
|
51
|
-
description: combinations of - and _ in identifiers
|
|
52
|
-
inputDocument: ./spec/swap_test/syntax/dot-dash.n3
|
|
53
|
-
name: n3_10002
|
|
54
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10002.nt
|
|
55
|
-
rdf_type: PositiveParserTest
|
|
56
|
-
- !ruby/object:RdfHelper::TestCase
|
|
57
|
-
about: !ruby/object:RdfContext::URIRef
|
|
58
|
-
namespace:
|
|
59
|
-
normalize: false
|
|
60
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/keywords1.n3
|
|
61
|
-
uri: !ruby/object:Addressable::URI
|
|
62
|
-
authority: www.w3.org
|
|
63
|
-
fragment:
|
|
64
|
-
hash: 1792820531
|
|
65
|
-
host: www.w3.org
|
|
66
|
-
normalized_host:
|
|
67
|
-
normalized_path:
|
|
68
|
-
normalized_scheme:
|
|
69
|
-
password:
|
|
70
|
-
path: /2000/10/swap/test/syntax/keywords1.n3
|
|
71
|
-
port:
|
|
72
|
-
query:
|
|
73
|
-
scheme: http
|
|
74
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/keywords1.n3
|
|
75
|
-
user:
|
|
76
|
-
userinfo:
|
|
77
|
-
validation_deferred:
|
|
78
|
-
description: "@keywords in n3"
|
|
79
|
-
inputDocument: ./spec/swap_test/syntax/keywords1.n3
|
|
80
|
-
name: n3_10003
|
|
81
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10003.nt
|
|
82
|
-
rdf_type: PositiveParserTest
|
|
83
|
-
- !ruby/object:RdfHelper::TestCase
|
|
84
|
-
about: !ruby/object:RdfContext::URIRef
|
|
85
|
-
namespace:
|
|
86
|
-
normalize: false
|
|
87
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/keywords2.n3
|
|
88
|
-
uri: !ruby/object:Addressable::URI
|
|
89
|
-
authority: www.w3.org
|
|
90
|
-
fragment:
|
|
91
|
-
hash: 987839982
|
|
92
|
-
host: www.w3.org
|
|
93
|
-
normalized_host:
|
|
94
|
-
normalized_path:
|
|
95
|
-
normalized_scheme:
|
|
96
|
-
password:
|
|
97
|
-
path: /2000/10/swap/test/syntax/keywords2.n3
|
|
98
|
-
port:
|
|
99
|
-
query:
|
|
100
|
-
scheme: http
|
|
101
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/keywords2.n3
|
|
102
|
-
user:
|
|
103
|
-
userinfo:
|
|
104
|
-
validation_deferred:
|
|
105
|
-
description: using no keywords in n3
|
|
106
|
-
inputDocument: ./spec/swap_test/syntax/keywords2.n3
|
|
107
|
-
name: n3_10004
|
|
108
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10004.nt
|
|
109
|
-
rdf_type: PositiveParserTest
|
|
110
|
-
- !ruby/object:RdfHelper::TestCase
|
|
111
|
-
about: !ruby/object:RdfContext::URIRef
|
|
112
|
-
namespace:
|
|
113
|
-
normalize: false
|
|
114
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/djb1a.n3
|
|
115
|
-
uri: !ruby/object:Addressable::URI
|
|
116
|
-
authority: www.w3.org
|
|
117
|
-
fragment:
|
|
118
|
-
hash: -1245829990
|
|
119
|
-
host: www.w3.org
|
|
120
|
-
normalized_host:
|
|
121
|
-
normalized_path:
|
|
122
|
-
normalized_scheme:
|
|
123
|
-
password:
|
|
124
|
-
path: /2000/10/swap/test/syntax/djb1a.n3
|
|
125
|
-
port:
|
|
126
|
-
query:
|
|
127
|
-
scheme: http
|
|
128
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/djb1a.n3
|
|
129
|
-
user:
|
|
130
|
-
userinfo:
|
|
131
|
-
validation_deferred:
|
|
132
|
-
description: djb noticed a:b was parsed as rdf:type token
|
|
133
|
-
inputDocument: ./spec/swap_test/syntax/djb1a.n3
|
|
134
|
-
name: n3_10005
|
|
135
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10005.nt
|
|
136
|
-
rdf_type: PositiveParserTest
|
|
137
|
-
- !ruby/object:RdfHelper::TestCase
|
|
138
|
-
about: !ruby/object:RdfContext::URIRef
|
|
139
|
-
namespace:
|
|
140
|
-
normalize: false
|
|
141
|
-
to_s: http://www.w3.org/2000/10/swap/test/contexts.n3
|
|
142
|
-
uri: !ruby/object:Addressable::URI
|
|
143
|
-
authority: www.w3.org
|
|
144
|
-
fragment:
|
|
145
|
-
hash: -1338678489
|
|
146
|
-
host: www.w3.org
|
|
147
|
-
normalized_host:
|
|
148
|
-
normalized_path:
|
|
149
|
-
normalized_scheme:
|
|
150
|
-
password:
|
|
151
|
-
path: /2000/10/swap/test/contexts.n3
|
|
152
|
-
port:
|
|
153
|
-
query:
|
|
154
|
-
scheme: http
|
|
155
|
-
uri_string: http://www.w3.org/2000/10/swap/test/contexts.n3
|
|
156
|
-
user:
|
|
157
|
-
userinfo:
|
|
158
|
-
validation_deferred:
|
|
159
|
-
description: Parse and generate simple contexts
|
|
160
|
-
inputDocument: ./spec/swap_test/contexts.n3
|
|
161
|
-
name: n3_10007
|
|
162
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10007.nt
|
|
163
|
-
rdf_type: PositiveParserTest
|
|
164
|
-
- !ruby/object:RdfHelper::TestCase
|
|
165
|
-
about: !ruby/object:RdfContext::URIRef
|
|
166
|
-
namespace:
|
|
167
|
-
normalize: false
|
|
168
|
-
to_s: http://www.w3.org/2000/10/swap/test/anon-prop.n3
|
|
169
|
-
uri: !ruby/object:Addressable::URI
|
|
170
|
-
authority: www.w3.org
|
|
171
|
-
fragment:
|
|
172
|
-
hash: -805068399
|
|
173
|
-
host: www.w3.org
|
|
174
|
-
normalized_host:
|
|
175
|
-
normalized_path:
|
|
176
|
-
normalized_scheme:
|
|
177
|
-
password:
|
|
178
|
-
path: /2000/10/swap/test/anon-prop.n3
|
|
179
|
-
port:
|
|
180
|
-
query:
|
|
181
|
-
scheme: http
|
|
182
|
-
uri_string: http://www.w3.org/2000/10/swap/test/anon-prop.n3
|
|
183
|
-
user:
|
|
184
|
-
userinfo:
|
|
185
|
-
validation_deferred:
|
|
186
|
-
description: Parse and regen anonymous property
|
|
187
|
-
inputDocument: ./spec/swap_test/anon-prop.n3
|
|
188
|
-
name: n3_10008
|
|
189
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10008.nt
|
|
190
|
-
rdf_type: PositiveParserTest
|
|
191
|
-
- !ruby/object:RdfHelper::TestCase
|
|
192
|
-
about: !ruby/object:RdfContext::URIRef
|
|
193
|
-
namespace:
|
|
194
|
-
normalize: false
|
|
195
|
-
to_s: http://www.w3.org/2000/10/swap/test/strquot.n3
|
|
196
|
-
uri: !ruby/object:Addressable::URI
|
|
197
|
-
authority: www.w3.org
|
|
198
|
-
fragment:
|
|
199
|
-
hash: -1711052224
|
|
200
|
-
host: www.w3.org
|
|
201
|
-
normalized_host:
|
|
202
|
-
normalized_path:
|
|
203
|
-
normalized_scheme:
|
|
204
|
-
password:
|
|
205
|
-
path: /2000/10/swap/test/strquot.n3
|
|
206
|
-
port:
|
|
207
|
-
query:
|
|
208
|
-
scheme: http
|
|
209
|
-
uri_string: http://www.w3.org/2000/10/swap/test/strquot.n3
|
|
210
|
-
user:
|
|
211
|
-
userinfo:
|
|
212
|
-
validation_deferred:
|
|
213
|
-
description: N3 string quoting with escaping
|
|
214
|
-
inputDocument: ./spec/swap_test/strquot.n3
|
|
215
|
-
name: n3_10009
|
|
216
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10009.nt
|
|
217
|
-
rdf_type: PositiveParserTest
|
|
218
|
-
- !ruby/object:RdfHelper::TestCase
|
|
219
|
-
about: !ruby/object:RdfContext::URIRef
|
|
220
|
-
namespace:
|
|
221
|
-
normalize: false
|
|
222
|
-
to_s: http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3
|
|
223
|
-
uri: !ruby/object:Addressable::URI
|
|
224
|
-
authority: www.w3.org
|
|
225
|
-
fragment:
|
|
226
|
-
hash: -1226340415
|
|
227
|
-
host: www.w3.org
|
|
228
|
-
normalized_host:
|
|
229
|
-
normalized_path:
|
|
230
|
-
normalized_scheme:
|
|
231
|
-
password:
|
|
232
|
-
path: /2000/10/swap/test/i18n/hiragana.n3
|
|
233
|
-
port:
|
|
234
|
-
query:
|
|
235
|
-
scheme: http
|
|
236
|
-
uri_string: http://www.w3.org/2000/10/swap/test/i18n/hiragana.n3
|
|
237
|
-
user:
|
|
238
|
-
userinfo:
|
|
239
|
-
validation_deferred:
|
|
240
|
-
description: N3 string, qname and IRI with utf-8 non-ascii characters
|
|
241
|
-
inputDocument: ./spec/swap_test/i18n/hiragana.n3
|
|
242
|
-
name: n3_10010
|
|
243
|
-
rdf_type: PositiveParserTest
|
|
244
|
-
- !ruby/object:RdfHelper::TestCase
|
|
245
|
-
about: !ruby/object:RdfContext::URIRef
|
|
246
|
-
namespace:
|
|
247
|
-
normalize: false
|
|
248
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/path1.n3
|
|
249
|
-
uri: !ruby/object:Addressable::URI
|
|
250
|
-
authority: www.w3.org
|
|
251
|
-
fragment:
|
|
252
|
-
hash: 779388392
|
|
253
|
-
host: www.w3.org
|
|
254
|
-
normalized_host:
|
|
255
|
-
normalized_path:
|
|
256
|
-
normalized_scheme:
|
|
257
|
-
password:
|
|
258
|
-
path: /2000/10/swap/test/syntax/path1.n3
|
|
259
|
-
port:
|
|
260
|
-
query:
|
|
261
|
-
scheme: http
|
|
262
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/path1.n3
|
|
263
|
-
user:
|
|
264
|
-
userinfo:
|
|
265
|
-
validation_deferred:
|
|
266
|
-
description: Path syntax, simple
|
|
267
|
-
inputDocument: ./spec/swap_test/syntax/path1.n3
|
|
268
|
-
name: n3_10011
|
|
269
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10011.nt
|
|
270
|
-
rdf_type: PositiveParserTest
|
|
271
|
-
- !ruby/object:RdfHelper::TestCase
|
|
272
|
-
about: !ruby/object:RdfContext::URIRef
|
|
273
|
-
namespace:
|
|
274
|
-
normalize: false
|
|
275
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/path2.n3
|
|
276
|
-
uri: !ruby/object:Addressable::URI
|
|
277
|
-
authority: www.w3.org
|
|
278
|
-
fragment:
|
|
279
|
-
hash: -25592157
|
|
280
|
-
host: www.w3.org
|
|
281
|
-
normalized_host:
|
|
282
|
-
normalized_path:
|
|
283
|
-
normalized_scheme:
|
|
284
|
-
password:
|
|
285
|
-
path: /2000/10/swap/test/syntax/path2.n3
|
|
286
|
-
port:
|
|
287
|
-
query:
|
|
288
|
-
scheme: http
|
|
289
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/path2.n3
|
|
290
|
-
user:
|
|
291
|
-
userinfo:
|
|
292
|
-
validation_deferred:
|
|
293
|
-
description: Path syntax, more
|
|
294
|
-
inputDocument: ./spec/swap_test/syntax/path2.n3
|
|
295
|
-
name: n3_10012
|
|
296
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10012.nt
|
|
297
|
-
rdf_type: PositiveParserTest
|
|
298
|
-
- !ruby/object:RdfHelper::TestCase
|
|
299
|
-
about: !ruby/object:RdfContext::URIRef
|
|
300
|
-
namespace:
|
|
301
|
-
normalize: false
|
|
302
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/numbers.n3
|
|
303
|
-
uri: !ruby/object:Addressable::URI
|
|
304
|
-
authority: www.w3.org
|
|
305
|
-
fragment:
|
|
306
|
-
hash: 1886207498
|
|
307
|
-
host: www.w3.org
|
|
308
|
-
normalized_host:
|
|
309
|
-
normalized_path:
|
|
310
|
-
normalized_scheme:
|
|
311
|
-
password:
|
|
312
|
-
path: /2000/10/swap/test/syntax/numbers.n3
|
|
313
|
-
port:
|
|
314
|
-
query:
|
|
315
|
-
scheme: http
|
|
316
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/numbers.n3
|
|
317
|
-
user:
|
|
318
|
-
userinfo:
|
|
319
|
-
validation_deferred:
|
|
320
|
-
description: Number syntax
|
|
321
|
-
inputDocument: ./spec/swap_test/syntax/numbers.n3
|
|
322
|
-
name: n3_10013
|
|
323
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10013.nt
|
|
324
|
-
rdf_type: PositiveParserTest
|
|
325
|
-
- !ruby/object:RdfHelper::TestCase
|
|
326
|
-
about: !ruby/object:RdfContext::URIRef
|
|
327
|
-
namespace:
|
|
328
|
-
normalize: false
|
|
329
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/qvars1.n3
|
|
330
|
-
uri: !ruby/object:Addressable::URI
|
|
331
|
-
authority: www.w3.org
|
|
332
|
-
fragment:
|
|
333
|
-
hash: 543409409
|
|
334
|
-
host: www.w3.org
|
|
335
|
-
normalized_host:
|
|
336
|
-
normalized_path:
|
|
337
|
-
normalized_scheme:
|
|
338
|
-
password:
|
|
339
|
-
path: /2000/10/swap/test/syntax/qvars1.n3
|
|
340
|
-
port:
|
|
341
|
-
query:
|
|
342
|
-
scheme: http
|
|
343
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/qvars1.n3
|
|
344
|
-
user:
|
|
345
|
-
userinfo:
|
|
346
|
-
validation_deferred:
|
|
347
|
-
description: Quick variable syntax, simple
|
|
348
|
-
inputDocument: ./spec/swap_test/syntax/qvars1.n3
|
|
349
|
-
name: n3_10014
|
|
350
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10014.nt
|
|
351
|
-
rdf_type: PositiveParserTest
|
|
352
|
-
- !ruby/object:RdfHelper::TestCase
|
|
353
|
-
about: !ruby/object:RdfContext::URIRef
|
|
354
|
-
namespace:
|
|
355
|
-
normalize: false
|
|
356
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/qvars2.n3
|
|
357
|
-
uri: !ruby/object:Addressable::URI
|
|
358
|
-
authority: www.w3.org
|
|
359
|
-
fragment:
|
|
360
|
-
hash: -261571140
|
|
361
|
-
host: www.w3.org
|
|
362
|
-
normalized_host:
|
|
363
|
-
normalized_path:
|
|
364
|
-
normalized_scheme:
|
|
365
|
-
password:
|
|
366
|
-
path: /2000/10/swap/test/syntax/qvars2.n3
|
|
367
|
-
port:
|
|
368
|
-
query:
|
|
369
|
-
scheme: http
|
|
370
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/qvars2.n3
|
|
371
|
-
user:
|
|
372
|
-
userinfo:
|
|
373
|
-
validation_deferred:
|
|
374
|
-
description: Quick variable syntax, more
|
|
375
|
-
inputDocument: ./spec/swap_test/syntax/qvars2.n3
|
|
376
|
-
name: n3_10015
|
|
377
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10015.nt
|
|
378
|
-
rdf_type: PositiveParserTest
|
|
379
|
-
- !ruby/object:RdfHelper::TestCase
|
|
380
|
-
about: !ruby/object:RdfContext::URIRef
|
|
381
|
-
namespace:
|
|
382
|
-
normalize: false
|
|
383
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/lstring.n3
|
|
384
|
-
uri: !ruby/object:Addressable::URI
|
|
385
|
-
authority: www.w3.org
|
|
386
|
-
fragment:
|
|
387
|
-
hash: 2133162527
|
|
388
|
-
host: www.w3.org
|
|
389
|
-
normalized_host:
|
|
390
|
-
normalized_path:
|
|
391
|
-
normalized_scheme:
|
|
392
|
-
password:
|
|
393
|
-
path: /2000/10/swap/test/syntax/lstring.n3
|
|
394
|
-
port:
|
|
395
|
-
query:
|
|
396
|
-
scheme: http
|
|
397
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/lstring.n3
|
|
398
|
-
user:
|
|
399
|
-
userinfo:
|
|
400
|
-
validation_deferred:
|
|
401
|
-
description: N3 string nested triple quoting
|
|
402
|
-
inputDocument: ./spec/swap_test/syntax/lstring.n3
|
|
403
|
-
name: n3_10016
|
|
404
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10016.nt
|
|
405
|
-
rdf_type: PositiveParserTest
|
|
406
|
-
- !ruby/object:RdfHelper::TestCase
|
|
407
|
-
about: !ruby/object:RdfContext::URIRef
|
|
408
|
-
namespace:
|
|
409
|
-
normalize: false
|
|
410
|
-
to_s: http://www.w3.org/2000/10/swap/test/lists.n3
|
|
411
|
-
uri: !ruby/object:Addressable::URI
|
|
412
|
-
authority: www.w3.org
|
|
413
|
-
fragment:
|
|
414
|
-
hash: 877091703
|
|
415
|
-
host: www.w3.org
|
|
416
|
-
normalized_host:
|
|
417
|
-
normalized_path:
|
|
418
|
-
normalized_scheme:
|
|
419
|
-
password:
|
|
420
|
-
path: /2000/10/swap/test/lists.n3
|
|
421
|
-
port:
|
|
422
|
-
query:
|
|
423
|
-
scheme: http
|
|
424
|
-
uri_string: http://www.w3.org/2000/10/swap/test/lists.n3
|
|
425
|
-
user:
|
|
426
|
-
userinfo:
|
|
427
|
-
validation_deferred:
|
|
428
|
-
description: parsing and generation of N3 list syntax
|
|
429
|
-
inputDocument: ./spec/swap_test/lists.n3
|
|
430
|
-
name: n3_10017
|
|
431
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10017.nt
|
|
432
|
-
rdf_type: PositiveParserTest
|
|
433
|
-
- !ruby/object:RdfHelper::TestCase
|
|
434
|
-
about: !ruby/object:RdfContext::URIRef
|
|
435
|
-
namespace:
|
|
436
|
-
normalize: false
|
|
437
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3
|
|
438
|
-
uri: !ruby/object:Addressable::URI
|
|
439
|
-
authority: www.w3.org
|
|
440
|
-
fragment:
|
|
441
|
-
hash: 50492811
|
|
442
|
-
host: www.w3.org
|
|
443
|
-
normalized_host:
|
|
444
|
-
normalized_path:
|
|
445
|
-
normalized_scheme:
|
|
446
|
-
password:
|
|
447
|
-
path: /2000/10/swap/test/syntax/trailing-semicolon.n3
|
|
448
|
-
port:
|
|
449
|
-
query:
|
|
450
|
-
scheme: http
|
|
451
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/trailing-semicolon.n3
|
|
452
|
-
user:
|
|
453
|
-
userinfo:
|
|
454
|
-
validation_deferred:
|
|
455
|
-
description: Propertylists can end in trailing semicolon.
|
|
456
|
-
inputDocument: ./spec/swap_test/syntax/trailing-semicolon.n3
|
|
457
|
-
name: n3_10018
|
|
458
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10018.nt
|
|
459
|
-
rdf_type: PositiveParserTest
|
|
460
|
-
- !ruby/object:RdfHelper::TestCase
|
|
461
|
-
about: !ruby/object:RdfContext::URIRef
|
|
462
|
-
namespace:
|
|
463
|
-
normalize: false
|
|
464
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/this-quantifiers.n3
|
|
465
|
-
uri: !ruby/object:Addressable::URI
|
|
466
|
-
authority: www.w3.org
|
|
467
|
-
fragment:
|
|
468
|
-
hash: 1721981270
|
|
469
|
-
host: www.w3.org
|
|
470
|
-
normalized_host:
|
|
471
|
-
normalized_path:
|
|
472
|
-
normalized_scheme:
|
|
473
|
-
password:
|
|
474
|
-
path: /2000/10/swap/test/syntax/this-quantifiers.n3
|
|
475
|
-
port:
|
|
476
|
-
query:
|
|
477
|
-
scheme: http
|
|
478
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/this-quantifiers.n3
|
|
479
|
-
user:
|
|
480
|
-
userinfo:
|
|
481
|
-
validation_deferred:
|
|
482
|
-
description: Can still read the old 'this log:forSome' syntax?
|
|
483
|
-
inputDocument: ./spec/swap_test/syntax/this-quantifiers.n3
|
|
484
|
-
name: n3_10019
|
|
485
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10019.nt
|
|
486
|
-
rdf_type: NegativeParserTest
|
|
487
|
-
- !ruby/object:RdfHelper::TestCase
|
|
488
|
-
about: !ruby/object:RdfContext::URIRef
|
|
489
|
-
namespace:
|
|
490
|
-
normalize: false
|
|
491
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3
|
|
492
|
-
uri: !ruby/object:Addressable::URI
|
|
493
|
-
authority: www.w3.org
|
|
494
|
-
fragment:
|
|
495
|
-
hash: 999879983
|
|
496
|
-
host: www.w3.org
|
|
497
|
-
normalized_host:
|
|
498
|
-
normalized_path:
|
|
499
|
-
normalized_scheme:
|
|
500
|
-
password:
|
|
501
|
-
path: /2000/10/swap/test/syntax/this-rules.n3
|
|
502
|
-
port:
|
|
503
|
-
query:
|
|
504
|
-
scheme: http
|
|
505
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/this-rules.n3
|
|
506
|
-
user:
|
|
507
|
-
userinfo:
|
|
508
|
-
validation_deferred:
|
|
509
|
-
description: Can still read the old 'this log:forAll' syntax
|
|
510
|
-
inputDocument: ./spec/swap_test/syntax/this-rules.n3
|
|
511
|
-
name: n3_10020
|
|
512
|
-
outputDocument: ./spec/swap_test/n3/n3parser.tests_n3_10020.nt
|
|
513
|
-
rdf_type: NegativeParserTest
|
|
514
|
-
- !ruby/object:RdfHelper::TestCase
|
|
515
|
-
about: !ruby/object:RdfContext::URIRef
|
|
516
|
-
namespace:
|
|
517
|
-
normalize: false
|
|
518
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/equals1.n3
|
|
519
|
-
uri: !ruby/object:Addressable::URI
|
|
520
|
-
authority: www.w3.org
|
|
521
|
-
fragment:
|
|
522
|
-
hash: -783633403
|
|
523
|
-
host: www.w3.org
|
|
524
|
-
normalized_host:
|
|
525
|
-
normalized_path:
|
|
526
|
-
normalized_scheme:
|
|
527
|
-
password:
|
|
528
|
-
path: /2000/10/swap/test/syntax/equals1.n3
|
|
529
|
-
port:
|
|
530
|
-
query:
|
|
531
|
-
scheme: http
|
|
532
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/equals1.n3
|
|
533
|
-
user:
|
|
534
|
-
userinfo:
|
|
535
|
-
validation_deferred:
|
|
536
|
-
description: The = keyword
|
|
537
|
-
inputDocument: ./spec/swap_test/syntax/equals1.n3
|
|
538
|
-
name: n3_10025
|
|
539
|
-
rdf_type: PositiveParserTest
|
|
540
|
-
- !ruby/object:RdfHelper::TestCase
|
|
541
|
-
about: !ruby/object:RdfContext::URIRef
|
|
542
|
-
namespace:
|
|
543
|
-
normalize: false
|
|
544
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/equals2.n3
|
|
545
|
-
uri: !ruby/object:Addressable::URI
|
|
546
|
-
authority: www.w3.org
|
|
547
|
-
fragment:
|
|
548
|
-
hash: -1588613952
|
|
549
|
-
host: www.w3.org
|
|
550
|
-
normalized_host:
|
|
551
|
-
normalized_path:
|
|
552
|
-
normalized_scheme:
|
|
553
|
-
password:
|
|
554
|
-
path: /2000/10/swap/test/syntax/equals2.n3
|
|
555
|
-
port:
|
|
556
|
-
query:
|
|
557
|
-
scheme: http
|
|
558
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/equals2.n3
|
|
559
|
-
user:
|
|
560
|
-
userinfo:
|
|
561
|
-
validation_deferred:
|
|
562
|
-
description: The = keyword
|
|
563
|
-
inputDocument: ./spec/swap_test/syntax/equals2.n3
|
|
564
|
-
name: n3_10026
|
|
565
|
-
rdf_type: PositiveParserTest
|
|
566
|
-
- !ruby/object:RdfHelper::TestCase
|
|
567
|
-
about: !ruby/object:RdfContext::URIRef
|
|
568
|
-
namespace:
|
|
569
|
-
normalize: false
|
|
570
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/zero-predicates.n3
|
|
571
|
-
uri: !ruby/object:Addressable::URI
|
|
572
|
-
authority: www.w3.org
|
|
573
|
-
fragment:
|
|
574
|
-
hash: -335847247
|
|
575
|
-
host: www.w3.org
|
|
576
|
-
normalized_host:
|
|
577
|
-
normalized_path:
|
|
578
|
-
normalized_scheme:
|
|
579
|
-
password:
|
|
580
|
-
path: /2000/10/swap/test/syntax/zero-predicates.n3
|
|
581
|
-
port:
|
|
582
|
-
query:
|
|
583
|
-
scheme: http
|
|
584
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/zero-predicates.n3
|
|
585
|
-
user:
|
|
586
|
-
userinfo:
|
|
587
|
-
validation_deferred:
|
|
588
|
-
description: A statement that says nothing at all
|
|
589
|
-
inputDocument: ./spec/swap_test/syntax/zero-predicates.n3
|
|
590
|
-
name: n3_10027
|
|
591
|
-
rdf_type: PositiveParserTest
|
|
592
|
-
- !ruby/object:RdfHelper::TestCase
|
|
593
|
-
about: !ruby/object:RdfContext::URIRef
|
|
594
|
-
namespace:
|
|
595
|
-
normalize: false
|
|
596
|
-
to_s: http://www.w3.org/2000/10/swap/test/tests-work.txt
|
|
597
|
-
uri: !ruby/object:Addressable::URI
|
|
598
|
-
authority: www.w3.org
|
|
599
|
-
fragment:
|
|
600
|
-
hash: -645452563
|
|
601
|
-
host: www.w3.org
|
|
602
|
-
normalized_host:
|
|
603
|
-
normalized_path:
|
|
604
|
-
normalized_scheme:
|
|
605
|
-
password:
|
|
606
|
-
path: /2000/10/swap/test/tests-work.txt
|
|
607
|
-
port:
|
|
608
|
-
query:
|
|
609
|
-
scheme: http
|
|
610
|
-
uri_string: http://www.w3.org/2000/10/swap/test/tests-work.txt
|
|
611
|
-
user:
|
|
612
|
-
userinfo:
|
|
613
|
-
validation_deferred:
|
|
614
|
-
description: something that isn't n3
|
|
615
|
-
inputDocument: ./spec/swap_test/tests-work.txt
|
|
616
|
-
name: n3_20000
|
|
617
|
-
rdf_type: NegativeParserTest
|
|
618
|
-
- !ruby/object:RdfHelper::TestCase
|
|
619
|
-
about: !ruby/object:RdfContext::URIRef
|
|
620
|
-
namespace:
|
|
621
|
-
normalize: false
|
|
622
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/neg-keywords3.n3
|
|
623
|
-
uri: !ruby/object:Addressable::URI
|
|
624
|
-
authority: www.w3.org
|
|
625
|
-
fragment:
|
|
626
|
-
hash: 1476266585
|
|
627
|
-
host: www.w3.org
|
|
628
|
-
normalized_host:
|
|
629
|
-
normalized_path:
|
|
630
|
-
normalized_scheme:
|
|
631
|
-
password:
|
|
632
|
-
path: /2000/10/swap/test/syntax/neg-keywords3.n3
|
|
633
|
-
port:
|
|
634
|
-
query:
|
|
635
|
-
scheme: http
|
|
636
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/neg-keywords3.n3
|
|
637
|
-
user:
|
|
638
|
-
userinfo:
|
|
639
|
-
validation_deferred:
|
|
640
|
-
description: "@keywords is not a valid predicate"
|
|
641
|
-
inputDocument: ./spec/swap_test/syntax/neg-keywords3.n3
|
|
642
|
-
name: n3_20001
|
|
643
|
-
rdf_type: NegativeParserTest
|
|
644
|
-
- !ruby/object:RdfHelper::TestCase
|
|
645
|
-
about: !ruby/object:RdfContext::URIRef
|
|
646
|
-
namespace:
|
|
647
|
-
normalize: false
|
|
648
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/neg-single-quote.n3
|
|
649
|
-
uri: !ruby/object:Addressable::URI
|
|
650
|
-
authority: www.w3.org
|
|
651
|
-
fragment:
|
|
652
|
-
hash: 1920766115
|
|
653
|
-
host: www.w3.org
|
|
654
|
-
normalized_host:
|
|
655
|
-
normalized_path:
|
|
656
|
-
normalized_scheme:
|
|
657
|
-
password:
|
|
658
|
-
path: /2000/10/swap/test/syntax/neg-single-quote.n3
|
|
659
|
-
port:
|
|
660
|
-
query:
|
|
661
|
-
scheme: http
|
|
662
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/neg-single-quote.n3
|
|
663
|
-
user:
|
|
664
|
-
userinfo:
|
|
665
|
-
validation_deferred:
|
|
666
|
-
description: single quoted strings are illegal
|
|
667
|
-
inputDocument: ./spec/swap_test/syntax/neg-single-quote.n3
|
|
668
|
-
name: n3_20002
|
|
669
|
-
rdf_type: NegativeParserTest
|
|
670
|
-
- !ruby/object:RdfHelper::TestCase
|
|
671
|
-
about: !ruby/object:RdfContext::URIRef
|
|
672
|
-
namespace:
|
|
673
|
-
normalize: false
|
|
674
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/neg-thisadoc.n3
|
|
675
|
-
uri: !ruby/object:Addressable::URI
|
|
676
|
-
authority: www.w3.org
|
|
677
|
-
fragment:
|
|
678
|
-
hash: -1933695432
|
|
679
|
-
host: www.w3.org
|
|
680
|
-
normalized_host:
|
|
681
|
-
normalized_path:
|
|
682
|
-
normalized_scheme:
|
|
683
|
-
password:
|
|
684
|
-
path: /2000/10/swap/test/syntax/neg-thisadoc.n3
|
|
685
|
-
port:
|
|
686
|
-
query:
|
|
687
|
-
scheme: http
|
|
688
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/neg-thisadoc.n3
|
|
689
|
-
user:
|
|
690
|
-
userinfo:
|
|
691
|
-
validation_deferred:
|
|
692
|
-
description: "The `this' keyword is no longer legal "
|
|
693
|
-
inputDocument: ./spec/swap_test/syntax/neg-thisadoc.n3
|
|
694
|
-
name: n3_20003
|
|
695
|
-
rdf_type: NegativeParserTest
|
|
696
|
-
- !ruby/object:RdfHelper::TestCase
|
|
697
|
-
about: !ruby/object:RdfContext::URIRef
|
|
698
|
-
namespace:
|
|
699
|
-
normalize: false
|
|
700
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/neg-literal-predicate.n3
|
|
701
|
-
uri: !ruby/object:Addressable::URI
|
|
702
|
-
authority: www.w3.org
|
|
703
|
-
fragment:
|
|
704
|
-
hash: 410084121
|
|
705
|
-
host: www.w3.org
|
|
706
|
-
normalized_host:
|
|
707
|
-
normalized_path:
|
|
708
|
-
normalized_scheme:
|
|
709
|
-
password:
|
|
710
|
-
path: /2000/10/swap/test/syntax/neg-literal-predicate.n3
|
|
711
|
-
port:
|
|
712
|
-
query:
|
|
713
|
-
scheme: http
|
|
714
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/neg-literal-predicate.n3
|
|
715
|
-
user:
|
|
716
|
-
userinfo:
|
|
717
|
-
validation_deferred:
|
|
718
|
-
description: A predicate cannot be a literal, I hope
|
|
719
|
-
inputDocument: ./spec/swap_test/syntax/neg-literal-predicate.n3
|
|
720
|
-
name: n3_20004
|
|
721
|
-
rdf_type: NegativeParserTest
|
|
722
|
-
- !ruby/object:RdfHelper::TestCase
|
|
723
|
-
about: !ruby/object:RdfContext::URIRef
|
|
724
|
-
namespace:
|
|
725
|
-
normalize: false
|
|
726
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/neg-formula-predicate.n3
|
|
727
|
-
uri: !ruby/object:Addressable::URI
|
|
728
|
-
authority: www.w3.org
|
|
729
|
-
fragment:
|
|
730
|
-
hash: -951218457
|
|
731
|
-
host: www.w3.org
|
|
732
|
-
normalized_host:
|
|
733
|
-
normalized_path:
|
|
734
|
-
normalized_scheme:
|
|
735
|
-
password:
|
|
736
|
-
path: /2000/10/swap/test/syntax/neg-formula-predicate.n3
|
|
737
|
-
port:
|
|
738
|
-
query:
|
|
739
|
-
scheme: http
|
|
740
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/neg-formula-predicate.n3
|
|
741
|
-
user:
|
|
742
|
-
userinfo:
|
|
743
|
-
validation_deferred:
|
|
744
|
-
description: A predicate cannot be a formula, I hope
|
|
745
|
-
inputDocument: ./spec/swap_test/syntax/neg-formula-predicate.n3
|
|
746
|
-
name: n3_20005
|
|
747
|
-
rdf_type: NegativeParserTest
|
|
748
|
-
- !ruby/object:RdfHelper::TestCase
|
|
749
|
-
about: !ruby/object:RdfContext::URIRef
|
|
750
|
-
namespace:
|
|
751
|
-
normalize: false
|
|
752
|
-
to_s: http://www.w3.org/2000/10/swap/test/syntax/zero-objects.n3
|
|
753
|
-
uri: !ruby/object:Addressable::URI
|
|
754
|
-
authority: www.w3.org
|
|
755
|
-
fragment:
|
|
756
|
-
hash: 998484651
|
|
757
|
-
host: www.w3.org
|
|
758
|
-
normalized_host:
|
|
759
|
-
normalized_path:
|
|
760
|
-
normalized_scheme:
|
|
761
|
-
password:
|
|
762
|
-
path: /2000/10/swap/test/syntax/zero-objects.n3
|
|
763
|
-
port:
|
|
764
|
-
query:
|
|
765
|
-
scheme: http
|
|
766
|
-
uri_string: http://www.w3.org/2000/10/swap/test/syntax/zero-objects.n3
|
|
767
|
-
user:
|
|
768
|
-
userinfo:
|
|
769
|
-
validation_deferred:
|
|
770
|
-
description: A statement that says nothing at all
|
|
771
|
-
inputDocument: ./spec/swap_test/syntax/zero-objects.n3
|
|
772
|
-
name: n3_20028
|
|
773
|
-
rdf_type: NegativeParserTest
|