ebnf 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -6
- data/VERSION +1 -1
- data/etc/ebnf.ll1 +122 -268
- data/etc/ebnf.rb +899 -0
- data/etc/turtle.ll1 +61 -733
- data/etc/turtle.rb +56 -559
- data/lib/ebnf/base.rb +2 -2
- data/lib/ebnf/ll1.rb +126 -104
- data/lib/ebnf/ll1/lexer.rb +98 -40
- data/lib/ebnf/ll1/parser.rb +146 -56
- data/lib/ebnf/rule.rb +7 -1
- metadata +23 -3
data/etc/turtle.rb
CHANGED
@@ -5,66 +5,28 @@ module RDF::Turtle::Meta
|
|
5
5
|
|
6
6
|
BRANCH = {
|
7
7
|
:BlankNode => {
|
8
|
-
"
|
9
|
-
"," => [],
|
8
|
+
"a" => [],
|
10
9
|
:ANON => [:ANON],
|
11
10
|
:BLANK_NODE_LABEL => [:BLANK_NODE_LABEL],
|
12
|
-
:DECIMAL => [],
|
13
|
-
:DOUBLE => [],
|
14
|
-
:INTEGER => [],
|
15
11
|
:IRIREF => [],
|
16
12
|
:PNAME_LN => [],
|
17
13
|
:PNAME_NS => [],
|
18
|
-
:STRING_LITERAL_LONG_QUOTE => [],
|
19
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
20
|
-
:STRING_LITERAL_QUOTE => [],
|
21
|
-
:STRING_LITERAL_SINGLE_QUOTE => [],
|
22
|
-
"[" => [],
|
23
|
-
"a" => [],
|
24
|
-
"false" => [],
|
25
|
-
"true" => [],
|
26
14
|
},
|
27
15
|
:BooleanLiteral => {
|
28
|
-
"(" => [],
|
29
|
-
"," => [],
|
30
|
-
:ANON => [],
|
31
|
-
:BLANK_NODE_LABEL => [],
|
32
|
-
:DECIMAL => [],
|
33
|
-
:DOUBLE => [],
|
34
|
-
:INTEGER => [],
|
35
|
-
:IRIREF => [],
|
36
|
-
:PNAME_LN => [],
|
37
|
-
:PNAME_NS => [],
|
38
|
-
:STRING_LITERAL_LONG_QUOTE => [],
|
39
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
40
|
-
:STRING_LITERAL_QUOTE => [],
|
41
|
-
:STRING_LITERAL_SINGLE_QUOTE => [],
|
42
|
-
"[" => [],
|
43
16
|
"false" => ["false"],
|
44
17
|
"true" => ["true"],
|
45
18
|
},
|
46
19
|
:NumericLiteral => {
|
47
|
-
"(" => [],
|
48
|
-
"," => [],
|
49
|
-
:ANON => [],
|
50
|
-
:BLANK_NODE_LABEL => [],
|
51
20
|
:DECIMAL => [:DECIMAL],
|
52
21
|
:DOUBLE => [:DOUBLE],
|
53
22
|
:INTEGER => [:INTEGER],
|
54
|
-
:IRIREF => [],
|
55
|
-
:PNAME_LN => [],
|
56
|
-
:PNAME_NS => [],
|
57
|
-
:STRING_LITERAL_LONG_QUOTE => [],
|
58
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
59
|
-
:STRING_LITERAL_QUOTE => [],
|
60
|
-
:STRING_LITERAL_SINGLE_QUOTE => [],
|
61
|
-
"[" => [],
|
62
|
-
"false" => [],
|
63
|
-
"true" => [],
|
64
23
|
},
|
65
24
|
:PrefixedName => {
|
66
25
|
"(" => [],
|
67
|
-
"
|
26
|
+
"[" => [],
|
27
|
+
"a" => [],
|
28
|
+
"false" => [],
|
29
|
+
"true" => [],
|
68
30
|
:ANON => [],
|
69
31
|
:BLANK_NODE_LABEL => [],
|
70
32
|
:DECIMAL => [],
|
@@ -77,104 +39,37 @@ module RDF::Turtle::Meta
|
|
77
39
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
78
40
|
:STRING_LITERAL_QUOTE => [],
|
79
41
|
:STRING_LITERAL_SINGLE_QUOTE => [],
|
80
|
-
"[" => [],
|
81
|
-
"a" => [],
|
82
|
-
"false" => [],
|
83
|
-
"true" => [],
|
84
42
|
},
|
85
43
|
:RDFLiteral => {
|
86
|
-
"(" => [],
|
87
|
-
"," => [],
|
88
|
-
:ANON => [],
|
89
|
-
:BLANK_NODE_LABEL => [],
|
90
|
-
:DECIMAL => [],
|
91
|
-
:DOUBLE => [],
|
92
|
-
:INTEGER => [],
|
93
|
-
:IRIREF => [],
|
94
|
-
:PNAME_LN => [],
|
95
|
-
:PNAME_NS => [],
|
96
44
|
:STRING_LITERAL_LONG_QUOTE => [:String, :_RDFLiteral_1],
|
97
45
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:String, :_RDFLiteral_1],
|
98
46
|
:STRING_LITERAL_QUOTE => [:String, :_RDFLiteral_1],
|
99
47
|
:STRING_LITERAL_SINGLE_QUOTE => [:String, :_RDFLiteral_1],
|
100
|
-
"[" => [],
|
101
|
-
"false" => [],
|
102
|
-
"true" => [],
|
103
48
|
},
|
104
49
|
:String => {
|
105
|
-
:LANGTAG => [],
|
106
50
|
:STRING_LITERAL_LONG_QUOTE => [:STRING_LITERAL_LONG_QUOTE],
|
107
51
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:STRING_LITERAL_LONG_SINGLE_QUOTE],
|
108
52
|
:STRING_LITERAL_QUOTE => [:STRING_LITERAL_QUOTE],
|
109
53
|
:STRING_LITERAL_SINGLE_QUOTE => [:STRING_LITERAL_SINGLE_QUOTE],
|
110
|
-
"^^" => [],
|
111
54
|
},
|
112
55
|
:_RDFLiteral_1 => {
|
113
|
-
"(" => [],
|
114
|
-
"," => [],
|
115
|
-
:ANON => [],
|
116
|
-
:BLANK_NODE_LABEL => [],
|
117
|
-
:DECIMAL => [],
|
118
|
-
:DOUBLE => [],
|
119
|
-
:INTEGER => [],
|
120
|
-
:IRIREF => [],
|
121
|
-
:LANGTAG => [:_RDFLiteral_2],
|
122
|
-
:PNAME_LN => [],
|
123
|
-
:PNAME_NS => [],
|
124
|
-
:STRING_LITERAL_LONG_QUOTE => [],
|
125
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
126
|
-
:STRING_LITERAL_QUOTE => [],
|
127
|
-
:STRING_LITERAL_SINGLE_QUOTE => [],
|
128
|
-
"[" => [],
|
129
56
|
"^^" => [:_RDFLiteral_2],
|
57
|
+
:LANGTAG => [:_RDFLiteral_2],
|
130
58
|
:_empty => [],
|
131
|
-
"false" => [],
|
132
|
-
"true" => [],
|
133
59
|
},
|
134
60
|
:_RDFLiteral_2 => {
|
135
|
-
"(" => [],
|
136
|
-
"," => [],
|
137
|
-
:ANON => [],
|
138
|
-
:BLANK_NODE_LABEL => [],
|
139
|
-
:DECIMAL => [],
|
140
|
-
:DOUBLE => [],
|
141
|
-
:INTEGER => [],
|
142
|
-
:IRIREF => [],
|
143
|
-
:LANGTAG => [:LANGTAG],
|
144
|
-
:PNAME_LN => [],
|
145
|
-
:PNAME_NS => [],
|
146
|
-
:STRING_LITERAL_LONG_QUOTE => [],
|
147
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
148
|
-
:STRING_LITERAL_QUOTE => [],
|
149
|
-
:STRING_LITERAL_SINGLE_QUOTE => [],
|
150
|
-
"[" => [],
|
151
61
|
"^^" => [:_RDFLiteral_3],
|
152
|
-
|
153
|
-
"true" => [],
|
62
|
+
:LANGTAG => [:LANGTAG],
|
154
63
|
},
|
155
64
|
:_RDFLiteral_3 => {
|
156
|
-
"(" => [],
|
157
|
-
"," => [],
|
158
|
-
:ANON => [],
|
159
|
-
:BLANK_NODE_LABEL => [],
|
160
|
-
:DECIMAL => [],
|
161
|
-
:DOUBLE => [],
|
162
|
-
:INTEGER => [],
|
163
|
-
:IRIREF => [],
|
164
|
-
:PNAME_LN => [],
|
165
|
-
:PNAME_NS => [],
|
166
|
-
:STRING_LITERAL_LONG_QUOTE => [],
|
167
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
168
|
-
:STRING_LITERAL_QUOTE => [],
|
169
|
-
:STRING_LITERAL_SINGLE_QUOTE => [],
|
170
|
-
"[" => [],
|
171
65
|
"^^" => ["^^", :iri],
|
172
|
-
"false" => [],
|
173
|
-
"true" => [],
|
174
66
|
},
|
175
67
|
:_collection_1 => {
|
176
68
|
"(" => [:_collection_2],
|
177
69
|
")" => [],
|
70
|
+
"[" => [:_collection_2],
|
71
|
+
"false" => [:_collection_2],
|
72
|
+
"true" => [:_collection_2],
|
178
73
|
:ANON => [:_collection_2],
|
179
74
|
:BLANK_NODE_LABEL => [:_collection_2],
|
180
75
|
:DECIMAL => [:_collection_2],
|
@@ -187,14 +82,14 @@ module RDF::Turtle::Meta
|
|
187
82
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:_collection_2],
|
188
83
|
:STRING_LITERAL_QUOTE => [:_collection_2],
|
189
84
|
:STRING_LITERAL_SINGLE_QUOTE => [:_collection_2],
|
190
|
-
"[" => [:_collection_2],
|
191
85
|
:_empty => [],
|
192
|
-
"false" => [:_collection_2],
|
193
|
-
"true" => [:_collection_2],
|
194
86
|
},
|
195
87
|
:_collection_2 => {
|
196
88
|
"(" => [:object, :_collection_1],
|
197
89
|
")" => [],
|
90
|
+
"[" => [:object, :_collection_1],
|
91
|
+
"false" => [:object, :_collection_1],
|
92
|
+
"true" => [:object, :_collection_1],
|
198
93
|
:ANON => [:object, :_collection_1],
|
199
94
|
:BLANK_NODE_LABEL => [:object, :_collection_1],
|
200
95
|
:DECIMAL => [:object, :_collection_1],
|
@@ -207,13 +102,9 @@ module RDF::Turtle::Meta
|
|
207
102
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:object, :_collection_1],
|
208
103
|
:STRING_LITERAL_QUOTE => [:object, :_collection_1],
|
209
104
|
:STRING_LITERAL_SINGLE_QUOTE => [:object, :_collection_1],
|
210
|
-
"[" => [:object, :_collection_1],
|
211
|
-
"false" => [:object, :_collection_1],
|
212
|
-
"true" => [:object, :_collection_1],
|
213
105
|
},
|
214
106
|
:_objectList_1 => {
|
215
107
|
"," => [:_objectList_3],
|
216
|
-
";" => [],
|
217
108
|
:_empty => [],
|
218
109
|
},
|
219
110
|
:_objectList_2 => {
|
@@ -221,7 +112,6 @@ module RDF::Turtle::Meta
|
|
221
112
|
},
|
222
113
|
:_objectList_3 => {
|
223
114
|
"," => [:_objectList_2, :_objectList_1],
|
224
|
-
";" => [],
|
225
115
|
},
|
226
116
|
:_predicateObjectList_1 => {
|
227
117
|
"." => [],
|
@@ -238,32 +128,26 @@ module RDF::Turtle::Meta
|
|
238
128
|
"]" => [],
|
239
129
|
},
|
240
130
|
:_predicateObjectList_4 => {
|
241
|
-
"
|
131
|
+
"a" => [:_predicateObjectList_5],
|
242
132
|
:IRIREF => [:_predicateObjectList_5],
|
243
133
|
:PNAME_LN => [:_predicateObjectList_5],
|
244
134
|
:PNAME_NS => [:_predicateObjectList_5],
|
245
135
|
:_empty => [],
|
246
|
-
"a" => [:_predicateObjectList_5],
|
247
136
|
},
|
248
137
|
:_predicateObjectList_5 => {
|
249
|
-
"
|
138
|
+
"a" => [:verb, :objectList],
|
250
139
|
:IRIREF => [:verb, :objectList],
|
251
140
|
:PNAME_LN => [:verb, :objectList],
|
252
141
|
:PNAME_NS => [:verb, :objectList],
|
253
|
-
"a" => [:verb, :objectList],
|
254
142
|
},
|
255
143
|
:_statement_1 => {
|
256
144
|
"(" => [:triples, "."],
|
257
|
-
"
|
258
|
-
"@prefix" => [],
|
145
|
+
"[" => [:triples, "."],
|
259
146
|
:ANON => [:triples, "."],
|
260
147
|
:BLANK_NODE_LABEL => [:triples, "."],
|
261
148
|
:IRIREF => [:triples, "."],
|
262
149
|
:PNAME_LN => [:triples, "."],
|
263
150
|
:PNAME_NS => [:triples, "."],
|
264
|
-
:SPARQL_BASE => [],
|
265
|
-
:SPARQL_PREFIX => [],
|
266
|
-
"[" => [:triples, "."],
|
267
151
|
},
|
268
152
|
:_triples_1 => {
|
269
153
|
"(" => [:subject, :predicateObjectList],
|
@@ -280,16 +164,17 @@ module RDF::Turtle::Meta
|
|
280
164
|
},
|
281
165
|
:_triples_3 => {
|
282
166
|
"." => [],
|
167
|
+
"a" => [:predicateObjectList],
|
283
168
|
:IRIREF => [:predicateObjectList],
|
284
169
|
:PNAME_LN => [:predicateObjectList],
|
285
170
|
:PNAME_NS => [:predicateObjectList],
|
286
171
|
:_empty => [],
|
287
|
-
"a" => [:predicateObjectList],
|
288
172
|
},
|
289
173
|
:_turtleDoc_1 => {
|
290
174
|
"(" => [:statement, :turtleDoc],
|
291
175
|
"@base" => [:statement, :turtleDoc],
|
292
176
|
"@prefix" => [:statement, :turtleDoc],
|
177
|
+
"[" => [:statement, :turtleDoc],
|
293
178
|
:ANON => [:statement, :turtleDoc],
|
294
179
|
:BLANK_NODE_LABEL => [:statement, :turtleDoc],
|
295
180
|
:IRIREF => [:statement, :turtleDoc],
|
@@ -297,78 +182,33 @@ module RDF::Turtle::Meta
|
|
297
182
|
:PNAME_NS => [:statement, :turtleDoc],
|
298
183
|
:SPARQL_BASE => [:statement, :turtleDoc],
|
299
184
|
:SPARQL_PREFIX => [:statement, :turtleDoc],
|
300
|
-
"[" => [:statement, :turtleDoc],
|
301
185
|
:_eof => [],
|
302
186
|
},
|
303
187
|
:base => {
|
304
|
-
"(" => [],
|
305
188
|
"@base" => ["@base", :IRIREF, "."],
|
306
|
-
"@prefix" => [],
|
307
|
-
:ANON => [],
|
308
|
-
:BLANK_NODE_LABEL => [],
|
309
|
-
:IRIREF => [],
|
310
|
-
:PNAME_LN => [],
|
311
|
-
:PNAME_NS => [],
|
312
|
-
:SPARQL_BASE => [],
|
313
|
-
:SPARQL_PREFIX => [],
|
314
|
-
"[" => [],
|
315
189
|
},
|
316
190
|
:blankNodePropertyList => {
|
317
|
-
"(" => [],
|
318
|
-
"," => [],
|
319
|
-
:ANON => [],
|
320
|
-
:BLANK_NODE_LABEL => [],
|
321
|
-
:DECIMAL => [],
|
322
|
-
:DOUBLE => [],
|
323
|
-
:INTEGER => [],
|
324
|
-
:IRIREF => [],
|
325
|
-
:PNAME_LN => [],
|
326
|
-
:PNAME_NS => [],
|
327
|
-
:STRING_LITERAL_LONG_QUOTE => [],
|
328
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
329
|
-
:STRING_LITERAL_QUOTE => [],
|
330
|
-
:STRING_LITERAL_SINGLE_QUOTE => [],
|
331
191
|
"[" => ["[", :predicateObjectList, "]"],
|
332
|
-
"a" => [],
|
333
|
-
"false" => [],
|
334
|
-
"true" => [],
|
335
192
|
},
|
336
193
|
:collection => {
|
337
194
|
"(" => ["(", :_collection_1, ")"],
|
338
|
-
"
|
339
|
-
:ANON => [],
|
340
|
-
:BLANK_NODE_LABEL => [],
|
341
|
-
:DECIMAL => [],
|
342
|
-
:DOUBLE => [],
|
343
|
-
:INTEGER => [],
|
195
|
+
"a" => [],
|
344
196
|
:IRIREF => [],
|
345
197
|
:PNAME_LN => [],
|
346
198
|
:PNAME_NS => [],
|
347
|
-
:STRING_LITERAL_LONG_QUOTE => [],
|
348
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
349
|
-
:STRING_LITERAL_QUOTE => [],
|
350
|
-
:STRING_LITERAL_SINGLE_QUOTE => [],
|
351
|
-
"[" => [],
|
352
|
-
"a" => [],
|
353
|
-
"false" => [],
|
354
|
-
"true" => [],
|
355
199
|
},
|
356
200
|
:directive => {
|
357
|
-
"(" => [],
|
358
201
|
"@base" => [:base],
|
359
202
|
"@prefix" => [:prefixID],
|
360
|
-
:ANON => [],
|
361
|
-
:BLANK_NODE_LABEL => [],
|
362
|
-
:IRIREF => [],
|
363
|
-
:PNAME_LN => [],
|
364
|
-
:PNAME_NS => [],
|
365
203
|
:SPARQL_BASE => [:sparqlBase],
|
366
204
|
:SPARQL_PREFIX => [:sparqlPrefix],
|
367
|
-
"[" => [],
|
368
205
|
},
|
369
206
|
:iri => {
|
370
207
|
"(" => [],
|
371
|
-
"
|
208
|
+
"[" => [],
|
209
|
+
"a" => [],
|
210
|
+
"false" => [],
|
211
|
+
"true" => [],
|
372
212
|
:ANON => [],
|
373
213
|
:BLANK_NODE_LABEL => [],
|
374
214
|
:DECIMAL => [],
|
@@ -381,33 +221,23 @@ module RDF::Turtle::Meta
|
|
381
221
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
382
222
|
:STRING_LITERAL_QUOTE => [],
|
383
223
|
:STRING_LITERAL_SINGLE_QUOTE => [],
|
384
|
-
"[" => [],
|
385
|
-
"a" => [],
|
386
|
-
"false" => [],
|
387
|
-
"true" => [],
|
388
224
|
},
|
389
225
|
:literal => {
|
390
|
-
"
|
391
|
-
"
|
392
|
-
:ANON => [],
|
393
|
-
:BLANK_NODE_LABEL => [],
|
226
|
+
"false" => [:BooleanLiteral],
|
227
|
+
"true" => [:BooleanLiteral],
|
394
228
|
:DECIMAL => [:NumericLiteral],
|
395
229
|
:DOUBLE => [:NumericLiteral],
|
396
230
|
:INTEGER => [:NumericLiteral],
|
397
|
-
:IRIREF => [],
|
398
|
-
:PNAME_LN => [],
|
399
|
-
:PNAME_NS => [],
|
400
231
|
:STRING_LITERAL_LONG_QUOTE => [:RDFLiteral],
|
401
232
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:RDFLiteral],
|
402
233
|
:STRING_LITERAL_QUOTE => [:RDFLiteral],
|
403
234
|
:STRING_LITERAL_SINGLE_QUOTE => [:RDFLiteral],
|
404
|
-
"[" => [],
|
405
|
-
"false" => [:BooleanLiteral],
|
406
|
-
"true" => [:BooleanLiteral],
|
407
235
|
},
|
408
236
|
:object => {
|
409
237
|
"(" => [:collection],
|
410
|
-
"
|
238
|
+
"[" => [:blankNodePropertyList],
|
239
|
+
"false" => [:literal],
|
240
|
+
"true" => [:literal],
|
411
241
|
:ANON => [:BlankNode],
|
412
242
|
:BLANK_NODE_LABEL => [:BlankNode],
|
413
243
|
:DECIMAL => [:literal],
|
@@ -420,13 +250,12 @@ module RDF::Turtle::Meta
|
|
420
250
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:literal],
|
421
251
|
:STRING_LITERAL_QUOTE => [:literal],
|
422
252
|
:STRING_LITERAL_SINGLE_QUOTE => [:literal],
|
423
|
-
"[" => [:blankNodePropertyList],
|
424
|
-
"false" => [:literal],
|
425
|
-
"true" => [:literal],
|
426
253
|
},
|
427
254
|
:objectList => {
|
428
255
|
"(" => [:object, :_objectList_1],
|
429
|
-
"
|
256
|
+
"[" => [:object, :_objectList_1],
|
257
|
+
"false" => [:object, :_objectList_1],
|
258
|
+
"true" => [:object, :_objectList_1],
|
430
259
|
:ANON => [:object, :_objectList_1],
|
431
260
|
:BLANK_NODE_LABEL => [:object, :_objectList_1],
|
432
261
|
:DECIMAL => [:object, :_objectList_1],
|
@@ -439,12 +268,12 @@ module RDF::Turtle::Meta
|
|
439
268
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:object, :_objectList_1],
|
440
269
|
:STRING_LITERAL_QUOTE => [:object, :_objectList_1],
|
441
270
|
:STRING_LITERAL_SINGLE_QUOTE => [:object, :_objectList_1],
|
442
|
-
"[" => [:object, :_objectList_1],
|
443
|
-
"false" => [:object, :_objectList_1],
|
444
|
-
"true" => [:object, :_objectList_1],
|
445
271
|
},
|
446
272
|
:predicate => {
|
447
273
|
"(" => [],
|
274
|
+
"[" => [],
|
275
|
+
"false" => [],
|
276
|
+
"true" => [],
|
448
277
|
:ANON => [],
|
449
278
|
:BLANK_NODE_LABEL => [],
|
450
279
|
:DECIMAL => [],
|
@@ -457,61 +286,29 @@ module RDF::Turtle::Meta
|
|
457
286
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
458
287
|
:STRING_LITERAL_QUOTE => [],
|
459
288
|
:STRING_LITERAL_SINGLE_QUOTE => [],
|
460
|
-
"[" => [],
|
461
|
-
"false" => [],
|
462
|
-
"true" => [],
|
463
289
|
},
|
464
290
|
:predicateObjectList => {
|
465
291
|
"." => [],
|
292
|
+
"]" => [],
|
293
|
+
"a" => [:verb, :objectList, :_predicateObjectList_1],
|
466
294
|
:IRIREF => [:verb, :objectList, :_predicateObjectList_1],
|
467
295
|
:PNAME_LN => [:verb, :objectList, :_predicateObjectList_1],
|
468
296
|
:PNAME_NS => [:verb, :objectList, :_predicateObjectList_1],
|
469
|
-
"]" => [],
|
470
|
-
"a" => [:verb, :objectList, :_predicateObjectList_1],
|
471
297
|
},
|
472
298
|
:prefixID => {
|
473
|
-
"(" => [],
|
474
|
-
"@base" => [],
|
475
299
|
"@prefix" => ["@prefix", :PNAME_NS, :IRIREF, "."],
|
476
|
-
:ANON => [],
|
477
|
-
:BLANK_NODE_LABEL => [],
|
478
|
-
:IRIREF => [],
|
479
|
-
:PNAME_LN => [],
|
480
|
-
:PNAME_NS => [],
|
481
|
-
:SPARQL_BASE => [],
|
482
|
-
:SPARQL_PREFIX => [],
|
483
|
-
"[" => [],
|
484
300
|
},
|
485
301
|
:sparqlBase => {
|
486
|
-
"(" => [],
|
487
|
-
"@base" => [],
|
488
|
-
"@prefix" => [],
|
489
|
-
:ANON => [],
|
490
|
-
:BLANK_NODE_LABEL => [],
|
491
|
-
:IRIREF => [],
|
492
|
-
:PNAME_LN => [],
|
493
|
-
:PNAME_NS => [],
|
494
302
|
:SPARQL_BASE => [:SPARQL_BASE, :IRIREF],
|
495
|
-
:SPARQL_PREFIX => [],
|
496
|
-
"[" => [],
|
497
303
|
},
|
498
304
|
:sparqlPrefix => {
|
499
|
-
"(" => [],
|
500
|
-
"@base" => [],
|
501
|
-
"@prefix" => [],
|
502
|
-
:ANON => [],
|
503
|
-
:BLANK_NODE_LABEL => [],
|
504
|
-
:IRIREF => [],
|
505
|
-
:PNAME_LN => [],
|
506
|
-
:PNAME_NS => [],
|
507
|
-
:SPARQL_BASE => [],
|
508
305
|
:SPARQL_PREFIX => [:SPARQL_PREFIX, :PNAME_NS, :IRIREF],
|
509
|
-
"[" => [],
|
510
306
|
},
|
511
307
|
:statement => {
|
512
308
|
"(" => [:_statement_1],
|
513
309
|
"@base" => [:directive],
|
514
310
|
"@prefix" => [:directive],
|
311
|
+
"[" => [:_statement_1],
|
515
312
|
:ANON => [:_statement_1],
|
516
313
|
:BLANK_NODE_LABEL => [:_statement_1],
|
517
314
|
:IRIREF => [:_statement_1],
|
@@ -519,31 +316,31 @@ module RDF::Turtle::Meta
|
|
519
316
|
:PNAME_NS => [:_statement_1],
|
520
317
|
:SPARQL_BASE => [:directive],
|
521
318
|
:SPARQL_PREFIX => [:directive],
|
522
|
-
"[" => [:_statement_1],
|
523
319
|
},
|
524
320
|
:subject => {
|
525
321
|
"(" => [:collection],
|
322
|
+
"a" => [],
|
526
323
|
:ANON => [:BlankNode],
|
527
324
|
:BLANK_NODE_LABEL => [:BlankNode],
|
528
325
|
:IRIREF => [:iri],
|
529
326
|
:PNAME_LN => [:iri],
|
530
327
|
:PNAME_NS => [:iri],
|
531
|
-
"a" => [],
|
532
328
|
},
|
533
329
|
:triples => {
|
534
330
|
"(" => [:_triples_1],
|
535
331
|
"." => [],
|
332
|
+
"[" => [:_triples_2],
|
536
333
|
:ANON => [:_triples_1],
|
537
334
|
:BLANK_NODE_LABEL => [:_triples_1],
|
538
335
|
:IRIREF => [:_triples_1],
|
539
336
|
:PNAME_LN => [:_triples_1],
|
540
337
|
:PNAME_NS => [:_triples_1],
|
541
|
-
"[" => [:_triples_2],
|
542
338
|
},
|
543
339
|
:turtleDoc => {
|
544
340
|
"(" => [:_turtleDoc_1],
|
545
341
|
"@base" => [:_turtleDoc_1],
|
546
342
|
"@prefix" => [:_turtleDoc_1],
|
343
|
+
"[" => [:_turtleDoc_1],
|
547
344
|
:ANON => [:_turtleDoc_1],
|
548
345
|
:BLANK_NODE_LABEL => [:_turtleDoc_1],
|
549
346
|
:IRIREF => [:_turtleDoc_1],
|
@@ -551,12 +348,15 @@ module RDF::Turtle::Meta
|
|
551
348
|
:PNAME_NS => [:_turtleDoc_1],
|
552
349
|
:SPARQL_BASE => [:_turtleDoc_1],
|
553
350
|
:SPARQL_PREFIX => [:_turtleDoc_1],
|
554
|
-
"[" => [:_turtleDoc_1],
|
555
351
|
:_empty => [],
|
556
352
|
:_eof => [],
|
557
353
|
},
|
558
354
|
:verb => {
|
559
355
|
"(" => [],
|
356
|
+
"[" => [],
|
357
|
+
"a" => ["a"],
|
358
|
+
"false" => [],
|
359
|
+
"true" => [],
|
560
360
|
:ANON => [],
|
561
361
|
:BLANK_NODE_LABEL => [],
|
562
362
|
:DECIMAL => [],
|
@@ -569,10 +369,6 @@ module RDF::Turtle::Meta
|
|
569
369
|
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
570
370
|
:STRING_LITERAL_QUOTE => [],
|
571
371
|
:STRING_LITERAL_SINGLE_QUOTE => [],
|
572
|
-
"[" => [],
|
573
|
-
"a" => ["a"],
|
574
|
-
"false" => [],
|
575
|
-
"true" => [],
|
576
372
|
},
|
577
373
|
}.freeze
|
578
374
|
TERMINALS = [
|
@@ -583,6 +379,12 @@ module RDF::Turtle::Meta
|
|
583
379
|
";",
|
584
380
|
"@base",
|
585
381
|
"@prefix",
|
382
|
+
"[",
|
383
|
+
"]",
|
384
|
+
"^^",
|
385
|
+
"a",
|
386
|
+
"false",
|
387
|
+
"true",
|
586
388
|
:ANON,
|
587
389
|
:BLANK_NODE_LABEL,
|
588
390
|
:DECIMAL,
|
@@ -597,13 +399,7 @@ module RDF::Turtle::Meta
|
|
597
399
|
:STRING_LITERAL_LONG_QUOTE,
|
598
400
|
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
599
401
|
:STRING_LITERAL_QUOTE,
|
600
|
-
:STRING_LITERAL_SINGLE_QUOTE
|
601
|
-
"[",
|
602
|
-
"]",
|
603
|
-
"^^",
|
604
|
-
"a",
|
605
|
-
"false",
|
606
|
-
"true"
|
402
|
+
:STRING_LITERAL_SINGLE_QUOTE
|
607
403
|
].freeze
|
608
404
|
FIRST = {
|
609
405
|
:BlankNode => [
|
@@ -637,9 +433,6 @@ module RDF::Turtle::Meta
|
|
637
433
|
"^^"],
|
638
434
|
:_RDFLiteral_3 => [
|
639
435
|
"^^"],
|
640
|
-
:_RDFLiteral_4 => [
|
641
|
-
:LANGTAG,
|
642
|
-
"^^"],
|
643
436
|
:_base_1 => [
|
644
437
|
:IRIREF],
|
645
438
|
:_blankNodePropertyList_1 => [
|
@@ -649,41 +442,7 @@ module RDF::Turtle::Meta
|
|
649
442
|
:PNAME_LN],
|
650
443
|
:_blankNodePropertyList_2 => [
|
651
444
|
"]"],
|
652
|
-
:_collection_1 => [
|
653
|
-
"[",
|
654
|
-
"(",
|
655
|
-
:IRIREF,
|
656
|
-
:BLANK_NODE_LABEL,
|
657
|
-
:ANON,
|
658
|
-
:INTEGER,
|
659
|
-
:DECIMAL,
|
660
|
-
:DOUBLE,
|
661
|
-
"true",
|
662
|
-
"false",
|
663
|
-
:PNAME_NS,
|
664
|
-
:PNAME_LN,
|
665
|
-
:STRING_LITERAL_QUOTE,
|
666
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
667
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
668
|
-
:STRING_LITERAL_LONG_QUOTE],
|
669
|
-
:_collection_2 => [
|
670
|
-
"[",
|
671
|
-
"(",
|
672
|
-
:IRIREF,
|
673
|
-
:BLANK_NODE_LABEL,
|
674
|
-
:ANON,
|
675
|
-
:INTEGER,
|
676
|
-
:DECIMAL,
|
677
|
-
:DOUBLE,
|
678
|
-
"true",
|
679
|
-
"false",
|
680
|
-
:PNAME_NS,
|
681
|
-
:PNAME_LN,
|
682
|
-
:STRING_LITERAL_QUOTE,
|
683
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
684
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
685
|
-
:STRING_LITERAL_LONG_QUOTE],
|
686
|
-
:_collection_3 => [
|
445
|
+
:_collection_1 => [
|
687
446
|
"[",
|
688
447
|
"(",
|
689
448
|
:IRIREF,
|
@@ -700,7 +459,7 @@ module RDF::Turtle::Meta
|
|
700
459
|
:STRING_LITERAL_SINGLE_QUOTE,
|
701
460
|
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
702
461
|
:STRING_LITERAL_LONG_QUOTE],
|
703
|
-
:
|
462
|
+
:_collection_2 => [
|
704
463
|
"[",
|
705
464
|
"(",
|
706
465
|
:IRIREF,
|
@@ -717,6 +476,8 @@ module RDF::Turtle::Meta
|
|
717
476
|
:STRING_LITERAL_SINGLE_QUOTE,
|
718
477
|
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
719
478
|
:STRING_LITERAL_LONG_QUOTE],
|
479
|
+
:_collection_3 => [
|
480
|
+
")"],
|
720
481
|
:_collection_5 => [
|
721
482
|
")"],
|
722
483
|
:_empty => [
|
@@ -727,10 +488,6 @@ module RDF::Turtle::Meta
|
|
727
488
|
","],
|
728
489
|
:_objectList_3 => [
|
729
490
|
","],
|
730
|
-
:_objectList_4 => [
|
731
|
-
","],
|
732
|
-
:_objectList_5 => [
|
733
|
-
","],
|
734
491
|
:_objectList_6 => [
|
735
492
|
"[",
|
736
493
|
"(",
|
@@ -781,13 +538,6 @@ module RDF::Turtle::Meta
|
|
781
538
|
:STRING_LITERAL_SINGLE_QUOTE,
|
782
539
|
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
783
540
|
:STRING_LITERAL_LONG_QUOTE],
|
784
|
-
:_predicateObjectList_7 => [
|
785
|
-
";"],
|
786
|
-
:_predicateObjectList_8 => [
|
787
|
-
"a",
|
788
|
-
:IRIREF,
|
789
|
-
:PNAME_NS,
|
790
|
-
:PNAME_LN],
|
791
541
|
:_predicateObjectList_9 => [
|
792
542
|
"[",
|
793
543
|
"(",
|
@@ -840,11 +590,6 @@ module RDF::Turtle::Meta
|
|
840
590
|
:IRIREF,
|
841
591
|
:PNAME_NS,
|
842
592
|
:PNAME_LN],
|
843
|
-
:_triples_5 => [
|
844
|
-
"a",
|
845
|
-
:IRIREF,
|
846
|
-
:PNAME_NS,
|
847
|
-
:PNAME_LN],
|
848
593
|
:_turtleDoc_1 => [
|
849
594
|
"@prefix",
|
850
595
|
"@base",
|
@@ -857,18 +602,6 @@ module RDF::Turtle::Meta
|
|
857
602
|
:ANON,
|
858
603
|
:PNAME_NS,
|
859
604
|
:PNAME_LN],
|
860
|
-
:_turtleDoc_2 => [
|
861
|
-
"@prefix",
|
862
|
-
"@base",
|
863
|
-
:SPARQL_PREFIX,
|
864
|
-
:SPARQL_BASE,
|
865
|
-
"[",
|
866
|
-
"(",
|
867
|
-
:IRIREF,
|
868
|
-
:BLANK_NODE_LABEL,
|
869
|
-
:ANON,
|
870
|
-
:PNAME_NS,
|
871
|
-
:PNAME_LN],
|
872
605
|
:base => [
|
873
606
|
"@base"],
|
874
607
|
:blankNodePropertyList => [
|
@@ -992,46 +725,9 @@ module RDF::Turtle::Meta
|
|
992
725
|
:BlankNode => [
|
993
726
|
:BLANK_NODE_LABEL,
|
994
727
|
:ANON],
|
995
|
-
:BooleanLiteral => [
|
996
|
-
"true",
|
997
|
-
"false"],
|
998
|
-
:NumericLiteral => [
|
999
|
-
:INTEGER,
|
1000
|
-
:DECIMAL,
|
1001
|
-
:DOUBLE],
|
1002
728
|
:PrefixedName => [
|
1003
729
|
:PNAME_NS,
|
1004
730
|
:PNAME_LN],
|
1005
|
-
:RDFLiteral => [
|
1006
|
-
:STRING_LITERAL_QUOTE,
|
1007
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1008
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1009
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1010
|
-
:String => [
|
1011
|
-
:STRING_LITERAL_QUOTE,
|
1012
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1013
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1014
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1015
|
-
:_RDFLiteral_1 => [
|
1016
|
-
:LANGTAG,
|
1017
|
-
"^^"],
|
1018
|
-
:_RDFLiteral_2 => [
|
1019
|
-
:LANGTAG,
|
1020
|
-
"^^"],
|
1021
|
-
:_RDFLiteral_3 => [
|
1022
|
-
"^^"],
|
1023
|
-
:_RDFLiteral_4 => [
|
1024
|
-
:LANGTAG,
|
1025
|
-
"^^"],
|
1026
|
-
:_base_1 => [
|
1027
|
-
:IRIREF],
|
1028
|
-
:_blankNodePropertyList_1 => [
|
1029
|
-
"a",
|
1030
|
-
:IRIREF,
|
1031
|
-
:PNAME_NS,
|
1032
|
-
:PNAME_LN],
|
1033
|
-
:_blankNodePropertyList_2 => [
|
1034
|
-
"]"],
|
1035
731
|
:_collection_1 => [
|
1036
732
|
"[",
|
1037
733
|
"(",
|
@@ -1067,86 +763,15 @@ module RDF::Turtle::Meta
|
|
1067
763
|
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1068
764
|
:STRING_LITERAL_LONG_QUOTE],
|
1069
765
|
:_collection_3 => [
|
1070
|
-
"
|
1071
|
-
"(",
|
1072
|
-
:IRIREF,
|
1073
|
-
:BLANK_NODE_LABEL,
|
1074
|
-
:ANON,
|
1075
|
-
:INTEGER,
|
1076
|
-
:DECIMAL,
|
1077
|
-
:DOUBLE,
|
1078
|
-
"true",
|
1079
|
-
"false",
|
1080
|
-
:PNAME_NS,
|
1081
|
-
:PNAME_LN,
|
1082
|
-
:STRING_LITERAL_QUOTE,
|
1083
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1084
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1085
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1086
|
-
:_collection_4 => [
|
1087
|
-
"[",
|
1088
|
-
"(",
|
1089
|
-
:IRIREF,
|
1090
|
-
:BLANK_NODE_LABEL,
|
1091
|
-
:ANON,
|
1092
|
-
:INTEGER,
|
1093
|
-
:DECIMAL,
|
1094
|
-
:DOUBLE,
|
1095
|
-
"true",
|
1096
|
-
"false",
|
1097
|
-
:PNAME_NS,
|
1098
|
-
:PNAME_LN,
|
1099
|
-
:STRING_LITERAL_QUOTE,
|
1100
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1101
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1102
|
-
:STRING_LITERAL_LONG_QUOTE],
|
766
|
+
")"],
|
1103
767
|
:_collection_5 => [
|
1104
768
|
")"],
|
1105
769
|
:_empty => [
|
1106
770
|
],
|
1107
|
-
:_objectList_1 => [
|
1108
|
-
","],
|
1109
|
-
:_objectList_2 => [
|
1110
|
-
","],
|
1111
|
-
:_objectList_3 => [
|
1112
|
-
","],
|
1113
|
-
:_objectList_4 => [
|
1114
|
-
","],
|
1115
|
-
:_objectList_5 => [
|
1116
|
-
","],
|
1117
|
-
:_objectList_6 => [
|
1118
|
-
"[",
|
1119
|
-
"(",
|
1120
|
-
:IRIREF,
|
1121
|
-
:BLANK_NODE_LABEL,
|
1122
|
-
:ANON,
|
1123
|
-
:INTEGER,
|
1124
|
-
:DECIMAL,
|
1125
|
-
:DOUBLE,
|
1126
|
-
"true",
|
1127
|
-
"false",
|
1128
|
-
:PNAME_NS,
|
1129
|
-
:PNAME_LN,
|
1130
|
-
:STRING_LITERAL_QUOTE,
|
1131
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1132
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1133
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1134
771
|
:_predicateObjectList_1 => [
|
1135
772
|
";"],
|
1136
|
-
:_predicateObjectList_2 => [
|
1137
|
-
";"],
|
1138
773
|
:_predicateObjectList_3 => [
|
1139
774
|
";"],
|
1140
|
-
:_predicateObjectList_4 => [
|
1141
|
-
"a",
|
1142
|
-
:IRIREF,
|
1143
|
-
:PNAME_NS,
|
1144
|
-
:PNAME_LN],
|
1145
|
-
:_predicateObjectList_5 => [
|
1146
|
-
"a",
|
1147
|
-
:IRIREF,
|
1148
|
-
:PNAME_NS,
|
1149
|
-
:PNAME_LN],
|
1150
775
|
:_predicateObjectList_6 => [
|
1151
776
|
"[",
|
1152
777
|
"(",
|
@@ -1164,46 +789,6 @@ module RDF::Turtle::Meta
|
|
1164
789
|
:STRING_LITERAL_SINGLE_QUOTE,
|
1165
790
|
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1166
791
|
:STRING_LITERAL_LONG_QUOTE],
|
1167
|
-
:_predicateObjectList_7 => [
|
1168
|
-
";"],
|
1169
|
-
:_predicateObjectList_8 => [
|
1170
|
-
"a",
|
1171
|
-
:IRIREF,
|
1172
|
-
:PNAME_NS,
|
1173
|
-
:PNAME_LN],
|
1174
|
-
:_predicateObjectList_9 => [
|
1175
|
-
"[",
|
1176
|
-
"(",
|
1177
|
-
:IRIREF,
|
1178
|
-
:BLANK_NODE_LABEL,
|
1179
|
-
:ANON,
|
1180
|
-
:INTEGER,
|
1181
|
-
:DECIMAL,
|
1182
|
-
:DOUBLE,
|
1183
|
-
"true",
|
1184
|
-
"false",
|
1185
|
-
:PNAME_NS,
|
1186
|
-
:PNAME_LN,
|
1187
|
-
:STRING_LITERAL_QUOTE,
|
1188
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1189
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1190
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1191
|
-
:_prefixID_1 => [
|
1192
|
-
:PNAME_NS],
|
1193
|
-
:_sparqlBase_1 => [
|
1194
|
-
:IRIREF],
|
1195
|
-
:_sparqlPrefix_1 => [
|
1196
|
-
:PNAME_NS],
|
1197
|
-
:_statement_1 => [
|
1198
|
-
"[",
|
1199
|
-
"(",
|
1200
|
-
:IRIREF,
|
1201
|
-
:BLANK_NODE_LABEL,
|
1202
|
-
:ANON,
|
1203
|
-
:PNAME_NS,
|
1204
|
-
:PNAME_LN],
|
1205
|
-
:_statement_2 => [
|
1206
|
-
"."],
|
1207
792
|
:_triples_1 => [
|
1208
793
|
"(",
|
1209
794
|
:IRIREF,
|
@@ -1223,11 +808,6 @@ module RDF::Turtle::Meta
|
|
1223
808
|
:IRIREF,
|
1224
809
|
:PNAME_NS,
|
1225
810
|
:PNAME_LN],
|
1226
|
-
:_triples_5 => [
|
1227
|
-
"a",
|
1228
|
-
:IRIREF,
|
1229
|
-
:PNAME_NS,
|
1230
|
-
:PNAME_LN],
|
1231
811
|
:_turtleDoc_1 => [
|
1232
812
|
"@prefix",
|
1233
813
|
"@base",
|
@@ -1240,77 +820,12 @@ module RDF::Turtle::Meta
|
|
1240
820
|
:ANON,
|
1241
821
|
:PNAME_NS,
|
1242
822
|
:PNAME_LN],
|
1243
|
-
:_turtleDoc_2 => [
|
1244
|
-
"@prefix",
|
1245
|
-
"@base",
|
1246
|
-
:SPARQL_PREFIX,
|
1247
|
-
:SPARQL_BASE,
|
1248
|
-
"[",
|
1249
|
-
"(",
|
1250
|
-
:IRIREF,
|
1251
|
-
:BLANK_NODE_LABEL,
|
1252
|
-
:ANON,
|
1253
|
-
:PNAME_NS,
|
1254
|
-
:PNAME_LN],
|
1255
|
-
:base => [
|
1256
|
-
"@base"],
|
1257
|
-
:blankNodePropertyList => [
|
1258
|
-
"["],
|
1259
823
|
:collection => [
|
1260
824
|
"("],
|
1261
|
-
:directive => [
|
1262
|
-
"@prefix",
|
1263
|
-
"@base",
|
1264
|
-
:SPARQL_PREFIX,
|
1265
|
-
:SPARQL_BASE],
|
1266
825
|
:iri => [
|
1267
826
|
:IRIREF,
|
1268
827
|
:PNAME_NS,
|
1269
828
|
:PNAME_LN],
|
1270
|
-
:literal => [
|
1271
|
-
:INTEGER,
|
1272
|
-
:DECIMAL,
|
1273
|
-
:DOUBLE,
|
1274
|
-
"true",
|
1275
|
-
"false",
|
1276
|
-
:STRING_LITERAL_QUOTE,
|
1277
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1278
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1279
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1280
|
-
:object => [
|
1281
|
-
"[",
|
1282
|
-
"(",
|
1283
|
-
:IRIREF,
|
1284
|
-
:BLANK_NODE_LABEL,
|
1285
|
-
:ANON,
|
1286
|
-
:INTEGER,
|
1287
|
-
:DECIMAL,
|
1288
|
-
:DOUBLE,
|
1289
|
-
"true",
|
1290
|
-
"false",
|
1291
|
-
:PNAME_NS,
|
1292
|
-
:PNAME_LN,
|
1293
|
-
:STRING_LITERAL_QUOTE,
|
1294
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1295
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1296
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1297
|
-
:objectList => [
|
1298
|
-
"[",
|
1299
|
-
"(",
|
1300
|
-
:IRIREF,
|
1301
|
-
:BLANK_NODE_LABEL,
|
1302
|
-
:ANON,
|
1303
|
-
:INTEGER,
|
1304
|
-
:DECIMAL,
|
1305
|
-
:DOUBLE,
|
1306
|
-
"true",
|
1307
|
-
"false",
|
1308
|
-
:PNAME_NS,
|
1309
|
-
:PNAME_LN,
|
1310
|
-
:STRING_LITERAL_QUOTE,
|
1311
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1312
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1313
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1314
829
|
:predicate => [
|
1315
830
|
:IRIREF,
|
1316
831
|
:PNAME_NS,
|
@@ -1320,24 +835,6 @@ module RDF::Turtle::Meta
|
|
1320
835
|
:IRIREF,
|
1321
836
|
:PNAME_NS,
|
1322
837
|
:PNAME_LN],
|
1323
|
-
:prefixID => [
|
1324
|
-
"@prefix"],
|
1325
|
-
:sparqlBase => [
|
1326
|
-
:SPARQL_BASE],
|
1327
|
-
:sparqlPrefix => [
|
1328
|
-
:SPARQL_PREFIX],
|
1329
|
-
:statement => [
|
1330
|
-
"@prefix",
|
1331
|
-
"@base",
|
1332
|
-
:SPARQL_PREFIX,
|
1333
|
-
:SPARQL_BASE,
|
1334
|
-
"[",
|
1335
|
-
"(",
|
1336
|
-
:IRIREF,
|
1337
|
-
:BLANK_NODE_LABEL,
|
1338
|
-
:ANON,
|
1339
|
-
:PNAME_NS,
|
1340
|
-
:PNAME_LN],
|
1341
838
|
:subject => [
|
1342
839
|
"(",
|
1343
840
|
:IRIREF,
|