rdf_context 0.5.7 → 0.5.8.1
Sign up to get free protection for your applications and to get access to all the features.
- 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/turtle/manifest.yml
DELETED
@@ -1,807 +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/2001/sw/DataAccess/df1/tests/test-00.ttl
|
7
|
-
uri: !ruby/object:Addressable::URI
|
8
|
-
authority: www.w3.org
|
9
|
-
fragment:
|
10
|
-
hash: 1257149165
|
11
|
-
host: www.w3.org
|
12
|
-
normalized_host:
|
13
|
-
normalized_path:
|
14
|
-
normalized_scheme:
|
15
|
-
password:
|
16
|
-
path: /2001/sw/DataAccess/df1/tests/test-00.ttl
|
17
|
-
port:
|
18
|
-
query:
|
19
|
-
scheme: http
|
20
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-00.ttl
|
21
|
-
user:
|
22
|
-
userinfo:
|
23
|
-
validation_deferred:
|
24
|
-
description: Blank subject
|
25
|
-
inputDocument: ./spec/turtle/test-00.ttl
|
26
|
-
name: test-00
|
27
|
-
outputDocument: ./spec/turtle/test-00.out
|
28
|
-
- !ruby/object:RdfHelper::TestCase
|
29
|
-
about: !ruby/object:RdfContext::URIRef
|
30
|
-
namespace:
|
31
|
-
normalize: false
|
32
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-01.ttl
|
33
|
-
uri: !ruby/object:Addressable::URI
|
34
|
-
authority: www.w3.org
|
35
|
-
fragment:
|
36
|
-
hash: 81973492
|
37
|
-
host: www.w3.org
|
38
|
-
normalized_host:
|
39
|
-
normalized_path:
|
40
|
-
normalized_scheme:
|
41
|
-
password:
|
42
|
-
path: /2001/sw/DataAccess/df1/tests/test-01.ttl
|
43
|
-
port:
|
44
|
-
query:
|
45
|
-
scheme: http
|
46
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-01.ttl
|
47
|
-
user:
|
48
|
-
userinfo:
|
49
|
-
validation_deferred:
|
50
|
-
description: "@prefix and qnames"
|
51
|
-
inputDocument: ./spec/turtle/test-01.ttl
|
52
|
-
name: test-01
|
53
|
-
outputDocument: ./spec/turtle/test-01.out
|
54
|
-
- !ruby/object:RdfHelper::TestCase
|
55
|
-
about: !ruby/object:RdfContext::URIRef
|
56
|
-
namespace:
|
57
|
-
normalize: false
|
58
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-02.ttl
|
59
|
-
uri: !ruby/object:Addressable::URI
|
60
|
-
authority: www.w3.org
|
61
|
-
fragment:
|
62
|
-
hash: -1093202181
|
63
|
-
host: www.w3.org
|
64
|
-
normalized_host:
|
65
|
-
normalized_path:
|
66
|
-
normalized_scheme:
|
67
|
-
password:
|
68
|
-
path: /2001/sw/DataAccess/df1/tests/test-02.ttl
|
69
|
-
port:
|
70
|
-
query:
|
71
|
-
scheme: http
|
72
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-02.ttl
|
73
|
-
user:
|
74
|
-
userinfo:
|
75
|
-
validation_deferred:
|
76
|
-
description: ", operator"
|
77
|
-
inputDocument: ./spec/turtle/test-02.ttl
|
78
|
-
name: test-02
|
79
|
-
outputDocument: ./spec/turtle/test-02.out
|
80
|
-
- !ruby/object:RdfHelper::TestCase
|
81
|
-
about: !ruby/object:RdfContext::URIRef
|
82
|
-
namespace:
|
83
|
-
normalize: false
|
84
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-03.ttl
|
85
|
-
uri: !ruby/object:Addressable::URI
|
86
|
-
authority: www.w3.org
|
87
|
-
fragment:
|
88
|
-
hash: -2134160126
|
89
|
-
host: www.w3.org
|
90
|
-
normalized_host:
|
91
|
-
normalized_path:
|
92
|
-
normalized_scheme:
|
93
|
-
password:
|
94
|
-
path: /2001/sw/DataAccess/df1/tests/test-03.ttl
|
95
|
-
port:
|
96
|
-
query:
|
97
|
-
scheme: http
|
98
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-03.ttl
|
99
|
-
user:
|
100
|
-
userinfo:
|
101
|
-
validation_deferred:
|
102
|
-
description: ; operator
|
103
|
-
inputDocument: ./spec/turtle/test-03.ttl
|
104
|
-
name: test-03
|
105
|
-
outputDocument: ./spec/turtle/test-03.out
|
106
|
-
- !ruby/object:RdfHelper::TestCase
|
107
|
-
about: !ruby/object:RdfContext::URIRef
|
108
|
-
namespace:
|
109
|
-
normalize: false
|
110
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-04.ttl
|
111
|
-
uri: !ruby/object:Addressable::URI
|
112
|
-
authority: www.w3.org
|
113
|
-
fragment:
|
114
|
-
hash: 985631497
|
115
|
-
host: www.w3.org
|
116
|
-
normalized_host:
|
117
|
-
normalized_path:
|
118
|
-
normalized_scheme:
|
119
|
-
password:
|
120
|
-
path: /2001/sw/DataAccess/df1/tests/test-04.ttl
|
121
|
-
port:
|
122
|
-
query:
|
123
|
-
scheme: http
|
124
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-04.ttl
|
125
|
-
user:
|
126
|
-
userinfo:
|
127
|
-
validation_deferred:
|
128
|
-
description: empty [] as subject and object
|
129
|
-
inputDocument: ./spec/turtle/test-04.ttl
|
130
|
-
name: test-04
|
131
|
-
outputDocument: ./spec/turtle/test-04.out
|
132
|
-
- !ruby/object:RdfHelper::TestCase
|
133
|
-
about: !ruby/object:RdfContext::URIRef
|
134
|
-
namespace:
|
135
|
-
normalize: false
|
136
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-05.ttl
|
137
|
-
uri: !ruby/object:Addressable::URI
|
138
|
-
authority: www.w3.org
|
139
|
-
fragment:
|
140
|
-
hash: -189544176
|
141
|
-
host: www.w3.org
|
142
|
-
normalized_host:
|
143
|
-
normalized_path:
|
144
|
-
normalized_scheme:
|
145
|
-
password:
|
146
|
-
path: /2001/sw/DataAccess/df1/tests/test-05.ttl
|
147
|
-
port:
|
148
|
-
query:
|
149
|
-
scheme: http
|
150
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-05.ttl
|
151
|
-
user:
|
152
|
-
userinfo:
|
153
|
-
validation_deferred:
|
154
|
-
description: non-empty [] as subject and object
|
155
|
-
inputDocument: ./spec/turtle/test-05.ttl
|
156
|
-
name: test-05
|
157
|
-
outputDocument: ./spec/turtle/test-05.out
|
158
|
-
- !ruby/object:RdfHelper::TestCase
|
159
|
-
about: !ruby/object:RdfContext::URIRef
|
160
|
-
namespace:
|
161
|
-
normalize: false
|
162
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-06.ttl
|
163
|
-
uri: !ruby/object:Addressable::URI
|
164
|
-
authority: www.w3.org
|
165
|
-
fragment:
|
166
|
-
hash: -1364719849
|
167
|
-
host: www.w3.org
|
168
|
-
normalized_host:
|
169
|
-
normalized_path:
|
170
|
-
normalized_scheme:
|
171
|
-
password:
|
172
|
-
path: /2001/sw/DataAccess/df1/tests/test-06.ttl
|
173
|
-
port:
|
174
|
-
query:
|
175
|
-
scheme: http
|
176
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-06.ttl
|
177
|
-
user:
|
178
|
-
userinfo:
|
179
|
-
validation_deferred:
|
180
|
-
description: "'a' as predicate"
|
181
|
-
inputDocument: ./spec/turtle/test-06.ttl
|
182
|
-
name: test-06
|
183
|
-
outputDocument: ./spec/turtle/test-06.out
|
184
|
-
- !ruby/object:RdfHelper::TestCase
|
185
|
-
about: !ruby/object:RdfContext::URIRef
|
186
|
-
namespace:
|
187
|
-
normalize: false
|
188
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-07.ttl
|
189
|
-
uri: !ruby/object:Addressable::URI
|
190
|
-
authority: www.w3.org
|
191
|
-
fragment:
|
192
|
-
hash: 1889289501
|
193
|
-
host: www.w3.org
|
194
|
-
normalized_host:
|
195
|
-
normalized_path:
|
196
|
-
normalized_scheme:
|
197
|
-
password:
|
198
|
-
path: /2001/sw/DataAccess/df1/tests/test-07.ttl
|
199
|
-
port:
|
200
|
-
query:
|
201
|
-
scheme: http
|
202
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-07.ttl
|
203
|
-
user:
|
204
|
-
userinfo:
|
205
|
-
validation_deferred:
|
206
|
-
description: simple collection
|
207
|
-
inputDocument: ./spec/turtle/test-07.ttl
|
208
|
-
name: test-07
|
209
|
-
outputDocument: ./spec/turtle/test-07.out
|
210
|
-
- !ruby/object:RdfHelper::TestCase
|
211
|
-
about: !ruby/object:RdfContext::URIRef
|
212
|
-
namespace:
|
213
|
-
normalize: false
|
214
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-08.ttl
|
215
|
-
uri: !ruby/object:Addressable::URI
|
216
|
-
authority: www.w3.org
|
217
|
-
fragment:
|
218
|
-
hash: 714113828
|
219
|
-
host: www.w3.org
|
220
|
-
normalized_host:
|
221
|
-
normalized_path:
|
222
|
-
normalized_scheme:
|
223
|
-
password:
|
224
|
-
path: /2001/sw/DataAccess/df1/tests/test-08.ttl
|
225
|
-
port:
|
226
|
-
query:
|
227
|
-
scheme: http
|
228
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-08.ttl
|
229
|
-
user:
|
230
|
-
userinfo:
|
231
|
-
validation_deferred:
|
232
|
-
description: empty collection
|
233
|
-
inputDocument: ./spec/turtle/test-08.ttl
|
234
|
-
name: test-08
|
235
|
-
outputDocument: ./spec/turtle/test-08.out
|
236
|
-
- !ruby/object:RdfHelper::TestCase
|
237
|
-
about: !ruby/object:RdfContext::URIRef
|
238
|
-
namespace:
|
239
|
-
normalize: false
|
240
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-09.ttl
|
241
|
-
uri: !ruby/object:Addressable::URI
|
242
|
-
authority: www.w3.org
|
243
|
-
fragment:
|
244
|
-
hash: -461061845
|
245
|
-
host: www.w3.org
|
246
|
-
normalized_host:
|
247
|
-
normalized_path:
|
248
|
-
normalized_scheme:
|
249
|
-
password:
|
250
|
-
path: /2001/sw/DataAccess/df1/tests/test-09.ttl
|
251
|
-
port:
|
252
|
-
query:
|
253
|
-
scheme: http
|
254
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-09.ttl
|
255
|
-
user:
|
256
|
-
userinfo:
|
257
|
-
validation_deferred:
|
258
|
-
description: integer datatyped literal
|
259
|
-
inputDocument: ./spec/turtle/test-09.ttl
|
260
|
-
name: test-09
|
261
|
-
outputDocument: ./spec/turtle/test-09.out
|
262
|
-
- !ruby/object:RdfHelper::TestCase
|
263
|
-
about: !ruby/object:RdfContext::URIRef
|
264
|
-
namespace:
|
265
|
-
normalize: false
|
266
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-10.ttl
|
267
|
-
uri: !ruby/object:Addressable::URI
|
268
|
-
authority: www.w3.org
|
269
|
-
fragment:
|
270
|
-
hash: 873516708
|
271
|
-
host: www.w3.org
|
272
|
-
normalized_host:
|
273
|
-
normalized_path:
|
274
|
-
normalized_scheme:
|
275
|
-
password:
|
276
|
-
path: /2001/sw/DataAccess/df1/tests/test-10.ttl
|
277
|
-
port:
|
278
|
-
query:
|
279
|
-
scheme: http
|
280
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-10.ttl
|
281
|
-
user:
|
282
|
-
userinfo:
|
283
|
-
validation_deferred:
|
284
|
-
description: decimal integer canonicalization
|
285
|
-
inputDocument: ./spec/turtle/test-10.ttl
|
286
|
-
name: test-10
|
287
|
-
outputDocument: ./spec/turtle/test-10.out
|
288
|
-
- !ruby/object:RdfHelper::TestCase
|
289
|
-
about: !ruby/object:RdfContext::URIRef
|
290
|
-
namespace:
|
291
|
-
normalize: false
|
292
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-11.ttl
|
293
|
-
uri: !ruby/object:Addressable::URI
|
294
|
-
authority: www.w3.org
|
295
|
-
fragment:
|
296
|
-
hash: -301658965
|
297
|
-
host: www.w3.org
|
298
|
-
normalized_host:
|
299
|
-
normalized_path:
|
300
|
-
normalized_scheme:
|
301
|
-
password:
|
302
|
-
path: /2001/sw/DataAccess/df1/tests/test-11.ttl
|
303
|
-
port:
|
304
|
-
query:
|
305
|
-
scheme: http
|
306
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-11.ttl
|
307
|
-
user:
|
308
|
-
userinfo:
|
309
|
-
validation_deferred:
|
310
|
-
description: "- and _ in names and qnames"
|
311
|
-
inputDocument: ./spec/turtle/test-11.ttl
|
312
|
-
name: test-11
|
313
|
-
outputDocument: ./spec/turtle/test-11.out
|
314
|
-
- !ruby/object:RdfHelper::TestCase
|
315
|
-
about: !ruby/object:RdfContext::URIRef
|
316
|
-
namespace:
|
317
|
-
normalize: false
|
318
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-12.ttl
|
319
|
-
uri: !ruby/object:Addressable::URI
|
320
|
-
authority: www.w3.org
|
321
|
-
fragment:
|
322
|
-
hash: -1476834638
|
323
|
-
host: www.w3.org
|
324
|
-
normalized_host:
|
325
|
-
normalized_path:
|
326
|
-
normalized_scheme:
|
327
|
-
password:
|
328
|
-
path: /2001/sw/DataAccess/df1/tests/test-12.ttl
|
329
|
-
port:
|
330
|
-
query:
|
331
|
-
scheme: http
|
332
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-12.ttl
|
333
|
-
user:
|
334
|
-
userinfo:
|
335
|
-
validation_deferred:
|
336
|
-
description: tests for rdf:_<numbers> and other qnames starting with _
|
337
|
-
inputDocument: ./spec/turtle/test-12.ttl
|
338
|
-
name: test-12
|
339
|
-
outputDocument: ./spec/turtle/test-12.out
|
340
|
-
- !ruby/object:RdfHelper::TestCase
|
341
|
-
about: !ruby/object:RdfContext::URIRef
|
342
|
-
namespace:
|
343
|
-
normalize: false
|
344
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-13.ttl
|
345
|
-
uri: !ruby/object:Addressable::URI
|
346
|
-
authority: www.w3.org
|
347
|
-
fragment:
|
348
|
-
hash: 1777174713
|
349
|
-
host: www.w3.org
|
350
|
-
normalized_host:
|
351
|
-
normalized_path:
|
352
|
-
normalized_scheme:
|
353
|
-
password:
|
354
|
-
path: /2001/sw/DataAccess/df1/tests/test-13.ttl
|
355
|
-
port:
|
356
|
-
query:
|
357
|
-
scheme: http
|
358
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-13.ttl
|
359
|
-
user:
|
360
|
-
userinfo:
|
361
|
-
validation_deferred:
|
362
|
-
description: "bare : allowed"
|
363
|
-
inputDocument: ./spec/turtle/test-13.ttl
|
364
|
-
name: test-13
|
365
|
-
outputDocument: ./spec/turtle/test-13.out
|
366
|
-
- !ruby/object:RdfHelper::TestCase
|
367
|
-
about: !ruby/object:RdfContext::URIRef
|
368
|
-
namespace:
|
369
|
-
normalize: false
|
370
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-17.ttl
|
371
|
-
uri: !ruby/object:Addressable::URI
|
372
|
-
authority: www.w3.org
|
373
|
-
fragment:
|
374
|
-
hash: 1505657045
|
375
|
-
host: www.w3.org
|
376
|
-
normalized_host:
|
377
|
-
normalized_path:
|
378
|
-
normalized_scheme:
|
379
|
-
password:
|
380
|
-
path: /2001/sw/DataAccess/df1/tests/test-17.ttl
|
381
|
-
port:
|
382
|
-
query:
|
383
|
-
scheme: http
|
384
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-17.ttl
|
385
|
-
user:
|
386
|
-
userinfo:
|
387
|
-
validation_deferred:
|
388
|
-
description: simple long literal
|
389
|
-
inputDocument: ./spec/turtle/test-17.ttl
|
390
|
-
name: test-17
|
391
|
-
outputDocument: ./spec/turtle/test-17.out
|
392
|
-
- !ruby/object:RdfHelper::TestCase
|
393
|
-
about: !ruby/object:RdfContext::URIRef
|
394
|
-
namespace:
|
395
|
-
normalize: false
|
396
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-18.ttl
|
397
|
-
uri: !ruby/object:Addressable::URI
|
398
|
-
authority: www.w3.org
|
399
|
-
fragment:
|
400
|
-
hash: 330481371
|
401
|
-
host: www.w3.org
|
402
|
-
normalized_host:
|
403
|
-
normalized_path:
|
404
|
-
normalized_scheme:
|
405
|
-
password:
|
406
|
-
path: /2001/sw/DataAccess/df1/tests/test-18.ttl
|
407
|
-
port:
|
408
|
-
query:
|
409
|
-
scheme: http
|
410
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-18.ttl
|
411
|
-
user:
|
412
|
-
userinfo:
|
413
|
-
validation_deferred:
|
414
|
-
description: long literals with escapes
|
415
|
-
inputDocument: ./spec/turtle/test-18.ttl
|
416
|
-
name: test-18
|
417
|
-
outputDocument: ./spec/turtle/test-18.out
|
418
|
-
- !ruby/object:RdfHelper::TestCase
|
419
|
-
about: !ruby/object:RdfContext::URIRef
|
420
|
-
namespace:
|
421
|
-
normalize: false
|
422
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-19.ttl
|
423
|
-
uri: !ruby/object:Addressable::URI
|
424
|
-
authority: www.w3.org
|
425
|
-
fragment:
|
426
|
-
hash: -844694302
|
427
|
-
host: www.w3.org
|
428
|
-
normalized_host:
|
429
|
-
normalized_path:
|
430
|
-
normalized_scheme:
|
431
|
-
password:
|
432
|
-
path: /2001/sw/DataAccess/df1/tests/test-19.ttl
|
433
|
-
port:
|
434
|
-
query:
|
435
|
-
scheme: http
|
436
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-19.ttl
|
437
|
-
user:
|
438
|
-
userinfo:
|
439
|
-
validation_deferred:
|
440
|
-
description: floating point number
|
441
|
-
inputDocument: ./spec/turtle/test-19.ttl
|
442
|
-
name: test-19
|
443
|
-
outputDocument: ./spec/turtle/test-19.out
|
444
|
-
- !ruby/object:RdfHelper::TestCase
|
445
|
-
about: !ruby/object:RdfContext::URIRef
|
446
|
-
namespace:
|
447
|
-
normalize: false
|
448
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-20.ttl
|
449
|
-
uri: !ruby/object:Addressable::URI
|
450
|
-
authority: www.w3.org
|
451
|
-
fragment:
|
452
|
-
hash: 489884251
|
453
|
-
host: www.w3.org
|
454
|
-
normalized_host:
|
455
|
-
normalized_path:
|
456
|
-
normalized_scheme:
|
457
|
-
password:
|
458
|
-
path: /2001/sw/DataAccess/df1/tests/test-20.ttl
|
459
|
-
port:
|
460
|
-
query:
|
461
|
-
scheme: http
|
462
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-20.ttl
|
463
|
-
user:
|
464
|
-
userinfo:
|
465
|
-
validation_deferred:
|
466
|
-
description: empty literals, normal and long variant
|
467
|
-
inputDocument: ./spec/turtle/test-20.ttl
|
468
|
-
name: test-20
|
469
|
-
outputDocument: ./spec/turtle/test-20.out
|
470
|
-
- !ruby/object:RdfHelper::TestCase
|
471
|
-
about: !ruby/object:RdfContext::URIRef
|
472
|
-
namespace:
|
473
|
-
normalize: false
|
474
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-21.ttl
|
475
|
-
uri: !ruby/object:Addressable::URI
|
476
|
-
authority: www.w3.org
|
477
|
-
fragment:
|
478
|
-
hash: -685291422
|
479
|
-
host: www.w3.org
|
480
|
-
normalized_host:
|
481
|
-
normalized_path:
|
482
|
-
normalized_scheme:
|
483
|
-
password:
|
484
|
-
path: /2001/sw/DataAccess/df1/tests/test-21.ttl
|
485
|
-
port:
|
486
|
-
query:
|
487
|
-
scheme: http
|
488
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-21.ttl
|
489
|
-
user:
|
490
|
-
userinfo:
|
491
|
-
validation_deferred:
|
492
|
-
description: positive integer, decimal and doubles
|
493
|
-
inputDocument: ./spec/turtle/test-21.ttl
|
494
|
-
name: test-21
|
495
|
-
outputDocument: ./spec/turtle/test-21.out
|
496
|
-
- !ruby/object:RdfHelper::TestCase
|
497
|
-
about: !ruby/object:RdfContext::URIRef
|
498
|
-
namespace:
|
499
|
-
normalize: false
|
500
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-22.ttl
|
501
|
-
uri: !ruby/object:Addressable::URI
|
502
|
-
authority: www.w3.org
|
503
|
-
fragment:
|
504
|
-
hash: -1860467095
|
505
|
-
host: www.w3.org
|
506
|
-
normalized_host:
|
507
|
-
normalized_path:
|
508
|
-
normalized_scheme:
|
509
|
-
password:
|
510
|
-
path: /2001/sw/DataAccess/df1/tests/test-22.ttl
|
511
|
-
port:
|
512
|
-
query:
|
513
|
-
scheme: http
|
514
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-22.ttl
|
515
|
-
user:
|
516
|
-
userinfo:
|
517
|
-
validation_deferred:
|
518
|
-
description: negative integer, decimal and doubles
|
519
|
-
inputDocument: ./spec/turtle/test-22.ttl
|
520
|
-
name: test-22
|
521
|
-
outputDocument: ./spec/turtle/test-22.out
|
522
|
-
- !ruby/object:RdfHelper::TestCase
|
523
|
-
about: !ruby/object:RdfContext::URIRef
|
524
|
-
namespace:
|
525
|
-
normalize: false
|
526
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-23.ttl
|
527
|
-
uri: !ruby/object:Addressable::URI
|
528
|
-
authority: www.w3.org
|
529
|
-
fragment:
|
530
|
-
hash: 1393542256
|
531
|
-
host: www.w3.org
|
532
|
-
normalized_host:
|
533
|
-
normalized_path:
|
534
|
-
normalized_scheme:
|
535
|
-
password:
|
536
|
-
path: /2001/sw/DataAccess/df1/tests/test-23.ttl
|
537
|
-
port:
|
538
|
-
query:
|
539
|
-
scheme: http
|
540
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-23.ttl
|
541
|
-
user:
|
542
|
-
userinfo:
|
543
|
-
validation_deferred:
|
544
|
-
description: long literal ending in double quote
|
545
|
-
inputDocument: ./spec/turtle/test-23.ttl
|
546
|
-
name: test-23
|
547
|
-
outputDocument: ./spec/turtle/test-23.out
|
548
|
-
- !ruby/object:RdfHelper::TestCase
|
549
|
-
about: !ruby/object:RdfContext::URIRef
|
550
|
-
namespace:
|
551
|
-
normalize: false
|
552
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-24.ttl
|
553
|
-
uri: !ruby/object:Addressable::URI
|
554
|
-
authority: www.w3.org
|
555
|
-
fragment:
|
556
|
-
hash: 218366583
|
557
|
-
host: www.w3.org
|
558
|
-
normalized_host:
|
559
|
-
normalized_path:
|
560
|
-
normalized_scheme:
|
561
|
-
password:
|
562
|
-
path: /2001/sw/DataAccess/df1/tests/test-24.ttl
|
563
|
-
port:
|
564
|
-
query:
|
565
|
-
scheme: http
|
566
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-24.ttl
|
567
|
-
user:
|
568
|
-
userinfo:
|
569
|
-
validation_deferred:
|
570
|
-
description: boolean literals
|
571
|
-
inputDocument: ./spec/turtle/test-24.ttl
|
572
|
-
name: test-24
|
573
|
-
outputDocument: ./spec/turtle/test-24.out
|
574
|
-
- !ruby/object:RdfHelper::TestCase
|
575
|
-
about: !ruby/object:RdfContext::URIRef
|
576
|
-
namespace:
|
577
|
-
normalize: false
|
578
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-25.ttl
|
579
|
-
uri: !ruby/object:Addressable::URI
|
580
|
-
authority: www.w3.org
|
581
|
-
fragment:
|
582
|
-
hash: -956809090
|
583
|
-
host: www.w3.org
|
584
|
-
normalized_host:
|
585
|
-
normalized_path:
|
586
|
-
normalized_scheme:
|
587
|
-
password:
|
588
|
-
path: /2001/sw/DataAccess/df1/tests/test-25.ttl
|
589
|
-
port:
|
590
|
-
query:
|
591
|
-
scheme: http
|
592
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-25.ttl
|
593
|
-
user:
|
594
|
-
userinfo:
|
595
|
-
validation_deferred:
|
596
|
-
description: comments
|
597
|
-
inputDocument: ./spec/turtle/test-25.ttl
|
598
|
-
name: test-25
|
599
|
-
outputDocument: ./spec/turtle/test-25.out
|
600
|
-
- !ruby/object:RdfHelper::TestCase
|
601
|
-
about: !ruby/object:RdfContext::URIRef
|
602
|
-
namespace:
|
603
|
-
normalize: false
|
604
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-26.ttl
|
605
|
-
uri: !ruby/object:Addressable::URI
|
606
|
-
authority: www.w3.org
|
607
|
-
fragment:
|
608
|
-
hash: -2131984763
|
609
|
-
host: www.w3.org
|
610
|
-
normalized_host:
|
611
|
-
normalized_path:
|
612
|
-
normalized_scheme:
|
613
|
-
password:
|
614
|
-
path: /2001/sw/DataAccess/df1/tests/test-26.ttl
|
615
|
-
port:
|
616
|
-
query:
|
617
|
-
scheme: http
|
618
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-26.ttl
|
619
|
-
user:
|
620
|
-
userinfo:
|
621
|
-
validation_deferred:
|
622
|
-
description: no final mewline
|
623
|
-
inputDocument: ./spec/turtle/test-26.ttl
|
624
|
-
name: test-26
|
625
|
-
outputDocument: ./spec/turtle/test-26.out
|
626
|
-
- !ruby/object:RdfHelper::TestCase
|
627
|
-
about: !ruby/object:RdfContext::URIRef
|
628
|
-
namespace:
|
629
|
-
normalize: false
|
630
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-27.ttl
|
631
|
-
uri: !ruby/object:Addressable::URI
|
632
|
-
authority: www.w3.org
|
633
|
-
fragment:
|
634
|
-
hash: 1122024588
|
635
|
-
host: www.w3.org
|
636
|
-
normalized_host:
|
637
|
-
normalized_path:
|
638
|
-
normalized_scheme:
|
639
|
-
password:
|
640
|
-
path: /2001/sw/DataAccess/df1/tests/test-27.ttl
|
641
|
-
port:
|
642
|
-
query:
|
643
|
-
scheme: http
|
644
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-27.ttl
|
645
|
-
user:
|
646
|
-
userinfo:
|
647
|
-
validation_deferred:
|
648
|
-
description: duplicate prefix
|
649
|
-
inputDocument: ./spec/turtle/test-27.ttl
|
650
|
-
name: test-27
|
651
|
-
outputDocument: ./spec/turtle/test-27.out
|
652
|
-
- !ruby/object:RdfHelper::TestCase
|
653
|
-
about: !ruby/object:RdfContext::URIRef
|
654
|
-
namespace:
|
655
|
-
normalize: false
|
656
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-28.ttl
|
657
|
-
uri: !ruby/object:Addressable::URI
|
658
|
-
authority: www.w3.org
|
659
|
-
fragment:
|
660
|
-
hash: -53151085
|
661
|
-
host: www.w3.org
|
662
|
-
normalized_host:
|
663
|
-
normalized_path:
|
664
|
-
normalized_scheme:
|
665
|
-
password:
|
666
|
-
path: /2001/sw/DataAccess/df1/tests/test-28.ttl
|
667
|
-
port:
|
668
|
-
query:
|
669
|
-
scheme: http
|
670
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-28.ttl
|
671
|
-
user:
|
672
|
-
userinfo:
|
673
|
-
validation_deferred:
|
674
|
-
description: decimal data types (serializing test)
|
675
|
-
inputDocument: ./spec/turtle/test-28.ttl
|
676
|
-
name: test-28
|
677
|
-
outputDocument: ./spec/turtle/test-28.out
|
678
|
-
- !ruby/object:RdfHelper::TestCase
|
679
|
-
about: !ruby/object:RdfContext::URIRef
|
680
|
-
namespace:
|
681
|
-
normalize: false
|
682
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-29.ttl
|
683
|
-
uri: !ruby/object:Addressable::URI
|
684
|
-
authority: www.w3.org
|
685
|
-
fragment:
|
686
|
-
hash: -1228326759
|
687
|
-
host: www.w3.org
|
688
|
-
normalized_host:
|
689
|
-
normalized_path:
|
690
|
-
normalized_scheme:
|
691
|
-
password:
|
692
|
-
path: /2001/sw/DataAccess/df1/tests/test-29.ttl
|
693
|
-
port:
|
694
|
-
query:
|
695
|
-
scheme: http
|
696
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-29.ttl
|
697
|
-
user:
|
698
|
-
userinfo:
|
699
|
-
validation_deferred:
|
700
|
-
description: Escaping U+0001 to U+007F in a URI
|
701
|
-
inputDocument: ./spec/turtle/test-29.ttl
|
702
|
-
name: test-29
|
703
|
-
outputDocument: ./spec/turtle/test-29.out
|
704
|
-
- !ruby/object:RdfHelper::TestCase
|
705
|
-
about: !ruby/object:RdfContext::URIRef
|
706
|
-
namespace:
|
707
|
-
normalize: false
|
708
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-30.ttl
|
709
|
-
uri: !ruby/object:Addressable::URI
|
710
|
-
authority: www.w3.org
|
711
|
-
fragment:
|
712
|
-
hash: 106251794
|
713
|
-
host: www.w3.org
|
714
|
-
normalized_host:
|
715
|
-
normalized_path:
|
716
|
-
normalized_scheme:
|
717
|
-
password:
|
718
|
-
path: /2001/sw/DataAccess/df1/tests/test-30.ttl
|
719
|
-
port:
|
720
|
-
query:
|
721
|
-
scheme: http
|
722
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/test-30.ttl
|
723
|
-
user:
|
724
|
-
userinfo:
|
725
|
-
validation_deferred:
|
726
|
-
description: "@base"
|
727
|
-
inputDocument: ./spec/turtle/test-30.ttl
|
728
|
-
name: test-30
|
729
|
-
outputDocument: ./spec/turtle/test-30.out
|
730
|
-
- !ruby/object:RdfHelper::TestCase
|
731
|
-
about: !ruby/object:RdfContext::URIRef
|
732
|
-
namespace:
|
733
|
-
normalize: false
|
734
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdf-schema.ttl
|
735
|
-
uri: !ruby/object:Addressable::URI
|
736
|
-
authority: www.w3.org
|
737
|
-
fragment:
|
738
|
-
hash: 293163627
|
739
|
-
host: www.w3.org
|
740
|
-
normalized_host:
|
741
|
-
normalized_path:
|
742
|
-
normalized_scheme:
|
743
|
-
password:
|
744
|
-
path: /2001/sw/DataAccess/df1/tests/rdf-schema.ttl
|
745
|
-
port:
|
746
|
-
query:
|
747
|
-
scheme: http
|
748
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdf-schema.ttl
|
749
|
-
user:
|
750
|
-
userinfo:
|
751
|
-
validation_deferred:
|
752
|
-
description: RDF Namespace document converted into Turtle
|
753
|
-
inputDocument: ./spec/turtle/rdf-schema.ttl
|
754
|
-
name: rdf-schema
|
755
|
-
outputDocument: ./spec/turtle/rdf-schema.out
|
756
|
-
- !ruby/object:RdfHelper::TestCase
|
757
|
-
about: !ruby/object:RdfContext::URIRef
|
758
|
-
namespace:
|
759
|
-
normalize: false
|
760
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfs-namespace.ttl
|
761
|
-
uri: !ruby/object:Addressable::URI
|
762
|
-
authority: www.w3.org
|
763
|
-
fragment:
|
764
|
-
hash: 2021930350
|
765
|
-
host: www.w3.org
|
766
|
-
normalized_host:
|
767
|
-
normalized_path:
|
768
|
-
normalized_scheme:
|
769
|
-
password:
|
770
|
-
path: /2001/sw/DataAccess/df1/tests/rdfs-namespace.ttl
|
771
|
-
port:
|
772
|
-
query:
|
773
|
-
scheme: http
|
774
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfs-namespace.ttl
|
775
|
-
user:
|
776
|
-
userinfo:
|
777
|
-
validation_deferred:
|
778
|
-
description: RDFS Namespace document converted into Turtle
|
779
|
-
inputDocument: ./spec/turtle/rdfs-namespace.ttl
|
780
|
-
name: rdfs-namespace
|
781
|
-
outputDocument: ./spec/turtle/rdfs-namespace.out
|
782
|
-
- !ruby/object:RdfHelper::TestCase
|
783
|
-
about: !ruby/object:RdfContext::URIRef
|
784
|
-
namespace:
|
785
|
-
normalize: false
|
786
|
-
to_s: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl
|
787
|
-
uri: !ruby/object:Addressable::URI
|
788
|
-
authority: www.w3.org
|
789
|
-
fragment:
|
790
|
-
hash: -1337970517
|
791
|
-
host: www.w3.org
|
792
|
-
normalized_host:
|
793
|
-
normalized_path:
|
794
|
-
normalized_scheme:
|
795
|
-
password:
|
796
|
-
path: /2001/sw/DataAccess/df1/tests/rdfq-results.ttl
|
797
|
-
port:
|
798
|
-
query:
|
799
|
-
scheme: http
|
800
|
-
uri_string: http://www.w3.org/2001/sw/DataAccess/df1/tests/rdfq-results.ttl
|
801
|
-
user:
|
802
|
-
userinfo:
|
803
|
-
validation_deferred:
|
804
|
-
description: Example query result from http://www.w3.org/2003/03/rdfqr-tests/recording-query-results.html
|
805
|
-
inputDocument: ./spec/turtle/rdfq-results.ttl
|
806
|
-
name: rdfq-results
|
807
|
-
outputDocument: ./spec/turtle/rdfq-results.out
|