ebnf 2.3.5 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/VERSION +1 -1
- data/etc/abnf.sxp +1 -1
- data/etc/ebnf.html +13 -13
- data/etc/ebnf.ll1.rb +1 -1
- data/etc/ebnf.ll1.sxp +94 -94
- data/etc/ebnf.peg.rb +1 -1
- data/etc/ebnf.peg.sxp +29 -29
- data/etc/ebnf.sxp +18 -18
- data/etc/iso-ebnf.sxp +27 -27
- data/etc/sparql.sxp +195 -195
- data/etc/turtle.ebnf +70 -67
- data/etc/turtle.html +56 -106
- data/etc/turtle.peg.sxp +182 -191
- data/etc/turtle.sxp +64 -70
- data/lib/ebnf/abnf.rb +3 -3
- data/lib/ebnf/base.rb +1 -1
- data/lib/ebnf/isoebnf.rb +1 -1
- data/lib/ebnf/native.rb +3 -2
- data/lib/ebnf/parser.rb +4 -2
- data/lib/ebnf/rule.rb +1 -2
- data/lib/ebnf/unescape.rb +1 -1
- data/lib/ebnf/writer.rb +9 -7
- data/lib/ebnf.rb +2 -0
- metadata +16 -23
- data/etc/sparql.html +0 -1425
- data/etc/sparql.ll1.sxp +0 -7372
- data/etc/sparql.peg.rb +0 -532
- data/etc/sparql.peg.sxp +0 -597
- data/etc/turtle.ll1.rb +0 -1482
- data/etc/turtle.ll1.sxp +0 -425
- data/etc/turtle.peg.rb +0 -182
data/etc/turtle.ll1.rb
DELETED
@@ -1,1482 +0,0 @@
|
|
1
|
-
# This file is automatically generated by ebnf version 2.0.0
|
2
|
-
# Derived from etc/turtle.ebnf
|
3
|
-
module Meta
|
4
|
-
START = :turtleDoc
|
5
|
-
BRANCH = {
|
6
|
-
:BlankNode => {
|
7
|
-
:ANON => [:ANON],
|
8
|
-
:BLANK_NODE_LABEL => [:BLANK_NODE_LABEL],
|
9
|
-
},
|
10
|
-
:BooleanLiteral => {
|
11
|
-
"false" => ["false"],
|
12
|
-
"true" => ["true"],
|
13
|
-
},
|
14
|
-
:NumericLiteral => {
|
15
|
-
:DECIMAL => [:DECIMAL],
|
16
|
-
:DOUBLE => [:DOUBLE],
|
17
|
-
:INTEGER => [:INTEGER],
|
18
|
-
},
|
19
|
-
:PrefixedName => {
|
20
|
-
:PNAME_LN => [:PNAME_LN],
|
21
|
-
:PNAME_NS => [:PNAME_NS],
|
22
|
-
},
|
23
|
-
:RDFLiteral => {
|
24
|
-
:STRING_LITERAL_LONG_QUOTE => [:String, :_RDFLiteral_1],
|
25
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:String, :_RDFLiteral_1],
|
26
|
-
:STRING_LITERAL_QUOTE => [:String, :_RDFLiteral_1],
|
27
|
-
:STRING_LITERAL_SINGLE_QUOTE => [:String, :_RDFLiteral_1],
|
28
|
-
},
|
29
|
-
:_RDFLiteral_1 => {
|
30
|
-
"(" => [],
|
31
|
-
")" => [],
|
32
|
-
"," => [],
|
33
|
-
"." => [],
|
34
|
-
";" => [],
|
35
|
-
:ANON => [],
|
36
|
-
:BLANK_NODE_LABEL => [],
|
37
|
-
:DECIMAL => [],
|
38
|
-
:DOUBLE => [],
|
39
|
-
:INTEGER => [],
|
40
|
-
:IRIREF => [],
|
41
|
-
:LANGTAG => [:_RDFLiteral_2],
|
42
|
-
:PNAME_LN => [],
|
43
|
-
:PNAME_NS => [],
|
44
|
-
:STRING_LITERAL_LONG_QUOTE => [],
|
45
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [],
|
46
|
-
:STRING_LITERAL_QUOTE => [],
|
47
|
-
:STRING_LITERAL_SINGLE_QUOTE => [],
|
48
|
-
"[" => [],
|
49
|
-
"]" => [],
|
50
|
-
"^^" => [:_RDFLiteral_2],
|
51
|
-
"false" => [],
|
52
|
-
"true" => [],
|
53
|
-
},
|
54
|
-
:_RDFLiteral_2 => {
|
55
|
-
:LANGTAG => [:LANGTAG],
|
56
|
-
"^^" => [:_RDFLiteral_3],
|
57
|
-
},
|
58
|
-
:_RDFLiteral_3 => {
|
59
|
-
"^^" => ["^^", :iri],
|
60
|
-
},
|
61
|
-
:String => {
|
62
|
-
:STRING_LITERAL_LONG_QUOTE => [:STRING_LITERAL_LONG_QUOTE],
|
63
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:STRING_LITERAL_LONG_SINGLE_QUOTE],
|
64
|
-
:STRING_LITERAL_QUOTE => [:STRING_LITERAL_QUOTE],
|
65
|
-
:STRING_LITERAL_SINGLE_QUOTE => [:STRING_LITERAL_SINGLE_QUOTE],
|
66
|
-
},
|
67
|
-
:base => {
|
68
|
-
"@base" => ["@base", :IRIREF, "."],
|
69
|
-
},
|
70
|
-
:blankNodePropertyList => {
|
71
|
-
"[" => ["[", :predicateObjectList, "]"],
|
72
|
-
},
|
73
|
-
:collection => {
|
74
|
-
"(" => ["(", :_collection_1, ")"],
|
75
|
-
},
|
76
|
-
:_collection_1 => {
|
77
|
-
"(" => [:_collection_2],
|
78
|
-
")" => [],
|
79
|
-
:ANON => [:_collection_2],
|
80
|
-
:BLANK_NODE_LABEL => [:_collection_2],
|
81
|
-
:DECIMAL => [:_collection_2],
|
82
|
-
:DOUBLE => [:_collection_2],
|
83
|
-
:INTEGER => [:_collection_2],
|
84
|
-
:IRIREF => [:_collection_2],
|
85
|
-
:PNAME_LN => [:_collection_2],
|
86
|
-
:PNAME_NS => [:_collection_2],
|
87
|
-
:STRING_LITERAL_LONG_QUOTE => [:_collection_2],
|
88
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:_collection_2],
|
89
|
-
:STRING_LITERAL_QUOTE => [:_collection_2],
|
90
|
-
:STRING_LITERAL_SINGLE_QUOTE => [:_collection_2],
|
91
|
-
"[" => [:_collection_2],
|
92
|
-
"false" => [:_collection_2],
|
93
|
-
"true" => [:_collection_2],
|
94
|
-
},
|
95
|
-
:_collection_2 => {
|
96
|
-
"(" => [:object, :_collection_1],
|
97
|
-
:ANON => [:object, :_collection_1],
|
98
|
-
:BLANK_NODE_LABEL => [:object, :_collection_1],
|
99
|
-
:DECIMAL => [:object, :_collection_1],
|
100
|
-
:DOUBLE => [:object, :_collection_1],
|
101
|
-
:INTEGER => [:object, :_collection_1],
|
102
|
-
:IRIREF => [:object, :_collection_1],
|
103
|
-
:PNAME_LN => [:object, :_collection_1],
|
104
|
-
:PNAME_NS => [:object, :_collection_1],
|
105
|
-
:STRING_LITERAL_LONG_QUOTE => [:object, :_collection_1],
|
106
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:object, :_collection_1],
|
107
|
-
:STRING_LITERAL_QUOTE => [:object, :_collection_1],
|
108
|
-
:STRING_LITERAL_SINGLE_QUOTE => [:object, :_collection_1],
|
109
|
-
"[" => [:object, :_collection_1],
|
110
|
-
"false" => [:object, :_collection_1],
|
111
|
-
"true" => [:object, :_collection_1],
|
112
|
-
},
|
113
|
-
:directive => {
|
114
|
-
"@base" => [:base],
|
115
|
-
"@prefix" => [:prefixID],
|
116
|
-
:SPARQL_BASE => [:sparqlBase],
|
117
|
-
:SPARQL_PREFIX => [:sparqlPrefix],
|
118
|
-
},
|
119
|
-
:iri => {
|
120
|
-
:IRIREF => [:IRIREF],
|
121
|
-
:PNAME_LN => [:PrefixedName],
|
122
|
-
:PNAME_NS => [:PrefixedName],
|
123
|
-
},
|
124
|
-
:literal => {
|
125
|
-
:DECIMAL => [:NumericLiteral],
|
126
|
-
:DOUBLE => [:NumericLiteral],
|
127
|
-
:INTEGER => [:NumericLiteral],
|
128
|
-
:STRING_LITERAL_LONG_QUOTE => [:RDFLiteral],
|
129
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:RDFLiteral],
|
130
|
-
:STRING_LITERAL_QUOTE => [:RDFLiteral],
|
131
|
-
:STRING_LITERAL_SINGLE_QUOTE => [:RDFLiteral],
|
132
|
-
"false" => [:BooleanLiteral],
|
133
|
-
"true" => [:BooleanLiteral],
|
134
|
-
},
|
135
|
-
:object => {
|
136
|
-
"(" => [:collection],
|
137
|
-
:ANON => [:BlankNode],
|
138
|
-
:BLANK_NODE_LABEL => [:BlankNode],
|
139
|
-
:DECIMAL => [:literal],
|
140
|
-
:DOUBLE => [:literal],
|
141
|
-
:INTEGER => [:literal],
|
142
|
-
:IRIREF => [:iri],
|
143
|
-
:PNAME_LN => [:iri],
|
144
|
-
:PNAME_NS => [:iri],
|
145
|
-
:STRING_LITERAL_LONG_QUOTE => [:literal],
|
146
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:literal],
|
147
|
-
:STRING_LITERAL_QUOTE => [:literal],
|
148
|
-
:STRING_LITERAL_SINGLE_QUOTE => [:literal],
|
149
|
-
"[" => [:blankNodePropertyList],
|
150
|
-
"false" => [:literal],
|
151
|
-
"true" => [:literal],
|
152
|
-
},
|
153
|
-
:objectList => {
|
154
|
-
"(" => [:object, :_objectList_1],
|
155
|
-
:ANON => [:object, :_objectList_1],
|
156
|
-
:BLANK_NODE_LABEL => [:object, :_objectList_1],
|
157
|
-
:DECIMAL => [:object, :_objectList_1],
|
158
|
-
:DOUBLE => [:object, :_objectList_1],
|
159
|
-
:INTEGER => [:object, :_objectList_1],
|
160
|
-
:IRIREF => [:object, :_objectList_1],
|
161
|
-
:PNAME_LN => [:object, :_objectList_1],
|
162
|
-
:PNAME_NS => [:object, :_objectList_1],
|
163
|
-
:STRING_LITERAL_LONG_QUOTE => [:object, :_objectList_1],
|
164
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE => [:object, :_objectList_1],
|
165
|
-
:STRING_LITERAL_QUOTE => [:object, :_objectList_1],
|
166
|
-
:STRING_LITERAL_SINGLE_QUOTE => [:object, :_objectList_1],
|
167
|
-
"[" => [:object, :_objectList_1],
|
168
|
-
"false" => [:object, :_objectList_1],
|
169
|
-
"true" => [:object, :_objectList_1],
|
170
|
-
},
|
171
|
-
:_objectList_1 => {
|
172
|
-
"," => [:_objectList_3],
|
173
|
-
"." => [],
|
174
|
-
";" => [],
|
175
|
-
"]" => [],
|
176
|
-
},
|
177
|
-
:_objectList_2 => {
|
178
|
-
"," => [",", :object],
|
179
|
-
},
|
180
|
-
:_objectList_3 => {
|
181
|
-
"," => [:_objectList_2, :_objectList_1],
|
182
|
-
},
|
183
|
-
:predicate => {
|
184
|
-
:IRIREF => [:iri],
|
185
|
-
:PNAME_LN => [:iri],
|
186
|
-
:PNAME_NS => [:iri],
|
187
|
-
},
|
188
|
-
:predicateObjectList => {
|
189
|
-
:IRIREF => [:verb, :objectList, :_predicateObjectList_1],
|
190
|
-
:PNAME_LN => [:verb, :objectList, :_predicateObjectList_1],
|
191
|
-
:PNAME_NS => [:verb, :objectList, :_predicateObjectList_1],
|
192
|
-
"a" => [:verb, :objectList, :_predicateObjectList_1],
|
193
|
-
},
|
194
|
-
:_predicateObjectList_1 => {
|
195
|
-
"." => [],
|
196
|
-
";" => [:_predicateObjectList_3],
|
197
|
-
"]" => [],
|
198
|
-
},
|
199
|
-
:_predicateObjectList_2 => {
|
200
|
-
";" => [";", :_predicateObjectList_4],
|
201
|
-
},
|
202
|
-
:_predicateObjectList_3 => {
|
203
|
-
";" => [:_predicateObjectList_2, :_predicateObjectList_1],
|
204
|
-
},
|
205
|
-
:_predicateObjectList_4 => {
|
206
|
-
"." => [],
|
207
|
-
";" => [],
|
208
|
-
:IRIREF => [:_predicateObjectList_5],
|
209
|
-
:PNAME_LN => [:_predicateObjectList_5],
|
210
|
-
:PNAME_NS => [:_predicateObjectList_5],
|
211
|
-
"]" => [],
|
212
|
-
"a" => [:_predicateObjectList_5],
|
213
|
-
},
|
214
|
-
:_predicateObjectList_5 => {
|
215
|
-
:IRIREF => [:verb, :objectList],
|
216
|
-
:PNAME_LN => [:verb, :objectList],
|
217
|
-
:PNAME_NS => [:verb, :objectList],
|
218
|
-
"a" => [:verb, :objectList],
|
219
|
-
},
|
220
|
-
:prefixID => {
|
221
|
-
"@prefix" => ["@prefix", :PNAME_NS, :IRIREF, "."],
|
222
|
-
},
|
223
|
-
:sparqlBase => {
|
224
|
-
:SPARQL_BASE => [:SPARQL_BASE, :IRIREF],
|
225
|
-
},
|
226
|
-
:sparqlPrefix => {
|
227
|
-
:SPARQL_PREFIX => [:SPARQL_PREFIX, :PNAME_NS, :IRIREF],
|
228
|
-
},
|
229
|
-
:statement => {
|
230
|
-
"(" => [:_statement_1],
|
231
|
-
"@base" => [:directive],
|
232
|
-
"@prefix" => [:directive],
|
233
|
-
:ANON => [:_statement_1],
|
234
|
-
:BLANK_NODE_LABEL => [:_statement_1],
|
235
|
-
:IRIREF => [:_statement_1],
|
236
|
-
:PNAME_LN => [:_statement_1],
|
237
|
-
:PNAME_NS => [:_statement_1],
|
238
|
-
:SPARQL_BASE => [:directive],
|
239
|
-
:SPARQL_PREFIX => [:directive],
|
240
|
-
"[" => [:_statement_1],
|
241
|
-
},
|
242
|
-
:_statement_1 => {
|
243
|
-
"(" => [:triples, "."],
|
244
|
-
:ANON => [:triples, "."],
|
245
|
-
:BLANK_NODE_LABEL => [:triples, "."],
|
246
|
-
:IRIREF => [:triples, "."],
|
247
|
-
:PNAME_LN => [:triples, "."],
|
248
|
-
:PNAME_NS => [:triples, "."],
|
249
|
-
"[" => [:triples, "."],
|
250
|
-
},
|
251
|
-
:subject => {
|
252
|
-
"(" => [:collection],
|
253
|
-
:ANON => [:BlankNode],
|
254
|
-
:BLANK_NODE_LABEL => [:BlankNode],
|
255
|
-
:IRIREF => [:iri],
|
256
|
-
:PNAME_LN => [:iri],
|
257
|
-
:PNAME_NS => [:iri],
|
258
|
-
},
|
259
|
-
:triples => {
|
260
|
-
"(" => [:_triples_1],
|
261
|
-
:ANON => [:_triples_1],
|
262
|
-
:BLANK_NODE_LABEL => [:_triples_1],
|
263
|
-
:IRIREF => [:_triples_1],
|
264
|
-
:PNAME_LN => [:_triples_1],
|
265
|
-
:PNAME_NS => [:_triples_1],
|
266
|
-
"[" => [:_triples_2],
|
267
|
-
},
|
268
|
-
:_triples_1 => {
|
269
|
-
"(" => [:subject, :predicateObjectList],
|
270
|
-
:ANON => [:subject, :predicateObjectList],
|
271
|
-
:BLANK_NODE_LABEL => [:subject, :predicateObjectList],
|
272
|
-
:IRIREF => [:subject, :predicateObjectList],
|
273
|
-
:PNAME_LN => [:subject, :predicateObjectList],
|
274
|
-
:PNAME_NS => [:subject, :predicateObjectList],
|
275
|
-
},
|
276
|
-
:_triples_2 => {
|
277
|
-
"[" => [:blankNodePropertyList, :_triples_3],
|
278
|
-
},
|
279
|
-
:_triples_3 => {
|
280
|
-
"." => [],
|
281
|
-
:IRIREF => [:predicateObjectList],
|
282
|
-
:PNAME_LN => [:predicateObjectList],
|
283
|
-
:PNAME_NS => [:predicateObjectList],
|
284
|
-
"a" => [:predicateObjectList],
|
285
|
-
},
|
286
|
-
:turtleDoc => {
|
287
|
-
"(" => [:_turtleDoc_1],
|
288
|
-
"@base" => [:_turtleDoc_1],
|
289
|
-
"@prefix" => [:_turtleDoc_1],
|
290
|
-
:ANON => [:_turtleDoc_1],
|
291
|
-
:BLANK_NODE_LABEL => [:_turtleDoc_1],
|
292
|
-
:IRIREF => [:_turtleDoc_1],
|
293
|
-
:PNAME_LN => [:_turtleDoc_1],
|
294
|
-
:PNAME_NS => [:_turtleDoc_1],
|
295
|
-
:SPARQL_BASE => [:_turtleDoc_1],
|
296
|
-
:SPARQL_PREFIX => [:_turtleDoc_1],
|
297
|
-
"[" => [:_turtleDoc_1],
|
298
|
-
},
|
299
|
-
:_turtleDoc_1 => {
|
300
|
-
"(" => [:statement, :turtleDoc],
|
301
|
-
"@base" => [:statement, :turtleDoc],
|
302
|
-
"@prefix" => [:statement, :turtleDoc],
|
303
|
-
:ANON => [:statement, :turtleDoc],
|
304
|
-
:BLANK_NODE_LABEL => [:statement, :turtleDoc],
|
305
|
-
:IRIREF => [:statement, :turtleDoc],
|
306
|
-
:PNAME_LN => [:statement, :turtleDoc],
|
307
|
-
:PNAME_NS => [:statement, :turtleDoc],
|
308
|
-
:SPARQL_BASE => [:statement, :turtleDoc],
|
309
|
-
:SPARQL_PREFIX => [:statement, :turtleDoc],
|
310
|
-
"[" => [:statement, :turtleDoc],
|
311
|
-
},
|
312
|
-
:verb => {
|
313
|
-
:IRIREF => [:predicate],
|
314
|
-
:PNAME_LN => [:predicate],
|
315
|
-
:PNAME_NS => [:predicate],
|
316
|
-
"a" => ["a"],
|
317
|
-
},
|
318
|
-
}.freeze
|
319
|
-
TERMINALS = [
|
320
|
-
"(",
|
321
|
-
")",
|
322
|
-
",",
|
323
|
-
".",
|
324
|
-
";",
|
325
|
-
"@base",
|
326
|
-
"@prefix",
|
327
|
-
:ANON,
|
328
|
-
:BLANK_NODE_LABEL,
|
329
|
-
:DECIMAL,
|
330
|
-
:DOUBLE,
|
331
|
-
:INTEGER,
|
332
|
-
:IRIREF,
|
333
|
-
:LANGTAG,
|
334
|
-
:PNAME_LN,
|
335
|
-
:PNAME_NS,
|
336
|
-
:SPARQL_BASE,
|
337
|
-
:SPARQL_PREFIX,
|
338
|
-
:STRING_LITERAL_LONG_QUOTE,
|
339
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
340
|
-
:STRING_LITERAL_QUOTE,
|
341
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
342
|
-
"[",
|
343
|
-
"]",
|
344
|
-
"^^",
|
345
|
-
"a",
|
346
|
-
"false",
|
347
|
-
"true"
|
348
|
-
].freeze
|
349
|
-
FIRST = {
|
350
|
-
:BlankNode => [
|
351
|
-
:BLANK_NODE_LABEL,
|
352
|
-
:ANON],
|
353
|
-
:BooleanLiteral => [
|
354
|
-
"true",
|
355
|
-
"false"],
|
356
|
-
:NumericLiteral => [
|
357
|
-
:INTEGER,
|
358
|
-
:DECIMAL,
|
359
|
-
:DOUBLE],
|
360
|
-
:PrefixedName => [
|
361
|
-
:PNAME_LN,
|
362
|
-
:PNAME_NS],
|
363
|
-
:RDFLiteral => [
|
364
|
-
:STRING_LITERAL_QUOTE,
|
365
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
366
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
367
|
-
:STRING_LITERAL_LONG_QUOTE],
|
368
|
-
:_RDFLiteral_1 => [
|
369
|
-
:_eps,
|
370
|
-
:LANGTAG,
|
371
|
-
"^^"],
|
372
|
-
:_RDFLiteral_2 => [
|
373
|
-
:LANGTAG,
|
374
|
-
"^^"],
|
375
|
-
:_RDFLiteral_3 => [
|
376
|
-
"^^"],
|
377
|
-
:_RDFLiteral_4 => [
|
378
|
-
:LANGTAG,
|
379
|
-
:_eps,
|
380
|
-
"^^"],
|
381
|
-
:String => [
|
382
|
-
:STRING_LITERAL_QUOTE,
|
383
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
384
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
385
|
-
:STRING_LITERAL_LONG_QUOTE],
|
386
|
-
:base => [
|
387
|
-
"@base"],
|
388
|
-
:_base_1 => [
|
389
|
-
:IRIREF],
|
390
|
-
:blankNodePropertyList => [
|
391
|
-
"["],
|
392
|
-
:_blankNodePropertyList_1 => [
|
393
|
-
"a",
|
394
|
-
:IRIREF,
|
395
|
-
:PNAME_LN,
|
396
|
-
:PNAME_NS],
|
397
|
-
:_blankNodePropertyList_2 => [
|
398
|
-
"]"],
|
399
|
-
:collection => [
|
400
|
-
"("],
|
401
|
-
:_collection_1 => [
|
402
|
-
:_eps,
|
403
|
-
:IRIREF,
|
404
|
-
:BLANK_NODE_LABEL,
|
405
|
-
:ANON,
|
406
|
-
"(",
|
407
|
-
"[",
|
408
|
-
:PNAME_LN,
|
409
|
-
:PNAME_NS,
|
410
|
-
:INTEGER,
|
411
|
-
:DECIMAL,
|
412
|
-
:DOUBLE,
|
413
|
-
"true",
|
414
|
-
"false",
|
415
|
-
:STRING_LITERAL_QUOTE,
|
416
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
417
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
418
|
-
:STRING_LITERAL_LONG_QUOTE],
|
419
|
-
:_collection_2 => [
|
420
|
-
:IRIREF,
|
421
|
-
:BLANK_NODE_LABEL,
|
422
|
-
:ANON,
|
423
|
-
"(",
|
424
|
-
"[",
|
425
|
-
:PNAME_LN,
|
426
|
-
:PNAME_NS,
|
427
|
-
:INTEGER,
|
428
|
-
:DECIMAL,
|
429
|
-
:DOUBLE,
|
430
|
-
"true",
|
431
|
-
"false",
|
432
|
-
:STRING_LITERAL_QUOTE,
|
433
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
434
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
435
|
-
:STRING_LITERAL_LONG_QUOTE],
|
436
|
-
:_collection_3 => [
|
437
|
-
")",
|
438
|
-
:IRIREF,
|
439
|
-
:BLANK_NODE_LABEL,
|
440
|
-
:ANON,
|
441
|
-
"(",
|
442
|
-
"[",
|
443
|
-
:PNAME_LN,
|
444
|
-
:PNAME_NS,
|
445
|
-
:INTEGER,
|
446
|
-
:DECIMAL,
|
447
|
-
:DOUBLE,
|
448
|
-
"true",
|
449
|
-
"false",
|
450
|
-
:STRING_LITERAL_QUOTE,
|
451
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
452
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
453
|
-
:STRING_LITERAL_LONG_QUOTE],
|
454
|
-
:_collection_4 => [
|
455
|
-
:_eps,
|
456
|
-
:IRIREF,
|
457
|
-
:BLANK_NODE_LABEL,
|
458
|
-
:ANON,
|
459
|
-
"(",
|
460
|
-
"[",
|
461
|
-
:PNAME_LN,
|
462
|
-
:PNAME_NS,
|
463
|
-
:INTEGER,
|
464
|
-
:DECIMAL,
|
465
|
-
:DOUBLE,
|
466
|
-
"true",
|
467
|
-
"false",
|
468
|
-
:STRING_LITERAL_QUOTE,
|
469
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
470
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
471
|
-
:STRING_LITERAL_LONG_QUOTE],
|
472
|
-
:_collection_5 => [
|
473
|
-
")"],
|
474
|
-
:directive => [
|
475
|
-
"@prefix",
|
476
|
-
"@base",
|
477
|
-
:SPARQL_PREFIX,
|
478
|
-
:SPARQL_BASE],
|
479
|
-
:_empty => [
|
480
|
-
:_eps],
|
481
|
-
:iri => [
|
482
|
-
:IRIREF,
|
483
|
-
:PNAME_LN,
|
484
|
-
:PNAME_NS],
|
485
|
-
:literal => [
|
486
|
-
:INTEGER,
|
487
|
-
:DECIMAL,
|
488
|
-
:DOUBLE,
|
489
|
-
"true",
|
490
|
-
"false",
|
491
|
-
:STRING_LITERAL_QUOTE,
|
492
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
493
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
494
|
-
:STRING_LITERAL_LONG_QUOTE],
|
495
|
-
:object => [
|
496
|
-
:IRIREF,
|
497
|
-
:BLANK_NODE_LABEL,
|
498
|
-
:ANON,
|
499
|
-
"(",
|
500
|
-
"[",
|
501
|
-
:PNAME_LN,
|
502
|
-
:PNAME_NS,
|
503
|
-
:INTEGER,
|
504
|
-
:DECIMAL,
|
505
|
-
:DOUBLE,
|
506
|
-
"true",
|
507
|
-
"false",
|
508
|
-
:STRING_LITERAL_QUOTE,
|
509
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
510
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
511
|
-
:STRING_LITERAL_LONG_QUOTE],
|
512
|
-
:objectList => [
|
513
|
-
:IRIREF,
|
514
|
-
:BLANK_NODE_LABEL,
|
515
|
-
:ANON,
|
516
|
-
"(",
|
517
|
-
"[",
|
518
|
-
:PNAME_LN,
|
519
|
-
:PNAME_NS,
|
520
|
-
:INTEGER,
|
521
|
-
:DECIMAL,
|
522
|
-
:DOUBLE,
|
523
|
-
"true",
|
524
|
-
"false",
|
525
|
-
:STRING_LITERAL_QUOTE,
|
526
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
527
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
528
|
-
:STRING_LITERAL_LONG_QUOTE],
|
529
|
-
:_objectList_1 => [
|
530
|
-
:_eps,
|
531
|
-
","],
|
532
|
-
:_objectList_2 => [
|
533
|
-
","],
|
534
|
-
:_objectList_3 => [
|
535
|
-
","],
|
536
|
-
:_objectList_4 => [
|
537
|
-
:_eps,
|
538
|
-
","],
|
539
|
-
:_objectList_5 => [
|
540
|
-
:_eps,
|
541
|
-
","],
|
542
|
-
:_objectList_6 => [
|
543
|
-
:IRIREF,
|
544
|
-
:BLANK_NODE_LABEL,
|
545
|
-
:ANON,
|
546
|
-
"(",
|
547
|
-
"[",
|
548
|
-
:PNAME_LN,
|
549
|
-
:PNAME_NS,
|
550
|
-
:INTEGER,
|
551
|
-
:DECIMAL,
|
552
|
-
:DOUBLE,
|
553
|
-
"true",
|
554
|
-
"false",
|
555
|
-
:STRING_LITERAL_QUOTE,
|
556
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
557
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
558
|
-
:STRING_LITERAL_LONG_QUOTE],
|
559
|
-
:predicate => [
|
560
|
-
:IRIREF,
|
561
|
-
:PNAME_LN,
|
562
|
-
:PNAME_NS],
|
563
|
-
:predicateObjectList => [
|
564
|
-
"a",
|
565
|
-
:IRIREF,
|
566
|
-
:PNAME_LN,
|
567
|
-
:PNAME_NS],
|
568
|
-
:_predicateObjectList_1 => [
|
569
|
-
:_eps,
|
570
|
-
";"],
|
571
|
-
:_predicateObjectList_2 => [
|
572
|
-
";"],
|
573
|
-
:_predicateObjectList_3 => [
|
574
|
-
";"],
|
575
|
-
:_predicateObjectList_4 => [
|
576
|
-
:_eps,
|
577
|
-
"a",
|
578
|
-
:IRIREF,
|
579
|
-
:PNAME_LN,
|
580
|
-
:PNAME_NS],
|
581
|
-
:_predicateObjectList_5 => [
|
582
|
-
"a",
|
583
|
-
:IRIREF,
|
584
|
-
:PNAME_LN,
|
585
|
-
:PNAME_NS],
|
586
|
-
:_predicateObjectList_6 => [
|
587
|
-
:IRIREF,
|
588
|
-
:BLANK_NODE_LABEL,
|
589
|
-
:ANON,
|
590
|
-
"(",
|
591
|
-
"[",
|
592
|
-
:PNAME_LN,
|
593
|
-
:PNAME_NS,
|
594
|
-
:INTEGER,
|
595
|
-
:DECIMAL,
|
596
|
-
:DOUBLE,
|
597
|
-
"true",
|
598
|
-
"false",
|
599
|
-
:STRING_LITERAL_QUOTE,
|
600
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
601
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
602
|
-
:STRING_LITERAL_LONG_QUOTE],
|
603
|
-
:_predicateObjectList_7 => [
|
604
|
-
:_eps,
|
605
|
-
";"],
|
606
|
-
:_predicateObjectList_8 => [
|
607
|
-
:_eps,
|
608
|
-
"a",
|
609
|
-
:IRIREF,
|
610
|
-
:PNAME_LN,
|
611
|
-
:PNAME_NS],
|
612
|
-
:_predicateObjectList_9 => [
|
613
|
-
:IRIREF,
|
614
|
-
:BLANK_NODE_LABEL,
|
615
|
-
:ANON,
|
616
|
-
"(",
|
617
|
-
"[",
|
618
|
-
:PNAME_LN,
|
619
|
-
:PNAME_NS,
|
620
|
-
:INTEGER,
|
621
|
-
:DECIMAL,
|
622
|
-
:DOUBLE,
|
623
|
-
"true",
|
624
|
-
"false",
|
625
|
-
:STRING_LITERAL_QUOTE,
|
626
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
627
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
628
|
-
:STRING_LITERAL_LONG_QUOTE],
|
629
|
-
:prefixID => [
|
630
|
-
"@prefix"],
|
631
|
-
:_prefixID_1 => [
|
632
|
-
:PNAME_NS],
|
633
|
-
:sparqlBase => [
|
634
|
-
:SPARQL_BASE],
|
635
|
-
:_sparqlBase_1 => [
|
636
|
-
:IRIREF],
|
637
|
-
:sparqlPrefix => [
|
638
|
-
:SPARQL_PREFIX],
|
639
|
-
:_sparqlPrefix_1 => [
|
640
|
-
:PNAME_NS],
|
641
|
-
:statement => [
|
642
|
-
"@prefix",
|
643
|
-
"@base",
|
644
|
-
:SPARQL_PREFIX,
|
645
|
-
:SPARQL_BASE,
|
646
|
-
"[",
|
647
|
-
:IRIREF,
|
648
|
-
:BLANK_NODE_LABEL,
|
649
|
-
:ANON,
|
650
|
-
"(",
|
651
|
-
:PNAME_LN,
|
652
|
-
:PNAME_NS],
|
653
|
-
:_statement_1 => [
|
654
|
-
"[",
|
655
|
-
:IRIREF,
|
656
|
-
:BLANK_NODE_LABEL,
|
657
|
-
:ANON,
|
658
|
-
"(",
|
659
|
-
:PNAME_LN,
|
660
|
-
:PNAME_NS],
|
661
|
-
:_statement_2 => [
|
662
|
-
"."],
|
663
|
-
:subject => [
|
664
|
-
:IRIREF,
|
665
|
-
:BLANK_NODE_LABEL,
|
666
|
-
:ANON,
|
667
|
-
"(",
|
668
|
-
:PNAME_LN,
|
669
|
-
:PNAME_NS],
|
670
|
-
:triples => [
|
671
|
-
"[",
|
672
|
-
:IRIREF,
|
673
|
-
:BLANK_NODE_LABEL,
|
674
|
-
:ANON,
|
675
|
-
"(",
|
676
|
-
:PNAME_LN,
|
677
|
-
:PNAME_NS],
|
678
|
-
:_triples_1 => [
|
679
|
-
:IRIREF,
|
680
|
-
:BLANK_NODE_LABEL,
|
681
|
-
:ANON,
|
682
|
-
"(",
|
683
|
-
:PNAME_LN,
|
684
|
-
:PNAME_NS],
|
685
|
-
:_triples_2 => [
|
686
|
-
"["],
|
687
|
-
:_triples_3 => [
|
688
|
-
:_eps,
|
689
|
-
"a",
|
690
|
-
:IRIREF,
|
691
|
-
:PNAME_LN,
|
692
|
-
:PNAME_NS],
|
693
|
-
:_triples_4 => [
|
694
|
-
"a",
|
695
|
-
:IRIREF,
|
696
|
-
:PNAME_LN,
|
697
|
-
:PNAME_NS],
|
698
|
-
:_triples_5 => [
|
699
|
-
:_eps,
|
700
|
-
"a",
|
701
|
-
:IRIREF,
|
702
|
-
:PNAME_LN,
|
703
|
-
:PNAME_NS],
|
704
|
-
:turtleDoc => [
|
705
|
-
:_eps,
|
706
|
-
"@prefix",
|
707
|
-
"@base",
|
708
|
-
:SPARQL_PREFIX,
|
709
|
-
:SPARQL_BASE,
|
710
|
-
"[",
|
711
|
-
:IRIREF,
|
712
|
-
:BLANK_NODE_LABEL,
|
713
|
-
:ANON,
|
714
|
-
"(",
|
715
|
-
:PNAME_LN,
|
716
|
-
:PNAME_NS],
|
717
|
-
:_turtleDoc_1 => [
|
718
|
-
"@prefix",
|
719
|
-
"@base",
|
720
|
-
:SPARQL_PREFIX,
|
721
|
-
:SPARQL_BASE,
|
722
|
-
"[",
|
723
|
-
:IRIREF,
|
724
|
-
:BLANK_NODE_LABEL,
|
725
|
-
:ANON,
|
726
|
-
"(",
|
727
|
-
:PNAME_LN,
|
728
|
-
:PNAME_NS],
|
729
|
-
:_turtleDoc_2 => [
|
730
|
-
:_eps,
|
731
|
-
"@prefix",
|
732
|
-
"@base",
|
733
|
-
:SPARQL_PREFIX,
|
734
|
-
:SPARQL_BASE,
|
735
|
-
"[",
|
736
|
-
:IRIREF,
|
737
|
-
:BLANK_NODE_LABEL,
|
738
|
-
:ANON,
|
739
|
-
"(",
|
740
|
-
:PNAME_LN,
|
741
|
-
:PNAME_NS],
|
742
|
-
:verb => [
|
743
|
-
"a",
|
744
|
-
:IRIREF,
|
745
|
-
:PNAME_LN,
|
746
|
-
:PNAME_NS],
|
747
|
-
}.freeze
|
748
|
-
FOLLOW = {
|
749
|
-
:BlankNode => [
|
750
|
-
"a",
|
751
|
-
")",
|
752
|
-
",",
|
753
|
-
".",
|
754
|
-
"]",
|
755
|
-
:IRIREF,
|
756
|
-
:BLANK_NODE_LABEL,
|
757
|
-
:ANON,
|
758
|
-
"(",
|
759
|
-
"[",
|
760
|
-
";",
|
761
|
-
:PNAME_LN,
|
762
|
-
:PNAME_NS,
|
763
|
-
:INTEGER,
|
764
|
-
:DECIMAL,
|
765
|
-
:DOUBLE,
|
766
|
-
"true",
|
767
|
-
"false",
|
768
|
-
:STRING_LITERAL_QUOTE,
|
769
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
770
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
771
|
-
:STRING_LITERAL_LONG_QUOTE],
|
772
|
-
:BooleanLiteral => [
|
773
|
-
")",
|
774
|
-
",",
|
775
|
-
".",
|
776
|
-
"]",
|
777
|
-
:IRIREF,
|
778
|
-
:BLANK_NODE_LABEL,
|
779
|
-
:ANON,
|
780
|
-
"(",
|
781
|
-
"[",
|
782
|
-
";",
|
783
|
-
:PNAME_LN,
|
784
|
-
:PNAME_NS,
|
785
|
-
:INTEGER,
|
786
|
-
:DECIMAL,
|
787
|
-
:DOUBLE,
|
788
|
-
"true",
|
789
|
-
"false",
|
790
|
-
:STRING_LITERAL_QUOTE,
|
791
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
792
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
793
|
-
:STRING_LITERAL_LONG_QUOTE],
|
794
|
-
:NumericLiteral => [
|
795
|
-
")",
|
796
|
-
",",
|
797
|
-
".",
|
798
|
-
"]",
|
799
|
-
:IRIREF,
|
800
|
-
:BLANK_NODE_LABEL,
|
801
|
-
:ANON,
|
802
|
-
"(",
|
803
|
-
"[",
|
804
|
-
";",
|
805
|
-
:PNAME_LN,
|
806
|
-
:PNAME_NS,
|
807
|
-
:INTEGER,
|
808
|
-
:DECIMAL,
|
809
|
-
:DOUBLE,
|
810
|
-
"true",
|
811
|
-
"false",
|
812
|
-
:STRING_LITERAL_QUOTE,
|
813
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
814
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
815
|
-
:STRING_LITERAL_LONG_QUOTE],
|
816
|
-
:PrefixedName => [
|
817
|
-
"a",
|
818
|
-
:IRIREF,
|
819
|
-
:BLANK_NODE_LABEL,
|
820
|
-
:ANON,
|
821
|
-
"(",
|
822
|
-
"[",
|
823
|
-
")",
|
824
|
-
",",
|
825
|
-
".",
|
826
|
-
"]",
|
827
|
-
:PNAME_LN,
|
828
|
-
:PNAME_NS,
|
829
|
-
:INTEGER,
|
830
|
-
:DECIMAL,
|
831
|
-
:DOUBLE,
|
832
|
-
"true",
|
833
|
-
"false",
|
834
|
-
";",
|
835
|
-
:STRING_LITERAL_QUOTE,
|
836
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
837
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
838
|
-
:STRING_LITERAL_LONG_QUOTE],
|
839
|
-
:RDFLiteral => [
|
840
|
-
")",
|
841
|
-
",",
|
842
|
-
".",
|
843
|
-
"]",
|
844
|
-
:IRIREF,
|
845
|
-
:BLANK_NODE_LABEL,
|
846
|
-
:ANON,
|
847
|
-
"(",
|
848
|
-
"[",
|
849
|
-
";",
|
850
|
-
:PNAME_LN,
|
851
|
-
:PNAME_NS,
|
852
|
-
:INTEGER,
|
853
|
-
:DECIMAL,
|
854
|
-
:DOUBLE,
|
855
|
-
"true",
|
856
|
-
"false",
|
857
|
-
:STRING_LITERAL_QUOTE,
|
858
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
859
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
860
|
-
:STRING_LITERAL_LONG_QUOTE],
|
861
|
-
:_RDFLiteral_1 => [
|
862
|
-
")",
|
863
|
-
",",
|
864
|
-
".",
|
865
|
-
"]",
|
866
|
-
:IRIREF,
|
867
|
-
:BLANK_NODE_LABEL,
|
868
|
-
:ANON,
|
869
|
-
"(",
|
870
|
-
"[",
|
871
|
-
";",
|
872
|
-
:PNAME_LN,
|
873
|
-
:PNAME_NS,
|
874
|
-
:INTEGER,
|
875
|
-
:DECIMAL,
|
876
|
-
:DOUBLE,
|
877
|
-
"true",
|
878
|
-
"false",
|
879
|
-
:STRING_LITERAL_QUOTE,
|
880
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
881
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
882
|
-
:STRING_LITERAL_LONG_QUOTE],
|
883
|
-
:_RDFLiteral_2 => [
|
884
|
-
")",
|
885
|
-
",",
|
886
|
-
".",
|
887
|
-
"]",
|
888
|
-
:IRIREF,
|
889
|
-
:BLANK_NODE_LABEL,
|
890
|
-
:ANON,
|
891
|
-
"(",
|
892
|
-
"[",
|
893
|
-
";",
|
894
|
-
:PNAME_LN,
|
895
|
-
:PNAME_NS,
|
896
|
-
:INTEGER,
|
897
|
-
:DECIMAL,
|
898
|
-
:DOUBLE,
|
899
|
-
"true",
|
900
|
-
"false",
|
901
|
-
:STRING_LITERAL_QUOTE,
|
902
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
903
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
904
|
-
:STRING_LITERAL_LONG_QUOTE],
|
905
|
-
:_RDFLiteral_3 => [
|
906
|
-
")",
|
907
|
-
",",
|
908
|
-
".",
|
909
|
-
"]",
|
910
|
-
:IRIREF,
|
911
|
-
:BLANK_NODE_LABEL,
|
912
|
-
:ANON,
|
913
|
-
"(",
|
914
|
-
"[",
|
915
|
-
";",
|
916
|
-
:PNAME_LN,
|
917
|
-
:PNAME_NS,
|
918
|
-
:INTEGER,
|
919
|
-
:DECIMAL,
|
920
|
-
:DOUBLE,
|
921
|
-
"true",
|
922
|
-
"false",
|
923
|
-
:STRING_LITERAL_QUOTE,
|
924
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
925
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
926
|
-
:STRING_LITERAL_LONG_QUOTE],
|
927
|
-
:_RDFLiteral_4 => [
|
928
|
-
")",
|
929
|
-
",",
|
930
|
-
".",
|
931
|
-
"]",
|
932
|
-
:IRIREF,
|
933
|
-
:BLANK_NODE_LABEL,
|
934
|
-
:ANON,
|
935
|
-
"(",
|
936
|
-
"[",
|
937
|
-
";",
|
938
|
-
:PNAME_LN,
|
939
|
-
:PNAME_NS,
|
940
|
-
:INTEGER,
|
941
|
-
:DECIMAL,
|
942
|
-
:DOUBLE,
|
943
|
-
"true",
|
944
|
-
"false",
|
945
|
-
:STRING_LITERAL_QUOTE,
|
946
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
947
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
948
|
-
:STRING_LITERAL_LONG_QUOTE],
|
949
|
-
:String => [
|
950
|
-
:LANGTAG,
|
951
|
-
"^^",
|
952
|
-
")",
|
953
|
-
",",
|
954
|
-
".",
|
955
|
-
"]",
|
956
|
-
:IRIREF,
|
957
|
-
:BLANK_NODE_LABEL,
|
958
|
-
:ANON,
|
959
|
-
"(",
|
960
|
-
"[",
|
961
|
-
";",
|
962
|
-
:PNAME_LN,
|
963
|
-
:PNAME_NS,
|
964
|
-
:INTEGER,
|
965
|
-
:DECIMAL,
|
966
|
-
:DOUBLE,
|
967
|
-
"true",
|
968
|
-
"false",
|
969
|
-
:STRING_LITERAL_QUOTE,
|
970
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
971
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
972
|
-
:STRING_LITERAL_LONG_QUOTE],
|
973
|
-
:base => [
|
974
|
-
:_eof,
|
975
|
-
"@prefix",
|
976
|
-
"@base",
|
977
|
-
:SPARQL_PREFIX,
|
978
|
-
:SPARQL_BASE,
|
979
|
-
"[",
|
980
|
-
:IRIREF,
|
981
|
-
:BLANK_NODE_LABEL,
|
982
|
-
:ANON,
|
983
|
-
"(",
|
984
|
-
:PNAME_LN,
|
985
|
-
:PNAME_NS],
|
986
|
-
:_base_1 => [
|
987
|
-
:_eof,
|
988
|
-
"@prefix",
|
989
|
-
"@base",
|
990
|
-
:SPARQL_PREFIX,
|
991
|
-
:SPARQL_BASE,
|
992
|
-
"[",
|
993
|
-
:IRIREF,
|
994
|
-
:BLANK_NODE_LABEL,
|
995
|
-
:ANON,
|
996
|
-
"(",
|
997
|
-
:PNAME_LN,
|
998
|
-
:PNAME_NS],
|
999
|
-
:blankNodePropertyList => [
|
1000
|
-
".",
|
1001
|
-
"a",
|
1002
|
-
")",
|
1003
|
-
",",
|
1004
|
-
"]",
|
1005
|
-
:IRIREF,
|
1006
|
-
:BLANK_NODE_LABEL,
|
1007
|
-
:ANON,
|
1008
|
-
"(",
|
1009
|
-
"[",
|
1010
|
-
";",
|
1011
|
-
:PNAME_LN,
|
1012
|
-
:PNAME_NS,
|
1013
|
-
:INTEGER,
|
1014
|
-
:DECIMAL,
|
1015
|
-
:DOUBLE,
|
1016
|
-
"true",
|
1017
|
-
"false",
|
1018
|
-
:STRING_LITERAL_QUOTE,
|
1019
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1020
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1021
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1022
|
-
:_blankNodePropertyList_1 => [
|
1023
|
-
".",
|
1024
|
-
"a",
|
1025
|
-
")",
|
1026
|
-
",",
|
1027
|
-
"]",
|
1028
|
-
:IRIREF,
|
1029
|
-
:BLANK_NODE_LABEL,
|
1030
|
-
:ANON,
|
1031
|
-
"(",
|
1032
|
-
"[",
|
1033
|
-
";",
|
1034
|
-
:PNAME_LN,
|
1035
|
-
:PNAME_NS,
|
1036
|
-
:INTEGER,
|
1037
|
-
:DECIMAL,
|
1038
|
-
:DOUBLE,
|
1039
|
-
"true",
|
1040
|
-
"false",
|
1041
|
-
:STRING_LITERAL_QUOTE,
|
1042
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1043
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1044
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1045
|
-
:_blankNodePropertyList_2 => [
|
1046
|
-
".",
|
1047
|
-
"a",
|
1048
|
-
")",
|
1049
|
-
",",
|
1050
|
-
"]",
|
1051
|
-
:IRIREF,
|
1052
|
-
:BLANK_NODE_LABEL,
|
1053
|
-
:ANON,
|
1054
|
-
"(",
|
1055
|
-
"[",
|
1056
|
-
";",
|
1057
|
-
:PNAME_LN,
|
1058
|
-
:PNAME_NS,
|
1059
|
-
:INTEGER,
|
1060
|
-
:DECIMAL,
|
1061
|
-
:DOUBLE,
|
1062
|
-
"true",
|
1063
|
-
"false",
|
1064
|
-
:STRING_LITERAL_QUOTE,
|
1065
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1066
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1067
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1068
|
-
:collection => [
|
1069
|
-
"a",
|
1070
|
-
")",
|
1071
|
-
",",
|
1072
|
-
".",
|
1073
|
-
"]",
|
1074
|
-
:IRIREF,
|
1075
|
-
:BLANK_NODE_LABEL,
|
1076
|
-
:ANON,
|
1077
|
-
"(",
|
1078
|
-
"[",
|
1079
|
-
";",
|
1080
|
-
:PNAME_LN,
|
1081
|
-
:PNAME_NS,
|
1082
|
-
:INTEGER,
|
1083
|
-
:DECIMAL,
|
1084
|
-
:DOUBLE,
|
1085
|
-
"true",
|
1086
|
-
"false",
|
1087
|
-
:STRING_LITERAL_QUOTE,
|
1088
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1089
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1090
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1091
|
-
:_collection_1 => [
|
1092
|
-
")"],
|
1093
|
-
:_collection_2 => [
|
1094
|
-
")"],
|
1095
|
-
:_collection_3 => [
|
1096
|
-
"a",
|
1097
|
-
")",
|
1098
|
-
",",
|
1099
|
-
".",
|
1100
|
-
"]",
|
1101
|
-
:IRIREF,
|
1102
|
-
:BLANK_NODE_LABEL,
|
1103
|
-
:ANON,
|
1104
|
-
"(",
|
1105
|
-
"[",
|
1106
|
-
";",
|
1107
|
-
:PNAME_LN,
|
1108
|
-
:PNAME_NS,
|
1109
|
-
:INTEGER,
|
1110
|
-
:DECIMAL,
|
1111
|
-
:DOUBLE,
|
1112
|
-
"true",
|
1113
|
-
"false",
|
1114
|
-
:STRING_LITERAL_QUOTE,
|
1115
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1116
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1117
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1118
|
-
:_collection_4 => [
|
1119
|
-
")"],
|
1120
|
-
:_collection_5 => [
|
1121
|
-
"a",
|
1122
|
-
")",
|
1123
|
-
",",
|
1124
|
-
".",
|
1125
|
-
"]",
|
1126
|
-
:IRIREF,
|
1127
|
-
:BLANK_NODE_LABEL,
|
1128
|
-
:ANON,
|
1129
|
-
"(",
|
1130
|
-
"[",
|
1131
|
-
";",
|
1132
|
-
:PNAME_LN,
|
1133
|
-
:PNAME_NS,
|
1134
|
-
:INTEGER,
|
1135
|
-
:DECIMAL,
|
1136
|
-
:DOUBLE,
|
1137
|
-
"true",
|
1138
|
-
"false",
|
1139
|
-
:STRING_LITERAL_QUOTE,
|
1140
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1141
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1142
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1143
|
-
:directive => [
|
1144
|
-
:_eof,
|
1145
|
-
"@prefix",
|
1146
|
-
"@base",
|
1147
|
-
:SPARQL_PREFIX,
|
1148
|
-
:SPARQL_BASE,
|
1149
|
-
"[",
|
1150
|
-
:IRIREF,
|
1151
|
-
:BLANK_NODE_LABEL,
|
1152
|
-
:ANON,
|
1153
|
-
"(",
|
1154
|
-
:PNAME_LN,
|
1155
|
-
:PNAME_NS],
|
1156
|
-
:iri => [
|
1157
|
-
"a",
|
1158
|
-
:IRIREF,
|
1159
|
-
:BLANK_NODE_LABEL,
|
1160
|
-
:ANON,
|
1161
|
-
"(",
|
1162
|
-
"[",
|
1163
|
-
")",
|
1164
|
-
",",
|
1165
|
-
".",
|
1166
|
-
"]",
|
1167
|
-
:PNAME_LN,
|
1168
|
-
:PNAME_NS,
|
1169
|
-
:INTEGER,
|
1170
|
-
:DECIMAL,
|
1171
|
-
:DOUBLE,
|
1172
|
-
"true",
|
1173
|
-
"false",
|
1174
|
-
";",
|
1175
|
-
:STRING_LITERAL_QUOTE,
|
1176
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1177
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1178
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1179
|
-
:literal => [
|
1180
|
-
")",
|
1181
|
-
",",
|
1182
|
-
".",
|
1183
|
-
"]",
|
1184
|
-
:IRIREF,
|
1185
|
-
:BLANK_NODE_LABEL,
|
1186
|
-
:ANON,
|
1187
|
-
"(",
|
1188
|
-
"[",
|
1189
|
-
";",
|
1190
|
-
:PNAME_LN,
|
1191
|
-
:PNAME_NS,
|
1192
|
-
:INTEGER,
|
1193
|
-
:DECIMAL,
|
1194
|
-
:DOUBLE,
|
1195
|
-
"true",
|
1196
|
-
"false",
|
1197
|
-
:STRING_LITERAL_QUOTE,
|
1198
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1199
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1200
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1201
|
-
:object => [
|
1202
|
-
")",
|
1203
|
-
",",
|
1204
|
-
".",
|
1205
|
-
"]",
|
1206
|
-
:IRIREF,
|
1207
|
-
:BLANK_NODE_LABEL,
|
1208
|
-
:ANON,
|
1209
|
-
"(",
|
1210
|
-
"[",
|
1211
|
-
";",
|
1212
|
-
:PNAME_LN,
|
1213
|
-
:PNAME_NS,
|
1214
|
-
:INTEGER,
|
1215
|
-
:DECIMAL,
|
1216
|
-
:DOUBLE,
|
1217
|
-
"true",
|
1218
|
-
"false",
|
1219
|
-
:STRING_LITERAL_QUOTE,
|
1220
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1221
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1222
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1223
|
-
:objectList => [
|
1224
|
-
".",
|
1225
|
-
"]",
|
1226
|
-
";"],
|
1227
|
-
:_objectList_1 => [
|
1228
|
-
".",
|
1229
|
-
"]",
|
1230
|
-
";"],
|
1231
|
-
:_objectList_2 => [
|
1232
|
-
",",
|
1233
|
-
".",
|
1234
|
-
"]",
|
1235
|
-
";"],
|
1236
|
-
:_objectList_3 => [
|
1237
|
-
".",
|
1238
|
-
"]",
|
1239
|
-
";"],
|
1240
|
-
:_objectList_4 => [
|
1241
|
-
".",
|
1242
|
-
"]",
|
1243
|
-
";"],
|
1244
|
-
:_objectList_5 => [
|
1245
|
-
".",
|
1246
|
-
"]",
|
1247
|
-
";"],
|
1248
|
-
:_objectList_6 => [
|
1249
|
-
",",
|
1250
|
-
".",
|
1251
|
-
"]",
|
1252
|
-
";"],
|
1253
|
-
:predicate => [
|
1254
|
-
:IRIREF,
|
1255
|
-
:BLANK_NODE_LABEL,
|
1256
|
-
:ANON,
|
1257
|
-
"(",
|
1258
|
-
"[",
|
1259
|
-
:PNAME_LN,
|
1260
|
-
:PNAME_NS,
|
1261
|
-
:INTEGER,
|
1262
|
-
:DECIMAL,
|
1263
|
-
:DOUBLE,
|
1264
|
-
"true",
|
1265
|
-
"false",
|
1266
|
-
")",
|
1267
|
-
",",
|
1268
|
-
".",
|
1269
|
-
"]",
|
1270
|
-
:STRING_LITERAL_QUOTE,
|
1271
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1272
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1273
|
-
:STRING_LITERAL_LONG_QUOTE,
|
1274
|
-
";"],
|
1275
|
-
:predicateObjectList => [
|
1276
|
-
".",
|
1277
|
-
"]"],
|
1278
|
-
:_predicateObjectList_1 => [
|
1279
|
-
".",
|
1280
|
-
"]"],
|
1281
|
-
:_predicateObjectList_2 => [
|
1282
|
-
";",
|
1283
|
-
".",
|
1284
|
-
"]"],
|
1285
|
-
:_predicateObjectList_3 => [
|
1286
|
-
".",
|
1287
|
-
"]"],
|
1288
|
-
:_predicateObjectList_4 => [
|
1289
|
-
";",
|
1290
|
-
".",
|
1291
|
-
"]"],
|
1292
|
-
:_predicateObjectList_5 => [
|
1293
|
-
";",
|
1294
|
-
".",
|
1295
|
-
"]"],
|
1296
|
-
:_predicateObjectList_6 => [
|
1297
|
-
".",
|
1298
|
-
"]"],
|
1299
|
-
:_predicateObjectList_7 => [
|
1300
|
-
".",
|
1301
|
-
"]"],
|
1302
|
-
:_predicateObjectList_8 => [
|
1303
|
-
";",
|
1304
|
-
".",
|
1305
|
-
"]"],
|
1306
|
-
:_predicateObjectList_9 => [
|
1307
|
-
";",
|
1308
|
-
".",
|
1309
|
-
"]"],
|
1310
|
-
:prefixID => [
|
1311
|
-
:_eof,
|
1312
|
-
"@prefix",
|
1313
|
-
"@base",
|
1314
|
-
:SPARQL_PREFIX,
|
1315
|
-
:SPARQL_BASE,
|
1316
|
-
"[",
|
1317
|
-
:IRIREF,
|
1318
|
-
:BLANK_NODE_LABEL,
|
1319
|
-
:ANON,
|
1320
|
-
"(",
|
1321
|
-
:PNAME_LN,
|
1322
|
-
:PNAME_NS],
|
1323
|
-
:_prefixID_1 => [
|
1324
|
-
:_eof,
|
1325
|
-
"@prefix",
|
1326
|
-
"@base",
|
1327
|
-
:SPARQL_PREFIX,
|
1328
|
-
:SPARQL_BASE,
|
1329
|
-
"[",
|
1330
|
-
:IRIREF,
|
1331
|
-
:BLANK_NODE_LABEL,
|
1332
|
-
:ANON,
|
1333
|
-
"(",
|
1334
|
-
:PNAME_LN,
|
1335
|
-
:PNAME_NS],
|
1336
|
-
:sparqlBase => [
|
1337
|
-
:_eof,
|
1338
|
-
"@prefix",
|
1339
|
-
"@base",
|
1340
|
-
:SPARQL_PREFIX,
|
1341
|
-
:SPARQL_BASE,
|
1342
|
-
"[",
|
1343
|
-
:IRIREF,
|
1344
|
-
:BLANK_NODE_LABEL,
|
1345
|
-
:ANON,
|
1346
|
-
"(",
|
1347
|
-
:PNAME_LN,
|
1348
|
-
:PNAME_NS],
|
1349
|
-
:_sparqlBase_1 => [
|
1350
|
-
:_eof,
|
1351
|
-
"@prefix",
|
1352
|
-
"@base",
|
1353
|
-
:SPARQL_PREFIX,
|
1354
|
-
:SPARQL_BASE,
|
1355
|
-
"[",
|
1356
|
-
:IRIREF,
|
1357
|
-
:BLANK_NODE_LABEL,
|
1358
|
-
:ANON,
|
1359
|
-
"(",
|
1360
|
-
:PNAME_LN,
|
1361
|
-
:PNAME_NS],
|
1362
|
-
:sparqlPrefix => [
|
1363
|
-
:_eof,
|
1364
|
-
"@prefix",
|
1365
|
-
"@base",
|
1366
|
-
:SPARQL_PREFIX,
|
1367
|
-
:SPARQL_BASE,
|
1368
|
-
"[",
|
1369
|
-
:IRIREF,
|
1370
|
-
:BLANK_NODE_LABEL,
|
1371
|
-
:ANON,
|
1372
|
-
"(",
|
1373
|
-
:PNAME_LN,
|
1374
|
-
:PNAME_NS],
|
1375
|
-
:_sparqlPrefix_1 => [
|
1376
|
-
:_eof,
|
1377
|
-
"@prefix",
|
1378
|
-
"@base",
|
1379
|
-
:SPARQL_PREFIX,
|
1380
|
-
:SPARQL_BASE,
|
1381
|
-
"[",
|
1382
|
-
:IRIREF,
|
1383
|
-
:BLANK_NODE_LABEL,
|
1384
|
-
:ANON,
|
1385
|
-
"(",
|
1386
|
-
:PNAME_LN,
|
1387
|
-
:PNAME_NS],
|
1388
|
-
:statement => [
|
1389
|
-
:_eof,
|
1390
|
-
"@prefix",
|
1391
|
-
"@base",
|
1392
|
-
:SPARQL_PREFIX,
|
1393
|
-
:SPARQL_BASE,
|
1394
|
-
"[",
|
1395
|
-
:IRIREF,
|
1396
|
-
:BLANK_NODE_LABEL,
|
1397
|
-
:ANON,
|
1398
|
-
"(",
|
1399
|
-
:PNAME_LN,
|
1400
|
-
:PNAME_NS],
|
1401
|
-
:_statement_1 => [
|
1402
|
-
:_eof,
|
1403
|
-
"@prefix",
|
1404
|
-
"@base",
|
1405
|
-
:SPARQL_PREFIX,
|
1406
|
-
:SPARQL_BASE,
|
1407
|
-
"[",
|
1408
|
-
:IRIREF,
|
1409
|
-
:BLANK_NODE_LABEL,
|
1410
|
-
:ANON,
|
1411
|
-
"(",
|
1412
|
-
:PNAME_LN,
|
1413
|
-
:PNAME_NS],
|
1414
|
-
:_statement_2 => [
|
1415
|
-
:_eof,
|
1416
|
-
"@prefix",
|
1417
|
-
"@base",
|
1418
|
-
:SPARQL_PREFIX,
|
1419
|
-
:SPARQL_BASE,
|
1420
|
-
"[",
|
1421
|
-
:IRIREF,
|
1422
|
-
:BLANK_NODE_LABEL,
|
1423
|
-
:ANON,
|
1424
|
-
"(",
|
1425
|
-
:PNAME_LN,
|
1426
|
-
:PNAME_NS],
|
1427
|
-
:subject => [
|
1428
|
-
"a",
|
1429
|
-
:IRIREF,
|
1430
|
-
:PNAME_LN,
|
1431
|
-
:PNAME_NS],
|
1432
|
-
:triples => [
|
1433
|
-
"."],
|
1434
|
-
:_triples_1 => [
|
1435
|
-
"."],
|
1436
|
-
:_triples_2 => [
|
1437
|
-
"."],
|
1438
|
-
:_triples_3 => [
|
1439
|
-
"."],
|
1440
|
-
:_triples_4 => [
|
1441
|
-
"."],
|
1442
|
-
:_triples_5 => [
|
1443
|
-
"."],
|
1444
|
-
:turtleDoc => [
|
1445
|
-
:_eof],
|
1446
|
-
:_turtleDoc_1 => [
|
1447
|
-
:_eof],
|
1448
|
-
:_turtleDoc_2 => [
|
1449
|
-
:_eof],
|
1450
|
-
:verb => [
|
1451
|
-
:IRIREF,
|
1452
|
-
:BLANK_NODE_LABEL,
|
1453
|
-
:ANON,
|
1454
|
-
"(",
|
1455
|
-
"[",
|
1456
|
-
:PNAME_LN,
|
1457
|
-
:PNAME_NS,
|
1458
|
-
:INTEGER,
|
1459
|
-
:DECIMAL,
|
1460
|
-
:DOUBLE,
|
1461
|
-
"true",
|
1462
|
-
"false",
|
1463
|
-
:STRING_LITERAL_QUOTE,
|
1464
|
-
:STRING_LITERAL_SINGLE_QUOTE,
|
1465
|
-
:STRING_LITERAL_LONG_SINGLE_QUOTE,
|
1466
|
-
:STRING_LITERAL_LONG_QUOTE],
|
1467
|
-
}.freeze
|
1468
|
-
CLEANUP = {
|
1469
|
-
:_RDFLiteral_1 => :opt,
|
1470
|
-
:_collection_1 => :star,
|
1471
|
-
:_collection_2 => :merge,
|
1472
|
-
:_objectList_1 => :star,
|
1473
|
-
:_objectList_3 => :merge,
|
1474
|
-
:_predicateObjectList_1 => :star,
|
1475
|
-
:_predicateObjectList_3 => :merge,
|
1476
|
-
:_predicateObjectList_4 => :opt,
|
1477
|
-
:_triples_3 => :opt,
|
1478
|
-
:turtleDoc => :star,
|
1479
|
-
:_turtleDoc_1 => :merge,
|
1480
|
-
}.freeze
|
1481
|
-
end
|
1482
|
-
|