ebnf 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/etc/turtle.ll1 CHANGED
@@ -1,275 +1,27 @@
1
- ((rule
2
- _empty
3
- "0"
4
- (first _eps)
5
- (follow
6
- "("
7
- ")"
8
- ","
9
- "."
10
- ";"
11
- ANON
12
- BLANK_NODE_LABEL
13
- DECIMAL
14
- DOUBLE
15
- INTEGER
16
- IRIREF
17
- PNAME_LN
18
- PNAME_NS
19
- STRING_LITERAL_LONG_QUOTE
20
- STRING_LITERAL_LONG_SINGLE_QUOTE
21
- STRING_LITERAL_QUOTE
22
- STRING_LITERAL_SINGLE_QUOTE
23
- "["
24
- "]"
25
- _eof
26
- "false"
27
- "true"
28
- )
29
- (seq)
30
- )
31
- (rule
32
- turtleDoc
33
- "1"
34
- (start #t)
35
- (first
36
- "("
37
- "@base"
38
- "@prefix"
39
- ANON
40
- BLANK_NODE_LABEL
41
- IRIREF
42
- PNAME_LN
43
- PNAME_NS
44
- SPARQL_BASE
45
- SPARQL_PREFIX
46
- "["
47
- _eps
48
- )
49
- (follow _eof)
50
- (alt _empty _turtleDoc_1)
51
- )
52
- (rule
53
- _turtleDoc_1
54
- "1.1"
55
- (first
56
- "("
57
- "@base"
58
- "@prefix"
59
- ANON
60
- BLANK_NODE_LABEL
61
- IRIREF
62
- PNAME_LN
63
- PNAME_NS
64
- SPARQL_BASE
65
- SPARQL_PREFIX
66
- "["
67
- )
68
- (follow _eof)
69
- (seq statement turtleDoc)
70
- )
71
- (rule
72
- _turtleDoc_2
73
- "1.2"
74
- (first
75
- "("
76
- "@base"
77
- "@prefix"
78
- ANON
79
- BLANK_NODE_LABEL
80
- IRIREF
81
- PNAME_LN
82
- PNAME_NS
83
- SPARQL_BASE
84
- SPARQL_PREFIX
85
- "["
86
- _eps
87
- )
88
- (follow _eof)
89
- (seq turtleDoc)
90
- )
91
- (rule
92
- statement
93
- "2"
94
- (first
95
- "("
96
- "@base"
97
- "@prefix"
98
- ANON
99
- BLANK_NODE_LABEL
100
- IRIREF
101
- PNAME_LN
102
- PNAME_NS
103
- SPARQL_BASE
104
- SPARQL_PREFIX
105
- "["
106
- )
107
- (follow
108
- "("
109
- "@base"
110
- "@prefix"
111
- ANON
112
- BLANK_NODE_LABEL
113
- IRIREF
114
- PNAME_LN
115
- PNAME_NS
116
- SPARQL_BASE
117
- SPARQL_PREFIX
118
- "["
119
- )
120
- (alt directive _statement_1)
121
- )
122
- (rule
123
- _statement_1
124
- "2.1"
125
- (first
126
- "("
127
- ANON
128
- BLANK_NODE_LABEL
129
- IRIREF
130
- PNAME_LN
131
- PNAME_NS
132
- "["
133
- )
134
- (follow
135
- "("
136
- "@base"
137
- "@prefix"
138
- ANON
139
- BLANK_NODE_LABEL
140
- IRIREF
141
- PNAME_LN
142
- PNAME_NS
143
- SPARQL_BASE
144
- SPARQL_PREFIX
145
- "["
146
- )
147
- (seq triples ".")
148
- )
149
- (rule
150
- _statement_2
151
- "2.2"
152
- (first ".")
153
- (follow
154
- "("
155
- "@base"
156
- "@prefix"
157
- ANON
158
- BLANK_NODE_LABEL
159
- IRIREF
160
- PNAME_LN
161
- PNAME_NS
162
- SPARQL_BASE
163
- SPARQL_PREFIX
164
- "["
165
- )
166
- (seq ".")
167
- )
168
- (rule
169
- directive
170
- "3"
171
- (first
172
- "@base"
173
- "@prefix"
174
- SPARQL_BASE
175
- SPARQL_PREFIX
176
- )
177
- (follow
178
- "("
179
- "@base"
180
- "@prefix"
181
- ANON
182
- BLANK_NODE_LABEL
183
- IRIREF
184
- PNAME_LN
185
- PNAME_NS
186
- SPARQL_BASE
187
- SPARQL_PREFIX
188
- "["
189
- )
190
- (alt
191
- prefixID
192
- base
193
- sparqlPrefix
194
- sparqlBase
195
- )
196
- )
197
- (rule
198
- prefixID
199
- "4"
200
- (first "@prefix")
201
- (follow
202
- "("
203
- "@base"
204
- "@prefix"
205
- ANON
206
- BLANK_NODE_LABEL
207
- IRIREF
208
- PNAME_LN
209
- PNAME_NS
210
- SPARQL_BASE
211
- SPARQL_PREFIX
212
- "["
213
- )
214
- (seq "@prefix" PNAME_NS IRIREF ".")
215
- )
216
- (rule
217
- _prefixID_1
218
- "4.1"
219
- (first PNAME_NS)
220
- (follow
221
- "("
222
- "@base"
223
- "@prefix"
224
- ANON
225
- BLANK_NODE_LABEL
226
- IRIREF
227
- PNAME_LN
228
- PNAME_NS
229
- SPARQL_BASE
230
- SPARQL_PREFIX
231
- "["
232
- )
233
- (seq PNAME_NS IRIREF ".")
234
- )
235
- (rule
236
- base
237
- "5"
238
- (first "@base")
239
- (follow
240
- "("
241
- "@base"
242
- "@prefix"
243
- ANON
244
- BLANK_NODE_LABEL
245
- IRIREF
246
- PNAME_LN
247
- PNAME_NS
248
- SPARQL_BASE
249
- SPARQL_PREFIX
250
- "["
251
- )
252
- (seq "@base" IRIREF ".")
253
- )
254
- (rule
255
- _base_1
256
- "5.1"
257
- (first IRIREF)
258
- (follow
259
- "("
260
- "@base"
261
- "@prefix"
262
- ANON
263
- BLANK_NODE_LABEL
264
- IRIREF
265
- PNAME_LN
266
- PNAME_NS
267
- SPARQL_BASE
268
- SPARQL_PREFIX
269
- "["
270
- )
271
- (seq IRIREF ".")
272
- )
1
+ ((rule _empty "0" (first _eps) (follow ")" "." "]" _eof) (seq) )
2
+ (rule turtleDoc "1" (start #t)
3
+ (first "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS SPARQL_BASE SPARQL_PREFIX "[" _eps )
4
+ (follow _eof)
5
+ (alt _empty _turtleDoc_1))
6
+ (rule _turtleDoc_1 "1.1"
7
+ (first "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS SPARQL_BASE SPARQL_PREFIX "[" )
8
+ (follow _eof)
9
+ (seq statement turtleDoc))
10
+ (rule _turtleDoc_2 "1.2" (follow _eof) (seq turtleDoc) )
11
+ (rule statement "2"
12
+ (first "(" "@base" "@prefix" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS SPARQL_BASE SPARQL_PREFIX "[" )
13
+ (alt directive _statement_1))
14
+ (rule _statement_1 "2.1"
15
+ (first "(" ANON BLANK_NODE_LABEL IRIREF PNAME_LN PNAME_NS "[" )
16
+ (seq triples "."))
17
+ (rule _statement_2 "2.2" (first ".") (seq ".") )
18
+ (rule directive "3"
19
+ (first "@base" "@prefix" SPARQL_BASE SPARQL_PREFIX )
20
+ (alt prefixID base sparqlPrefix sparqlBase ))
21
+ (rule prefixID "4" (first "@prefix") (seq "@prefix" PNAME_NS IRIREF ".") )
22
+ (rule _prefixID_1 "4.1" (first PNAME_NS) (seq PNAME_NS IRIREF ".") )
23
+ (rule base "5" (first "@base") (seq "@base" IRIREF ".") )
24
+ (rule _base_1 "5.1" (first IRIREF) (seq IRIREF ".") )
273
25
  (rule
274
26
  triples
275
27
  "6"
@@ -323,7 +75,6 @@
323
75
  (rule
324
76
  _triples_5
325
77
  "6.5"
326
- (first IRIREF PNAME_LN PNAME_NS _eps "a")
327
78
  (follow ".")
328
79
  (seq _triples_3)
329
80
  )
@@ -349,7 +100,6 @@
349
100
  _predicateObjectList_2
350
101
  "7.2"
351
102
  (first ";")
352
- (follow ";")
353
103
  (seq ";" _predicateObjectList_4)
354
104
  )
355
105
  (rule
@@ -366,14 +116,12 @@
366
116
  _predicateObjectList_4
367
117
  "7.4"
368
118
  (first IRIREF PNAME_LN PNAME_NS _eps "a")
369
- (follow ";")
370
119
  (alt _empty _predicateObjectList_5)
371
120
  )
372
121
  (rule
373
122
  _predicateObjectList_5
374
123
  "7.5"
375
124
  (first IRIREF PNAME_LN PNAME_NS "a")
376
- (follow ";")
377
125
  (seq verb objectList)
378
126
  )
379
127
  (rule
@@ -403,15 +151,12 @@
403
151
  (rule
404
152
  _predicateObjectList_7
405
153
  "7.7"
406
- (first ";" _eps)
407
154
  (follow "." "]")
408
155
  (seq _predicateObjectList_1)
409
156
  )
410
157
  (rule
411
158
  _predicateObjectList_8
412
159
  "7.8"
413
- (first IRIREF PNAME_LN PNAME_NS _eps "a")
414
- (follow ";")
415
160
  (seq _predicateObjectList_4)
416
161
  )
417
162
  (rule
@@ -435,7 +180,6 @@
435
180
  "false"
436
181
  "true"
437
182
  )
438
- (follow ";")
439
183
  (seq objectList)
440
184
  )
441
185
  (rule
@@ -459,42 +203,34 @@
459
203
  "false"
460
204
  "true"
461
205
  )
462
- (follow ";")
463
206
  (seq object _objectList_1)
464
207
  )
465
208
  (rule
466
209
  _objectList_1
467
210
  "8.1"
468
211
  (first "," _eps)
469
- (follow ";")
470
212
  (alt _empty _objectList_3)
471
213
  )
472
214
  (rule
473
215
  _objectList_2
474
216
  "8.2"
475
217
  (first ",")
476
- (follow ",")
477
218
  (seq "," object)
478
219
  )
479
220
  (rule
480
221
  _objectList_3
481
222
  "8.3"
482
223
  (first ",")
483
- (follow ";")
484
224
  (seq _objectList_2 _objectList_1)
485
225
  )
486
226
  (rule
487
227
  _objectList_4
488
228
  "8.4"
489
- (first "," _eps)
490
- (follow ";")
491
229
  (seq _objectList_1)
492
230
  )
493
231
  (rule
494
232
  _objectList_5
495
233
  "8.5"
496
- (first "," _eps)
497
- (follow ";")
498
234
  (seq _objectList_1)
499
235
  )
500
236
  (rule
@@ -518,7 +254,6 @@
518
254
  "false"
519
255
  "true"
520
256
  )
521
- (follow ",")
522
257
  (seq object)
523
258
  )
524
259
  (rule
@@ -604,25 +339,6 @@
604
339
  "false"
605
340
  "true"
606
341
  )
607
- (follow
608
- "("
609
- ","
610
- ANON
611
- BLANK_NODE_LABEL
612
- DECIMAL
613
- DOUBLE
614
- INTEGER
615
- IRIREF
616
- PNAME_LN
617
- PNAME_NS
618
- STRING_LITERAL_LONG_QUOTE
619
- STRING_LITERAL_LONG_SINGLE_QUOTE
620
- STRING_LITERAL_QUOTE
621
- STRING_LITERAL_SINGLE_QUOTE
622
- "["
623
- "false"
624
- "true"
625
- )
626
342
  (alt
627
343
  iri
628
344
  BlankNode
@@ -645,25 +361,6 @@
645
361
  "false"
646
362
  "true"
647
363
  )
648
- (follow
649
- "("
650
- ","
651
- ANON
652
- BLANK_NODE_LABEL
653
- DECIMAL
654
- DOUBLE
655
- INTEGER
656
- IRIREF
657
- PNAME_LN
658
- PNAME_NS
659
- STRING_LITERAL_LONG_QUOTE
660
- STRING_LITERAL_LONG_SINGLE_QUOTE
661
- STRING_LITERAL_QUOTE
662
- STRING_LITERAL_SINGLE_QUOTE
663
- "["
664
- "false"
665
- "true"
666
- )
667
364
  (alt
668
365
  RDFLiteral
669
366
  NumericLiteral
@@ -674,9 +371,32 @@
674
371
  blankNodePropertyList
675
372
  "14"
676
373
  (first "[")
677
- (follow
374
+ (seq "[" predicateObjectList "]")
375
+ )
376
+ (rule
377
+ _blankNodePropertyList_1
378
+ "14.1"
379
+ (first IRIREF PNAME_LN PNAME_NS "a")
380
+ (seq predicateObjectList "]")
381
+ )
382
+ (rule
383
+ _blankNodePropertyList_2
384
+ "14.2"
385
+ (first "]")
386
+ (seq "]")
387
+ )
388
+ (rule
389
+ collection
390
+ "15"
391
+ (first "(")
392
+ (follow IRIREF PNAME_LN PNAME_NS "a")
393
+ (seq "(" _collection_1 ")")
394
+ )
395
+ (rule
396
+ _collection_1
397
+ "15.1"
398
+ (first
678
399
  "("
679
- ","
680
400
  ANON
681
401
  BLANK_NODE_LABEL
682
402
  DECIMAL
@@ -690,19 +410,18 @@
690
410
  STRING_LITERAL_QUOTE
691
411
  STRING_LITERAL_SINGLE_QUOTE
692
412
  "["
693
- "a"
413
+ _eps
694
414
  "false"
695
415
  "true"
696
416
  )
697
- (seq "[" predicateObjectList "]")
417
+ (follow ")")
418
+ (alt _empty _collection_2)
698
419
  )
699
420
  (rule
700
- _blankNodePropertyList_1
701
- "14.1"
702
- (first IRIREF PNAME_LN PNAME_NS "a")
703
- (follow
421
+ _collection_2
422
+ "15.2"
423
+ (first
704
424
  "("
705
- ","
706
425
  ANON
707
426
  BLANK_NODE_LABEL
708
427
  DECIMAL
@@ -716,179 +435,22 @@
716
435
  STRING_LITERAL_QUOTE
717
436
  STRING_LITERAL_SINGLE_QUOTE
718
437
  "["
719
- "a"
720
438
  "false"
721
439
  "true"
722
440
  )
723
- (seq predicateObjectList "]")
724
- )
725
- (rule
726
- _blankNodePropertyList_2
727
- "14.2"
728
- (first "]")
729
- (follow
730
- "("
731
- ","
732
- ANON
733
- BLANK_NODE_LABEL
734
- DECIMAL
735
- DOUBLE
736
- INTEGER
737
- IRIREF
738
- PNAME_LN
739
- PNAME_NS
740
- STRING_LITERAL_LONG_QUOTE
741
- STRING_LITERAL_LONG_SINGLE_QUOTE
742
- STRING_LITERAL_QUOTE
743
- STRING_LITERAL_SINGLE_QUOTE
744
- "["
745
- "a"
746
- "false"
747
- "true"
748
- )
749
- (seq "]")
750
- )
751
- (rule
752
- collection
753
- "15"
754
- (first "(")
755
- (follow
756
- "("
757
- ","
758
- ANON
759
- BLANK_NODE_LABEL
760
- DECIMAL
761
- DOUBLE
762
- INTEGER
763
- IRIREF
764
- PNAME_LN
765
- PNAME_NS
766
- STRING_LITERAL_LONG_QUOTE
767
- STRING_LITERAL_LONG_SINGLE_QUOTE
768
- STRING_LITERAL_QUOTE
769
- STRING_LITERAL_SINGLE_QUOTE
770
- "["
771
- "a"
772
- "false"
773
- "true"
774
- )
775
- (seq "(" _collection_1 ")")
776
- )
777
- (rule
778
- _collection_1
779
- "15.1"
780
- (first
781
- "("
782
- ANON
783
- BLANK_NODE_LABEL
784
- DECIMAL
785
- DOUBLE
786
- INTEGER
787
- IRIREF
788
- PNAME_LN
789
- PNAME_NS
790
- STRING_LITERAL_LONG_QUOTE
791
- STRING_LITERAL_LONG_SINGLE_QUOTE
792
- STRING_LITERAL_QUOTE
793
- STRING_LITERAL_SINGLE_QUOTE
794
- "["
795
- _eps
796
- "false"
797
- "true"
798
- )
799
- (follow ")")
800
- (alt _empty _collection_2)
801
- )
802
- (rule
803
- _collection_2
804
- "15.2"
805
- (first
806
- "("
807
- ANON
808
- BLANK_NODE_LABEL
809
- DECIMAL
810
- DOUBLE
811
- INTEGER
812
- IRIREF
813
- PNAME_LN
814
- PNAME_NS
815
- STRING_LITERAL_LONG_QUOTE
816
- STRING_LITERAL_LONG_SINGLE_QUOTE
817
- STRING_LITERAL_QUOTE
818
- STRING_LITERAL_SINGLE_QUOTE
819
- "["
820
- "false"
821
- "true"
822
- )
823
- (follow ")")
824
- (seq object _collection_1)
441
+ (follow ")")
442
+ (seq object _collection_1)
825
443
  )
826
444
  (rule
827
445
  _collection_3
828
446
  "15.3"
829
- (first
830
- "("
831
- ANON
832
- BLANK_NODE_LABEL
833
- DECIMAL
834
- DOUBLE
835
- INTEGER
836
- IRIREF
837
- PNAME_LN
838
- PNAME_NS
839
- STRING_LITERAL_LONG_QUOTE
840
- STRING_LITERAL_LONG_SINGLE_QUOTE
841
- STRING_LITERAL_QUOTE
842
- STRING_LITERAL_SINGLE_QUOTE
843
- "["
844
- _eps
845
- "false"
846
- "true"
847
- )
848
- (follow
849
- "("
850
- ","
851
- ANON
852
- BLANK_NODE_LABEL
853
- DECIMAL
854
- DOUBLE
855
- INTEGER
856
- IRIREF
857
- PNAME_LN
858
- PNAME_NS
859
- STRING_LITERAL_LONG_QUOTE
860
- STRING_LITERAL_LONG_SINGLE_QUOTE
861
- STRING_LITERAL_QUOTE
862
- STRING_LITERAL_SINGLE_QUOTE
863
- "["
864
- "a"
865
- "false"
866
- "true"
867
- )
447
+ (first ")")
448
+ (follow IRIREF PNAME_LN PNAME_NS "a")
868
449
  (seq _collection_1 ")")
869
450
  )
870
451
  (rule
871
452
  _collection_4
872
453
  "15.4"
873
- (first
874
- "("
875
- ANON
876
- BLANK_NODE_LABEL
877
- DECIMAL
878
- DOUBLE
879
- INTEGER
880
- IRIREF
881
- PNAME_LN
882
- PNAME_NS
883
- STRING_LITERAL_LONG_QUOTE
884
- STRING_LITERAL_LONG_SINGLE_QUOTE
885
- STRING_LITERAL_QUOTE
886
- STRING_LITERAL_SINGLE_QUOTE
887
- "["
888
- _eps
889
- "false"
890
- "true"
891
- )
892
454
  (follow ")")
893
455
  (seq _collection_1)
894
456
  )
@@ -896,51 +458,13 @@
896
458
  _collection_5
897
459
  "15.5"
898
460
  (first ")")
899
- (follow
900
- "("
901
- ","
902
- ANON
903
- BLANK_NODE_LABEL
904
- DECIMAL
905
- DOUBLE
906
- INTEGER
907
- IRIREF
908
- PNAME_LN
909
- PNAME_NS
910
- STRING_LITERAL_LONG_QUOTE
911
- STRING_LITERAL_LONG_SINGLE_QUOTE
912
- STRING_LITERAL_QUOTE
913
- STRING_LITERAL_SINGLE_QUOTE
914
- "["
915
- "a"
916
- "false"
917
- "true"
918
- )
461
+ (follow IRIREF PNAME_LN PNAME_NS "a")
919
462
  (seq ")")
920
463
  )
921
464
  (rule
922
465
  NumericLiteral
923
466
  "16"
924
467
  (first DECIMAL DOUBLE INTEGER)
925
- (follow
926
- "("
927
- ","
928
- ANON
929
- BLANK_NODE_LABEL
930
- DECIMAL
931
- DOUBLE
932
- INTEGER
933
- IRIREF
934
- PNAME_LN
935
- PNAME_NS
936
- STRING_LITERAL_LONG_QUOTE
937
- STRING_LITERAL_LONG_SINGLE_QUOTE
938
- STRING_LITERAL_QUOTE
939
- STRING_LITERAL_SINGLE_QUOTE
940
- "["
941
- "false"
942
- "true"
943
- )
944
468
  (alt INTEGER DECIMAL DOUBLE)
945
469
  )
946
470
  (rule
@@ -952,14 +476,6 @@
952
476
  STRING_LITERAL_QUOTE
953
477
  STRING_LITERAL_SINGLE_QUOTE
954
478
  )
955
- (follow
956
- LANGTAG
957
- STRING_LITERAL_LONG_QUOTE
958
- STRING_LITERAL_LONG_SINGLE_QUOTE
959
- STRING_LITERAL_QUOTE
960
- STRING_LITERAL_SINGLE_QUOTE
961
- "^^"
962
- )
963
479
  (alt
964
480
  STRING_LITERAL_QUOTE
965
481
  STRING_LITERAL_SINGLE_QUOTE
@@ -1084,38 +600,12 @@
1084
600
  sparqlPrefix
1085
601
  "28s"
1086
602
  (first SPARQL_PREFIX)
1087
- (follow
1088
- "("
1089
- "@base"
1090
- "@prefix"
1091
- ANON
1092
- BLANK_NODE_LABEL
1093
- IRIREF
1094
- PNAME_LN
1095
- PNAME_NS
1096
- SPARQL_BASE
1097
- SPARQL_PREFIX
1098
- "["
1099
- )
1100
603
  (seq SPARQL_PREFIX PNAME_NS IRIREF)
1101
604
  )
1102
605
  (rule
1103
606
  _sparqlPrefix_1
1104
607
  "28s.1"
1105
608
  (first PNAME_NS)
1106
- (follow
1107
- "("
1108
- "@base"
1109
- "@prefix"
1110
- ANON
1111
- BLANK_NODE_LABEL
1112
- IRIREF
1113
- PNAME_LN
1114
- PNAME_NS
1115
- SPARQL_BASE
1116
- SPARQL_PREFIX
1117
- "["
1118
- )
1119
609
  (seq PNAME_NS IRIREF)
1120
610
  )
1121
611
  (terminal
@@ -1134,38 +624,12 @@
1134
624
  sparqlBase
1135
625
  "29s"
1136
626
  (first SPARQL_BASE)
1137
- (follow
1138
- "("
1139
- "@base"
1140
- "@prefix"
1141
- ANON
1142
- BLANK_NODE_LABEL
1143
- IRIREF
1144
- PNAME_LN
1145
- PNAME_NS
1146
- SPARQL_BASE
1147
- SPARQL_PREFIX
1148
- "["
1149
- )
1150
627
  (seq SPARQL_BASE IRIREF)
1151
628
  )
1152
629
  (rule
1153
630
  _sparqlBase_1
1154
631
  "29s.1"
1155
632
  (first IRIREF)
1156
- (follow
1157
- "("
1158
- "@base"
1159
- "@prefix"
1160
- ANON
1161
- BLANK_NODE_LABEL
1162
- IRIREF
1163
- PNAME_LN
1164
- PNAME_NS
1165
- SPARQL_BASE
1166
- SPARQL_PREFIX
1167
- "["
1168
- )
1169
633
  (seq IRIREF)
1170
634
  )
1171
635
  (terminal
@@ -1187,150 +651,35 @@
1187
651
  STRING_LITERAL_QUOTE
1188
652
  STRING_LITERAL_SINGLE_QUOTE
1189
653
  )
1190
- (follow
1191
- "("
1192
- ","
1193
- ANON
1194
- BLANK_NODE_LABEL
1195
- DECIMAL
1196
- DOUBLE
1197
- INTEGER
1198
- IRIREF
1199
- PNAME_LN
1200
- PNAME_NS
1201
- STRING_LITERAL_LONG_QUOTE
1202
- STRING_LITERAL_LONG_SINGLE_QUOTE
1203
- STRING_LITERAL_QUOTE
1204
- STRING_LITERAL_SINGLE_QUOTE
1205
- "["
1206
- "false"
1207
- "true"
1208
- )
1209
654
  (seq String _RDFLiteral_1)
1210
655
  )
1211
656
  (rule
1212
657
  _RDFLiteral_1
1213
658
  "128s.1"
1214
659
  (first LANGTAG "^^" _eps)
1215
- (follow
1216
- "("
1217
- ","
1218
- ANON
1219
- BLANK_NODE_LABEL
1220
- DECIMAL
1221
- DOUBLE
1222
- INTEGER
1223
- IRIREF
1224
- PNAME_LN
1225
- PNAME_NS
1226
- STRING_LITERAL_LONG_QUOTE
1227
- STRING_LITERAL_LONG_SINGLE_QUOTE
1228
- STRING_LITERAL_QUOTE
1229
- STRING_LITERAL_SINGLE_QUOTE
1230
- "["
1231
- "false"
1232
- "true"
1233
- )
1234
660
  (alt _empty _RDFLiteral_2)
1235
661
  )
1236
662
  (rule
1237
663
  _RDFLiteral_2
1238
664
  "128s.2"
1239
665
  (first LANGTAG "^^")
1240
- (follow
1241
- "("
1242
- ","
1243
- ANON
1244
- BLANK_NODE_LABEL
1245
- DECIMAL
1246
- DOUBLE
1247
- INTEGER
1248
- IRIREF
1249
- PNAME_LN
1250
- PNAME_NS
1251
- STRING_LITERAL_LONG_QUOTE
1252
- STRING_LITERAL_LONG_SINGLE_QUOTE
1253
- STRING_LITERAL_QUOTE
1254
- STRING_LITERAL_SINGLE_QUOTE
1255
- "["
1256
- "false"
1257
- "true"
1258
- )
1259
666
  (alt LANGTAG _RDFLiteral_3)
1260
667
  )
1261
668
  (rule
1262
669
  _RDFLiteral_3
1263
670
  "128s.3"
1264
671
  (first "^^")
1265
- (follow
1266
- "("
1267
- ","
1268
- ANON
1269
- BLANK_NODE_LABEL
1270
- DECIMAL
1271
- DOUBLE
1272
- INTEGER
1273
- IRIREF
1274
- PNAME_LN
1275
- PNAME_NS
1276
- STRING_LITERAL_LONG_QUOTE
1277
- STRING_LITERAL_LONG_SINGLE_QUOTE
1278
- STRING_LITERAL_QUOTE
1279
- STRING_LITERAL_SINGLE_QUOTE
1280
- "["
1281
- "false"
1282
- "true"
1283
- )
1284
672
  (seq "^^" iri)
1285
673
  )
1286
674
  (rule
1287
675
  _RDFLiteral_4
1288
676
  "128s.4"
1289
- (first LANGTAG "^^" _eps)
1290
- (follow
1291
- "("
1292
- ","
1293
- ANON
1294
- BLANK_NODE_LABEL
1295
- DECIMAL
1296
- DOUBLE
1297
- INTEGER
1298
- IRIREF
1299
- PNAME_LN
1300
- PNAME_NS
1301
- STRING_LITERAL_LONG_QUOTE
1302
- STRING_LITERAL_LONG_SINGLE_QUOTE
1303
- STRING_LITERAL_QUOTE
1304
- STRING_LITERAL_SINGLE_QUOTE
1305
- "["
1306
- "false"
1307
- "true"
1308
- )
1309
677
  (seq _RDFLiteral_1)
1310
678
  )
1311
679
  (rule
1312
680
  BooleanLiteral
1313
681
  "133s"
1314
682
  (first "false" "true")
1315
- (follow
1316
- "("
1317
- ","
1318
- ANON
1319
- BLANK_NODE_LABEL
1320
- DECIMAL
1321
- DOUBLE
1322
- INTEGER
1323
- IRIREF
1324
- PNAME_LN
1325
- PNAME_NS
1326
- STRING_LITERAL_LONG_QUOTE
1327
- STRING_LITERAL_LONG_SINGLE_QUOTE
1328
- STRING_LITERAL_QUOTE
1329
- STRING_LITERAL_SINGLE_QUOTE
1330
- "["
1331
- "false"
1332
- "true"
1333
- )
1334
683
  (alt "true" "false")
1335
684
  )
1336
685
  (rule
@@ -1339,7 +688,6 @@
1339
688
  (first IRIREF PNAME_LN PNAME_NS)
1340
689
  (follow
1341
690
  "("
1342
- ","
1343
691
  ANON
1344
692
  BLANK_NODE_LABEL
1345
693
  DECIMAL
@@ -1365,7 +713,6 @@
1365
713
  (first PNAME_LN PNAME_NS)
1366
714
  (follow
1367
715
  "("
1368
- ","
1369
716
  ANON
1370
717
  BLANK_NODE_LABEL
1371
718
  DECIMAL
@@ -1389,26 +736,7 @@
1389
736
  BlankNode
1390
737
  "137s"
1391
738
  (first ANON BLANK_NODE_LABEL)
1392
- (follow
1393
- "("
1394
- ","
1395
- ANON
1396
- BLANK_NODE_LABEL
1397
- DECIMAL
1398
- DOUBLE
1399
- INTEGER
1400
- IRIREF
1401
- PNAME_LN
1402
- PNAME_NS
1403
- STRING_LITERAL_LONG_QUOTE
1404
- STRING_LITERAL_LONG_SINGLE_QUOTE
1405
- STRING_LITERAL_QUOTE
1406
- STRING_LITERAL_SINGLE_QUOTE
1407
- "["
1408
- "a"
1409
- "false"
1410
- "true"
1411
- )
739
+ (follow IRIREF PNAME_LN PNAME_NS "a")
1412
740
  (alt BLANK_NODE_LABEL ANON)
1413
741
  )
1414
742
  (terminal