ebnf 1.2.0 → 2.0.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 +160 -185
- data/UNLICENSE +1 -1
- data/VERSION +1 -1
- data/bin/ebnf +6 -3
- data/etc/doap.ttl +13 -12
- data/etc/ebnf.ebnf +13 -19
- data/etc/ebnf.html +205 -239
- data/etc/{ebnf.rb → ebnf.ll1.rb} +3 -4
- data/etc/ebnf.ll1.sxp +179 -183
- data/etc/ebnf.peg.rb +98 -0
- data/etc/ebnf.peg.sxp +93 -0
- data/etc/ebnf.sxp +37 -41
- data/etc/sparql.html +1603 -1751
- data/etc/sparql.ll1.sxp +7372 -7372
- data/etc/sparql.peg.rb +532 -0
- data/etc/sparql.peg.sxp +597 -0
- data/etc/sparql.sxp +362 -362
- data/etc/turtle.html +465 -517
- data/etc/{turtle.rb → turtle.ll1.rb} +3 -4
- data/etc/turtle.ll1.sxp +425 -425
- data/etc/turtle.peg.rb +182 -0
- data/etc/turtle.peg.sxp +199 -0
- data/etc/turtle.sxp +101 -101
- data/lib/ebnf.rb +3 -1
- data/lib/ebnf/base.rb +30 -29
- data/lib/ebnf/bnf.rb +1 -26
- data/lib/ebnf/ll1.rb +132 -1
- data/lib/ebnf/ll1/lexer.rb +20 -22
- data/lib/ebnf/ll1/parser.rb +86 -61
- data/lib/ebnf/ll1/scanner.rb +83 -50
- data/lib/ebnf/peg.rb +39 -0
- data/lib/ebnf/peg/parser.rb +535 -0
- data/lib/ebnf/peg/rule.rb +222 -0
- data/lib/ebnf/rule.rb +118 -55
- data/lib/ebnf/terminals.rb +18 -0
- data/lib/ebnf/writer.rb +3 -2
- metadata +29 -6
- data/etc/sparql.rb +0 -45773
data/etc/ebnf.peg.sxp
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
(
|
2
|
+
(pass (seq PASS))
|
3
|
+
(rule ebnf "1" (star _ebnf_1))
|
4
|
+
(rule _ebnf_1 "1.1" (alt declaration rule))
|
5
|
+
(rule declaration "2" (alt "@terminals" pass))
|
6
|
+
(rule rule "3" (seq LHS expression))
|
7
|
+
(rule expression "4" (seq alt))
|
8
|
+
(rule alt "5" (seq seq _alt_1))
|
9
|
+
(rule _alt_1 "5.1" (star _alt_2))
|
10
|
+
(rule _alt_2 "5.2" (seq "|" seq))
|
11
|
+
(rule seq "6" (plus diff))
|
12
|
+
(rule diff "7" (seq postfix _diff_1))
|
13
|
+
(rule _diff_1 "7.1" (opt _diff_2))
|
14
|
+
(rule _diff_2 "7.2" (seq "-" postfix))
|
15
|
+
(rule postfix "8" (seq primary _postfix_1))
|
16
|
+
(rule _postfix_1 "8.1" (opt POSTFIX))
|
17
|
+
(rule primary "9"
|
18
|
+
(alt HEX SYMBOL ENUM O_ENUM RANGE O_RANGE STRING1 STRING2 _primary_1))
|
19
|
+
(rule _primary_1 "9.1" (seq "(" expression ")"))
|
20
|
+
(rule pass "10" (seq "@pass" expression))
|
21
|
+
(terminal LHS "11" (seq _LHS_1 SYMBOL _LHS_2 "::="))
|
22
|
+
(terminal _LHS_1 "11.1" (opt _LHS_3))
|
23
|
+
(terminal _LHS_2 "11.2" (star " "))
|
24
|
+
(terminal _LHS_3 "11.3" (seq "[" _LHS_4 "]" _LHS_5))
|
25
|
+
(terminal _LHS_4 "11.4" (plus SYMBOL))
|
26
|
+
(terminal _LHS_5 "11.5" (plus " "))
|
27
|
+
(terminal SYMBOL "12" (plus _SYMBOL_1))
|
28
|
+
(terminal _SYMBOL_1 "12.1" (alt _SYMBOL_2 _SYMBOL_3 _SYMBOL_4 "_" "."))
|
29
|
+
(terminal _SYMBOL_2 "12.2" (range "a-z"))
|
30
|
+
(terminal _SYMBOL_3 "12.3" (range "A-Z"))
|
31
|
+
(terminal _SYMBOL_4 "12.4" (range "0-9"))
|
32
|
+
(terminal HEX "13" (seq "#x" _HEX_1))
|
33
|
+
(terminal _HEX_1 "13.1" (plus _HEX_2))
|
34
|
+
(terminal _HEX_2 "13.2" (alt _HEX_3 _HEX_4 _HEX_5))
|
35
|
+
(terminal _HEX_3 "13.3" (range "a-f"))
|
36
|
+
(terminal _HEX_4 "13.4" (range "A-F"))
|
37
|
+
(terminal _HEX_5 "13.5" (range "0-9"))
|
38
|
+
(terminal ENUM "14" (diff _ENUM_1 LHS))
|
39
|
+
(terminal _ENUM_1 "14.1" (alt _ENUM_2 _ENUM_3))
|
40
|
+
(terminal _ENUM_2 "14.2" (seq "[" _ENUM_4))
|
41
|
+
(terminal _ENUM_3 "14.3" (seq _ENUM_5 "]"))
|
42
|
+
(terminal _ENUM_4 "14.4" (plus R_CHAR))
|
43
|
+
(terminal _ENUM_5 "14.5" (plus HEX))
|
44
|
+
(terminal O_ENUM "15" (alt _O_ENUM_1 _O_ENUM_2))
|
45
|
+
(terminal _O_ENUM_1 "15.1" (seq "[^" _O_ENUM_3))
|
46
|
+
(terminal _O_ENUM_2 "15.2" (seq _O_ENUM_4 "]"))
|
47
|
+
(terminal _O_ENUM_3 "15.3" (plus R_CHAR))
|
48
|
+
(terminal _O_ENUM_4 "15.4" (plus HEX))
|
49
|
+
(terminal RANGE "16" (alt _RANGE_1 _RANGE_2))
|
50
|
+
(terminal _RANGE_1 "16.1" (seq "[" _RANGE_3))
|
51
|
+
(terminal _RANGE_2 "16.2" (seq _RANGE_4 "]"))
|
52
|
+
(terminal _RANGE_3 "16.3" (seq R_CHAR "-" R_CHAR))
|
53
|
+
(terminal _RANGE_4 "16.4" (diff HEX HEX))
|
54
|
+
(terminal O_RANGE "17" (alt _O_RANGE_1 _O_RANGE_2))
|
55
|
+
(terminal _O_RANGE_1 "17.1" (seq "[^" _O_RANGE_3))
|
56
|
+
(terminal _O_RANGE_2 "17.2" (seq _O_RANGE_4 "]"))
|
57
|
+
(terminal _O_RANGE_3 "17.3" (seq R_CHAR "-" R_CHAR))
|
58
|
+
(terminal _O_RANGE_4 "17.4" (diff HEX HEX))
|
59
|
+
(terminal STRING1 "18" (seq "\"" _STRING1_1 "\""))
|
60
|
+
(terminal _STRING1_1 "18.1" (star _STRING1_2))
|
61
|
+
(terminal _STRING1_2 "18.2" (diff CHAR "\""))
|
62
|
+
(terminal STRING2 "19" (seq "'" _STRING2_1 "'"))
|
63
|
+
(terminal _STRING2_1 "19.1" (star _STRING2_2))
|
64
|
+
(terminal _STRING2_2 "19.2" (diff CHAR "'"))
|
65
|
+
(terminal CHAR "20" (alt _CHAR_1 _CHAR_2 _CHAR_3 _CHAR_4))
|
66
|
+
(terminal _CHAR_1 "20.1" (range "#x9#xA#xD"))
|
67
|
+
(terminal _CHAR_2 "20.2" (range "#x20-#xD7FF"))
|
68
|
+
(terminal _CHAR_3 "20.3" (range "#xE000-#xFFFD"))
|
69
|
+
(terminal _CHAR_4 "20.4" (range "#x10000-#x10FFFF"))
|
70
|
+
(terminal R_CHAR "21" (diff CHAR "]"))
|
71
|
+
(terminal POSTFIX "22" (range "?*+"))
|
72
|
+
(terminal PASS "23" (plus _PASS_1))
|
73
|
+
(terminal _PASS_1 "23.1" (alt _PASS_2 _PASS_3 _PASS_4 _PASS_5))
|
74
|
+
(terminal _PASS_10 "23.10" (star _PASS_11))
|
75
|
+
(terminal _PASS_11 "23.11" (alt _PASS_12 _PASS_13))
|
76
|
+
(terminal _PASS_12 "23.12" (opt _PASS_14))
|
77
|
+
(terminal _PASS_13 "23.13" (range "^*"))
|
78
|
+
(terminal _PASS_14 "23.14" (seq "*" _PASS_15))
|
79
|
+
(terminal _PASS_15 "23.15" (range "^/"))
|
80
|
+
(terminal _PASS_16 "23.16" (star _PASS_17))
|
81
|
+
(terminal _PASS_17 "23.17" (alt _PASS_18 _PASS_19))
|
82
|
+
(terminal _PASS_18 "23.18" (opt _PASS_20))
|
83
|
+
(terminal _PASS_19 "23.19" (range "^*"))
|
84
|
+
(terminal _PASS_2 "23.2" (range "#x00-#x20"))
|
85
|
+
(terminal _PASS_20 "23.20" (seq "*" _PASS_21))
|
86
|
+
(terminal _PASS_21 "23.21" (range "^)"))
|
87
|
+
(terminal _PASS_3 "23.3" (seq _PASS_6 _PASS_7))
|
88
|
+
(terminal _PASS_4 "23.4" (seq "/*" _PASS_10 "*/"))
|
89
|
+
(terminal _PASS_5 "23.5" (seq "(*" _PASS_16 "*)"))
|
90
|
+
(terminal _PASS_6 "23.6" (alt _PASS_8 "//"))
|
91
|
+
(terminal _PASS_7 "23.7" (star _PASS_9))
|
92
|
+
(terminal _PASS_8 "23.8" (diff "#" "#x"))
|
93
|
+
(terminal _PASS_9 "23.9" (range "^#x0A#x0Dx")))
|
data/etc/ebnf.sxp
CHANGED
@@ -1,41 +1,37 @@
|
|
1
|
-
(
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
(
|
36
|
-
|
37
|
-
|
38
|
-
(range "#x00-#x20")
|
39
|
-
(seq (alt "#" "//") (star (range "^#x0A#x0D")))
|
40
|
-
(seq "/*" (star (alt (opt (seq "*" (range "^/"))) (range "^*"))) "*/")
|
41
|
-
(seq "(*" (star (alt (opt (seq "*" (range "^)"))) (range "^*"))) "*)")) )) )
|
1
|
+
(
|
2
|
+
(pass (seq PASS))
|
3
|
+
(rule ebnf "1" (star (alt declaration rule)))
|
4
|
+
(rule declaration "2" (alt "@terminals" pass))
|
5
|
+
(rule rule "3" (seq LHS expression))
|
6
|
+
(rule expression "4" (seq alt))
|
7
|
+
(rule alt "5" (seq seq (star (seq "|" seq))))
|
8
|
+
(rule seq "6" (plus diff))
|
9
|
+
(rule diff "7" (seq postfix (opt (seq "-" postfix))))
|
10
|
+
(rule postfix "8" (seq primary (opt POSTFIX)))
|
11
|
+
(rule primary "9"
|
12
|
+
(alt HEX SYMBOL ENUM O_ENUM RANGE O_RANGE STRING1 STRING2 (seq "(" expression ")")))
|
13
|
+
(rule pass "10" (seq "@pass" expression))
|
14
|
+
(terminal LHS "11" (seq (opt (seq "[" (plus SYMBOL) "]" (plus " "))) SYMBOL (star " ") "::="))
|
15
|
+
(terminal SYMBOL "12" (plus (alt (range "a-z") (range "A-Z") (range "0-9") "_" ".")))
|
16
|
+
(terminal HEX "13" (seq "#x" (plus (alt (range "a-f") (range "A-F") (range "0-9")))))
|
17
|
+
(terminal ENUM "14" (diff (alt (seq "[" (plus R_CHAR)) (seq (plus HEX) "]")) LHS))
|
18
|
+
(terminal O_ENUM "15" (alt (seq "[^" (plus R_CHAR)) (seq (plus HEX) "]")))
|
19
|
+
(terminal RANGE "16" (alt (seq "[" (seq R_CHAR "-" R_CHAR)) (seq (diff HEX HEX) "]")))
|
20
|
+
(terminal O_RANGE "17" (alt (seq "[^" (seq R_CHAR "-" R_CHAR)) (seq (diff HEX HEX) "]")))
|
21
|
+
(terminal STRING1 "18" (seq "\"" (star (diff CHAR "\"")) "\""))
|
22
|
+
(terminal STRING2 "19" (seq "'" (star (diff CHAR "'")) "'"))
|
23
|
+
(terminal CHAR "20"
|
24
|
+
(alt
|
25
|
+
(range "#x9#xA#xD")
|
26
|
+
(range "#x20-#xD7FF")
|
27
|
+
(range "#xE000-#xFFFD")
|
28
|
+
(range "#x10000-#x10FFFF")) )
|
29
|
+
(terminal R_CHAR "21" (diff CHAR "]"))
|
30
|
+
(terminal POSTFIX "22" (range "?*+"))
|
31
|
+
(terminal PASS "23"
|
32
|
+
(plus
|
33
|
+
(alt
|
34
|
+
(range "#x00-#x20")
|
35
|
+
(seq (alt (diff "#" "#x") "//") (star (range "^#x0A#x0Dx")))
|
36
|
+
(seq "/*" (star (alt (opt (seq "*" (range "^/"))) (range "^*"))) "*/")
|
37
|
+
(seq "(*" (star (alt (opt (seq "*" (range "^)"))) (range "^*"))) "*)")) )) )
|
data/etc/sparql.html
CHANGED
@@ -1,1753 +1,1605 @@
|
|
1
1
|
<table class='grammar'>
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
|
489
|
-
|
490
|
-
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
|
625
|
-
|
626
|
-
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
|
848
|
-
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1010
|
-
|
1011
|
-
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
|
1016
|
-
|
1017
|
-
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
|
1022
|
-
|
1023
|
-
|
1024
|
-
|
1025
|
-
|
1026
|
-
|
1027
|
-
|
1028
|
-
|
1029
|
-
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1034
|
-
|
1035
|
-
|
1036
|
-
|
1037
|
-
|
1038
|
-
|
1039
|
-
|
1040
|
-
|
1041
|
-
|
1042
|
-
|
1043
|
-
|
1044
|
-
|
1045
|
-
|
1046
|
-
|
1047
|
-
|
1048
|
-
|
1049
|
-
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
|
1080
|
-
|
1081
|
-
|
1082
|
-
|
1083
|
-
|
1084
|
-
|
1085
|
-
|
1086
|
-
|
1087
|
-
|
1088
|
-
|
1089
|
-
|
1090
|
-
|
1091
|
-
|
1092
|
-
|
1093
|
-
|
1094
|
-
|
1095
|
-
|
1096
|
-
|
1097
|
-
|
1098
|
-
|
1099
|
-
|
1100
|
-
|
1101
|
-
|
1102
|
-
|
1103
|
-
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1111
|
-
|
1112
|
-
|
1113
|
-
|
1114
|
-
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
|
1123
|
-
|
1124
|
-
|
1125
|
-
|
1126
|
-
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
|
1132
|
-
|
1133
|
-
|
1134
|
-
|
1135
|
-
|
1136
|
-
|
1137
|
-
|
1138
|
-
|
1139
|
-
|
1140
|
-
|
1141
|
-
|
1142
|
-
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
|
1149
|
-
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1153
|
-
|
1154
|
-
|
1155
|
-
|
1156
|
-
|
1157
|
-
|
1158
|
-
|
1159
|
-
|
1160
|
-
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
|
1168
|
-
|
1169
|
-
|
1170
|
-
|
1171
|
-
|
1172
|
-
|
1173
|
-
|
1174
|
-
|
1175
|
-
|
1176
|
-
|
1177
|
-
|
1178
|
-
|
1179
|
-
|
1180
|
-
|
1181
|
-
|
1182
|
-
|
1183
|
-
|
1184
|
-
|
1185
|
-
|
1186
|
-
|
1187
|
-
|
1188
|
-
|
1189
|
-
|
1190
|
-
|
1191
|
-
|
1192
|
-
|
1193
|
-
|
1194
|
-
|
1195
|
-
|
1196
|
-
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1200
|
-
|
1201
|
-
|
1202
|
-
|
1203
|
-
|
1204
|
-
|
1205
|
-
|
1206
|
-
|
1207
|
-
|
1208
|
-
|
1209
|
-
|
1210
|
-
|
1211
|
-
|
1212
|
-
|
1213
|
-
|
1214
|
-
|
1215
|
-
|
1216
|
-
|
1217
|
-
|
1218
|
-
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1229
|
-
|
1230
|
-
|
1231
|
-
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1238
|
-
|
1239
|
-
|
1240
|
-
|
1241
|
-
|
1242
|
-
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
|
1254
|
-
|
1255
|
-
|
1256
|
-
|
1257
|
-
|
1258
|
-
|
1259
|
-
|
1260
|
-
|
1261
|
-
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1318
|
-
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
|
1364
|
-
|
1365
|
-
|
1366
|
-
|
1367
|
-
|
1368
|
-
|
1369
|
-
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1385
|
-
|
1386
|
-
|
1387
|
-
|
1388
|
-
|
1389
|
-
|
1390
|
-
|
1391
|
-
|
1392
|
-
|
1393
|
-
|
1394
|
-
|
1395
|
-
|
1396
|
-
|
1397
|
-
|
1398
|
-
|
1399
|
-
|
1400
|
-
|
1401
|
-
|
1402
|
-
|
1403
|
-
|
1404
|
-
|
1405
|
-
|
1406
|
-
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
|
1413
|
-
|
1414
|
-
|
1415
|
-
|
1416
|
-
|
1417
|
-
|
1418
|
-
|
1419
|
-
|
1420
|
-
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
|
1425
|
-
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
|
1435
|
-
|
1436
|
-
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1466
|
-
|
1467
|
-
|
1468
|
-
|
1469
|
-
|
1470
|
-
|
1471
|
-
|
1472
|
-
|
1473
|
-
|
1474
|
-
|
1475
|
-
|
1476
|
-
|
1477
|
-
|
1478
|
-
|
1479
|
-
|
1480
|
-
|
1481
|
-
|
1482
|
-
|
1483
|
-
|
1484
|
-
|
1485
|
-
|
1486
|
-
|
1487
|
-
|
1488
|
-
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1493
|
-
|
1494
|
-
|
1495
|
-
|
1496
|
-
|
1497
|
-
|
1498
|
-
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1503
|
-
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1507
|
-
|
1508
|
-
|
1509
|
-
|
1510
|
-
|
1511
|
-
|
1512
|
-
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1525
|
-
|
1526
|
-
|
1527
|
-
|
1528
|
-
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
|
1537
|
-
|
1538
|
-
|
1539
|
-
|
1540
|
-
|
1541
|
-
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
|
1558
|
-
|
1559
|
-
|
1560
|
-
|
1561
|
-
|
1562
|
-
|
1563
|
-
|
1564
|
-
|
1565
|
-
|
1566
|
-
|
1567
|
-
|
1568
|
-
|
1569
|
-
|
1570
|
-
|
1571
|
-
|
1572
|
-
|
1573
|
-
|
1574
|
-
|
1575
|
-
|
1576
|
-
|
1577
|
-
|
1578
|
-
|
1579
|
-
|
1580
|
-
|
1581
|
-
|
1582
|
-
|
1583
|
-
|
1584
|
-
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1599
|
-
|
1600
|
-
|
1601
|
-
|
1602
|
-
|
1603
|
-
|
1604
|
-
|
1605
|
-
<td>[160]</td>
|
1606
|
-
<td><code>ECHAR</code></td>
|
1607
|
-
<td>::=</td>
|
1608
|
-
<td>
|
1609
|
-
"<code class="grammar-literal">\</code>"
|
1610
|
-
<code>[</code> <code class="grammar-literal">tbnrf"'</code><code>]</code>
|
1611
|
-
</td>
|
1612
|
-
</tr>
|
1613
|
-
<tr id='grammar-production-NIL'>
|
1614
|
-
<td>[161]</td>
|
1615
|
-
<td><code>NIL</code></td>
|
1616
|
-
<td>::=</td>
|
1617
|
-
<td>
|
1618
|
-
"<code class="grammar-literal">(</code>"
|
1619
|
-
<a href="#grammar-production-WS">WS</a><code>*</code>
|
1620
|
-
"<code class="grammar-literal">)</code>"
|
1621
|
-
</td>
|
1622
|
-
</tr>
|
1623
|
-
<tr id='grammar-production-WS'>
|
1624
|
-
<td>[162]</td>
|
1625
|
-
<td><code>WS</code></td>
|
1626
|
-
<td>::=</td>
|
1627
|
-
<td>
|
1628
|
-
<code class="grammar-char-escape">#x20</code>
|
1629
|
-
<code>|</code> <code class="grammar-char-escape">#x9</code>
|
1630
|
-
<code>|</code> <code class="grammar-char-escape">#xD</code>
|
1631
|
-
<code>|</code> <code class="grammar-char-escape">#xA</code>
|
1632
|
-
</td>
|
1633
|
-
</tr>
|
1634
|
-
<tr id='grammar-production-ANON'>
|
1635
|
-
<td>[163]</td>
|
1636
|
-
<td><code>ANON</code></td>
|
1637
|
-
<td>::=</td>
|
1638
|
-
<td>
|
1639
|
-
"<code class="grammar-literal">[</code>"
|
1640
|
-
<a href="#grammar-production-WS">WS</a><code>*</code>
|
1641
|
-
"<code class="grammar-literal">]</code>"
|
1642
|
-
</td>
|
1643
|
-
</tr>
|
1644
|
-
<tr id='grammar-production-PN_CHARS_BASE'>
|
1645
|
-
<td>[164]</td>
|
1646
|
-
<td><code>PN_CHARS_BASE</code></td>
|
1647
|
-
<td>::=</td>
|
1648
|
-
<td>
|
1649
|
-
<code>[</code> <code class="grammar-literal">A-Z</code><code>]</code>
|
1650
|
-
<code>|</code> <code>[</code> <code class="grammar-literal">a-z</code><code>]</code>
|
1651
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x00C0</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x00D6</code><code>]</code>
|
1652
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x00D8</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x00F6</code><code>]</code>
|
1653
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x00F8</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x02FF</code><code>]</code>
|
1654
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x0370</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x037D</code><code>]</code>
|
1655
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x037F</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x1FFF</code><code>]</code>
|
1656
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x200C</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x200D</code><code>]</code>
|
1657
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x2070</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x218F</code><code>]</code>
|
1658
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x2C00</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x2FEF</code><code>]</code>
|
1659
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x3001</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#xD7FF</code><code>]</code>
|
1660
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#xF900</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#xFDCF</code><code>]</code>
|
1661
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#xFDF0</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#xFFFD</code><code>]</code>
|
1662
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x10000</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#xEFFFF</code><code>]</code>
|
1663
|
-
</td>
|
1664
|
-
</tr>
|
1665
|
-
<tr id='grammar-production-PN_CHARS_U'>
|
1666
|
-
<td>[165]</td>
|
1667
|
-
<td><code>PN_CHARS_U</code></td>
|
1668
|
-
<td>::=</td>
|
1669
|
-
<td>
|
1670
|
-
<a href="#grammar-production-PN_CHARS_BASE">PN_CHARS_BASE</a>
|
1671
|
-
<code>|</code> "<code class="grammar-literal">_</code>"
|
1672
|
-
</td>
|
1673
|
-
</tr>
|
1674
|
-
<tr id='grammar-production-VARNAME'>
|
1675
|
-
<td>[166]</td>
|
1676
|
-
<td><code>VARNAME</code></td>
|
1677
|
-
<td>::=</td>
|
1678
|
-
<td>
|
1679
|
-
<code>(</code> <a href="#grammar-production-PN_CHARS_U">PN_CHARS_U</a> <code>|</code> <code>[</code> <code class="grammar-literal">0-9</code><code>]</code> <code>)</code>
|
1680
|
-
(<a href="#grammar-production-PN_CHARS_U">PN_CHARS_U</a> <code>|</code> <code>[</code> <code class="grammar-literal">0-9</code><code>]</code> <code>|</code> <code class="grammar-char-escape">#x00B7</code> <code>|</code> <code>[</code> <code class="grammar-char-escape">#x0300</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x036F</code><code>]</code> <code>|</code> <code>[</code> <code class="grammar-char-escape">#x203F</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x2040</code><code>]</code> )<code>*</code>
|
1681
|
-
</td>
|
1682
|
-
</tr>
|
1683
|
-
<tr id='grammar-production-PN_CHARS'>
|
1684
|
-
<td>[167]</td>
|
1685
|
-
<td><code>PN_CHARS</code></td>
|
1686
|
-
<td>::=</td>
|
1687
|
-
<td>
|
1688
|
-
<a href="#grammar-production-PN_CHARS_U">PN_CHARS_U</a>
|
1689
|
-
<code>|</code> "<code class="grammar-literal">-</code>"
|
1690
|
-
<code>|</code> <code>[</code> <code class="grammar-literal">0-9</code><code>]</code>
|
1691
|
-
<code>|</code> <code class="grammar-char-escape">#x00B7</code>
|
1692
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x0300</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x036F</code><code>]</code>
|
1693
|
-
<code>|</code> <code>[</code> <code class="grammar-char-escape">#x203F</code><code class="grammar-literal">-</code><code class="grammar-char-escape">#x2040</code><code>]</code>
|
1694
|
-
</td>
|
1695
|
-
</tr>
|
1696
|
-
<tr id='grammar-production-PN_PREFIX'>
|
1697
|
-
<td>[168]</td>
|
1698
|
-
<td><code>PN_PREFIX</code></td>
|
1699
|
-
<td>::=</td>
|
1700
|
-
<td>
|
1701
|
-
<a href="#grammar-production-PN_CHARS_BASE">PN_CHARS_BASE</a>
|
1702
|
-
(<a href="#grammar-production-PN_CHARS">PN_CHARS</a> <code>|</code> "<code class="grammar-literal">.</code>")<code>*</code> <a href="#grammar-production-PN_CHARS">PN_CHARS</a><code>?</code>
|
1703
|
-
</td>
|
1704
|
-
</tr>
|
1705
|
-
<tr id='grammar-production-PN_LOCAL'>
|
1706
|
-
<td>[169]</td>
|
1707
|
-
<td><code>PN_LOCAL</code></td>
|
1708
|
-
<td>::=</td>
|
1709
|
-
<td>
|
1710
|
-
<code>(</code> <a href="#grammar-production-PN_CHARS_U">PN_CHARS_U</a> <code>|</code> <code>[</code> <code class="grammar-literal">0-9</code><code>]</code> <code>)</code>
|
1711
|
-
(<a href="#grammar-production-PN_CHARS">PN_CHARS</a> <code>|</code> "<code class="grammar-literal">.</code>")<code>*</code> <a href="#grammar-production-PN_CHARS">PN_CHARS</a><code>?</code>
|
1712
|
-
</td>
|
1713
|
-
</tr>
|
1714
|
-
<tr id='grammar-production-PLX'>
|
1715
|
-
<td>[170]</td>
|
1716
|
-
<td><code>PLX</code></td>
|
1717
|
-
<td>::=</td>
|
1718
|
-
<td>
|
1719
|
-
<a href="#grammar-production-PERCENT">PERCENT</a>
|
1720
|
-
<code>|</code> <a href="#grammar-production-PN_LOCAL_ESC">PN_LOCAL_ESC</a>
|
1721
|
-
</td>
|
1722
|
-
</tr>
|
1723
|
-
<tr id='grammar-production-PERCENT'>
|
1724
|
-
<td>[171]</td>
|
1725
|
-
<td><code>PERCENT</code></td>
|
1726
|
-
<td>::=</td>
|
1727
|
-
<td>
|
1728
|
-
"<code class="grammar-literal">%</code>"
|
1729
|
-
<a href="#grammar-production-HEX">HEX</a>
|
1730
|
-
<a href="#grammar-production-HEX">HEX</a>
|
1731
|
-
</td>
|
1732
|
-
</tr>
|
1733
|
-
<tr id='grammar-production-HEX'>
|
1734
|
-
<td>[172]</td>
|
1735
|
-
<td><code>HEX</code></td>
|
1736
|
-
<td>::=</td>
|
1737
|
-
<td>
|
1738
|
-
<code>[</code> <code class="grammar-literal">0-9</code><code>]</code>
|
1739
|
-
<code>|</code> <code>[</code> <code class="grammar-literal">A-F</code><code>]</code>
|
1740
|
-
<code>|</code> <code>[</code> <code class="grammar-literal">a-f</code><code>]</code>
|
1741
|
-
</td>
|
1742
|
-
</tr>
|
1743
|
-
<tr id='grammar-production-PN_LOCAL_ESC'>
|
1744
|
-
<td>[173]</td>
|
1745
|
-
<td><code>PN_LOCAL_ESC</code></td>
|
1746
|
-
<td>::=</td>
|
1747
|
-
<td>
|
1748
|
-
"<code class="grammar-literal">\</code>"
|
1749
|
-
<code>(</code> "<code class="grammar-literal">_</code>" <code>|</code> "<code class="grammar-literal">~</code>" <code>|</code> "<code class="grammar-literal">.</code>" <code>|</code> "<code class="grammar-literal">-</code>" <code>|</code> <code class="grammar-char-escape">#x21</code> <code>|</code> "<code class="grammar-literal">$</code>" <code>|</code> "<code class="grammar-literal">&</code>" <code>|</code> "<code class="grammar-literal">'</code>" <code>|</code> "<code class="grammar-literal">(</code>" <code>|</code> "<code class="grammar-literal">)</code>" <code>|</code> "<code class="grammar-literal">*</code>" <code>|</code> "<code class="grammar-literal">+</code>" <code>|</code> "<code class="grammar-literal">,</code>" <code>|</code> "<code class="grammar-literal">;</code>" <code>|</code> "<code class="grammar-literal">=</code>" <code>|</code> "<code class="grammar-literal">/</code>" <code>|</code> "<code class="grammar-literal">?</code>" <code>|</code> "<code class="grammar-literal">#</code>" <code>|</code> "<code class="grammar-literal">@</code>" <code>|</code> "<code class="grammar-literal">%</code>"<code>)</code>
|
1750
|
-
</td>
|
1751
|
-
</tr>
|
1752
|
-
</tbody>
|
2
|
+
<tbody id='grammar-productions'>
|
3
|
+
<tr id='grammar-production-QueryUnit'>
|
4
|
+
<td>[1]</td>
|
5
|
+
<td><code>QueryUnit</code></td>
|
6
|
+
<td>::=</td>
|
7
|
+
<td>
|
8
|
+
Query?
|
9
|
+
</td>
|
10
|
+
</tr>
|
11
|
+
<tr id='grammar-production-Query'>
|
12
|
+
<td>[2]</td>
|
13
|
+
<td><code>Query</code></td>
|
14
|
+
<td>::=</td>
|
15
|
+
<td>
|
16
|
+
Prologue
|
17
|
+
(SelectQuery | ConstructQuery | DescribeQuery | AskQuery)
|
18
|
+
</td>
|
19
|
+
</tr>
|
20
|
+
<tr id='grammar-production-UpdateUnit'>
|
21
|
+
<td>[3]</td>
|
22
|
+
<td><code>UpdateUnit</code></td>
|
23
|
+
<td>::=</td>
|
24
|
+
<td>
|
25
|
+
Update
|
26
|
+
</td>
|
27
|
+
</tr>
|
28
|
+
<tr id='grammar-production-Prologue'>
|
29
|
+
<td>[4]</td>
|
30
|
+
<td><code>Prologue</code></td>
|
31
|
+
<td>::=</td>
|
32
|
+
<td>
|
33
|
+
(BaseDecl | PrefixDecl)*
|
34
|
+
</td>
|
35
|
+
</tr>
|
36
|
+
<tr id='grammar-production-BaseDecl'>
|
37
|
+
<td>[5]</td>
|
38
|
+
<td><code>BaseDecl</code></td>
|
39
|
+
<td>::=</td>
|
40
|
+
<td>
|
41
|
+
"BASE" IRIREF
|
42
|
+
</td>
|
43
|
+
</tr>
|
44
|
+
<tr id='grammar-production-PrefixDecl'>
|
45
|
+
<td>[6]</td>
|
46
|
+
<td><code>PrefixDecl</code></td>
|
47
|
+
<td>::=</td>
|
48
|
+
<td>
|
49
|
+
"PREFIX" PNAME_NS IRIREF
|
50
|
+
</td>
|
51
|
+
</tr>
|
52
|
+
<tr id='grammar-production-SelectQuery'>
|
53
|
+
<td>[7]</td>
|
54
|
+
<td><code>SelectQuery</code></td>
|
55
|
+
<td>::=</td>
|
56
|
+
<td>
|
57
|
+
SelectClause
|
58
|
+
DatasetClause*
|
59
|
+
WhereClause
|
60
|
+
SolutionModifier
|
61
|
+
ValuesClause
|
62
|
+
</td>
|
63
|
+
</tr>
|
64
|
+
<tr id='grammar-production-SubSelect'>
|
65
|
+
<td>[8]</td>
|
66
|
+
<td><code>SubSelect</code></td>
|
67
|
+
<td>::=</td>
|
68
|
+
<td>
|
69
|
+
SelectClause
|
70
|
+
WhereClause
|
71
|
+
SolutionModifier
|
72
|
+
ValuesClause
|
73
|
+
</td>
|
74
|
+
</tr>
|
75
|
+
<tr id='grammar-production-SelectClause'>
|
76
|
+
<td>[9]</td>
|
77
|
+
<td><code>SelectClause</code></td>
|
78
|
+
<td>::=</td>
|
79
|
+
<td>
|
80
|
+
"SELECT"
|
81
|
+
("DISTINCT" | "REDUCED")?
|
82
|
+
((Var | "(" Expression "AS" Var ")")+ | "*")
|
83
|
+
</td>
|
84
|
+
</tr>
|
85
|
+
<tr id='grammar-production-ConstructQuery'>
|
86
|
+
<td>[10]</td>
|
87
|
+
<td><code>ConstructQuery</code></td>
|
88
|
+
<td>::=</td>
|
89
|
+
<td>
|
90
|
+
"CONSTRUCT"
|
91
|
+
(ConstructTemplate DatasetClause* WhereClause SolutionModifier | DatasetClause* "WHERE" "{" TriplesTemplate? "}" SolutionModifier)
|
92
|
+
ValuesClause
|
93
|
+
</td>
|
94
|
+
</tr>
|
95
|
+
<tr id='grammar-production-DescribeQuery'>
|
96
|
+
<td>[11]</td>
|
97
|
+
<td><code>DescribeQuery</code></td>
|
98
|
+
<td>::=</td>
|
99
|
+
<td>
|
100
|
+
"DESCRIBE"
|
101
|
+
(VarOrIri+ | "*")
|
102
|
+
DatasetClause*
|
103
|
+
WhereClause?
|
104
|
+
SolutionModifier
|
105
|
+
ValuesClause
|
106
|
+
</td>
|
107
|
+
</tr>
|
108
|
+
<tr id='grammar-production-AskQuery'>
|
109
|
+
<td>[12]</td>
|
110
|
+
<td><code>AskQuery</code></td>
|
111
|
+
<td>::=</td>
|
112
|
+
<td>
|
113
|
+
"ASK" DatasetClause* WhereClause ValuesClause
|
114
|
+
</td>
|
115
|
+
</tr>
|
116
|
+
<tr id='grammar-production-DatasetClause'>
|
117
|
+
<td>[13]</td>
|
118
|
+
<td><code>DatasetClause</code></td>
|
119
|
+
<td>::=</td>
|
120
|
+
<td>
|
121
|
+
"FROM" (DefaultGraphClause | NamedGraphClause)
|
122
|
+
</td>
|
123
|
+
</tr>
|
124
|
+
<tr id='grammar-production-DefaultGraphClause'>
|
125
|
+
<td>[14]</td>
|
126
|
+
<td><code>DefaultGraphClause</code></td>
|
127
|
+
<td>::=</td>
|
128
|
+
<td>
|
129
|
+
SourceSelector
|
130
|
+
</td>
|
131
|
+
</tr>
|
132
|
+
<tr id='grammar-production-NamedGraphClause'>
|
133
|
+
<td>[15]</td>
|
134
|
+
<td><code>NamedGraphClause</code></td>
|
135
|
+
<td>::=</td>
|
136
|
+
<td>
|
137
|
+
"NAMED" SourceSelector
|
138
|
+
</td>
|
139
|
+
</tr>
|
140
|
+
<tr id='grammar-production-SourceSelector'>
|
141
|
+
<td>[16]</td>
|
142
|
+
<td><code>SourceSelector</code></td>
|
143
|
+
<td>::=</td>
|
144
|
+
<td>
|
145
|
+
iri
|
146
|
+
</td>
|
147
|
+
</tr>
|
148
|
+
<tr id='grammar-production-WhereClause'>
|
149
|
+
<td>[17]</td>
|
150
|
+
<td><code>WhereClause</code></td>
|
151
|
+
<td>::=</td>
|
152
|
+
<td>
|
153
|
+
"WHERE"? GroupGraphPattern
|
154
|
+
</td>
|
155
|
+
</tr>
|
156
|
+
<tr id='grammar-production-SolutionModifier'>
|
157
|
+
<td>[18]</td>
|
158
|
+
<td><code>SolutionModifier</code></td>
|
159
|
+
<td>::=</td>
|
160
|
+
<td>
|
161
|
+
GroupClause?
|
162
|
+
HavingClause?
|
163
|
+
OrderClause?
|
164
|
+
LimitOffsetClauses?
|
165
|
+
</td>
|
166
|
+
</tr>
|
167
|
+
<tr id='grammar-production-GroupClause'>
|
168
|
+
<td>[19]</td>
|
169
|
+
<td><code>GroupClause</code></td>
|
170
|
+
<td>::=</td>
|
171
|
+
<td>
|
172
|
+
"GROUP" "BY" GroupCondition+
|
173
|
+
</td>
|
174
|
+
</tr>
|
175
|
+
<tr id='grammar-production-GroupCondition'>
|
176
|
+
<td>[20]</td>
|
177
|
+
<td><code>GroupCondition</code></td>
|
178
|
+
<td>::=</td>
|
179
|
+
<td>
|
180
|
+
BuiltInCall
|
181
|
+
| FunctionCall
|
182
|
+
| "(" Expression ("AS" Var)? ")"
|
183
|
+
| Var
|
184
|
+
</td>
|
185
|
+
</tr>
|
186
|
+
<tr id='grammar-production-HavingClause'>
|
187
|
+
<td>[21]</td>
|
188
|
+
<td><code>HavingClause</code></td>
|
189
|
+
<td>::=</td>
|
190
|
+
<td>
|
191
|
+
"HAVING" HavingCondition+
|
192
|
+
</td>
|
193
|
+
</tr>
|
194
|
+
<tr id='grammar-production-HavingCondition'>
|
195
|
+
<td>[22]</td>
|
196
|
+
<td><code>HavingCondition</code></td>
|
197
|
+
<td>::=</td>
|
198
|
+
<td>
|
199
|
+
Constraint
|
200
|
+
</td>
|
201
|
+
</tr>
|
202
|
+
<tr id='grammar-production-OrderClause'>
|
203
|
+
<td>[23]</td>
|
204
|
+
<td><code>OrderClause</code></td>
|
205
|
+
<td>::=</td>
|
206
|
+
<td>
|
207
|
+
"ORDER" "BY" OrderCondition+
|
208
|
+
</td>
|
209
|
+
</tr>
|
210
|
+
<tr id='grammar-production-OrderCondition'>
|
211
|
+
<td>[24]</td>
|
212
|
+
<td><code>OrderCondition</code></td>
|
213
|
+
<td>::=</td>
|
214
|
+
<td>
|
215
|
+
("ASC" | "DESC") BrackettedExpression
|
216
|
+
| Constraint | Var
|
217
|
+
</td>
|
218
|
+
</tr>
|
219
|
+
<tr id='grammar-production-LimitOffsetClauses'>
|
220
|
+
<td>[25]</td>
|
221
|
+
<td><code>LimitOffsetClauses</code></td>
|
222
|
+
<td>::=</td>
|
223
|
+
<td>
|
224
|
+
LimitClause OffsetClause?
|
225
|
+
| OffsetClause LimitClause?
|
226
|
+
</td>
|
227
|
+
</tr>
|
228
|
+
<tr id='grammar-production-LimitClause'>
|
229
|
+
<td>[26]</td>
|
230
|
+
<td><code>LimitClause</code></td>
|
231
|
+
<td>::=</td>
|
232
|
+
<td>
|
233
|
+
"LIMIT" INTEGER
|
234
|
+
</td>
|
235
|
+
</tr>
|
236
|
+
<tr id='grammar-production-OffsetClause'>
|
237
|
+
<td>[27]</td>
|
238
|
+
<td><code>OffsetClause</code></td>
|
239
|
+
<td>::=</td>
|
240
|
+
<td>
|
241
|
+
"OFFSET" INTEGER
|
242
|
+
</td>
|
243
|
+
</tr>
|
244
|
+
<tr id='grammar-production-ValuesClause'>
|
245
|
+
<td>[28]</td>
|
246
|
+
<td><code>ValuesClause</code></td>
|
247
|
+
<td>::=</td>
|
248
|
+
<td>
|
249
|
+
("VALUES" DataBlock)?
|
250
|
+
</td>
|
251
|
+
</tr>
|
252
|
+
<tr id='grammar-production-Update'>
|
253
|
+
<td>[29]</td>
|
254
|
+
<td><code>Update</code></td>
|
255
|
+
<td>::=</td>
|
256
|
+
<td>
|
257
|
+
Prologue (Update1 (";" Update)?)?
|
258
|
+
</td>
|
259
|
+
</tr>
|
260
|
+
<tr id='grammar-production-Update1'>
|
261
|
+
<td>[30]</td>
|
262
|
+
<td><code>Update1</code></td>
|
263
|
+
<td>::=</td>
|
264
|
+
<td>
|
265
|
+
Load
|
266
|
+
| Clear
|
267
|
+
| Drop
|
268
|
+
| Add
|
269
|
+
| Move
|
270
|
+
| Copy
|
271
|
+
| Create
|
272
|
+
| InsertData
|
273
|
+
| DeleteData
|
274
|
+
| DeleteWhere
|
275
|
+
| Modify
|
276
|
+
</td>
|
277
|
+
</tr>
|
278
|
+
<tr id='grammar-production-Load'>
|
279
|
+
<td>[31]</td>
|
280
|
+
<td><code>Load</code></td>
|
281
|
+
<td>::=</td>
|
282
|
+
<td>
|
283
|
+
"LOAD" "SILENT"? iri ("INTO" GraphRef)?
|
284
|
+
</td>
|
285
|
+
</tr>
|
286
|
+
<tr id='grammar-production-Clear'>
|
287
|
+
<td>[32]</td>
|
288
|
+
<td><code>Clear</code></td>
|
289
|
+
<td>::=</td>
|
290
|
+
<td>
|
291
|
+
"CLEAR" "SILENT"? GraphRefAll
|
292
|
+
</td>
|
293
|
+
</tr>
|
294
|
+
<tr id='grammar-production-Drop'>
|
295
|
+
<td>[33]</td>
|
296
|
+
<td><code>Drop</code></td>
|
297
|
+
<td>::=</td>
|
298
|
+
<td>
|
299
|
+
"DROP" "SILENT"? GraphRefAll
|
300
|
+
</td>
|
301
|
+
</tr>
|
302
|
+
<tr id='grammar-production-Create'>
|
303
|
+
<td>[34]</td>
|
304
|
+
<td><code>Create</code></td>
|
305
|
+
<td>::=</td>
|
306
|
+
<td>
|
307
|
+
"CREATE" "SILENT"? GraphRef
|
308
|
+
</td>
|
309
|
+
</tr>
|
310
|
+
<tr id='grammar-production-Add'>
|
311
|
+
<td>[35]</td>
|
312
|
+
<td><code>Add</code></td>
|
313
|
+
<td>::=</td>
|
314
|
+
<td>
|
315
|
+
"ADD"
|
316
|
+
"SILENT"?
|
317
|
+
GraphOrDefault
|
318
|
+
"TO"
|
319
|
+
GraphOrDefault
|
320
|
+
</td>
|
321
|
+
</tr>
|
322
|
+
<tr id='grammar-production-Move'>
|
323
|
+
<td>[36]</td>
|
324
|
+
<td><code>Move</code></td>
|
325
|
+
<td>::=</td>
|
326
|
+
<td>
|
327
|
+
"MOVE"
|
328
|
+
"SILENT"?
|
329
|
+
GraphOrDefault
|
330
|
+
"TO"
|
331
|
+
GraphOrDefault
|
332
|
+
</td>
|
333
|
+
</tr>
|
334
|
+
<tr id='grammar-production-Copy'>
|
335
|
+
<td>[37]</td>
|
336
|
+
<td><code>Copy</code></td>
|
337
|
+
<td>::=</td>
|
338
|
+
<td>
|
339
|
+
"COPY"
|
340
|
+
"SILENT"?
|
341
|
+
GraphOrDefault
|
342
|
+
"TO"
|
343
|
+
GraphOrDefault
|
344
|
+
</td>
|
345
|
+
</tr>
|
346
|
+
<tr id='grammar-production-InsertData'>
|
347
|
+
<td>[38]</td>
|
348
|
+
<td><code>InsertData</code></td>
|
349
|
+
<td>::=</td>
|
350
|
+
<td>
|
351
|
+
"INSERT DATA" QuadData
|
352
|
+
</td>
|
353
|
+
</tr>
|
354
|
+
<tr id='grammar-production-DeleteData'>
|
355
|
+
<td>[39]</td>
|
356
|
+
<td><code>DeleteData</code></td>
|
357
|
+
<td>::=</td>
|
358
|
+
<td>
|
359
|
+
"DELETE DATA" QuadData
|
360
|
+
</td>
|
361
|
+
</tr>
|
362
|
+
<tr id='grammar-production-DeleteWhere'>
|
363
|
+
<td>[40]</td>
|
364
|
+
<td><code>DeleteWhere</code></td>
|
365
|
+
<td>::=</td>
|
366
|
+
<td>
|
367
|
+
"DELETE WHERE" QuadPattern
|
368
|
+
</td>
|
369
|
+
</tr>
|
370
|
+
<tr id='grammar-production-Modify'>
|
371
|
+
<td>[41]</td>
|
372
|
+
<td><code>Modify</code></td>
|
373
|
+
<td>::=</td>
|
374
|
+
<td>
|
375
|
+
("WITH" iri)?
|
376
|
+
(DeleteClause InsertClause? | InsertClause)
|
377
|
+
UsingClause*
|
378
|
+
"WHERE"
|
379
|
+
GroupGraphPattern
|
380
|
+
</td>
|
381
|
+
</tr>
|
382
|
+
<tr id='grammar-production-DeleteClause'>
|
383
|
+
<td>[42]</td>
|
384
|
+
<td><code>DeleteClause</code></td>
|
385
|
+
<td>::=</td>
|
386
|
+
<td>
|
387
|
+
"DELETE" QuadPattern
|
388
|
+
</td>
|
389
|
+
</tr>
|
390
|
+
<tr id='grammar-production-InsertClause'>
|
391
|
+
<td>[43]</td>
|
392
|
+
<td><code>InsertClause</code></td>
|
393
|
+
<td>::=</td>
|
394
|
+
<td>
|
395
|
+
"INSERT" QuadPattern
|
396
|
+
</td>
|
397
|
+
</tr>
|
398
|
+
<tr id='grammar-production-UsingClause'>
|
399
|
+
<td>[44]</td>
|
400
|
+
<td><code>UsingClause</code></td>
|
401
|
+
<td>::=</td>
|
402
|
+
<td>
|
403
|
+
"USING" (iri | "NAMED" iri)
|
404
|
+
</td>
|
405
|
+
</tr>
|
406
|
+
<tr id='grammar-production-GraphOrDefault'>
|
407
|
+
<td>[45]</td>
|
408
|
+
<td><code>GraphOrDefault</code></td>
|
409
|
+
<td>::=</td>
|
410
|
+
<td>
|
411
|
+
"DEFAULT" | "GRAPH"? iri
|
412
|
+
</td>
|
413
|
+
</tr>
|
414
|
+
<tr id='grammar-production-GraphRef'>
|
415
|
+
<td>[46]</td>
|
416
|
+
<td><code>GraphRef</code></td>
|
417
|
+
<td>::=</td>
|
418
|
+
<td>
|
419
|
+
"GRAPH" iri
|
420
|
+
</td>
|
421
|
+
</tr>
|
422
|
+
<tr id='grammar-production-GraphRefAll'>
|
423
|
+
<td>[47]</td>
|
424
|
+
<td><code>GraphRefAll</code></td>
|
425
|
+
<td>::=</td>
|
426
|
+
<td>
|
427
|
+
GraphRef | "DEFAULT" | "NAMED" | "ALL"
|
428
|
+
</td>
|
429
|
+
</tr>
|
430
|
+
<tr id='grammar-production-QuadPattern'>
|
431
|
+
<td>[48]</td>
|
432
|
+
<td><code>QuadPattern</code></td>
|
433
|
+
<td>::=</td>
|
434
|
+
<td>
|
435
|
+
"{" Quads "}"
|
436
|
+
</td>
|
437
|
+
</tr>
|
438
|
+
<tr id='grammar-production-QuadData'>
|
439
|
+
<td>[49]</td>
|
440
|
+
<td><code>QuadData</code></td>
|
441
|
+
<td>::=</td>
|
442
|
+
<td>
|
443
|
+
"{" Quads "}"
|
444
|
+
</td>
|
445
|
+
</tr>
|
446
|
+
<tr id='grammar-production-Quads'>
|
447
|
+
<td>[50]</td>
|
448
|
+
<td><code>Quads</code></td>
|
449
|
+
<td>::=</td>
|
450
|
+
<td>
|
451
|
+
TriplesTemplate?
|
452
|
+
(QuadsNotTriples "."? TriplesTemplate?)*
|
453
|
+
</td>
|
454
|
+
</tr>
|
455
|
+
<tr id='grammar-production-QuadsNotTriples'>
|
456
|
+
<td>[51]</td>
|
457
|
+
<td><code>QuadsNotTriples</code></td>
|
458
|
+
<td>::=</td>
|
459
|
+
<td>
|
460
|
+
"GRAPH" VarOrIri "{" TriplesTemplate? "}"
|
461
|
+
</td>
|
462
|
+
</tr>
|
463
|
+
<tr id='grammar-production-TriplesTemplate'>
|
464
|
+
<td>[52]</td>
|
465
|
+
<td><code>TriplesTemplate</code></td>
|
466
|
+
<td>::=</td>
|
467
|
+
<td>
|
468
|
+
TriplesSameSubject ("." TriplesTemplate?)?
|
469
|
+
</td>
|
470
|
+
</tr>
|
471
|
+
<tr id='grammar-production-GroupGraphPattern'>
|
472
|
+
<td>[53]</td>
|
473
|
+
<td><code>GroupGraphPattern</code></td>
|
474
|
+
<td>::=</td>
|
475
|
+
<td>
|
476
|
+
"{" (SubSelect | GroupGraphPatternSub) "}"
|
477
|
+
</td>
|
478
|
+
</tr>
|
479
|
+
<tr id='grammar-production-GroupGraphPatternSub'>
|
480
|
+
<td>[54]</td>
|
481
|
+
<td><code>GroupGraphPatternSub</code></td>
|
482
|
+
<td>::=</td>
|
483
|
+
<td>
|
484
|
+
TriplesBlock?
|
485
|
+
(GraphPatternNotTriples "."? TriplesBlock?)*
|
486
|
+
</td>
|
487
|
+
</tr>
|
488
|
+
<tr id='grammar-production-TriplesBlock'>
|
489
|
+
<td>[55]</td>
|
490
|
+
<td><code>TriplesBlock</code></td>
|
491
|
+
<td>::=</td>
|
492
|
+
<td>
|
493
|
+
TriplesSameSubjectPath ("." TriplesBlock?)?
|
494
|
+
</td>
|
495
|
+
</tr>
|
496
|
+
<tr id='grammar-production-GraphPatternNotTriples'>
|
497
|
+
<td>[56]</td>
|
498
|
+
<td><code>GraphPatternNotTriples</code></td>
|
499
|
+
<td>::=</td>
|
500
|
+
<td>
|
501
|
+
GroupOrUnionGraphPattern
|
502
|
+
| OptionalGraphPattern
|
503
|
+
| MinusGraphPattern
|
504
|
+
| GraphGraphPattern
|
505
|
+
| ServiceGraphPattern
|
506
|
+
| Filter
|
507
|
+
| Bind
|
508
|
+
| InlineData
|
509
|
+
</td>
|
510
|
+
</tr>
|
511
|
+
<tr id='grammar-production-OptionalGraphPattern'>
|
512
|
+
<td>[57]</td>
|
513
|
+
<td><code>OptionalGraphPattern</code></td>
|
514
|
+
<td>::=</td>
|
515
|
+
<td>
|
516
|
+
"OPTIONAL" GroupGraphPattern
|
517
|
+
</td>
|
518
|
+
</tr>
|
519
|
+
<tr id='grammar-production-GraphGraphPattern'>
|
520
|
+
<td>[58]</td>
|
521
|
+
<td><code>GraphGraphPattern</code></td>
|
522
|
+
<td>::=</td>
|
523
|
+
<td>
|
524
|
+
"GRAPH" VarOrIri GroupGraphPattern
|
525
|
+
</td>
|
526
|
+
</tr>
|
527
|
+
<tr id='grammar-production-ServiceGraphPattern'>
|
528
|
+
<td>[59]</td>
|
529
|
+
<td><code>ServiceGraphPattern</code></td>
|
530
|
+
<td>::=</td>
|
531
|
+
<td>
|
532
|
+
"SERVICE" "SILENT"? VarOrIri GroupGraphPattern
|
533
|
+
</td>
|
534
|
+
</tr>
|
535
|
+
<tr id='grammar-production-Bind'>
|
536
|
+
<td>[60]</td>
|
537
|
+
<td><code>Bind</code></td>
|
538
|
+
<td>::=</td>
|
539
|
+
<td>
|
540
|
+
"BIND" "(" Expression "AS" Var ")"
|
541
|
+
</td>
|
542
|
+
</tr>
|
543
|
+
<tr id='grammar-production-InlineData'>
|
544
|
+
<td>[61]</td>
|
545
|
+
<td><code>InlineData</code></td>
|
546
|
+
<td>::=</td>
|
547
|
+
<td>
|
548
|
+
"VALUES" DataBlock
|
549
|
+
</td>
|
550
|
+
</tr>
|
551
|
+
<tr id='grammar-production-DataBlock'>
|
552
|
+
<td>[62]</td>
|
553
|
+
<td><code>DataBlock</code></td>
|
554
|
+
<td>::=</td>
|
555
|
+
<td>
|
556
|
+
InlineDataOneVar | InlineDataFull
|
557
|
+
</td>
|
558
|
+
</tr>
|
559
|
+
<tr id='grammar-production-InlineDataOneVar'>
|
560
|
+
<td>[63]</td>
|
561
|
+
<td><code>InlineDataOneVar</code></td>
|
562
|
+
<td>::=</td>
|
563
|
+
<td>
|
564
|
+
Var "{" DataBlockValue* "}"
|
565
|
+
</td>
|
566
|
+
</tr>
|
567
|
+
<tr id='grammar-production-InlineDataFull'>
|
568
|
+
<td>[64]</td>
|
569
|
+
<td><code>InlineDataFull</code></td>
|
570
|
+
<td>::=</td>
|
571
|
+
<td>
|
572
|
+
(NIL | "(" Var* ")")
|
573
|
+
"{"
|
574
|
+
("(" DataBlockValue* ")" | NIL)*
|
575
|
+
"}"
|
576
|
+
</td>
|
577
|
+
</tr>
|
578
|
+
<tr id='grammar-production-DataBlockValue'>
|
579
|
+
<td>[65]</td>
|
580
|
+
<td><code>DataBlockValue</code></td>
|
581
|
+
<td>::=</td>
|
582
|
+
<td>
|
583
|
+
iri
|
584
|
+
| RDFLiteral
|
585
|
+
| NumericLiteral
|
586
|
+
| BooleanLiteral
|
587
|
+
| "UNDEF"
|
588
|
+
</td>
|
589
|
+
</tr>
|
590
|
+
<tr id='grammar-production-MinusGraphPattern'>
|
591
|
+
<td>[66]</td>
|
592
|
+
<td><code>MinusGraphPattern</code></td>
|
593
|
+
<td>::=</td>
|
594
|
+
<td>
|
595
|
+
"MINUS" GroupGraphPattern
|
596
|
+
</td>
|
597
|
+
</tr>
|
598
|
+
<tr id='grammar-production-GroupOrUnionGraphPattern'>
|
599
|
+
<td>[67]</td>
|
600
|
+
<td><code>GroupOrUnionGraphPattern</code></td>
|
601
|
+
<td>::=</td>
|
602
|
+
<td>
|
603
|
+
GroupGraphPattern ("UNION" GroupGraphPattern)*
|
604
|
+
</td>
|
605
|
+
</tr>
|
606
|
+
<tr id='grammar-production-Filter'>
|
607
|
+
<td>[68]</td>
|
608
|
+
<td><code>Filter</code></td>
|
609
|
+
<td>::=</td>
|
610
|
+
<td>
|
611
|
+
"FILTER" Constraint
|
612
|
+
</td>
|
613
|
+
</tr>
|
614
|
+
<tr id='grammar-production-Constraint'>
|
615
|
+
<td>[69]</td>
|
616
|
+
<td><code>Constraint</code></td>
|
617
|
+
<td>::=</td>
|
618
|
+
<td>
|
619
|
+
BrackettedExpression
|
620
|
+
| BuiltInCall
|
621
|
+
| FunctionCall
|
622
|
+
</td>
|
623
|
+
</tr>
|
624
|
+
<tr id='grammar-production-FunctionCall'>
|
625
|
+
<td>[70]</td>
|
626
|
+
<td><code>FunctionCall</code></td>
|
627
|
+
<td>::=</td>
|
628
|
+
<td>
|
629
|
+
iri ArgList
|
630
|
+
</td>
|
631
|
+
</tr>
|
632
|
+
<tr id='grammar-production-ArgList'>
|
633
|
+
<td>[71]</td>
|
634
|
+
<td><code>ArgList</code></td>
|
635
|
+
<td>::=</td>
|
636
|
+
<td>
|
637
|
+
NIL
|
638
|
+
| "(" "DISTINCT"? Expression ("," Expression)* ")"
|
639
|
+
</td>
|
640
|
+
</tr>
|
641
|
+
<tr id='grammar-production-ExpressionList'>
|
642
|
+
<td>[72]</td>
|
643
|
+
<td><code>ExpressionList</code></td>
|
644
|
+
<td>::=</td>
|
645
|
+
<td>
|
646
|
+
NIL | "(" Expression ("," Expression)* ")"
|
647
|
+
</td>
|
648
|
+
</tr>
|
649
|
+
<tr id='grammar-production-ConstructTemplate'>
|
650
|
+
<td>[73]</td>
|
651
|
+
<td><code>ConstructTemplate</code></td>
|
652
|
+
<td>::=</td>
|
653
|
+
<td>
|
654
|
+
"{" ConstructTriples? "}"
|
655
|
+
</td>
|
656
|
+
</tr>
|
657
|
+
<tr id='grammar-production-ConstructTriples'>
|
658
|
+
<td>[74]</td>
|
659
|
+
<td><code>ConstructTriples</code></td>
|
660
|
+
<td>::=</td>
|
661
|
+
<td>
|
662
|
+
TriplesSameSubject ("." ConstructTriples?)?
|
663
|
+
</td>
|
664
|
+
</tr>
|
665
|
+
<tr id='grammar-production-TriplesSameSubject'>
|
666
|
+
<td>[75]</td>
|
667
|
+
<td><code>TriplesSameSubject</code></td>
|
668
|
+
<td>::=</td>
|
669
|
+
<td>
|
670
|
+
VarOrTerm PropertyListNotEmpty
|
671
|
+
| TriplesNode PropertyList
|
672
|
+
</td>
|
673
|
+
</tr>
|
674
|
+
<tr id='grammar-production-PropertyList'>
|
675
|
+
<td>[76]</td>
|
676
|
+
<td><code>PropertyList</code></td>
|
677
|
+
<td>::=</td>
|
678
|
+
<td>
|
679
|
+
PropertyListNotEmpty?
|
680
|
+
</td>
|
681
|
+
</tr>
|
682
|
+
<tr id='grammar-production-PropertyListNotEmpty'>
|
683
|
+
<td>[77]</td>
|
684
|
+
<td><code>PropertyListNotEmpty</code></td>
|
685
|
+
<td>::=</td>
|
686
|
+
<td>
|
687
|
+
Verb ObjectList (";" (Verb ObjectList)?)*
|
688
|
+
</td>
|
689
|
+
</tr>
|
690
|
+
<tr id='grammar-production-Verb'>
|
691
|
+
<td>[78]</td>
|
692
|
+
<td><code>Verb</code></td>
|
693
|
+
<td>::=</td>
|
694
|
+
<td>
|
695
|
+
VarOrIri | "a"
|
696
|
+
</td>
|
697
|
+
</tr>
|
698
|
+
<tr id='grammar-production-ObjectList'>
|
699
|
+
<td>[79]</td>
|
700
|
+
<td><code>ObjectList</code></td>
|
701
|
+
<td>::=</td>
|
702
|
+
<td>
|
703
|
+
Object ("," Object)*
|
704
|
+
</td>
|
705
|
+
</tr>
|
706
|
+
<tr id='grammar-production-Object'>
|
707
|
+
<td>[80]</td>
|
708
|
+
<td><code>Object</code></td>
|
709
|
+
<td>::=</td>
|
710
|
+
<td>
|
711
|
+
GraphNode
|
712
|
+
</td>
|
713
|
+
</tr>
|
714
|
+
<tr id='grammar-production-TriplesSameSubjectPath'>
|
715
|
+
<td>[81]</td>
|
716
|
+
<td><code>TriplesSameSubjectPath</code></td>
|
717
|
+
<td>::=</td>
|
718
|
+
<td>
|
719
|
+
VarOrTerm PropertyListNotEmptyPath
|
720
|
+
| TriplesNode PropertyListPath
|
721
|
+
</td>
|
722
|
+
</tr>
|
723
|
+
<tr id='grammar-production-PropertyListPath'>
|
724
|
+
<td>[82]</td>
|
725
|
+
<td><code>PropertyListPath</code></td>
|
726
|
+
<td>::=</td>
|
727
|
+
<td>
|
728
|
+
PropertyListNotEmpty?
|
729
|
+
</td>
|
730
|
+
</tr>
|
731
|
+
<tr id='grammar-production-PropertyListNotEmptyPath'>
|
732
|
+
<td>[83]</td>
|
733
|
+
<td><code>PropertyListNotEmptyPath</code></td>
|
734
|
+
<td>::=</td>
|
735
|
+
<td>
|
736
|
+
(VerbPath | VerbSimple)
|
737
|
+
ObjectList
|
738
|
+
(";" (VerbPath | VerbSimple) ObjectList?)*
|
739
|
+
</td>
|
740
|
+
</tr>
|
741
|
+
<tr id='grammar-production-VerbPath'>
|
742
|
+
<td>[84]</td>
|
743
|
+
<td><code>VerbPath</code></td>
|
744
|
+
<td>::=</td>
|
745
|
+
<td>
|
746
|
+
Path
|
747
|
+
</td>
|
748
|
+
</tr>
|
749
|
+
<tr id='grammar-production-VerbSimple'>
|
750
|
+
<td>[85]</td>
|
751
|
+
<td><code>VerbSimple</code></td>
|
752
|
+
<td>::=</td>
|
753
|
+
<td>
|
754
|
+
Var
|
755
|
+
</td>
|
756
|
+
</tr>
|
757
|
+
<tr id='grammar-production-ObjectListPath'>
|
758
|
+
<td>[86]</td>
|
759
|
+
<td><code>ObjectListPath</code></td>
|
760
|
+
<td>::=</td>
|
761
|
+
<td>
|
762
|
+
ObjectPath ("," ObjectPath)*
|
763
|
+
</td>
|
764
|
+
</tr>
|
765
|
+
<tr id='grammar-production-ObjectPath'>
|
766
|
+
<td>[87]</td>
|
767
|
+
<td><code>ObjectPath</code></td>
|
768
|
+
<td>::=</td>
|
769
|
+
<td>
|
770
|
+
GraphNodePath
|
771
|
+
</td>
|
772
|
+
</tr>
|
773
|
+
<tr id='grammar-production-Path'>
|
774
|
+
<td>[88]</td>
|
775
|
+
<td><code>Path</code></td>
|
776
|
+
<td>::=</td>
|
777
|
+
<td>
|
778
|
+
PathAlternative
|
779
|
+
</td>
|
780
|
+
</tr>
|
781
|
+
<tr id='grammar-production-PathAlternative'>
|
782
|
+
<td>[89]</td>
|
783
|
+
<td><code>PathAlternative</code></td>
|
784
|
+
<td>::=</td>
|
785
|
+
<td>
|
786
|
+
PathSequence ("|" PathSequence)*
|
787
|
+
</td>
|
788
|
+
</tr>
|
789
|
+
<tr id='grammar-production-PathSequence'>
|
790
|
+
<td>[90]</td>
|
791
|
+
<td><code>PathSequence</code></td>
|
792
|
+
<td>::=</td>
|
793
|
+
<td>
|
794
|
+
PathEltOrInverse ("/" PathEltOrInverse)*
|
795
|
+
</td>
|
796
|
+
</tr>
|
797
|
+
<tr id='grammar-production-PathElt'>
|
798
|
+
<td>[91]</td>
|
799
|
+
<td><code>PathElt</code></td>
|
800
|
+
<td>::=</td>
|
801
|
+
<td>
|
802
|
+
PathPrimary PathMod?
|
803
|
+
</td>
|
804
|
+
</tr>
|
805
|
+
<tr id='grammar-production-PathEltOrInverse'>
|
806
|
+
<td>[92]</td>
|
807
|
+
<td><code>PathEltOrInverse</code></td>
|
808
|
+
<td>::=</td>
|
809
|
+
<td>
|
810
|
+
PathElt | "^" PathElt
|
811
|
+
</td>
|
812
|
+
</tr>
|
813
|
+
<tr id='grammar-production-PathMod'>
|
814
|
+
<td>[93]</td>
|
815
|
+
<td><code>PathMod</code></td>
|
816
|
+
<td>::=</td>
|
817
|
+
<td>
|
818
|
+
"*"
|
819
|
+
| "?"
|
820
|
+
| "+"
|
821
|
+
| "{" (Integer ("," ("}" | Integer "}") | "}") | "," Integer "}")
|
822
|
+
</td>
|
823
|
+
</tr>
|
824
|
+
<tr id='grammar-production-PathPrimary'>
|
825
|
+
<td>[94]</td>
|
826
|
+
<td><code>PathPrimary</code></td>
|
827
|
+
<td>::=</td>
|
828
|
+
<td>
|
829
|
+
iri
|
830
|
+
| "a"
|
831
|
+
| #x21 PathNegatedPropertySet
|
832
|
+
| "(" Path ")"
|
833
|
+
</td>
|
834
|
+
</tr>
|
835
|
+
<tr id='grammar-production-PathNegatedPropertySet'>
|
836
|
+
<td>[95]</td>
|
837
|
+
<td><code>PathNegatedPropertySet</code></td>
|
838
|
+
<td>::=</td>
|
839
|
+
<td>
|
840
|
+
PathOneInPropertySet
|
841
|
+
| "(" (PathOneInPropertySet ("|" PathOneInPropertySet)*)? ")"
|
842
|
+
</td>
|
843
|
+
</tr>
|
844
|
+
<tr id='grammar-production-PathOneInPropertySet'>
|
845
|
+
<td>[96]</td>
|
846
|
+
<td><code>PathOneInPropertySet</code></td>
|
847
|
+
<td>::=</td>
|
848
|
+
<td>
|
849
|
+
iri | "a" | "^" (iri | "a")
|
850
|
+
</td>
|
851
|
+
</tr>
|
852
|
+
<tr id='grammar-production-Integer'>
|
853
|
+
<td>[97]</td>
|
854
|
+
<td><code>Integer</code></td>
|
855
|
+
<td>::=</td>
|
856
|
+
<td>
|
857
|
+
INTEGER
|
858
|
+
</td>
|
859
|
+
</tr>
|
860
|
+
<tr id='grammar-production-TriplesNode'>
|
861
|
+
<td>[98]</td>
|
862
|
+
<td><code>TriplesNode</code></td>
|
863
|
+
<td>::=</td>
|
864
|
+
<td>
|
865
|
+
Collection | BlankNodePropertyList
|
866
|
+
</td>
|
867
|
+
</tr>
|
868
|
+
<tr id='grammar-production-BlankNodePropertyList'>
|
869
|
+
<td>[99]</td>
|
870
|
+
<td><code>BlankNodePropertyList</code></td>
|
871
|
+
<td>::=</td>
|
872
|
+
<td>
|
873
|
+
"[" PropertyListNotEmpty "]"
|
874
|
+
</td>
|
875
|
+
</tr>
|
876
|
+
<tr id='grammar-production-TriplesNodePath'>
|
877
|
+
<td>[100]</td>
|
878
|
+
<td><code>TriplesNodePath</code></td>
|
879
|
+
<td>::=</td>
|
880
|
+
<td>
|
881
|
+
CollectionPath | BlankNodePropertyListPath
|
882
|
+
</td>
|
883
|
+
</tr>
|
884
|
+
<tr id='grammar-production-BlankNodePropertyListPath'>
|
885
|
+
<td>[101]</td>
|
886
|
+
<td><code>BlankNodePropertyListPath</code></td>
|
887
|
+
<td>::=</td>
|
888
|
+
<td>
|
889
|
+
"[" PropertyListPathNotEmpty "]"
|
890
|
+
</td>
|
891
|
+
</tr>
|
892
|
+
<tr id='grammar-production-Collection'>
|
893
|
+
<td>[102]</td>
|
894
|
+
<td><code>Collection</code></td>
|
895
|
+
<td>::=</td>
|
896
|
+
<td>
|
897
|
+
"(" GraphNode+ ")"
|
898
|
+
</td>
|
899
|
+
</tr>
|
900
|
+
<tr id='grammar-production-CollectionPath'>
|
901
|
+
<td>[103]</td>
|
902
|
+
<td><code>CollectionPath</code></td>
|
903
|
+
<td>::=</td>
|
904
|
+
<td>
|
905
|
+
"(" GraphNodePath+ ")"
|
906
|
+
</td>
|
907
|
+
</tr>
|
908
|
+
<tr id='grammar-production-GraphNode'>
|
909
|
+
<td>[104]</td>
|
910
|
+
<td><code>GraphNode</code></td>
|
911
|
+
<td>::=</td>
|
912
|
+
<td>
|
913
|
+
VarOrTerm | TriplesNode
|
914
|
+
</td>
|
915
|
+
</tr>
|
916
|
+
<tr id='grammar-production-GraphNodePath'>
|
917
|
+
<td>[105]</td>
|
918
|
+
<td><code>GraphNodePath</code></td>
|
919
|
+
<td>::=</td>
|
920
|
+
<td>
|
921
|
+
VarOrTerm | TriplesNodePath
|
922
|
+
</td>
|
923
|
+
</tr>
|
924
|
+
<tr id='grammar-production-VarOrTerm'>
|
925
|
+
<td>[106]</td>
|
926
|
+
<td><code>VarOrTerm</code></td>
|
927
|
+
<td>::=</td>
|
928
|
+
<td>
|
929
|
+
Var | GraphTerm
|
930
|
+
</td>
|
931
|
+
</tr>
|
932
|
+
<tr id='grammar-production-VarOrIri'>
|
933
|
+
<td>[107]</td>
|
934
|
+
<td><code>VarOrIri</code></td>
|
935
|
+
<td>::=</td>
|
936
|
+
<td>
|
937
|
+
Var | iri
|
938
|
+
</td>
|
939
|
+
</tr>
|
940
|
+
<tr id='grammar-production-Var'>
|
941
|
+
<td>[108]</td>
|
942
|
+
<td><code>Var</code></td>
|
943
|
+
<td>::=</td>
|
944
|
+
<td>
|
945
|
+
VAR1 | VAR2
|
946
|
+
</td>
|
947
|
+
</tr>
|
948
|
+
<tr id='grammar-production-GraphTerm'>
|
949
|
+
<td>[109]</td>
|
950
|
+
<td><code>GraphTerm</code></td>
|
951
|
+
<td>::=</td>
|
952
|
+
<td>
|
953
|
+
iri
|
954
|
+
| RDFLiteral
|
955
|
+
| NumericLiteral
|
956
|
+
| BooleanLiteral
|
957
|
+
| BlankNode
|
958
|
+
| NIL
|
959
|
+
</td>
|
960
|
+
</tr>
|
961
|
+
<tr id='grammar-production-Expression'>
|
962
|
+
<td>[110]</td>
|
963
|
+
<td><code>Expression</code></td>
|
964
|
+
<td>::=</td>
|
965
|
+
<td>
|
966
|
+
ConditionalOrExpression
|
967
|
+
</td>
|
968
|
+
</tr>
|
969
|
+
<tr id='grammar-production-ConditionalOrExpression'>
|
970
|
+
<td>[111]</td>
|
971
|
+
<td><code>ConditionalOrExpression</code></td>
|
972
|
+
<td>::=</td>
|
973
|
+
<td>
|
974
|
+
ConditionalAndExpression
|
975
|
+
("||" ConditionalAndExpression)*
|
976
|
+
</td>
|
977
|
+
</tr>
|
978
|
+
<tr id='grammar-production-ConditionalAndExpression'>
|
979
|
+
<td>[112]</td>
|
980
|
+
<td><code>ConditionalAndExpression</code></td>
|
981
|
+
<td>::=</td>
|
982
|
+
<td>
|
983
|
+
ValueLogical ("&&" ValueLogical)*
|
984
|
+
</td>
|
985
|
+
</tr>
|
986
|
+
<tr id='grammar-production-ValueLogical'>
|
987
|
+
<td>[113]</td>
|
988
|
+
<td><code>ValueLogical</code></td>
|
989
|
+
<td>::=</td>
|
990
|
+
<td>
|
991
|
+
RelationalExpression
|
992
|
+
</td>
|
993
|
+
</tr>
|
994
|
+
<tr id='grammar-production-RelationalExpression'>
|
995
|
+
<td>[114]</td>
|
996
|
+
<td><code>RelationalExpression</code></td>
|
997
|
+
<td>::=</td>
|
998
|
+
<td>
|
999
|
+
NumericExpression
|
1000
|
+
("=" NumericExpression | "!=" NumericExpression | "<" NumericExpression | ">" NumericExpression | "<=" NumericExpression | ">=" NumericExpression | "IN" ExpressionList | "NOT" "IN" ExpressionList)?
|
1001
|
+
</td>
|
1002
|
+
</tr>
|
1003
|
+
<tr id='grammar-production-NumericExpression'>
|
1004
|
+
<td>[115]</td>
|
1005
|
+
<td><code>NumericExpression</code></td>
|
1006
|
+
<td>::=</td>
|
1007
|
+
<td>
|
1008
|
+
AdditiveExpression
|
1009
|
+
</td>
|
1010
|
+
</tr>
|
1011
|
+
<tr id='grammar-production-AdditiveExpression'>
|
1012
|
+
<td>[116]</td>
|
1013
|
+
<td><code>AdditiveExpression</code></td>
|
1014
|
+
<td>::=</td>
|
1015
|
+
<td>
|
1016
|
+
MultiplicativeExpression
|
1017
|
+
("+" MultiplicativeExpression | "-" MultiplicativeExpression | (NumericLiteralPositive | NumericLiteralNegative) ("*" UnaryExpression | "/" UnaryExpression)?)*
|
1018
|
+
</td>
|
1019
|
+
</tr>
|
1020
|
+
<tr id='grammar-production-MultiplicativeExpression'>
|
1021
|
+
<td>[117]</td>
|
1022
|
+
<td><code>MultiplicativeExpression</code></td>
|
1023
|
+
<td>::=</td>
|
1024
|
+
<td>
|
1025
|
+
UnaryExpression
|
1026
|
+
("*" UnaryExpression | "/" UnaryExpression)*
|
1027
|
+
</td>
|
1028
|
+
</tr>
|
1029
|
+
<tr id='grammar-production-UnaryExpression'>
|
1030
|
+
<td>[118]</td>
|
1031
|
+
<td><code>UnaryExpression</code></td>
|
1032
|
+
<td>::=</td>
|
1033
|
+
<td>
|
1034
|
+
#x21 PrimaryExpression
|
1035
|
+
| "+" PrimaryExpression
|
1036
|
+
| "-" PrimaryExpression
|
1037
|
+
| PrimaryExpression
|
1038
|
+
</td>
|
1039
|
+
</tr>
|
1040
|
+
<tr id='grammar-production-PrimaryExpression'>
|
1041
|
+
<td>[119]</td>
|
1042
|
+
<td><code>PrimaryExpression</code></td>
|
1043
|
+
<td>::=</td>
|
1044
|
+
<td>
|
1045
|
+
BrackettedExpression
|
1046
|
+
| BuiltInCall
|
1047
|
+
| iriOrFunction
|
1048
|
+
| RDFLiteral
|
1049
|
+
| NumericLiteral
|
1050
|
+
| BooleanLiteral
|
1051
|
+
| Var
|
1052
|
+
</td>
|
1053
|
+
</tr>
|
1054
|
+
<tr id='grammar-production-BrackettedExpression'>
|
1055
|
+
<td>[120]</td>
|
1056
|
+
<td><code>BrackettedExpression</code></td>
|
1057
|
+
<td>::=</td>
|
1058
|
+
<td>
|
1059
|
+
"(" Expression ")"
|
1060
|
+
</td>
|
1061
|
+
</tr>
|
1062
|
+
<tr id='grammar-production-BuiltInCall'>
|
1063
|
+
<td>[121]</td>
|
1064
|
+
<td><code>BuiltInCall</code></td>
|
1065
|
+
<td>::=</td>
|
1066
|
+
<td>
|
1067
|
+
Aggregate
|
1068
|
+
| "STR" "(" Expression ")"
|
1069
|
+
| "LANG" "(" Expression ")"
|
1070
|
+
| "LANGMATCHES" "(" Expression "," Expression ")"
|
1071
|
+
| "DATATYPE" "(" Expression ")"
|
1072
|
+
| "BOUND" "(" Var ")"
|
1073
|
+
| "IRI" "(" Expression ")"
|
1074
|
+
| "URI" "(" Expression ")"
|
1075
|
+
| "BNODE" ("(" Expression ")" | NIL)
|
1076
|
+
| "RAND" NIL
|
1077
|
+
| "ABS" "(" Expression ")"
|
1078
|
+
| "CEIL" "(" Expression ")"
|
1079
|
+
| "FLOOR" "(" Expression ")"
|
1080
|
+
| "ROUND" "(" Expression ")"
|
1081
|
+
| "CONCAT" ExpressionList
|
1082
|
+
| SubstringExpression
|
1083
|
+
| "STRLEN" "(" Expression ")"
|
1084
|
+
| StrReplaceExpression
|
1085
|
+
| "UCASE" "(" Expression ")"
|
1086
|
+
| "LCASE" "(" Expression ")"
|
1087
|
+
| "ENCODE_FOR_URI" "(" Expression ")"
|
1088
|
+
| "CONTAINS" "(" Expression "," Expression ")"
|
1089
|
+
| "STRSTARTS" "(" Expression "," Expression ")"
|
1090
|
+
| "STRENDS" "(" Expression "," Expression ")"
|
1091
|
+
| "STRBEFORE" "(" Expression "," Expression ")"
|
1092
|
+
| "STRAFTER" "(" Expression "," Expression ")"
|
1093
|
+
| "YEAR" "(" Expression ")"
|
1094
|
+
| "MONTH" "(" Expression ")"
|
1095
|
+
| "DAY" "(" Expression ")"
|
1096
|
+
| "HOURS" "(" Expression ")"
|
1097
|
+
| "MINUTES" "(" Expression ")"
|
1098
|
+
| "SECONDS" "(" Expression ")"
|
1099
|
+
| "TIMEZONE" "(" Expression ")"
|
1100
|
+
| "TZ" "(" Expression ")"
|
1101
|
+
| "NOW" NIL
|
1102
|
+
| "UUID" NIL
|
1103
|
+
| "STRUUID" NIL
|
1104
|
+
| "MD5" "(" Expression ")"
|
1105
|
+
| "SHA1" "(" Expression ")"
|
1106
|
+
| "SHA224" "(" Expression ")"
|
1107
|
+
| "SHA256" "(" Expression ")"
|
1108
|
+
| "SHA384" "(" Expression ")"
|
1109
|
+
| "SHA512" "(" Expression ")"
|
1110
|
+
| "COALESCE" ExpressionList
|
1111
|
+
| "IF" "(" Expression "," Expression "," Expression ")"
|
1112
|
+
| "STRLANG" "(" Expression "," Expression ")"
|
1113
|
+
| "STRDT" "(" Expression "," Expression ")"
|
1114
|
+
| "sameTerm" "(" Expression "," Expression ")"
|
1115
|
+
| "isIRI" "(" Expression ")"
|
1116
|
+
| "isURI" "(" Expression ")"
|
1117
|
+
| "isBLANK" "(" Expression ")"
|
1118
|
+
| "isLITERAL" "(" Expression ")"
|
1119
|
+
| "isNUMERIC" "(" Expression ")"
|
1120
|
+
| RegexExpression
|
1121
|
+
| ExistsFunc
|
1122
|
+
| NotExistsFunc
|
1123
|
+
</td>
|
1124
|
+
</tr>
|
1125
|
+
<tr id='grammar-production-RegexExpression'>
|
1126
|
+
<td>[122]</td>
|
1127
|
+
<td><code>RegexExpression</code></td>
|
1128
|
+
<td>::=</td>
|
1129
|
+
<td>
|
1130
|
+
"REGEX"
|
1131
|
+
"("
|
1132
|
+
Expression
|
1133
|
+
","
|
1134
|
+
Expression
|
1135
|
+
("," Expression)?
|
1136
|
+
")"
|
1137
|
+
</td>
|
1138
|
+
</tr>
|
1139
|
+
<tr id='grammar-production-SubstringExpression'>
|
1140
|
+
<td>[123]</td>
|
1141
|
+
<td><code>SubstringExpression</code></td>
|
1142
|
+
<td>::=</td>
|
1143
|
+
<td>
|
1144
|
+
"SUBSTR"
|
1145
|
+
"("
|
1146
|
+
Expression
|
1147
|
+
","
|
1148
|
+
Expression
|
1149
|
+
("," Expression)?
|
1150
|
+
")"
|
1151
|
+
</td>
|
1152
|
+
</tr>
|
1153
|
+
<tr id='grammar-production-StrReplaceExpression'>
|
1154
|
+
<td>[124]</td>
|
1155
|
+
<td><code>StrReplaceExpression</code></td>
|
1156
|
+
<td>::=</td>
|
1157
|
+
<td>
|
1158
|
+
"REPLACE"
|
1159
|
+
"("
|
1160
|
+
Expression
|
1161
|
+
","
|
1162
|
+
Expression
|
1163
|
+
","
|
1164
|
+
Expression
|
1165
|
+
("," Expression)?
|
1166
|
+
")"
|
1167
|
+
</td>
|
1168
|
+
</tr>
|
1169
|
+
<tr id='grammar-production-ExistsFunc'>
|
1170
|
+
<td>[125]</td>
|
1171
|
+
<td><code>ExistsFunc</code></td>
|
1172
|
+
<td>::=</td>
|
1173
|
+
<td>
|
1174
|
+
"EXISTS" GroupGraphPattern
|
1175
|
+
</td>
|
1176
|
+
</tr>
|
1177
|
+
<tr id='grammar-production-NotExistsFunc'>
|
1178
|
+
<td>[126]</td>
|
1179
|
+
<td><code>NotExistsFunc</code></td>
|
1180
|
+
<td>::=</td>
|
1181
|
+
<td>
|
1182
|
+
"NOT" "EXISTS" GroupGraphPattern
|
1183
|
+
</td>
|
1184
|
+
</tr>
|
1185
|
+
<tr id='grammar-production-Aggregate'>
|
1186
|
+
<td>[127]</td>
|
1187
|
+
<td><code>Aggregate</code></td>
|
1188
|
+
<td>::=</td>
|
1189
|
+
<td>
|
1190
|
+
"COUNT" "(" "DISTINCT"? ("*" | Expression) ")"
|
1191
|
+
| "SUM" "(" "DISTINCT"? Expression ")"
|
1192
|
+
| "MIN" "(" "DISTINCT"? Expression ")"
|
1193
|
+
| "MAX" "(" "DISTINCT"? Expression ")"
|
1194
|
+
| "AVG" "(" "DISTINCT"? Expression ")"
|
1195
|
+
| "SAMPLE" "(" "DISTINCT"? Expression ")"
|
1196
|
+
| "GROUP_CONCAT" "(" "DISTINCT"? Expression (";" "SEPARATOR" "=" String)? ")"
|
1197
|
+
</td>
|
1198
|
+
</tr>
|
1199
|
+
<tr id='grammar-production-iriOrFunction'>
|
1200
|
+
<td>[128]</td>
|
1201
|
+
<td><code>iriOrFunction</code></td>
|
1202
|
+
<td>::=</td>
|
1203
|
+
<td>
|
1204
|
+
iri ArgList?
|
1205
|
+
</td>
|
1206
|
+
</tr>
|
1207
|
+
<tr id='grammar-production-RDFLiteral'>
|
1208
|
+
<td>[129]</td>
|
1209
|
+
<td><code>RDFLiteral</code></td>
|
1210
|
+
<td>::=</td>
|
1211
|
+
<td>
|
1212
|
+
String (LANGTAG | "^^" iri)?
|
1213
|
+
</td>
|
1214
|
+
</tr>
|
1215
|
+
<tr id='grammar-production-NumericLiteral'>
|
1216
|
+
<td>[130]</td>
|
1217
|
+
<td><code>NumericLiteral</code></td>
|
1218
|
+
<td>::=</td>
|
1219
|
+
<td>
|
1220
|
+
NumericLiteralUnsigned
|
1221
|
+
| NumericLiteralPositive
|
1222
|
+
| NumericLiteralNegative
|
1223
|
+
</td>
|
1224
|
+
</tr>
|
1225
|
+
<tr id='grammar-production-NumericLiteralUnsigned'>
|
1226
|
+
<td>[131]</td>
|
1227
|
+
<td><code>NumericLiteralUnsigned</code></td>
|
1228
|
+
<td>::=</td>
|
1229
|
+
<td>
|
1230
|
+
INTEGER | DECIMAL | DOUBLE
|
1231
|
+
</td>
|
1232
|
+
</tr>
|
1233
|
+
<tr id='grammar-production-NumericLiteralPositive'>
|
1234
|
+
<td>[132]</td>
|
1235
|
+
<td><code>NumericLiteralPositive</code></td>
|
1236
|
+
<td>::=</td>
|
1237
|
+
<td>
|
1238
|
+
INTEGER_POSITIVE
|
1239
|
+
| DECIMAL_POSITIVE
|
1240
|
+
| DOUBLE_POSITIVE
|
1241
|
+
</td>
|
1242
|
+
</tr>
|
1243
|
+
<tr id='grammar-production-NumericLiteralNegative'>
|
1244
|
+
<td>[133]</td>
|
1245
|
+
<td><code>NumericLiteralNegative</code></td>
|
1246
|
+
<td>::=</td>
|
1247
|
+
<td>
|
1248
|
+
INTEGER_NEGATIVE
|
1249
|
+
| DECIMAL_NEGATIVE
|
1250
|
+
| DOUBLE_NEGATIVE
|
1251
|
+
</td>
|
1252
|
+
</tr>
|
1253
|
+
<tr id='grammar-production-BooleanLiteral'>
|
1254
|
+
<td>[134]</td>
|
1255
|
+
<td><code>BooleanLiteral</code></td>
|
1256
|
+
<td>::=</td>
|
1257
|
+
<td>
|
1258
|
+
"true" | "false"
|
1259
|
+
</td>
|
1260
|
+
</tr>
|
1261
|
+
<tr id='grammar-production-String'>
|
1262
|
+
<td>[135]</td>
|
1263
|
+
<td><code>String</code></td>
|
1264
|
+
<td>::=</td>
|
1265
|
+
<td>
|
1266
|
+
STRING_LITERAL1
|
1267
|
+
| STRING_LITERAL2
|
1268
|
+
| STRING_LITERAL_LONG1
|
1269
|
+
| STRING_LITERAL_LONG2
|
1270
|
+
</td>
|
1271
|
+
</tr>
|
1272
|
+
<tr id='grammar-production-iri'>
|
1273
|
+
<td>[136]</td>
|
1274
|
+
<td><code>iri</code></td>
|
1275
|
+
<td>::=</td>
|
1276
|
+
<td>
|
1277
|
+
IRIREF | PrefixedName
|
1278
|
+
</td>
|
1279
|
+
</tr>
|
1280
|
+
<tr id='grammar-production-PrefixedName'>
|
1281
|
+
<td>[137]</td>
|
1282
|
+
<td><code>PrefixedName</code></td>
|
1283
|
+
<td>::=</td>
|
1284
|
+
<td>
|
1285
|
+
PNAME_LN | PNAME_NS
|
1286
|
+
</td>
|
1287
|
+
</tr>
|
1288
|
+
<tr id='grammar-production-BlankNode'>
|
1289
|
+
<td>[138]</td>
|
1290
|
+
<td><code>BlankNode</code></td>
|
1291
|
+
<td>::=</td>
|
1292
|
+
<td>
|
1293
|
+
BLANK_NODE_LABEL | ANON
|
1294
|
+
</td>
|
1295
|
+
</tr>
|
1296
|
+
<tr id='grammar-production-IRIREF'>
|
1297
|
+
<td>[139]</td>
|
1298
|
+
<td><code>IRIREF</code></td>
|
1299
|
+
<td>::=</td>
|
1300
|
+
<td>
|
1301
|
+
"<"
|
1302
|
+
[^#x00-#x20<>"{}|^`]#x20|#x20UCHAR)*#x20'>']
|
1303
|
+
</td>
|
1304
|
+
</tr>
|
1305
|
+
<tr id='grammar-production-PNAME_NS'>
|
1306
|
+
<td>[140]</td>
|
1307
|
+
<td><code>PNAME_NS</code></td>
|
1308
|
+
<td>::=</td>
|
1309
|
+
<td>
|
1310
|
+
PN_PREFIX? ":"
|
1311
|
+
</td>
|
1312
|
+
</tr>
|
1313
|
+
<tr id='grammar-production-PNAME_LN'>
|
1314
|
+
<td>[141]</td>
|
1315
|
+
<td><code>PNAME_LN</code></td>
|
1316
|
+
<td>::=</td>
|
1317
|
+
<td>
|
1318
|
+
PNAME_NS PN_LOCAL
|
1319
|
+
</td>
|
1320
|
+
</tr>
|
1321
|
+
<tr id='grammar-production-BLANK_NODE_LABEL'>
|
1322
|
+
<td>[142]</td>
|
1323
|
+
<td><code>BLANK_NODE_LABEL</code></td>
|
1324
|
+
<td>::=</td>
|
1325
|
+
<td>
|
1326
|
+
"_:"
|
1327
|
+
(PN_CHARS_U | [0-9])
|
1328
|
+
(PN_CHARS | ".")* PN_CHARS?
|
1329
|
+
</td>
|
1330
|
+
</tr>
|
1331
|
+
<tr id='grammar-production-VAR1'>
|
1332
|
+
<td>[143]</td>
|
1333
|
+
<td><code>VAR1</code></td>
|
1334
|
+
<td>::=</td>
|
1335
|
+
<td>
|
1336
|
+
"?" VARNAME
|
1337
|
+
</td>
|
1338
|
+
</tr>
|
1339
|
+
<tr id='grammar-production-VAR2'>
|
1340
|
+
<td>[144]</td>
|
1341
|
+
<td><code>VAR2</code></td>
|
1342
|
+
<td>::=</td>
|
1343
|
+
<td>
|
1344
|
+
"$" VARNAME
|
1345
|
+
</td>
|
1346
|
+
</tr>
|
1347
|
+
<tr id='grammar-production-LANGTAG'>
|
1348
|
+
<td>[145]</td>
|
1349
|
+
<td><code>LANGTAG</code></td>
|
1350
|
+
<td>::=</td>
|
1351
|
+
<td>
|
1352
|
+
"@" ([a-zA-Z])+ ("-" ([a-zA-Z0-9])+)*
|
1353
|
+
</td>
|
1354
|
+
</tr>
|
1355
|
+
<tr id='grammar-production-INTEGER'>
|
1356
|
+
<td>[146]</td>
|
1357
|
+
<td><code>INTEGER</code></td>
|
1358
|
+
<td>::=</td>
|
1359
|
+
<td>
|
1360
|
+
([0-9])+
|
1361
|
+
</td>
|
1362
|
+
</tr>
|
1363
|
+
<tr id='grammar-production-DECIMAL'>
|
1364
|
+
<td>[147]</td>
|
1365
|
+
<td><code>DECIMAL</code></td>
|
1366
|
+
<td>::=</td>
|
1367
|
+
<td>
|
1368
|
+
([0-9])* "." ([0-9])+
|
1369
|
+
</td>
|
1370
|
+
</tr>
|
1371
|
+
<tr id='grammar-production-DOUBLE'>
|
1372
|
+
<td>[148]</td>
|
1373
|
+
<td><code>DOUBLE</code></td>
|
1374
|
+
<td>::=</td>
|
1375
|
+
<td>
|
1376
|
+
([0-9])+ "." ([0-9])* EXPONENT
|
1377
|
+
| "." ([0-9])+ EXPONENT
|
1378
|
+
| ([0-9])+ EXPONENT
|
1379
|
+
</td>
|
1380
|
+
</tr>
|
1381
|
+
<tr id='grammar-production-INTEGER_POSITIVE'>
|
1382
|
+
<td>[149]</td>
|
1383
|
+
<td><code>INTEGER_POSITIVE</code></td>
|
1384
|
+
<td>::=</td>
|
1385
|
+
<td>
|
1386
|
+
"+" INTEGER
|
1387
|
+
</td>
|
1388
|
+
</tr>
|
1389
|
+
<tr id='grammar-production-DECIMAL_POSITIVE'>
|
1390
|
+
<td>[150]</td>
|
1391
|
+
<td><code>DECIMAL_POSITIVE</code></td>
|
1392
|
+
<td>::=</td>
|
1393
|
+
<td>
|
1394
|
+
"+" DECIMAL
|
1395
|
+
</td>
|
1396
|
+
</tr>
|
1397
|
+
<tr id='grammar-production-DOUBLE_POSITIVE'>
|
1398
|
+
<td>[151]</td>
|
1399
|
+
<td><code>DOUBLE_POSITIVE</code></td>
|
1400
|
+
<td>::=</td>
|
1401
|
+
<td>
|
1402
|
+
"+" DOUBLE
|
1403
|
+
</td>
|
1404
|
+
</tr>
|
1405
|
+
<tr id='grammar-production-INTEGER_NEGATIVE'>
|
1406
|
+
<td>[152]</td>
|
1407
|
+
<td><code>INTEGER_NEGATIVE</code></td>
|
1408
|
+
<td>::=</td>
|
1409
|
+
<td>
|
1410
|
+
"-" INTEGER
|
1411
|
+
</td>
|
1412
|
+
</tr>
|
1413
|
+
<tr id='grammar-production-DECIMAL_NEGATIVE'>
|
1414
|
+
<td>[153]</td>
|
1415
|
+
<td><code>DECIMAL_NEGATIVE</code></td>
|
1416
|
+
<td>::=</td>
|
1417
|
+
<td>
|
1418
|
+
"-" DECIMAL
|
1419
|
+
</td>
|
1420
|
+
</tr>
|
1421
|
+
<tr id='grammar-production-DOUBLE_NEGATIVE'>
|
1422
|
+
<td>[154]</td>
|
1423
|
+
<td><code>DOUBLE_NEGATIVE</code></td>
|
1424
|
+
<td>::=</td>
|
1425
|
+
<td>
|
1426
|
+
"-" DOUBLE
|
1427
|
+
</td>
|
1428
|
+
</tr>
|
1429
|
+
<tr id='grammar-production-EXPONENT'>
|
1430
|
+
<td>[155]</td>
|
1431
|
+
<td><code>EXPONENT</code></td>
|
1432
|
+
<td>::=</td>
|
1433
|
+
<td>
|
1434
|
+
[eE] ([+-])? ([0-9])+
|
1435
|
+
</td>
|
1436
|
+
</tr>
|
1437
|
+
<tr id='grammar-production-STRING_LITERAL1'>
|
1438
|
+
<td>[156]</td>
|
1439
|
+
<td><code>STRING_LITERAL1</code></td>
|
1440
|
+
<td>::=</td>
|
1441
|
+
<td>
|
1442
|
+
"'" ([^#x27#x5C#xA#xD] | ECHAR)* "'"
|
1443
|
+
</td>
|
1444
|
+
</tr>
|
1445
|
+
<tr id='grammar-production-STRING_LITERAL2'>
|
1446
|
+
<td>[157]</td>
|
1447
|
+
<td><code>STRING_LITERAL2</code></td>
|
1448
|
+
<td>::=</td>
|
1449
|
+
<td>
|
1450
|
+
'"' ([^#x22#x5C#xA#xD] | ECHAR)* '"'
|
1451
|
+
</td>
|
1452
|
+
</tr>
|
1453
|
+
<tr id='grammar-production-STRING_LITERAL_LONG1'>
|
1454
|
+
<td>[158]</td>
|
1455
|
+
<td><code>STRING_LITERAL_LONG1</code></td>
|
1456
|
+
<td>::=</td>
|
1457
|
+
<td>
|
1458
|
+
"'''"
|
1459
|
+
(("'" | "''")? [^']#x20|#x20ECHAR#x20)#x20)*#x20"'''"])
|
1460
|
+
</td>
|
1461
|
+
</tr>
|
1462
|
+
<tr id='grammar-production-STRING_LITERAL_LONG2'>
|
1463
|
+
<td>[159]</td>
|
1464
|
+
<td><code>STRING_LITERAL_LONG2</code></td>
|
1465
|
+
<td>::=</td>
|
1466
|
+
<td>
|
1467
|
+
'"""'
|
1468
|
+
(('"' | '""')? [^"]#x20|#x20ECHAR#x20)#x20)*#x20'"""'])
|
1469
|
+
</td>
|
1470
|
+
</tr>
|
1471
|
+
<tr id='grammar-production-ECHAR'>
|
1472
|
+
<td>[160]</td>
|
1473
|
+
<td><code>ECHAR</code></td>
|
1474
|
+
<td>::=</td>
|
1475
|
+
<td>
|
1476
|
+
"\" [tbnrf"']
|
1477
|
+
</td>
|
1478
|
+
</tr>
|
1479
|
+
<tr id='grammar-production-NIL'>
|
1480
|
+
<td>[161]</td>
|
1481
|
+
<td><code>NIL</code></td>
|
1482
|
+
<td>::=</td>
|
1483
|
+
<td>
|
1484
|
+
"(" WS* ")"
|
1485
|
+
</td>
|
1486
|
+
</tr>
|
1487
|
+
<tr id='grammar-production-WS'>
|
1488
|
+
<td>[162]</td>
|
1489
|
+
<td><code>WS</code></td>
|
1490
|
+
<td>::=</td>
|
1491
|
+
<td>
|
1492
|
+
#x20 | #x9 | #xD | #xA
|
1493
|
+
</td>
|
1494
|
+
</tr>
|
1495
|
+
<tr id='grammar-production-ANON'>
|
1496
|
+
<td>[163]</td>
|
1497
|
+
<td><code>ANON</code></td>
|
1498
|
+
<td>::=</td>
|
1499
|
+
<td>
|
1500
|
+
"[" WS* "]"
|
1501
|
+
</td>
|
1502
|
+
</tr>
|
1503
|
+
<tr id='grammar-production-PN_CHARS_BASE'>
|
1504
|
+
<td>[164]</td>
|
1505
|
+
<td><code>PN_CHARS_BASE</code></td>
|
1506
|
+
<td>::=</td>
|
1507
|
+
<td>
|
1508
|
+
[A-Z]
|
1509
|
+
| [a-z]
|
1510
|
+
| [#x00C0-#x00D6]
|
1511
|
+
| [#x00D8-#x00F6]
|
1512
|
+
| [#x00F8-#x02FF]
|
1513
|
+
| [#x0370-#x037D]
|
1514
|
+
| [#x037F-#x1FFF]
|
1515
|
+
| [#x200C-#x200D]
|
1516
|
+
| [#x2070-#x218F]
|
1517
|
+
| [#x2C00-#x2FEF]
|
1518
|
+
| [#x3001-#xD7FF]
|
1519
|
+
| [#xF900-#xFDCF]
|
1520
|
+
| [#xFDF0-#xFFFD]
|
1521
|
+
| [#x10000-#xEFFFF]
|
1522
|
+
</td>
|
1523
|
+
</tr>
|
1524
|
+
<tr id='grammar-production-PN_CHARS_U'>
|
1525
|
+
<td>[165]</td>
|
1526
|
+
<td><code>PN_CHARS_U</code></td>
|
1527
|
+
<td>::=</td>
|
1528
|
+
<td>
|
1529
|
+
PN_CHARS_BASE | "_"
|
1530
|
+
</td>
|
1531
|
+
</tr>
|
1532
|
+
<tr id='grammar-production-VARNAME'>
|
1533
|
+
<td>[166]</td>
|
1534
|
+
<td><code>VARNAME</code></td>
|
1535
|
+
<td>::=</td>
|
1536
|
+
<td>
|
1537
|
+
(PN_CHARS_U | [0-9])
|
1538
|
+
(PN_CHARS_U | [0-9] | #x00B7 | [#x0300-#x036F] | [#x203F-#x2040])*
|
1539
|
+
</td>
|
1540
|
+
</tr>
|
1541
|
+
<tr id='grammar-production-PN_CHARS'>
|
1542
|
+
<td>[167]</td>
|
1543
|
+
<td><code>PN_CHARS</code></td>
|
1544
|
+
<td>::=</td>
|
1545
|
+
<td>
|
1546
|
+
PN_CHARS_U
|
1547
|
+
| "-"
|
1548
|
+
| [0-9]
|
1549
|
+
| #x00B7
|
1550
|
+
| [#x0300-#x036F]
|
1551
|
+
| [#x203F-#x2040]
|
1552
|
+
</td>
|
1553
|
+
</tr>
|
1554
|
+
<tr id='grammar-production-PN_PREFIX'>
|
1555
|
+
<td>[168]</td>
|
1556
|
+
<td><code>PN_PREFIX</code></td>
|
1557
|
+
<td>::=</td>
|
1558
|
+
<td>
|
1559
|
+
PN_CHARS_BASE (PN_CHARS | ".")* PN_CHARS?
|
1560
|
+
</td>
|
1561
|
+
</tr>
|
1562
|
+
<tr id='grammar-production-PN_LOCAL'>
|
1563
|
+
<td>[169]</td>
|
1564
|
+
<td><code>PN_LOCAL</code></td>
|
1565
|
+
<td>::=</td>
|
1566
|
+
<td>
|
1567
|
+
(PN_CHARS_U | [0-9])
|
1568
|
+
(PN_CHARS | ".")* PN_CHARS?
|
1569
|
+
</td>
|
1570
|
+
</tr>
|
1571
|
+
<tr id='grammar-production-PLX'>
|
1572
|
+
<td>[170]</td>
|
1573
|
+
<td><code>PLX</code></td>
|
1574
|
+
<td>::=</td>
|
1575
|
+
<td>
|
1576
|
+
PERCENT | PN_LOCAL_ESC
|
1577
|
+
</td>
|
1578
|
+
</tr>
|
1579
|
+
<tr id='grammar-production-PERCENT'>
|
1580
|
+
<td>[171]</td>
|
1581
|
+
<td><code>PERCENT</code></td>
|
1582
|
+
<td>::=</td>
|
1583
|
+
<td>
|
1584
|
+
"%" HEX HEX
|
1585
|
+
</td>
|
1586
|
+
</tr>
|
1587
|
+
<tr id='grammar-production-HEX'>
|
1588
|
+
<td>[172]</td>
|
1589
|
+
<td><code>HEX</code></td>
|
1590
|
+
<td>::=</td>
|
1591
|
+
<td>
|
1592
|
+
[0-9] | [A-F] | [a-f]
|
1593
|
+
</td>
|
1594
|
+
</tr>
|
1595
|
+
<tr id='grammar-production-PN_LOCAL_ESC'>
|
1596
|
+
<td>[173]</td>
|
1597
|
+
<td><code>PN_LOCAL_ESC</code></td>
|
1598
|
+
<td>::=</td>
|
1599
|
+
<td>
|
1600
|
+
"\"
|
1601
|
+
("_" | "~" | "." | "-" | #x21 | "$" | "&" | "'" | "(" | ")" | "*" | "+" | "," | ";" | "=" | "/" | "?" | "#" | "@" | "%")
|
1602
|
+
</td>
|
1603
|
+
</tr>
|
1604
|
+
</tbody>
|
1753
1605
|
</table>
|