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