sparql 3.1.7 → 3.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dcc81f10a741a9060299f9b3f54e1a7a35442fb7b68b7a79b2d1b67e16c0108a
4
- data.tar.gz: aa6dd52a91d86b9a981edb5f4d56bdd0da288932ece265578ba773bb289a5fe0
3
+ metadata.gz: 0fc6d6745c325bd23d83fe640eb238a22406b567cf06223703afd90ea5733be1
4
+ data.tar.gz: 056cde1c14633aa791f492be673eb023bab95d7af4e5b19fb94c99540fc22908
5
5
  SHA512:
6
- metadata.gz: 64669164cff7cdd9b1580bba3576247dafff7feef77ab63ba355afb51bded23a8f996ca952332abea8a4d06f8aca4ae5db25702a69748f8577aeedb720c5f788
7
- data.tar.gz: d269e6c8edf25e5929876d292290257527f4bfe69def6fbe3e4500283a0ed2418ac4df5420a24fd35f826970ae63c3d679ba998d27184851cc8fe58648521df7
6
+ metadata.gz: 32187664d7d06bd49cffa8354987ce3f11ba44b35960a92ac80353a538a15489b342f1d3e66a0ad792971489e83cc57ab05b936e93f8e04fe2f5df4a527d3d39
7
+ data.tar.gz: 9d8a75fd40c9ccbac6a9753d9b7a04b9e26a4504a55636d61d3d34c1d4dde77c6838d5ac45828a40d06b7c4658971c1f435da0c6812e7b2eda4aa5dfcfaa9cda
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.7
1
+ 3.1.8
data/bin/sparql CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'rubygems'
3
3
  $:.unshift("../../lib", __FILE__)
4
+ require 'logger'
4
5
  require 'sparql'
5
6
  begin
6
7
  require 'linkeddata'
@@ -1,4 +1,4 @@
1
- # This file is automatically generated by ebnf version 2.1.2
1
+ # This file is automatically generated by ebnf version 2.1.3
2
2
  # Derived from etc/sparql11.bnf
3
3
  module SPARQL::Grammar::Meta
4
4
  START = :QueryUnit
@@ -2055,7 +2055,7 @@ module SPARQL::Grammar::Meta
2055
2055
  :VAR2 => [:InlineDataOneVar],
2056
2056
  },
2057
2057
  :DataBlockValue => {
2058
- "<<" => [:EmbTD],
2058
+ "<<" => [:QuotedTriple],
2059
2059
  :DECIMAL => [:NumericLiteral],
2060
2060
  :DECIMAL_NEGATIVE => [:NumericLiteral],
2061
2061
  :DECIMAL_POSITIVE => [:NumericLiteral],
@@ -2077,7 +2077,7 @@ module SPARQL::Grammar::Meta
2077
2077
  "true" => [:BooleanLiteral],
2078
2078
  },
2079
2079
  :DataValueTerm => {
2080
- "<<" => [:EmbTD],
2080
+ "<<" => [:QuotedTriple],
2081
2081
  :DECIMAL => [:NumericLiteral],
2082
2082
  :DECIMAL_NEGATIVE => [:NumericLiteral],
2083
2083
  :DECIMAL_POSITIVE => [:NumericLiteral],
@@ -2195,51 +2195,14 @@ module SPARQL::Grammar::Meta
2195
2195
  "NAMED" => [],
2196
2196
  "SILENT" => ["SILENT"],
2197
2197
  },
2198
- :EmbSubjectOrObject => {
2199
- "<<" => [:EmbTP],
2200
- :ANON => [:BlankNode],
2201
- :BLANK_NODE_LABEL => [:BlankNode],
2202
- :DECIMAL => [:NumericLiteral],
2203
- :DECIMAL_NEGATIVE => [:NumericLiteral],
2204
- :DECIMAL_POSITIVE => [:NumericLiteral],
2205
- :DOUBLE => [:NumericLiteral],
2206
- :DOUBLE_NEGATIVE => [:NumericLiteral],
2207
- :DOUBLE_POSITIVE => [:NumericLiteral],
2208
- :INTEGER => [:NumericLiteral],
2209
- :INTEGER_NEGATIVE => [:NumericLiteral],
2210
- :INTEGER_POSITIVE => [:NumericLiteral],
2211
- :IRIREF => [:iri],
2212
- :PNAME_LN => [:iri],
2213
- :PNAME_NS => [:iri],
2214
- :STRING_LITERAL1 => [:RDFLiteral],
2215
- :STRING_LITERAL2 => [:RDFLiteral],
2216
- :STRING_LITERAL_LONG1 => [:RDFLiteral],
2217
- :STRING_LITERAL_LONG2 => [:RDFLiteral],
2218
- :VAR1 => [:Var],
2219
- :VAR2 => [:Var],
2220
- "false" => [:BooleanLiteral],
2221
- "true" => [:BooleanLiteral],
2222
- },
2223
- :EmbTD => {
2224
- "<<" => ["<<", :DataValueTerm, :_EmbTD_1, :DataValueTerm, ">>"],
2225
- },
2226
- :_EmbTD_1 => {
2227
- :IRIREF => [:iri],
2228
- :PNAME_LN => [:iri],
2229
- :PNAME_NS => [:iri],
2230
- "a" => ["a"],
2231
- },
2232
- :EmbTP => {
2233
- "<<" => ["<<", :EmbSubjectOrObject, :Verb, :EmbSubjectOrObject, ">>"],
2234
- },
2235
2198
  :ExistsFunc => {
2236
2199
  "EXISTS" => ["EXISTS", :GroupGraphPattern],
2237
2200
  },
2238
- :ExprEmbTP => {
2201
+ :ExprQuotedTP => {
2239
2202
  "<<" => ["<<", :ExprVarOrTerm, :Verb, :ExprVarOrTerm, ">>"],
2240
2203
  },
2241
2204
  :ExprVarOrTerm => {
2242
- "<<" => [:ExprEmbTP],
2205
+ "<<" => [:ExprQuotedTP],
2243
2206
  :DECIMAL => [:NumericLiteral],
2244
2207
  :DECIMAL_NEGATIVE => [:NumericLiteral],
2245
2208
  :DECIMAL_POSITIVE => [:NumericLiteral],
@@ -2385,59 +2348,59 @@ module SPARQL::Grammar::Meta
2385
2348
  },
2386
2349
  :GraphNode => {
2387
2350
  "(" => [:TriplesNode],
2388
- "<<" => [:VarOrTermOrEmbTP],
2389
- :ANON => [:VarOrTermOrEmbTP],
2390
- :BLANK_NODE_LABEL => [:VarOrTermOrEmbTP],
2391
- :DECIMAL => [:VarOrTermOrEmbTP],
2392
- :DECIMAL_NEGATIVE => [:VarOrTermOrEmbTP],
2393
- :DECIMAL_POSITIVE => [:VarOrTermOrEmbTP],
2394
- :DOUBLE => [:VarOrTermOrEmbTP],
2395
- :DOUBLE_NEGATIVE => [:VarOrTermOrEmbTP],
2396
- :DOUBLE_POSITIVE => [:VarOrTermOrEmbTP],
2397
- :INTEGER => [:VarOrTermOrEmbTP],
2398
- :INTEGER_NEGATIVE => [:VarOrTermOrEmbTP],
2399
- :INTEGER_POSITIVE => [:VarOrTermOrEmbTP],
2400
- :IRIREF => [:VarOrTermOrEmbTP],
2401
- :NIL => [:VarOrTermOrEmbTP],
2402
- :PNAME_LN => [:VarOrTermOrEmbTP],
2403
- :PNAME_NS => [:VarOrTermOrEmbTP],
2404
- :STRING_LITERAL1 => [:VarOrTermOrEmbTP],
2405
- :STRING_LITERAL2 => [:VarOrTermOrEmbTP],
2406
- :STRING_LITERAL_LONG1 => [:VarOrTermOrEmbTP],
2407
- :STRING_LITERAL_LONG2 => [:VarOrTermOrEmbTP],
2408
- :VAR1 => [:VarOrTermOrEmbTP],
2409
- :VAR2 => [:VarOrTermOrEmbTP],
2351
+ "<<" => [:VarOrTermOrQuotedTP],
2352
+ :ANON => [:VarOrTermOrQuotedTP],
2353
+ :BLANK_NODE_LABEL => [:VarOrTermOrQuotedTP],
2354
+ :DECIMAL => [:VarOrTermOrQuotedTP],
2355
+ :DECIMAL_NEGATIVE => [:VarOrTermOrQuotedTP],
2356
+ :DECIMAL_POSITIVE => [:VarOrTermOrQuotedTP],
2357
+ :DOUBLE => [:VarOrTermOrQuotedTP],
2358
+ :DOUBLE_NEGATIVE => [:VarOrTermOrQuotedTP],
2359
+ :DOUBLE_POSITIVE => [:VarOrTermOrQuotedTP],
2360
+ :INTEGER => [:VarOrTermOrQuotedTP],
2361
+ :INTEGER_NEGATIVE => [:VarOrTermOrQuotedTP],
2362
+ :INTEGER_POSITIVE => [:VarOrTermOrQuotedTP],
2363
+ :IRIREF => [:VarOrTermOrQuotedTP],
2364
+ :NIL => [:VarOrTermOrQuotedTP],
2365
+ :PNAME_LN => [:VarOrTermOrQuotedTP],
2366
+ :PNAME_NS => [:VarOrTermOrQuotedTP],
2367
+ :STRING_LITERAL1 => [:VarOrTermOrQuotedTP],
2368
+ :STRING_LITERAL2 => [:VarOrTermOrQuotedTP],
2369
+ :STRING_LITERAL_LONG1 => [:VarOrTermOrQuotedTP],
2370
+ :STRING_LITERAL_LONG2 => [:VarOrTermOrQuotedTP],
2371
+ :VAR1 => [:VarOrTermOrQuotedTP],
2372
+ :VAR2 => [:VarOrTermOrQuotedTP],
2410
2373
  "[" => [:TriplesNode],
2411
- "false" => [:VarOrTermOrEmbTP],
2412
- "true" => [:VarOrTermOrEmbTP],
2374
+ "false" => [:VarOrTermOrQuotedTP],
2375
+ "true" => [:VarOrTermOrQuotedTP],
2413
2376
  },
2414
2377
  :GraphNodePath => {
2415
2378
  "(" => [:TriplesNodePath],
2416
- "<<" => [:VarOrTermOrEmbTP],
2417
- :ANON => [:VarOrTermOrEmbTP],
2418
- :BLANK_NODE_LABEL => [:VarOrTermOrEmbTP],
2419
- :DECIMAL => [:VarOrTermOrEmbTP],
2420
- :DECIMAL_NEGATIVE => [:VarOrTermOrEmbTP],
2421
- :DECIMAL_POSITIVE => [:VarOrTermOrEmbTP],
2422
- :DOUBLE => [:VarOrTermOrEmbTP],
2423
- :DOUBLE_NEGATIVE => [:VarOrTermOrEmbTP],
2424
- :DOUBLE_POSITIVE => [:VarOrTermOrEmbTP],
2425
- :INTEGER => [:VarOrTermOrEmbTP],
2426
- :INTEGER_NEGATIVE => [:VarOrTermOrEmbTP],
2427
- :INTEGER_POSITIVE => [:VarOrTermOrEmbTP],
2428
- :IRIREF => [:VarOrTermOrEmbTP],
2429
- :NIL => [:VarOrTermOrEmbTP],
2430
- :PNAME_LN => [:VarOrTermOrEmbTP],
2431
- :PNAME_NS => [:VarOrTermOrEmbTP],
2432
- :STRING_LITERAL1 => [:VarOrTermOrEmbTP],
2433
- :STRING_LITERAL2 => [:VarOrTermOrEmbTP],
2434
- :STRING_LITERAL_LONG1 => [:VarOrTermOrEmbTP],
2435
- :STRING_LITERAL_LONG2 => [:VarOrTermOrEmbTP],
2436
- :VAR1 => [:VarOrTermOrEmbTP],
2437
- :VAR2 => [:VarOrTermOrEmbTP],
2379
+ "<<" => [:VarOrTermOrQuotedTP],
2380
+ :ANON => [:VarOrTermOrQuotedTP],
2381
+ :BLANK_NODE_LABEL => [:VarOrTermOrQuotedTP],
2382
+ :DECIMAL => [:VarOrTermOrQuotedTP],
2383
+ :DECIMAL_NEGATIVE => [:VarOrTermOrQuotedTP],
2384
+ :DECIMAL_POSITIVE => [:VarOrTermOrQuotedTP],
2385
+ :DOUBLE => [:VarOrTermOrQuotedTP],
2386
+ :DOUBLE_NEGATIVE => [:VarOrTermOrQuotedTP],
2387
+ :DOUBLE_POSITIVE => [:VarOrTermOrQuotedTP],
2388
+ :INTEGER => [:VarOrTermOrQuotedTP],
2389
+ :INTEGER_NEGATIVE => [:VarOrTermOrQuotedTP],
2390
+ :INTEGER_POSITIVE => [:VarOrTermOrQuotedTP],
2391
+ :IRIREF => [:VarOrTermOrQuotedTP],
2392
+ :NIL => [:VarOrTermOrQuotedTP],
2393
+ :PNAME_LN => [:VarOrTermOrQuotedTP],
2394
+ :PNAME_NS => [:VarOrTermOrQuotedTP],
2395
+ :STRING_LITERAL1 => [:VarOrTermOrQuotedTP],
2396
+ :STRING_LITERAL2 => [:VarOrTermOrQuotedTP],
2397
+ :STRING_LITERAL_LONG1 => [:VarOrTermOrQuotedTP],
2398
+ :STRING_LITERAL_LONG2 => [:VarOrTermOrQuotedTP],
2399
+ :VAR1 => [:VarOrTermOrQuotedTP],
2400
+ :VAR2 => [:VarOrTermOrQuotedTP],
2438
2401
  "[" => [:TriplesNodePath],
2439
- "false" => [:VarOrTermOrEmbTP],
2440
- "true" => [:VarOrTermOrEmbTP],
2402
+ "false" => [:VarOrTermOrQuotedTP],
2403
+ "true" => [:VarOrTermOrQuotedTP],
2441
2404
  },
2442
2405
  :GraphOrDefault => {
2443
2406
  "DEFAULT" => ["DEFAULT"],
@@ -4700,7 +4663,7 @@ module SPARQL::Grammar::Meta
4700
4663
  },
4701
4664
  :PrimaryExpression => {
4702
4665
  "(" => [:BrackettedExpression],
4703
- "<<" => [:ExprEmbTP],
4666
+ "<<" => [:ExprQuotedTP],
4704
4667
  "ABS" => [:BuiltInCall],
4705
4668
  "AVG" => [:BuiltInCall],
4706
4669
  "BNODE" => [:BuiltInCall],
@@ -5174,6 +5137,18 @@ module SPARQL::Grammar::Meta
5174
5137
  "DESCRIBE" => [:DescribeQuery],
5175
5138
  "SELECT" => [:SelectQuery],
5176
5139
  },
5140
+ :QuotedTP => {
5141
+ "<<" => ["<<", :qtSubjectOrObject, :Verb, :qtSubjectOrObject, ">>"],
5142
+ },
5143
+ :QuotedTriple => {
5144
+ "<<" => ["<<", :DataValueTerm, :_QuotedTriple_1, :DataValueTerm, ">>"],
5145
+ },
5146
+ :_QuotedTriple_1 => {
5147
+ :IRIREF => [:iri],
5148
+ :PNAME_LN => [:iri],
5149
+ :PNAME_NS => [:iri],
5150
+ "a" => ["a"],
5151
+ },
5177
5152
  :RDFLiteral => {
5178
5153
  :STRING_LITERAL1 => [:String, :_RDFLiteral_1],
5179
5154
  :STRING_LITERAL2 => [:String, :_RDFLiteral_1],
@@ -5694,60 +5669,60 @@ module SPARQL::Grammar::Meta
5694
5669
  "true" => [:_TriplesSameSubjectPath_1],
5695
5670
  },
5696
5671
  :_TriplesSameSubjectPath_1 => {
5697
- "<<" => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5698
- :ANON => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5699
- :BLANK_NODE_LABEL => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5700
- :DECIMAL => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5701
- :DECIMAL_NEGATIVE => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5702
- :DECIMAL_POSITIVE => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5703
- :DOUBLE => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5704
- :DOUBLE_NEGATIVE => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5705
- :DOUBLE_POSITIVE => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5706
- :INTEGER => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5707
- :INTEGER_NEGATIVE => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5708
- :INTEGER_POSITIVE => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5709
- :IRIREF => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5710
- :NIL => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5711
- :PNAME_LN => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5712
- :PNAME_NS => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5713
- :STRING_LITERAL1 => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5714
- :STRING_LITERAL2 => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5715
- :STRING_LITERAL_LONG1 => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5716
- :STRING_LITERAL_LONG2 => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5717
- :VAR1 => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5718
- :VAR2 => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5719
- "false" => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5720
- "true" => [:VarOrTermOrEmbTP, :PropertyListPathNotEmpty],
5672
+ "<<" => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5673
+ :ANON => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5674
+ :BLANK_NODE_LABEL => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5675
+ :DECIMAL => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5676
+ :DECIMAL_NEGATIVE => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5677
+ :DECIMAL_POSITIVE => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5678
+ :DOUBLE => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5679
+ :DOUBLE_NEGATIVE => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5680
+ :DOUBLE_POSITIVE => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5681
+ :INTEGER => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5682
+ :INTEGER_NEGATIVE => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5683
+ :INTEGER_POSITIVE => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5684
+ :IRIREF => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5685
+ :NIL => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5686
+ :PNAME_LN => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5687
+ :PNAME_NS => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5688
+ :STRING_LITERAL1 => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5689
+ :STRING_LITERAL2 => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5690
+ :STRING_LITERAL_LONG1 => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5691
+ :STRING_LITERAL_LONG2 => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5692
+ :VAR1 => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5693
+ :VAR2 => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5694
+ "false" => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5695
+ "true" => [:VarOrTermOrQuotedTP, :PropertyListPathNotEmpty],
5721
5696
  },
5722
5697
  :_TriplesSameSubjectPath_2 => {
5723
5698
  "(" => [:TriplesNodePath, :PropertyListPath],
5724
5699
  "[" => [:TriplesNodePath, :PropertyListPath],
5725
5700
  },
5726
5701
  :_TriplesSameSubject_1 => {
5727
- "<<" => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5728
- :ANON => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5729
- :BLANK_NODE_LABEL => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5730
- :DECIMAL => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5731
- :DECIMAL_NEGATIVE => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5732
- :DECIMAL_POSITIVE => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5733
- :DOUBLE => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5734
- :DOUBLE_NEGATIVE => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5735
- :DOUBLE_POSITIVE => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5736
- :INTEGER => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5737
- :INTEGER_NEGATIVE => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5738
- :INTEGER_POSITIVE => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5739
- :IRIREF => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5740
- :NIL => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5741
- :PNAME_LN => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5742
- :PNAME_NS => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5743
- :STRING_LITERAL1 => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5744
- :STRING_LITERAL2 => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5745
- :STRING_LITERAL_LONG1 => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5746
- :STRING_LITERAL_LONG2 => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5747
- :VAR1 => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5748
- :VAR2 => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5749
- "false" => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5750
- "true" => [:VarOrTermOrEmbTP, :PropertyListNotEmpty],
5702
+ "<<" => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5703
+ :ANON => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5704
+ :BLANK_NODE_LABEL => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5705
+ :DECIMAL => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5706
+ :DECIMAL_NEGATIVE => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5707
+ :DECIMAL_POSITIVE => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5708
+ :DOUBLE => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5709
+ :DOUBLE_NEGATIVE => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5710
+ :DOUBLE_POSITIVE => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5711
+ :INTEGER => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5712
+ :INTEGER_NEGATIVE => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5713
+ :INTEGER_POSITIVE => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5714
+ :IRIREF => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5715
+ :NIL => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5716
+ :PNAME_LN => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5717
+ :PNAME_NS => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5718
+ :STRING_LITERAL1 => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5719
+ :STRING_LITERAL2 => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5720
+ :STRING_LITERAL_LONG1 => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5721
+ :STRING_LITERAL_LONG2 => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5722
+ :VAR1 => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5723
+ :VAR2 => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5724
+ "false" => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5725
+ "true" => [:VarOrTermOrQuotedTP, :PropertyListNotEmpty],
5751
5726
  },
5752
5727
  :_TriplesSameSubject_2 => {
5753
5728
  "(" => [:TriplesNode, :PropertyList],
@@ -6131,8 +6106,8 @@ module SPARQL::Grammar::Meta
6131
6106
  :VAR1 => [:Var],
6132
6107
  :VAR2 => [:Var],
6133
6108
  },
6134
- :VarOrTermOrEmbTP => {
6135
- "<<" => [:EmbTP],
6109
+ :VarOrTermOrQuotedTP => {
6110
+ "<<" => [:QuotedTP],
6136
6111
  :ANON => [:GraphTerm],
6137
6112
  :BLANK_NODE_LABEL => [:GraphTerm],
6138
6113
  :DECIMAL => [:GraphTerm],
@@ -6224,6 +6199,31 @@ module SPARQL::Grammar::Meta
6224
6199
  "NOT" => [],
6225
6200
  "||" => [],
6226
6201
  },
6202
+ :qtSubjectOrObject => {
6203
+ "<<" => [:QuotedTP],
6204
+ :ANON => [:BlankNode],
6205
+ :BLANK_NODE_LABEL => [:BlankNode],
6206
+ :DECIMAL => [:NumericLiteral],
6207
+ :DECIMAL_NEGATIVE => [:NumericLiteral],
6208
+ :DECIMAL_POSITIVE => [:NumericLiteral],
6209
+ :DOUBLE => [:NumericLiteral],
6210
+ :DOUBLE_NEGATIVE => [:NumericLiteral],
6211
+ :DOUBLE_POSITIVE => [:NumericLiteral],
6212
+ :INTEGER => [:NumericLiteral],
6213
+ :INTEGER_NEGATIVE => [:NumericLiteral],
6214
+ :INTEGER_POSITIVE => [:NumericLiteral],
6215
+ :IRIREF => [:iri],
6216
+ :PNAME_LN => [:iri],
6217
+ :PNAME_NS => [:iri],
6218
+ :STRING_LITERAL1 => [:RDFLiteral],
6219
+ :STRING_LITERAL2 => [:RDFLiteral],
6220
+ :STRING_LITERAL_LONG1 => [:RDFLiteral],
6221
+ :STRING_LITERAL_LONG2 => [:RDFLiteral],
6222
+ :VAR1 => [:Var],
6223
+ :VAR2 => [:Var],
6224
+ "false" => [:BooleanLiteral],
6225
+ "true" => [:BooleanLiteral],
6226
+ },
6227
6227
  }.freeze
6228
6228
  TERMINALS = [
6229
6229
  "!",
@@ -10976,10 +10976,10 @@ module SPARQL::Grammar::Meta
10976
10976
  :DECIMAL_NEGATIVE,
10977
10977
  :DOUBLE_NEGATIVE],
10978
10978
  :DataValueTerm => [
10979
- "<<",
10980
10979
  :IRIREF,
10981
10980
  "true",
10982
10981
  "false",
10982
+ "<<",
10983
10983
  :PNAME_LN,
10984
10984
  :PNAME_NS,
10985
10985
  :STRING_LITERAL1,
@@ -11121,94 +11121,18 @@ module SPARQL::Grammar::Meta
11121
11121
  "NAMED",
11122
11122
  "ALL",
11123
11123
  "GRAPH"],
11124
- :EmbSubjectOrObject => [
11125
- :VAR1,
11126
- :VAR2,
11127
- :BLANK_NODE_LABEL,
11128
- :ANON,
11129
- :IRIREF,
11130
- "true",
11131
- "false",
11132
- "<<",
11133
- :PNAME_LN,
11134
- :PNAME_NS,
11135
- :STRING_LITERAL1,
11136
- :STRING_LITERAL2,
11137
- :STRING_LITERAL_LONG1,
11138
- :STRING_LITERAL_LONG2,
11139
- :INTEGER,
11140
- :DECIMAL,
11141
- :DOUBLE,
11142
- :INTEGER_POSITIVE,
11143
- :DECIMAL_POSITIVE,
11144
- :DOUBLE_POSITIVE,
11145
- :INTEGER_NEGATIVE,
11146
- :DECIMAL_NEGATIVE,
11147
- :DOUBLE_NEGATIVE],
11148
- :EmbTD => [
11124
+ :ExistsFunc => [
11125
+ "EXISTS"],
11126
+ :_ExistsFunc_1 => [
11127
+ "{"],
11128
+ :ExprQuotedTP => [
11149
11129
  "<<"],
11150
- :_EmbTD_1 => [
11151
- "a",
11152
- :IRIREF,
11153
- :PNAME_LN,
11154
- :PNAME_NS],
11155
- :_EmbTD_2 => [
11156
- "<<",
11130
+ :_ExprQuotedTP_1 => [
11157
11131
  :IRIREF,
11158
11132
  "true",
11159
11133
  "false",
11160
- :PNAME_LN,
11161
- :PNAME_NS,
11162
- :STRING_LITERAL1,
11163
- :STRING_LITERAL2,
11164
- :STRING_LITERAL_LONG1,
11165
- :STRING_LITERAL_LONG2,
11166
- :INTEGER,
11167
- :DECIMAL,
11168
- :DOUBLE,
11169
- :INTEGER_POSITIVE,
11170
- :DECIMAL_POSITIVE,
11171
- :DOUBLE_POSITIVE,
11172
- :INTEGER_NEGATIVE,
11173
- :DECIMAL_NEGATIVE,
11174
- :DOUBLE_NEGATIVE],
11175
- :_EmbTD_3 => [
11176
- "a",
11177
- :IRIREF,
11178
- :PNAME_LN,
11179
- :PNAME_NS],
11180
- :_EmbTD_4 => [
11181
- "<<",
11182
- :IRIREF,
11183
- "true",
11184
- "false",
11185
- :PNAME_LN,
11186
- :PNAME_NS,
11187
- :STRING_LITERAL1,
11188
- :STRING_LITERAL2,
11189
- :STRING_LITERAL_LONG1,
11190
- :STRING_LITERAL_LONG2,
11191
- :INTEGER,
11192
- :DECIMAL,
11193
- :DOUBLE,
11194
- :INTEGER_POSITIVE,
11195
- :DECIMAL_POSITIVE,
11196
- :DOUBLE_POSITIVE,
11197
- :INTEGER_NEGATIVE,
11198
- :DECIMAL_NEGATIVE,
11199
- :DOUBLE_NEGATIVE],
11200
- :_EmbTD_5 => [
11201
- ">>"],
11202
- :EmbTP => [
11203
- "<<"],
11204
- :_EmbTP_1 => [
11205
11134
  :VAR1,
11206
11135
  :VAR2,
11207
- :BLANK_NODE_LABEL,
11208
- :ANON,
11209
- :IRIREF,
11210
- "true",
11211
- "false",
11212
11136
  "<<",
11213
11137
  :PNAME_LN,
11214
11138
  :PNAME_NS,
@@ -11225,21 +11149,19 @@ module SPARQL::Grammar::Meta
11225
11149
  :INTEGER_NEGATIVE,
11226
11150
  :DECIMAL_NEGATIVE,
11227
11151
  :DOUBLE_NEGATIVE],
11228
- :_EmbTP_2 => [
11152
+ :_ExprQuotedTP_2 => [
11229
11153
  "a",
11230
11154
  :VAR1,
11231
11155
  :VAR2,
11232
11156
  :IRIREF,
11233
11157
  :PNAME_LN,
11234
11158
  :PNAME_NS],
11235
- :_EmbTP_3 => [
11236
- :VAR1,
11237
- :VAR2,
11238
- :BLANK_NODE_LABEL,
11239
- :ANON,
11159
+ :_ExprQuotedTP_3 => [
11240
11160
  :IRIREF,
11241
11161
  "true",
11242
11162
  "false",
11163
+ :VAR1,
11164
+ :VAR2,
11243
11165
  "<<",
11244
11166
  :PNAME_LN,
11245
11167
  :PNAME_NS,
@@ -11256,50 +11178,15 @@ module SPARQL::Grammar::Meta
11256
11178
  :INTEGER_NEGATIVE,
11257
11179
  :DECIMAL_NEGATIVE,
11258
11180
  :DOUBLE_NEGATIVE],
11259
- :_EmbTP_4 => [
11181
+ :_ExprQuotedTP_4 => [
11260
11182
  ">>"],
11261
- :ExistsFunc => [
11262
- "EXISTS"],
11263
- :_ExistsFunc_1 => [
11264
- "{"],
11265
- :ExprEmbTP => [
11266
- "<<"],
11267
- :_ExprEmbTP_1 => [
11268
- :VAR1,
11269
- :VAR2,
11270
- "<<",
11183
+ :ExprVarOrTerm => [
11271
11184
  :IRIREF,
11272
11185
  "true",
11273
11186
  "false",
11274
- :PNAME_LN,
11275
- :PNAME_NS,
11276
- :STRING_LITERAL1,
11277
- :STRING_LITERAL2,
11278
- :STRING_LITERAL_LONG1,
11279
- :STRING_LITERAL_LONG2,
11280
- :INTEGER,
11281
- :DECIMAL,
11282
- :DOUBLE,
11283
- :INTEGER_POSITIVE,
11284
- :DECIMAL_POSITIVE,
11285
- :DOUBLE_POSITIVE,
11286
- :INTEGER_NEGATIVE,
11287
- :DECIMAL_NEGATIVE,
11288
- :DOUBLE_NEGATIVE],
11289
- :_ExprEmbTP_2 => [
11290
- "a",
11291
- :VAR1,
11292
- :VAR2,
11293
- :IRIREF,
11294
- :PNAME_LN,
11295
- :PNAME_NS],
11296
- :_ExprEmbTP_3 => [
11297
11187
  :VAR1,
11298
11188
  :VAR2,
11299
11189
  "<<",
11300
- :IRIREF,
11301
- "true",
11302
- "false",
11303
11190
  :PNAME_LN,
11304
11191
  :PNAME_NS,
11305
11192
  :STRING_LITERAL1,
@@ -11315,17 +11202,77 @@ module SPARQL::Grammar::Meta
11315
11202
  :INTEGER_NEGATIVE,
11316
11203
  :DECIMAL_NEGATIVE,
11317
11204
  :DOUBLE_NEGATIVE],
11318
- :_ExprEmbTP_4 => [
11319
- ">>"],
11320
- :ExprVarOrTerm => [
11205
+ :Expression => [
11206
+ "!",
11207
+ "+",
11208
+ "-",
11321
11209
  :VAR1,
11322
11210
  :VAR2,
11323
- "<<",
11324
- :IRIREF,
11211
+ "(",
11325
11212
  "true",
11326
11213
  "false",
11327
- :PNAME_LN,
11328
- :PNAME_NS,
11214
+ "<<",
11215
+ "STR",
11216
+ "LANG",
11217
+ "LANGMATCHES",
11218
+ "DATATYPE",
11219
+ "BOUND",
11220
+ "IRI",
11221
+ "URI",
11222
+ "BNODE",
11223
+ "RAND",
11224
+ "ABS",
11225
+ "CEIL",
11226
+ "FLOOR",
11227
+ "ROUND",
11228
+ "CONCAT",
11229
+ "SUBSTR",
11230
+ "STRLEN",
11231
+ "REPLACE",
11232
+ "UCASE",
11233
+ "LCASE",
11234
+ "ENCODE_FOR_URI",
11235
+ "CONTAINS",
11236
+ "STRSTARTS",
11237
+ "STRENDS",
11238
+ "STRBEFORE",
11239
+ "STRAFTER",
11240
+ "YEAR",
11241
+ "MONTH",
11242
+ "DAY",
11243
+ "HOURS",
11244
+ "MINUTES",
11245
+ "SECONDS",
11246
+ "TIMEZONE",
11247
+ "TZ",
11248
+ "NOW",
11249
+ "UUID",
11250
+ "STRUUID",
11251
+ "MD5",
11252
+ "SHA1",
11253
+ "SHA224",
11254
+ "SHA256",
11255
+ "SHA384",
11256
+ "SHA512",
11257
+ "COALESCE",
11258
+ "IF",
11259
+ "STRLANG",
11260
+ "STRDT",
11261
+ "sameTerm",
11262
+ "isIRI",
11263
+ "isURI",
11264
+ "isBLANK",
11265
+ "isLITERAL",
11266
+ "isNUMERIC",
11267
+ "TRIPLE",
11268
+ "SUBJECT",
11269
+ "PREDICATE",
11270
+ "OBJECT",
11271
+ "isTRIPLE",
11272
+ "REGEX",
11273
+ "EXISTS",
11274
+ "NOT",
11275
+ :IRIREF,
11329
11276
  :STRING_LITERAL1,
11330
11277
  :STRING_LITERAL2,
11331
11278
  :STRING_LITERAL_LONG1,
@@ -11338,113 +11285,29 @@ module SPARQL::Grammar::Meta
11338
11285
  :DOUBLE_POSITIVE,
11339
11286
  :INTEGER_NEGATIVE,
11340
11287
  :DECIMAL_NEGATIVE,
11341
- :DOUBLE_NEGATIVE],
11342
- :Expression => [
11343
- "!",
11344
- "+",
11345
- "-",
11346
- :VAR1,
11347
- :VAR2,
11348
- "(",
11349
- "true",
11350
- "false",
11351
- "<<",
11352
- "STR",
11353
- "LANG",
11354
- "LANGMATCHES",
11355
- "DATATYPE",
11356
- "BOUND",
11357
- "IRI",
11358
- "URI",
11359
- "BNODE",
11360
- "RAND",
11361
- "ABS",
11362
- "CEIL",
11363
- "FLOOR",
11364
- "ROUND",
11365
- "CONCAT",
11366
- "SUBSTR",
11367
- "STRLEN",
11368
- "REPLACE",
11369
- "UCASE",
11370
- "LCASE",
11371
- "ENCODE_FOR_URI",
11372
- "CONTAINS",
11373
- "STRSTARTS",
11374
- "STRENDS",
11375
- "STRBEFORE",
11376
- "STRAFTER",
11377
- "YEAR",
11378
- "MONTH",
11379
- "DAY",
11380
- "HOURS",
11381
- "MINUTES",
11382
- "SECONDS",
11383
- "TIMEZONE",
11384
- "TZ",
11385
- "NOW",
11386
- "UUID",
11387
- "STRUUID",
11388
- "MD5",
11389
- "SHA1",
11390
- "SHA224",
11391
- "SHA256",
11392
- "SHA384",
11393
- "SHA512",
11394
- "COALESCE",
11395
- "IF",
11396
- "STRLANG",
11397
- "STRDT",
11398
- "sameTerm",
11399
- "isIRI",
11400
- "isURI",
11401
- "isBLANK",
11402
- "isLITERAL",
11403
- "isNUMERIC",
11404
- "TRIPLE",
11405
- "SUBJECT",
11406
- "PREDICATE",
11407
- "OBJECT",
11408
- "isTRIPLE",
11409
- "REGEX",
11410
- "EXISTS",
11411
- "NOT",
11412
- :IRIREF,
11413
- :STRING_LITERAL1,
11414
- :STRING_LITERAL2,
11415
- :STRING_LITERAL_LONG1,
11416
- :STRING_LITERAL_LONG2,
11417
- :INTEGER,
11418
- :DECIMAL,
11419
- :DOUBLE,
11420
- :INTEGER_POSITIVE,
11421
- :DECIMAL_POSITIVE,
11422
- :DOUBLE_POSITIVE,
11423
- :INTEGER_NEGATIVE,
11424
- :DECIMAL_NEGATIVE,
11425
- :DOUBLE_NEGATIVE,
11426
- "COUNT",
11427
- "SUM",
11428
- "MIN",
11429
- "MAX",
11430
- "AVG",
11431
- "SAMPLE",
11432
- "GROUP_CONCAT",
11433
- :PNAME_LN,
11434
- :PNAME_NS],
11435
- :ExpressionList => [
11436
- :NIL,
11437
- "("],
11438
- :_ExpressionList_1 => [
11439
- "("],
11440
- :_ExpressionList_2 => [
11441
- :_eps,
11442
- ","],
11443
- :_ExpressionList_3 => [
11444
- ","],
11445
- :_ExpressionList_4 => [
11446
- ","],
11447
- :_ExpressionList_5 => [
11288
+ :DOUBLE_NEGATIVE,
11289
+ "COUNT",
11290
+ "SUM",
11291
+ "MIN",
11292
+ "MAX",
11293
+ "AVG",
11294
+ "SAMPLE",
11295
+ "GROUP_CONCAT",
11296
+ :PNAME_LN,
11297
+ :PNAME_NS],
11298
+ :ExpressionList => [
11299
+ :NIL,
11300
+ "("],
11301
+ :_ExpressionList_1 => [
11302
+ "("],
11303
+ :_ExpressionList_2 => [
11304
+ :_eps,
11305
+ ","],
11306
+ :_ExpressionList_3 => [
11307
+ ","],
11308
+ :_ExpressionList_4 => [
11309
+ ","],
11310
+ :_ExpressionList_5 => [
11448
11311
  "!",
11449
11312
  "+",
11450
11313
  "-",
@@ -15659,104 +15522,19 @@ module SPARQL::Grammar::Meta
15659
15522
  "DESCRIBE",
15660
15523
  "ASK",
15661
15524
  "SELECT"],
15662
- :RDFLiteral => [
15663
- :STRING_LITERAL1,
15664
- :STRING_LITERAL2,
15665
- :STRING_LITERAL_LONG1,
15666
- :STRING_LITERAL_LONG2],
15667
- :_RDFLiteral_1 => [
15668
- :_eps,
15669
- :LANGTAG,
15670
- "^^"],
15671
- :_RDFLiteral_2 => [
15672
- :LANGTAG,
15673
- "^^"],
15674
- :_RDFLiteral_3 => [
15675
- "^^"],
15676
- :_RDFLiteral_4 => [
15677
- :LANGTAG,
15678
- :_eps,
15679
- "^^"],
15680
- :RegexExpression => [
15681
- "REGEX"],
15682
- :_RegexExpression_1 => [
15683
- :_eps,
15684
- ","],
15685
- :_RegexExpression_2 => [
15686
- ","],
15687
- :_RegexExpression_3 => [
15688
- "("],
15689
- :_RegexExpression_4 => [
15690
- "!",
15691
- "+",
15692
- "-",
15525
+ :QuotedTP => [
15526
+ "<<"],
15527
+ :_QuotedTP_1 => [
15693
15528
  :VAR1,
15694
15529
  :VAR2,
15695
- "(",
15530
+ :BLANK_NODE_LABEL,
15531
+ :ANON,
15532
+ :IRIREF,
15696
15533
  "true",
15697
15534
  "false",
15698
15535
  "<<",
15699
- "STR",
15700
- "LANG",
15701
- "LANGMATCHES",
15702
- "DATATYPE",
15703
- "BOUND",
15704
- "IRI",
15705
- "URI",
15706
- "BNODE",
15707
- "RAND",
15708
- "ABS",
15709
- "CEIL",
15710
- "FLOOR",
15711
- "ROUND",
15712
- "CONCAT",
15713
- "SUBSTR",
15714
- "STRLEN",
15715
- "REPLACE",
15716
- "UCASE",
15717
- "LCASE",
15718
- "ENCODE_FOR_URI",
15719
- "CONTAINS",
15720
- "STRSTARTS",
15721
- "STRENDS",
15722
- "STRBEFORE",
15723
- "STRAFTER",
15724
- "YEAR",
15725
- "MONTH",
15726
- "DAY",
15727
- "HOURS",
15728
- "MINUTES",
15729
- "SECONDS",
15730
- "TIMEZONE",
15731
- "TZ",
15732
- "NOW",
15733
- "UUID",
15734
- "STRUUID",
15735
- "MD5",
15736
- "SHA1",
15737
- "SHA224",
15738
- "SHA256",
15739
- "SHA384",
15740
- "SHA512",
15741
- "COALESCE",
15742
- "IF",
15743
- "STRLANG",
15744
- "STRDT",
15745
- "sameTerm",
15746
- "isIRI",
15747
- "isURI",
15748
- "isBLANK",
15749
- "isLITERAL",
15750
- "isNUMERIC",
15751
- "TRIPLE",
15752
- "SUBJECT",
15753
- "PREDICATE",
15754
- "OBJECT",
15755
- "isTRIPLE",
15756
- "REGEX",
15757
- "EXISTS",
15758
- "NOT",
15759
- :IRIREF,
15536
+ :PNAME_LN,
15537
+ :PNAME_NS,
15760
15538
  :STRING_LITERAL1,
15761
15539
  :STRING_LITERAL2,
15762
15540
  :STRING_LITERAL_LONG1,
@@ -15769,87 +15547,54 @@ module SPARQL::Grammar::Meta
15769
15547
  :DOUBLE_POSITIVE,
15770
15548
  :INTEGER_NEGATIVE,
15771
15549
  :DECIMAL_NEGATIVE,
15772
- :DOUBLE_NEGATIVE,
15773
- "COUNT",
15774
- "SUM",
15775
- "MIN",
15776
- "MAX",
15777
- "AVG",
15778
- "SAMPLE",
15779
- "GROUP_CONCAT",
15550
+ :DOUBLE_NEGATIVE],
15551
+ :_QuotedTP_2 => [
15552
+ "a",
15553
+ :VAR1,
15554
+ :VAR2,
15555
+ :IRIREF,
15780
15556
  :PNAME_LN,
15781
15557
  :PNAME_NS],
15782
- :_RegexExpression_5 => [
15783
- "!",
15784
- "+",
15785
- "-",
15558
+ :_QuotedTP_3 => [
15786
15559
  :VAR1,
15787
15560
  :VAR2,
15788
- "(",
15561
+ :BLANK_NODE_LABEL,
15562
+ :ANON,
15563
+ :IRIREF,
15789
15564
  "true",
15790
15565
  "false",
15791
15566
  "<<",
15792
- "STR",
15793
- "LANG",
15794
- "LANGMATCHES",
15795
- "DATATYPE",
15796
- "BOUND",
15797
- "IRI",
15798
- "URI",
15799
- "BNODE",
15800
- "RAND",
15801
- "ABS",
15802
- "CEIL",
15803
- "FLOOR",
15804
- "ROUND",
15805
- "CONCAT",
15806
- "SUBSTR",
15807
- "STRLEN",
15808
- "REPLACE",
15809
- "UCASE",
15810
- "LCASE",
15811
- "ENCODE_FOR_URI",
15812
- "CONTAINS",
15813
- "STRSTARTS",
15814
- "STRENDS",
15815
- "STRBEFORE",
15816
- "STRAFTER",
15817
- "YEAR",
15818
- "MONTH",
15819
- "DAY",
15820
- "HOURS",
15821
- "MINUTES",
15822
- "SECONDS",
15823
- "TIMEZONE",
15824
- "TZ",
15825
- "NOW",
15826
- "UUID",
15827
- "STRUUID",
15828
- "MD5",
15829
- "SHA1",
15830
- "SHA224",
15831
- "SHA256",
15832
- "SHA384",
15833
- "SHA512",
15834
- "COALESCE",
15835
- "IF",
15836
- "STRLANG",
15837
- "STRDT",
15838
- "sameTerm",
15839
- "isIRI",
15840
- "isURI",
15841
- "isBLANK",
15842
- "isLITERAL",
15843
- "isNUMERIC",
15844
- "TRIPLE",
15845
- "SUBJECT",
15846
- "PREDICATE",
15847
- "OBJECT",
15848
- "isTRIPLE",
15849
- "REGEX",
15850
- "EXISTS",
15851
- "NOT",
15567
+ :PNAME_LN,
15568
+ :PNAME_NS,
15569
+ :STRING_LITERAL1,
15570
+ :STRING_LITERAL2,
15571
+ :STRING_LITERAL_LONG1,
15572
+ :STRING_LITERAL_LONG2,
15573
+ :INTEGER,
15574
+ :DECIMAL,
15575
+ :DOUBLE,
15576
+ :INTEGER_POSITIVE,
15577
+ :DECIMAL_POSITIVE,
15578
+ :DOUBLE_POSITIVE,
15579
+ :INTEGER_NEGATIVE,
15580
+ :DECIMAL_NEGATIVE,
15581
+ :DOUBLE_NEGATIVE],
15582
+ :_QuotedTP_4 => [
15583
+ ">>"],
15584
+ :QuotedTriple => [
15585
+ "<<"],
15586
+ :_QuotedTriple_1 => [
15587
+ "a",
15588
+ :IRIREF,
15589
+ :PNAME_LN,
15590
+ :PNAME_NS],
15591
+ :_QuotedTriple_2 => [
15852
15592
  :IRIREF,
15593
+ "true",
15594
+ "false",
15595
+ "<<",
15596
+ :PNAME_LN,
15597
+ :PNAME_NS,
15853
15598
  :STRING_LITERAL1,
15854
15599
  :STRING_LITERAL2,
15855
15600
  :STRING_LITERAL_LONG1,
@@ -15862,19 +15607,62 @@ module SPARQL::Grammar::Meta
15862
15607
  :DOUBLE_POSITIVE,
15863
15608
  :INTEGER_NEGATIVE,
15864
15609
  :DECIMAL_NEGATIVE,
15865
- :DOUBLE_NEGATIVE,
15866
- "COUNT",
15867
- "SUM",
15868
- "MIN",
15869
- "MAX",
15870
- "AVG",
15871
- "SAMPLE",
15872
- "GROUP_CONCAT",
15610
+ :DOUBLE_NEGATIVE],
15611
+ :_QuotedTriple_3 => [
15612
+ "a",
15613
+ :IRIREF,
15873
15614
  :PNAME_LN,
15874
15615
  :PNAME_NS],
15875
- :_RegexExpression_6 => [
15616
+ :_QuotedTriple_4 => [
15617
+ :IRIREF,
15618
+ "true",
15619
+ "false",
15620
+ "<<",
15621
+ :PNAME_LN,
15622
+ :PNAME_NS,
15623
+ :STRING_LITERAL1,
15624
+ :STRING_LITERAL2,
15625
+ :STRING_LITERAL_LONG1,
15626
+ :STRING_LITERAL_LONG2,
15627
+ :INTEGER,
15628
+ :DECIMAL,
15629
+ :DOUBLE,
15630
+ :INTEGER_POSITIVE,
15631
+ :DECIMAL_POSITIVE,
15632
+ :DOUBLE_POSITIVE,
15633
+ :INTEGER_NEGATIVE,
15634
+ :DECIMAL_NEGATIVE,
15635
+ :DOUBLE_NEGATIVE],
15636
+ :_QuotedTriple_5 => [
15637
+ ">>"],
15638
+ :RDFLiteral => [
15639
+ :STRING_LITERAL1,
15640
+ :STRING_LITERAL2,
15641
+ :STRING_LITERAL_LONG1,
15642
+ :STRING_LITERAL_LONG2],
15643
+ :_RDFLiteral_1 => [
15644
+ :_eps,
15645
+ :LANGTAG,
15646
+ "^^"],
15647
+ :_RDFLiteral_2 => [
15648
+ :LANGTAG,
15649
+ "^^"],
15650
+ :_RDFLiteral_3 => [
15651
+ "^^"],
15652
+ :_RDFLiteral_4 => [
15653
+ :LANGTAG,
15654
+ :_eps,
15655
+ "^^"],
15656
+ :RegexExpression => [
15657
+ "REGEX"],
15658
+ :_RegexExpression_1 => [
15659
+ :_eps,
15876
15660
  ","],
15877
- :_RegexExpression_7 => [
15661
+ :_RegexExpression_2 => [
15662
+ ","],
15663
+ :_RegexExpression_3 => [
15664
+ "("],
15665
+ :_RegexExpression_4 => [
15878
15666
  "!",
15879
15667
  "+",
15880
15668
  "-",
@@ -15967,10 +15755,7 @@ module SPARQL::Grammar::Meta
15967
15755
  "GROUP_CONCAT",
15968
15756
  :PNAME_LN,
15969
15757
  :PNAME_NS],
15970
- :_RegexExpression_8 => [
15971
- ",",
15972
- ")"],
15973
- :RelationalExpression => [
15758
+ :_RegexExpression_5 => [
15974
15759
  "!",
15975
15760
  "+",
15976
15761
  "-",
@@ -16063,29 +15848,9 @@ module SPARQL::Grammar::Meta
16063
15848
  "GROUP_CONCAT",
16064
15849
  :PNAME_LN,
16065
15850
  :PNAME_NS],
16066
- :_RelationalExpression_1 => [
16067
- :_eps,
16068
- "=",
16069
- "!=",
16070
- "<",
16071
- ">",
16072
- "<=",
16073
- ">=",
16074
- "IN",
16075
- "NOT"],
16076
- :_RelationalExpression_10 => [
16077
- "NOT"],
16078
- :_RelationalExpression_11 => [
16079
- :_eps,
16080
- "=",
16081
- "!=",
16082
- "<",
16083
- ">",
16084
- "<=",
16085
- ">=",
16086
- "IN",
16087
- "NOT"],
16088
- :_RelationalExpression_12 => [
15851
+ :_RegexExpression_6 => [
15852
+ ","],
15853
+ :_RegexExpression_7 => [
16089
15854
  "!",
16090
15855
  "+",
16091
15856
  "-",
@@ -16178,7 +15943,10 @@ module SPARQL::Grammar::Meta
16178
15943
  "GROUP_CONCAT",
16179
15944
  :PNAME_LN,
16180
15945
  :PNAME_NS],
16181
- :_RelationalExpression_13 => [
15946
+ :_RegexExpression_8 => [
15947
+ ",",
15948
+ ")"],
15949
+ :RelationalExpression => [
16182
15950
  "!",
16183
15951
  "+",
16184
15952
  "-",
@@ -16271,7 +16039,29 @@ module SPARQL::Grammar::Meta
16271
16039
  "GROUP_CONCAT",
16272
16040
  :PNAME_LN,
16273
16041
  :PNAME_NS],
16274
- :_RelationalExpression_14 => [
16042
+ :_RelationalExpression_1 => [
16043
+ :_eps,
16044
+ "=",
16045
+ "!=",
16046
+ "<",
16047
+ ">",
16048
+ "<=",
16049
+ ">=",
16050
+ "IN",
16051
+ "NOT"],
16052
+ :_RelationalExpression_10 => [
16053
+ "NOT"],
16054
+ :_RelationalExpression_11 => [
16055
+ :_eps,
16056
+ "=",
16057
+ "!=",
16058
+ "<",
16059
+ ">",
16060
+ "<=",
16061
+ ">=",
16062
+ "IN",
16063
+ "NOT"],
16064
+ :_RelationalExpression_12 => [
16275
16065
  "!",
16276
16066
  "+",
16277
16067
  "-",
@@ -16364,7 +16154,7 @@ module SPARQL::Grammar::Meta
16364
16154
  "GROUP_CONCAT",
16365
16155
  :PNAME_LN,
16366
16156
  :PNAME_NS],
16367
- :_RelationalExpression_15 => [
16157
+ :_RelationalExpression_13 => [
16368
16158
  "!",
16369
16159
  "+",
16370
16160
  "-",
@@ -16457,7 +16247,7 @@ module SPARQL::Grammar::Meta
16457
16247
  "GROUP_CONCAT",
16458
16248
  :PNAME_LN,
16459
16249
  :PNAME_NS],
16460
- :_RelationalExpression_16 => [
16250
+ :_RelationalExpression_14 => [
16461
16251
  "!",
16462
16252
  "+",
16463
16253
  "-",
@@ -16550,7 +16340,7 @@ module SPARQL::Grammar::Meta
16550
16340
  "GROUP_CONCAT",
16551
16341
  :PNAME_LN,
16552
16342
  :PNAME_NS],
16553
- :_RelationalExpression_17 => [
16343
+ :_RelationalExpression_15 => [
16554
16344
  "!",
16555
16345
  "+",
16556
16346
  "-",
@@ -16643,49 +16433,7 @@ module SPARQL::Grammar::Meta
16643
16433
  "GROUP_CONCAT",
16644
16434
  :PNAME_LN,
16645
16435
  :PNAME_NS],
16646
- :_RelationalExpression_18 => [
16647
- :NIL,
16648
- "("],
16649
- :_RelationalExpression_2 => [
16650
- "=",
16651
- "!=",
16652
- "<",
16653
- ">",
16654
- "<=",
16655
- ">=",
16656
- "IN",
16657
- "NOT"],
16658
- :_RelationalExpression_3 => [
16659
- "="],
16660
- :_RelationalExpression_4 => [
16661
- "!="],
16662
- :_RelationalExpression_5 => [
16663
- "<"],
16664
- :_RelationalExpression_6 => [
16665
- ">"],
16666
- :_RelationalExpression_7 => [
16667
- "<="],
16668
- :_RelationalExpression_8 => [
16669
- ">="],
16670
- :_RelationalExpression_9 => [
16671
- "IN"],
16672
- :SelectClause => [
16673
- "SELECT"],
16674
- :_SelectClause_1 => [
16675
- :_eps,
16676
- "DISTINCT",
16677
- "REDUCED"],
16678
- :_SelectClause_10 => [
16679
- :_eps,
16680
- :VAR1,
16681
- :VAR2,
16682
- "("],
16683
- :_SelectClause_11 => [
16684
- :_eps,
16685
- :VAR1,
16686
- :VAR2,
16687
- "("],
16688
- :_SelectClause_12 => [
16436
+ :_RelationalExpression_16 => [
16689
16437
  "!",
16690
16438
  "+",
16691
16439
  "-",
@@ -16778,125 +16526,7 @@ module SPARQL::Grammar::Meta
16778
16526
  "GROUP_CONCAT",
16779
16527
  :PNAME_LN,
16780
16528
  :PNAME_NS],
16781
- :_SelectClause_13 => [
16782
- "*",
16783
- :VAR1,
16784
- :VAR2,
16785
- "("],
16786
- :_SelectClause_14 => [
16787
- "AS"],
16788
- :_SelectClause_2 => [
16789
- "*",
16790
- :VAR1,
16791
- :VAR2,
16792
- "("],
16793
- :_SelectClause_3 => [
16794
- "DISTINCT",
16795
- "REDUCED"],
16796
- :_SelectClause_4 => [
16797
- :VAR1,
16798
- :VAR2,
16799
- "("],
16800
- :_SelectClause_5 => [
16801
- :VAR1,
16802
- :VAR2,
16803
- "("],
16804
- :_SelectClause_6 => [
16805
- :_eps,
16806
- :VAR1,
16807
- :VAR2,
16808
- "("],
16809
- :_SelectClause_7 => [
16810
- :VAR1,
16811
- :VAR2,
16812
- "("],
16813
- :_SelectClause_8 => [
16814
- "("],
16815
- :_SelectClause_9 => [
16816
- "DISTINCT",
16817
- "REDUCED",
16818
- "*",
16819
- :VAR1,
16820
- :VAR2,
16821
- "("],
16822
- :SelectQuery => [
16823
- "SELECT"],
16824
- :_SelectQuery_1 => [
16825
- :_eps,
16826
- "FROM"],
16827
- :_SelectQuery_2 => [
16828
- "FROM"],
16829
- :_SelectQuery_3 => [
16830
- "FROM",
16831
- "WHERE",
16832
- "{"],
16833
- :_SelectQuery_4 => [
16834
- :_eps,
16835
- "FROM"],
16836
- :ServiceGraphPattern => [
16837
- "SERVICE"],
16838
- :_ServiceGraphPattern_1 => [
16839
- "SILENT",
16840
- :_eps],
16841
- :_ServiceGraphPattern_2 => [
16842
- "SILENT",
16843
- :VAR1,
16844
- :VAR2,
16845
- :IRIREF,
16846
- :PNAME_LN,
16847
- :PNAME_NS],
16848
- :SolutionModifier => [
16849
- "GROUP",
16850
- "HAVING",
16851
- "ORDER",
16852
- :_eps,
16853
- "LIMIT",
16854
- "OFFSET"],
16855
- :_SolutionModifier_1 => [
16856
- :_eps,
16857
- "GROUP"],
16858
- :_SolutionModifier_2 => [
16859
- :_eps,
16860
- "HAVING"],
16861
- :_SolutionModifier_3 => [
16862
- :_eps,
16863
- "ORDER"],
16864
- :_SolutionModifier_4 => [
16865
- :_eps,
16866
- "LIMIT",
16867
- "OFFSET"],
16868
- :_SolutionModifier_5 => [
16869
- "HAVING",
16870
- "ORDER",
16871
- :_eps,
16872
- "LIMIT",
16873
- "OFFSET"],
16874
- :_SolutionModifier_6 => [
16875
- "ORDER",
16876
- :_eps,
16877
- "LIMIT",
16878
- "OFFSET"],
16879
- :_SolutionModifier_7 => [
16880
- :_eps,
16881
- "LIMIT",
16882
- "OFFSET"],
16883
- :SourceSelector => [
16884
- :IRIREF,
16885
- :PNAME_LN,
16886
- :PNAME_NS],
16887
- :StrReplaceExpression => [
16888
- "REPLACE"],
16889
- :_StrReplaceExpression_1 => [
16890
- :_eps,
16891
- ","],
16892
- :_StrReplaceExpression_10 => [
16893
- ",",
16894
- ")"],
16895
- :_StrReplaceExpression_2 => [
16896
- ","],
16897
- :_StrReplaceExpression_3 => [
16898
- "("],
16899
- :_StrReplaceExpression_4 => [
16529
+ :_RelationalExpression_17 => [
16900
16530
  "!",
16901
16531
  "+",
16902
16532
  "-",
@@ -16989,7 +16619,353 @@ module SPARQL::Grammar::Meta
16989
16619
  "GROUP_CONCAT",
16990
16620
  :PNAME_LN,
16991
16621
  :PNAME_NS],
16992
- :_StrReplaceExpression_5 => [
16622
+ :_RelationalExpression_18 => [
16623
+ :NIL,
16624
+ "("],
16625
+ :_RelationalExpression_2 => [
16626
+ "=",
16627
+ "!=",
16628
+ "<",
16629
+ ">",
16630
+ "<=",
16631
+ ">=",
16632
+ "IN",
16633
+ "NOT"],
16634
+ :_RelationalExpression_3 => [
16635
+ "="],
16636
+ :_RelationalExpression_4 => [
16637
+ "!="],
16638
+ :_RelationalExpression_5 => [
16639
+ "<"],
16640
+ :_RelationalExpression_6 => [
16641
+ ">"],
16642
+ :_RelationalExpression_7 => [
16643
+ "<="],
16644
+ :_RelationalExpression_8 => [
16645
+ ">="],
16646
+ :_RelationalExpression_9 => [
16647
+ "IN"],
16648
+ :SelectClause => [
16649
+ "SELECT"],
16650
+ :_SelectClause_1 => [
16651
+ :_eps,
16652
+ "DISTINCT",
16653
+ "REDUCED"],
16654
+ :_SelectClause_10 => [
16655
+ :_eps,
16656
+ :VAR1,
16657
+ :VAR2,
16658
+ "("],
16659
+ :_SelectClause_11 => [
16660
+ :_eps,
16661
+ :VAR1,
16662
+ :VAR2,
16663
+ "("],
16664
+ :_SelectClause_12 => [
16665
+ "!",
16666
+ "+",
16667
+ "-",
16668
+ :VAR1,
16669
+ :VAR2,
16670
+ "(",
16671
+ "true",
16672
+ "false",
16673
+ "<<",
16674
+ "STR",
16675
+ "LANG",
16676
+ "LANGMATCHES",
16677
+ "DATATYPE",
16678
+ "BOUND",
16679
+ "IRI",
16680
+ "URI",
16681
+ "BNODE",
16682
+ "RAND",
16683
+ "ABS",
16684
+ "CEIL",
16685
+ "FLOOR",
16686
+ "ROUND",
16687
+ "CONCAT",
16688
+ "SUBSTR",
16689
+ "STRLEN",
16690
+ "REPLACE",
16691
+ "UCASE",
16692
+ "LCASE",
16693
+ "ENCODE_FOR_URI",
16694
+ "CONTAINS",
16695
+ "STRSTARTS",
16696
+ "STRENDS",
16697
+ "STRBEFORE",
16698
+ "STRAFTER",
16699
+ "YEAR",
16700
+ "MONTH",
16701
+ "DAY",
16702
+ "HOURS",
16703
+ "MINUTES",
16704
+ "SECONDS",
16705
+ "TIMEZONE",
16706
+ "TZ",
16707
+ "NOW",
16708
+ "UUID",
16709
+ "STRUUID",
16710
+ "MD5",
16711
+ "SHA1",
16712
+ "SHA224",
16713
+ "SHA256",
16714
+ "SHA384",
16715
+ "SHA512",
16716
+ "COALESCE",
16717
+ "IF",
16718
+ "STRLANG",
16719
+ "STRDT",
16720
+ "sameTerm",
16721
+ "isIRI",
16722
+ "isURI",
16723
+ "isBLANK",
16724
+ "isLITERAL",
16725
+ "isNUMERIC",
16726
+ "TRIPLE",
16727
+ "SUBJECT",
16728
+ "PREDICATE",
16729
+ "OBJECT",
16730
+ "isTRIPLE",
16731
+ "REGEX",
16732
+ "EXISTS",
16733
+ "NOT",
16734
+ :IRIREF,
16735
+ :STRING_LITERAL1,
16736
+ :STRING_LITERAL2,
16737
+ :STRING_LITERAL_LONG1,
16738
+ :STRING_LITERAL_LONG2,
16739
+ :INTEGER,
16740
+ :DECIMAL,
16741
+ :DOUBLE,
16742
+ :INTEGER_POSITIVE,
16743
+ :DECIMAL_POSITIVE,
16744
+ :DOUBLE_POSITIVE,
16745
+ :INTEGER_NEGATIVE,
16746
+ :DECIMAL_NEGATIVE,
16747
+ :DOUBLE_NEGATIVE,
16748
+ "COUNT",
16749
+ "SUM",
16750
+ "MIN",
16751
+ "MAX",
16752
+ "AVG",
16753
+ "SAMPLE",
16754
+ "GROUP_CONCAT",
16755
+ :PNAME_LN,
16756
+ :PNAME_NS],
16757
+ :_SelectClause_13 => [
16758
+ "*",
16759
+ :VAR1,
16760
+ :VAR2,
16761
+ "("],
16762
+ :_SelectClause_14 => [
16763
+ "AS"],
16764
+ :_SelectClause_2 => [
16765
+ "*",
16766
+ :VAR1,
16767
+ :VAR2,
16768
+ "("],
16769
+ :_SelectClause_3 => [
16770
+ "DISTINCT",
16771
+ "REDUCED"],
16772
+ :_SelectClause_4 => [
16773
+ :VAR1,
16774
+ :VAR2,
16775
+ "("],
16776
+ :_SelectClause_5 => [
16777
+ :VAR1,
16778
+ :VAR2,
16779
+ "("],
16780
+ :_SelectClause_6 => [
16781
+ :_eps,
16782
+ :VAR1,
16783
+ :VAR2,
16784
+ "("],
16785
+ :_SelectClause_7 => [
16786
+ :VAR1,
16787
+ :VAR2,
16788
+ "("],
16789
+ :_SelectClause_8 => [
16790
+ "("],
16791
+ :_SelectClause_9 => [
16792
+ "DISTINCT",
16793
+ "REDUCED",
16794
+ "*",
16795
+ :VAR1,
16796
+ :VAR2,
16797
+ "("],
16798
+ :SelectQuery => [
16799
+ "SELECT"],
16800
+ :_SelectQuery_1 => [
16801
+ :_eps,
16802
+ "FROM"],
16803
+ :_SelectQuery_2 => [
16804
+ "FROM"],
16805
+ :_SelectQuery_3 => [
16806
+ "FROM",
16807
+ "WHERE",
16808
+ "{"],
16809
+ :_SelectQuery_4 => [
16810
+ :_eps,
16811
+ "FROM"],
16812
+ :ServiceGraphPattern => [
16813
+ "SERVICE"],
16814
+ :_ServiceGraphPattern_1 => [
16815
+ "SILENT",
16816
+ :_eps],
16817
+ :_ServiceGraphPattern_2 => [
16818
+ "SILENT",
16819
+ :VAR1,
16820
+ :VAR2,
16821
+ :IRIREF,
16822
+ :PNAME_LN,
16823
+ :PNAME_NS],
16824
+ :SolutionModifier => [
16825
+ "GROUP",
16826
+ "HAVING",
16827
+ "ORDER",
16828
+ :_eps,
16829
+ "LIMIT",
16830
+ "OFFSET"],
16831
+ :_SolutionModifier_1 => [
16832
+ :_eps,
16833
+ "GROUP"],
16834
+ :_SolutionModifier_2 => [
16835
+ :_eps,
16836
+ "HAVING"],
16837
+ :_SolutionModifier_3 => [
16838
+ :_eps,
16839
+ "ORDER"],
16840
+ :_SolutionModifier_4 => [
16841
+ :_eps,
16842
+ "LIMIT",
16843
+ "OFFSET"],
16844
+ :_SolutionModifier_5 => [
16845
+ "HAVING",
16846
+ "ORDER",
16847
+ :_eps,
16848
+ "LIMIT",
16849
+ "OFFSET"],
16850
+ :_SolutionModifier_6 => [
16851
+ "ORDER",
16852
+ :_eps,
16853
+ "LIMIT",
16854
+ "OFFSET"],
16855
+ :_SolutionModifier_7 => [
16856
+ :_eps,
16857
+ "LIMIT",
16858
+ "OFFSET"],
16859
+ :SourceSelector => [
16860
+ :IRIREF,
16861
+ :PNAME_LN,
16862
+ :PNAME_NS],
16863
+ :StrReplaceExpression => [
16864
+ "REPLACE"],
16865
+ :_StrReplaceExpression_1 => [
16866
+ :_eps,
16867
+ ","],
16868
+ :_StrReplaceExpression_10 => [
16869
+ ",",
16870
+ ")"],
16871
+ :_StrReplaceExpression_2 => [
16872
+ ","],
16873
+ :_StrReplaceExpression_3 => [
16874
+ "("],
16875
+ :_StrReplaceExpression_4 => [
16876
+ "!",
16877
+ "+",
16878
+ "-",
16879
+ :VAR1,
16880
+ :VAR2,
16881
+ "(",
16882
+ "true",
16883
+ "false",
16884
+ "<<",
16885
+ "STR",
16886
+ "LANG",
16887
+ "LANGMATCHES",
16888
+ "DATATYPE",
16889
+ "BOUND",
16890
+ "IRI",
16891
+ "URI",
16892
+ "BNODE",
16893
+ "RAND",
16894
+ "ABS",
16895
+ "CEIL",
16896
+ "FLOOR",
16897
+ "ROUND",
16898
+ "CONCAT",
16899
+ "SUBSTR",
16900
+ "STRLEN",
16901
+ "REPLACE",
16902
+ "UCASE",
16903
+ "LCASE",
16904
+ "ENCODE_FOR_URI",
16905
+ "CONTAINS",
16906
+ "STRSTARTS",
16907
+ "STRENDS",
16908
+ "STRBEFORE",
16909
+ "STRAFTER",
16910
+ "YEAR",
16911
+ "MONTH",
16912
+ "DAY",
16913
+ "HOURS",
16914
+ "MINUTES",
16915
+ "SECONDS",
16916
+ "TIMEZONE",
16917
+ "TZ",
16918
+ "NOW",
16919
+ "UUID",
16920
+ "STRUUID",
16921
+ "MD5",
16922
+ "SHA1",
16923
+ "SHA224",
16924
+ "SHA256",
16925
+ "SHA384",
16926
+ "SHA512",
16927
+ "COALESCE",
16928
+ "IF",
16929
+ "STRLANG",
16930
+ "STRDT",
16931
+ "sameTerm",
16932
+ "isIRI",
16933
+ "isURI",
16934
+ "isBLANK",
16935
+ "isLITERAL",
16936
+ "isNUMERIC",
16937
+ "TRIPLE",
16938
+ "SUBJECT",
16939
+ "PREDICATE",
16940
+ "OBJECT",
16941
+ "isTRIPLE",
16942
+ "REGEX",
16943
+ "EXISTS",
16944
+ "NOT",
16945
+ :IRIREF,
16946
+ :STRING_LITERAL1,
16947
+ :STRING_LITERAL2,
16948
+ :STRING_LITERAL_LONG1,
16949
+ :STRING_LITERAL_LONG2,
16950
+ :INTEGER,
16951
+ :DECIMAL,
16952
+ :DOUBLE,
16953
+ :INTEGER_POSITIVE,
16954
+ :DECIMAL_POSITIVE,
16955
+ :DOUBLE_POSITIVE,
16956
+ :INTEGER_NEGATIVE,
16957
+ :DECIMAL_NEGATIVE,
16958
+ :DOUBLE_NEGATIVE,
16959
+ "COUNT",
16960
+ "SUM",
16961
+ "MIN",
16962
+ "MAX",
16963
+ "AVG",
16964
+ "SAMPLE",
16965
+ "GROUP_CONCAT",
16966
+ :PNAME_LN,
16967
+ :PNAME_NS],
16968
+ :_StrReplaceExpression_5 => [
16993
16969
  "!",
16994
16970
  "+",
16995
16971
  "-",
@@ -18536,7 +18512,7 @@ module SPARQL::Grammar::Meta
18536
18512
  :INTEGER_NEGATIVE,
18537
18513
  :DECIMAL_NEGATIVE,
18538
18514
  :DOUBLE_NEGATIVE],
18539
- :VarOrTermOrEmbTP => [
18515
+ :VarOrTermOrQuotedTP => [
18540
18516
  :VAR1,
18541
18517
  :VAR2,
18542
18518
  :NIL,
@@ -18605,6 +18581,30 @@ module SPARQL::Grammar::Meta
18605
18581
  :NIL,
18606
18582
  "(",
18607
18583
  :_eps],
18584
+ :qtSubjectOrObject => [
18585
+ :VAR1,
18586
+ :VAR2,
18587
+ :BLANK_NODE_LABEL,
18588
+ :ANON,
18589
+ :IRIREF,
18590
+ "true",
18591
+ "false",
18592
+ "<<",
18593
+ :PNAME_LN,
18594
+ :PNAME_NS,
18595
+ :STRING_LITERAL1,
18596
+ :STRING_LITERAL2,
18597
+ :STRING_LITERAL_LONG1,
18598
+ :STRING_LITERAL_LONG2,
18599
+ :INTEGER,
18600
+ :DECIMAL,
18601
+ :DOUBLE,
18602
+ :INTEGER_POSITIVE,
18603
+ :DECIMAL_POSITIVE,
18604
+ :DOUBLE_POSITIVE,
18605
+ :INTEGER_NEGATIVE,
18606
+ :DECIMAL_NEGATIVE,
18607
+ :DOUBLE_NEGATIVE],
18608
18608
  }.freeze
18609
18609
  FOLLOW = {
18610
18610
  :Add => [
@@ -38503,394 +38503,6 @@ module SPARQL::Grammar::Meta
38503
38503
  :_Drop_3 => [
38504
38504
  ";",
38505
38505
  :_eof],
38506
- :EmbSubjectOrObject => [
38507
- "a",
38508
- ">>",
38509
- :VAR1,
38510
- :VAR2,
38511
- :IRIREF,
38512
- :PNAME_LN,
38513
- :PNAME_NS],
38514
- :EmbTD => [
38515
- "}",
38516
- ")",
38517
- "a",
38518
- :IRIREF,
38519
- ">>",
38520
- "UNDEF",
38521
- :PNAME_LN,
38522
- :PNAME_NS,
38523
- "<<",
38524
- "true",
38525
- "false",
38526
- :STRING_LITERAL1,
38527
- :STRING_LITERAL2,
38528
- :STRING_LITERAL_LONG1,
38529
- :STRING_LITERAL_LONG2,
38530
- :INTEGER,
38531
- :DECIMAL,
38532
- :DOUBLE,
38533
- :INTEGER_POSITIVE,
38534
- :DECIMAL_POSITIVE,
38535
- :DOUBLE_POSITIVE,
38536
- :INTEGER_NEGATIVE,
38537
- :DECIMAL_NEGATIVE,
38538
- :DOUBLE_NEGATIVE],
38539
- :_EmbTD_1 => [
38540
- "<<",
38541
- :IRIREF,
38542
- "true",
38543
- "false",
38544
- :PNAME_LN,
38545
- :PNAME_NS,
38546
- :STRING_LITERAL1,
38547
- :STRING_LITERAL2,
38548
- :STRING_LITERAL_LONG1,
38549
- :STRING_LITERAL_LONG2,
38550
- :INTEGER,
38551
- :DECIMAL,
38552
- :DOUBLE,
38553
- :INTEGER_POSITIVE,
38554
- :DECIMAL_POSITIVE,
38555
- :DOUBLE_POSITIVE,
38556
- :INTEGER_NEGATIVE,
38557
- :DECIMAL_NEGATIVE,
38558
- :DOUBLE_NEGATIVE],
38559
- :_EmbTD_2 => [
38560
- "}",
38561
- ")",
38562
- "a",
38563
- :IRIREF,
38564
- ">>",
38565
- "UNDEF",
38566
- :PNAME_LN,
38567
- :PNAME_NS,
38568
- "<<",
38569
- "true",
38570
- "false",
38571
- :STRING_LITERAL1,
38572
- :STRING_LITERAL2,
38573
- :STRING_LITERAL_LONG1,
38574
- :STRING_LITERAL_LONG2,
38575
- :INTEGER,
38576
- :DECIMAL,
38577
- :DOUBLE,
38578
- :INTEGER_POSITIVE,
38579
- :DECIMAL_POSITIVE,
38580
- :DOUBLE_POSITIVE,
38581
- :INTEGER_NEGATIVE,
38582
- :DECIMAL_NEGATIVE,
38583
- :DOUBLE_NEGATIVE],
38584
- :_EmbTD_3 => [
38585
- "}",
38586
- ")",
38587
- "a",
38588
- :IRIREF,
38589
- ">>",
38590
- "UNDEF",
38591
- :PNAME_LN,
38592
- :PNAME_NS,
38593
- "<<",
38594
- "true",
38595
- "false",
38596
- :STRING_LITERAL1,
38597
- :STRING_LITERAL2,
38598
- :STRING_LITERAL_LONG1,
38599
- :STRING_LITERAL_LONG2,
38600
- :INTEGER,
38601
- :DECIMAL,
38602
- :DOUBLE,
38603
- :INTEGER_POSITIVE,
38604
- :DECIMAL_POSITIVE,
38605
- :DOUBLE_POSITIVE,
38606
- :INTEGER_NEGATIVE,
38607
- :DECIMAL_NEGATIVE,
38608
- :DOUBLE_NEGATIVE],
38609
- :_EmbTD_4 => [
38610
- "}",
38611
- ")",
38612
- "a",
38613
- :IRIREF,
38614
- ">>",
38615
- "UNDEF",
38616
- :PNAME_LN,
38617
- :PNAME_NS,
38618
- "<<",
38619
- "true",
38620
- "false",
38621
- :STRING_LITERAL1,
38622
- :STRING_LITERAL2,
38623
- :STRING_LITERAL_LONG1,
38624
- :STRING_LITERAL_LONG2,
38625
- :INTEGER,
38626
- :DECIMAL,
38627
- :DOUBLE,
38628
- :INTEGER_POSITIVE,
38629
- :DECIMAL_POSITIVE,
38630
- :DOUBLE_POSITIVE,
38631
- :INTEGER_NEGATIVE,
38632
- :DECIMAL_NEGATIVE,
38633
- :DOUBLE_NEGATIVE],
38634
- :_EmbTD_5 => [
38635
- "}",
38636
- ")",
38637
- "a",
38638
- :IRIREF,
38639
- ">>",
38640
- "UNDEF",
38641
- :PNAME_LN,
38642
- :PNAME_NS,
38643
- "<<",
38644
- "true",
38645
- "false",
38646
- :STRING_LITERAL1,
38647
- :STRING_LITERAL2,
38648
- :STRING_LITERAL_LONG1,
38649
- :STRING_LITERAL_LONG2,
38650
- :INTEGER,
38651
- :DECIMAL,
38652
- :DOUBLE,
38653
- :INTEGER_POSITIVE,
38654
- :DECIMAL_POSITIVE,
38655
- :DOUBLE_POSITIVE,
38656
- :INTEGER_NEGATIVE,
38657
- :DECIMAL_NEGATIVE,
38658
- :DOUBLE_NEGATIVE],
38659
- :EmbTP => [
38660
- "a",
38661
- ">>",
38662
- "{|",
38663
- ")",
38664
- ",",
38665
- "]",
38666
- "|}",
38667
- :VAR1,
38668
- :VAR2,
38669
- :IRIREF,
38670
- ";",
38671
- ".",
38672
- "}",
38673
- :NIL,
38674
- "<<",
38675
- "(",
38676
- "[",
38677
- :PNAME_LN,
38678
- :PNAME_NS,
38679
- "true",
38680
- "false",
38681
- :BLANK_NODE_LABEL,
38682
- :ANON,
38683
- "GRAPH",
38684
- :STRING_LITERAL1,
38685
- :STRING_LITERAL2,
38686
- :STRING_LITERAL_LONG1,
38687
- :STRING_LITERAL_LONG2,
38688
- :INTEGER,
38689
- :DECIMAL,
38690
- :DOUBLE,
38691
- :INTEGER_POSITIVE,
38692
- :DECIMAL_POSITIVE,
38693
- :DOUBLE_POSITIVE,
38694
- :INTEGER_NEGATIVE,
38695
- :DECIMAL_NEGATIVE,
38696
- :DOUBLE_NEGATIVE,
38697
- "{",
38698
- "OPTIONAL",
38699
- "MINUS",
38700
- "SERVICE",
38701
- "FILTER",
38702
- "BIND",
38703
- "VALUES",
38704
- "^",
38705
- "!"],
38706
- :_EmbTP_1 => [
38707
- "a",
38708
- ">>",
38709
- "{|",
38710
- ")",
38711
- ",",
38712
- "]",
38713
- "|}",
38714
- :VAR1,
38715
- :VAR2,
38716
- :IRIREF,
38717
- ";",
38718
- ".",
38719
- "}",
38720
- :NIL,
38721
- "<<",
38722
- "(",
38723
- "[",
38724
- :PNAME_LN,
38725
- :PNAME_NS,
38726
- "true",
38727
- "false",
38728
- :BLANK_NODE_LABEL,
38729
- :ANON,
38730
- "GRAPH",
38731
- :STRING_LITERAL1,
38732
- :STRING_LITERAL2,
38733
- :STRING_LITERAL_LONG1,
38734
- :STRING_LITERAL_LONG2,
38735
- :INTEGER,
38736
- :DECIMAL,
38737
- :DOUBLE,
38738
- :INTEGER_POSITIVE,
38739
- :DECIMAL_POSITIVE,
38740
- :DOUBLE_POSITIVE,
38741
- :INTEGER_NEGATIVE,
38742
- :DECIMAL_NEGATIVE,
38743
- :DOUBLE_NEGATIVE,
38744
- "{",
38745
- "OPTIONAL",
38746
- "MINUS",
38747
- "SERVICE",
38748
- "FILTER",
38749
- "BIND",
38750
- "VALUES",
38751
- "^",
38752
- "!"],
38753
- :_EmbTP_2 => [
38754
- "a",
38755
- ">>",
38756
- "{|",
38757
- ")",
38758
- ",",
38759
- "]",
38760
- "|}",
38761
- :VAR1,
38762
- :VAR2,
38763
- :IRIREF,
38764
- ";",
38765
- ".",
38766
- "}",
38767
- :NIL,
38768
- "<<",
38769
- "(",
38770
- "[",
38771
- :PNAME_LN,
38772
- :PNAME_NS,
38773
- "true",
38774
- "false",
38775
- :BLANK_NODE_LABEL,
38776
- :ANON,
38777
- "GRAPH",
38778
- :STRING_LITERAL1,
38779
- :STRING_LITERAL2,
38780
- :STRING_LITERAL_LONG1,
38781
- :STRING_LITERAL_LONG2,
38782
- :INTEGER,
38783
- :DECIMAL,
38784
- :DOUBLE,
38785
- :INTEGER_POSITIVE,
38786
- :DECIMAL_POSITIVE,
38787
- :DOUBLE_POSITIVE,
38788
- :INTEGER_NEGATIVE,
38789
- :DECIMAL_NEGATIVE,
38790
- :DOUBLE_NEGATIVE,
38791
- "{",
38792
- "OPTIONAL",
38793
- "MINUS",
38794
- "SERVICE",
38795
- "FILTER",
38796
- "BIND",
38797
- "VALUES",
38798
- "^",
38799
- "!"],
38800
- :_EmbTP_3 => [
38801
- "a",
38802
- ">>",
38803
- "{|",
38804
- ")",
38805
- ",",
38806
- "]",
38807
- "|}",
38808
- :VAR1,
38809
- :VAR2,
38810
- :IRIREF,
38811
- ";",
38812
- ".",
38813
- "}",
38814
- :NIL,
38815
- "<<",
38816
- "(",
38817
- "[",
38818
- :PNAME_LN,
38819
- :PNAME_NS,
38820
- "true",
38821
- "false",
38822
- :BLANK_NODE_LABEL,
38823
- :ANON,
38824
- "GRAPH",
38825
- :STRING_LITERAL1,
38826
- :STRING_LITERAL2,
38827
- :STRING_LITERAL_LONG1,
38828
- :STRING_LITERAL_LONG2,
38829
- :INTEGER,
38830
- :DECIMAL,
38831
- :DOUBLE,
38832
- :INTEGER_POSITIVE,
38833
- :DECIMAL_POSITIVE,
38834
- :DOUBLE_POSITIVE,
38835
- :INTEGER_NEGATIVE,
38836
- :DECIMAL_NEGATIVE,
38837
- :DOUBLE_NEGATIVE,
38838
- "{",
38839
- "OPTIONAL",
38840
- "MINUS",
38841
- "SERVICE",
38842
- "FILTER",
38843
- "BIND",
38844
- "VALUES",
38845
- "^",
38846
- "!"],
38847
- :_EmbTP_4 => [
38848
- "a",
38849
- ">>",
38850
- "{|",
38851
- ")",
38852
- ",",
38853
- "]",
38854
- "|}",
38855
- :VAR1,
38856
- :VAR2,
38857
- :IRIREF,
38858
- ";",
38859
- ".",
38860
- "}",
38861
- :NIL,
38862
- "<<",
38863
- "(",
38864
- "[",
38865
- :PNAME_LN,
38866
- :PNAME_NS,
38867
- "true",
38868
- "false",
38869
- :BLANK_NODE_LABEL,
38870
- :ANON,
38871
- "GRAPH",
38872
- :STRING_LITERAL1,
38873
- :STRING_LITERAL2,
38874
- :STRING_LITERAL_LONG1,
38875
- :STRING_LITERAL_LONG2,
38876
- :INTEGER,
38877
- :DECIMAL,
38878
- :DOUBLE,
38879
- :INTEGER_POSITIVE,
38880
- :DECIMAL_POSITIVE,
38881
- :DOUBLE_POSITIVE,
38882
- :INTEGER_NEGATIVE,
38883
- :DECIMAL_NEGATIVE,
38884
- :DOUBLE_NEGATIVE,
38885
- "{",
38886
- "OPTIONAL",
38887
- "MINUS",
38888
- "SERVICE",
38889
- "FILTER",
38890
- "BIND",
38891
- "VALUES",
38892
- "^",
38893
- "!"],
38894
38506
  :ExistsFunc => [
38895
38507
  ".",
38896
38508
  "AS",
@@ -39147,7 +38759,7 @@ module SPARQL::Grammar::Meta
39147
38759
  :INTEGER,
39148
38760
  :DECIMAL,
39149
38761
  :DOUBLE],
39150
- :ExprEmbTP => [
38762
+ :ExprQuotedTP => [
39151
38763
  "AS",
39152
38764
  ")",
39153
38765
  ",",
@@ -39179,7 +38791,7 @@ module SPARQL::Grammar::Meta
39179
38791
  :INTEGER_NEGATIVE,
39180
38792
  :DECIMAL_NEGATIVE,
39181
38793
  :DOUBLE_NEGATIVE],
39182
- :_ExprEmbTP_1 => [
38794
+ :_ExprQuotedTP_1 => [
39183
38795
  "AS",
39184
38796
  ")",
39185
38797
  ",",
@@ -39211,7 +38823,7 @@ module SPARQL::Grammar::Meta
39211
38823
  :INTEGER_NEGATIVE,
39212
38824
  :DECIMAL_NEGATIVE,
39213
38825
  :DOUBLE_NEGATIVE],
39214
- :_ExprEmbTP_2 => [
38826
+ :_ExprQuotedTP_2 => [
39215
38827
  "AS",
39216
38828
  ")",
39217
38829
  ",",
@@ -39243,7 +38855,7 @@ module SPARQL::Grammar::Meta
39243
38855
  :INTEGER_NEGATIVE,
39244
38856
  :DECIMAL_NEGATIVE,
39245
38857
  :DOUBLE_NEGATIVE],
39246
- :_ExprEmbTP_3 => [
38858
+ :_ExprQuotedTP_3 => [
39247
38859
  "AS",
39248
38860
  ")",
39249
38861
  ",",
@@ -39275,7 +38887,7 @@ module SPARQL::Grammar::Meta
39275
38887
  :INTEGER_NEGATIVE,
39276
38888
  :DECIMAL_NEGATIVE,
39277
38889
  :DOUBLE_NEGATIVE],
39278
- :_ExprEmbTP_4 => [
38890
+ :_ExprQuotedTP_4 => [
39279
38891
  "AS",
39280
38892
  ")",
39281
38893
  ",",
@@ -42809,10 +42421,10 @@ module SPARQL::Grammar::Meta
42809
42421
  ")",
42810
42422
  "AS",
42811
42423
  ",",
42812
- "a",
42813
- ">>",
42814
42424
  "*",
42815
42425
  "/",
42426
+ "a",
42427
+ ">>",
42816
42428
  :IRIREF,
42817
42429
  "UNDEF",
42818
42430
  "{|",
@@ -42872,10 +42484,10 @@ module SPARQL::Grammar::Meta
42872
42484
  ")",
42873
42485
  "AS",
42874
42486
  ",",
42875
- "a",
42876
- ">>",
42877
42487
  "*",
42878
42488
  "/",
42489
+ "a",
42490
+ ">>",
42879
42491
  :IRIREF,
42880
42492
  "UNDEF",
42881
42493
  "{|",
@@ -44910,16 +44522,16 @@ module SPARQL::Grammar::Meta
44910
44522
  "{",
44911
44523
  :VAR1,
44912
44524
  :VAR2,
44913
- "<<",
44914
44525
  :BLANK_NODE_LABEL,
44915
44526
  :ANON,
44916
44527
  :IRIREF,
44917
44528
  "true",
44918
44529
  "false",
44919
- "a",
44920
- ">>",
44530
+ "<<",
44921
44531
  "AS",
44922
44532
  ",",
44533
+ "a",
44534
+ ">>",
44923
44535
  "INTO",
44924
44536
  ";",
44925
44537
  :_eof,
@@ -45412,25 +45024,262 @@ module SPARQL::Grammar::Meta
45412
45024
  :INTEGER_NEGATIVE,
45413
45025
  :DECIMAL_NEGATIVE,
45414
45026
  :DOUBLE_NEGATIVE],
45415
- :Quads => [
45027
+ :Quads => [
45028
+ "}"],
45029
+ :QuadsNotTriples => [
45030
+ ".",
45031
+ "}",
45032
+ "GRAPH",
45033
+ :VAR1,
45034
+ :VAR2,
45035
+ :NIL,
45036
+ "<<",
45037
+ :IRIREF,
45038
+ "true",
45039
+ "false",
45040
+ :BLANK_NODE_LABEL,
45041
+ :ANON,
45042
+ "(",
45043
+ "[",
45044
+ :PNAME_LN,
45045
+ :PNAME_NS,
45046
+ :STRING_LITERAL1,
45047
+ :STRING_LITERAL2,
45048
+ :STRING_LITERAL_LONG1,
45049
+ :STRING_LITERAL_LONG2,
45050
+ :INTEGER,
45051
+ :DECIMAL,
45052
+ :DOUBLE,
45053
+ :INTEGER_POSITIVE,
45054
+ :DECIMAL_POSITIVE,
45055
+ :DOUBLE_POSITIVE,
45056
+ :INTEGER_NEGATIVE,
45057
+ :DECIMAL_NEGATIVE,
45058
+ :DOUBLE_NEGATIVE],
45059
+ :_QuadsNotTriples_1 => [
45060
+ "}"],
45061
+ :_QuadsNotTriples_2 => [
45062
+ ".",
45063
+ "}",
45064
+ "GRAPH",
45065
+ :VAR1,
45066
+ :VAR2,
45067
+ :NIL,
45068
+ "<<",
45069
+ :IRIREF,
45070
+ "true",
45071
+ "false",
45072
+ :BLANK_NODE_LABEL,
45073
+ :ANON,
45074
+ "(",
45075
+ "[",
45076
+ :PNAME_LN,
45077
+ :PNAME_NS,
45078
+ :STRING_LITERAL1,
45079
+ :STRING_LITERAL2,
45080
+ :STRING_LITERAL_LONG1,
45081
+ :STRING_LITERAL_LONG2,
45082
+ :INTEGER,
45083
+ :DECIMAL,
45084
+ :DOUBLE,
45085
+ :INTEGER_POSITIVE,
45086
+ :DECIMAL_POSITIVE,
45087
+ :DOUBLE_POSITIVE,
45088
+ :INTEGER_NEGATIVE,
45089
+ :DECIMAL_NEGATIVE,
45090
+ :DOUBLE_NEGATIVE],
45091
+ :_QuadsNotTriples_3 => [
45092
+ ".",
45093
+ "}",
45094
+ "GRAPH",
45095
+ :VAR1,
45096
+ :VAR2,
45097
+ :NIL,
45098
+ "<<",
45099
+ :IRIREF,
45100
+ "true",
45101
+ "false",
45102
+ :BLANK_NODE_LABEL,
45103
+ :ANON,
45104
+ "(",
45105
+ "[",
45106
+ :PNAME_LN,
45107
+ :PNAME_NS,
45108
+ :STRING_LITERAL1,
45109
+ :STRING_LITERAL2,
45110
+ :STRING_LITERAL_LONG1,
45111
+ :STRING_LITERAL_LONG2,
45112
+ :INTEGER,
45113
+ :DECIMAL,
45114
+ :DOUBLE,
45115
+ :INTEGER_POSITIVE,
45116
+ :DECIMAL_POSITIVE,
45117
+ :DOUBLE_POSITIVE,
45118
+ :INTEGER_NEGATIVE,
45119
+ :DECIMAL_NEGATIVE,
45120
+ :DOUBLE_NEGATIVE],
45121
+ :_QuadsNotTriples_4 => [
45122
+ ".",
45123
+ "}",
45124
+ "GRAPH",
45125
+ :VAR1,
45126
+ :VAR2,
45127
+ :NIL,
45128
+ "<<",
45129
+ :IRIREF,
45130
+ "true",
45131
+ "false",
45132
+ :BLANK_NODE_LABEL,
45133
+ :ANON,
45134
+ "(",
45135
+ "[",
45136
+ :PNAME_LN,
45137
+ :PNAME_NS,
45138
+ :STRING_LITERAL1,
45139
+ :STRING_LITERAL2,
45140
+ :STRING_LITERAL_LONG1,
45141
+ :STRING_LITERAL_LONG2,
45142
+ :INTEGER,
45143
+ :DECIMAL,
45144
+ :DOUBLE,
45145
+ :INTEGER_POSITIVE,
45146
+ :DECIMAL_POSITIVE,
45147
+ :DOUBLE_POSITIVE,
45148
+ :INTEGER_NEGATIVE,
45149
+ :DECIMAL_NEGATIVE,
45150
+ :DOUBLE_NEGATIVE],
45151
+ :_Quads_1 => [
45152
+ "}",
45153
+ "GRAPH"],
45154
+ :_Quads_10 => [
45155
+ "}",
45156
+ "GRAPH"],
45157
+ :_Quads_2 => [
45158
+ "}"],
45159
+ :_Quads_3 => [
45160
+ "}",
45161
+ "GRAPH"],
45162
+ :_Quads_4 => [
45163
+ "}"],
45164
+ :_Quads_5 => [
45165
+ "}",
45166
+ "GRAPH",
45167
+ :VAR1,
45168
+ :VAR2,
45169
+ :NIL,
45170
+ "<<",
45171
+ :IRIREF,
45172
+ "true",
45173
+ "false",
45174
+ :BLANK_NODE_LABEL,
45175
+ :ANON,
45176
+ "(",
45177
+ "[",
45178
+ :PNAME_LN,
45179
+ :PNAME_NS,
45180
+ :STRING_LITERAL1,
45181
+ :STRING_LITERAL2,
45182
+ :STRING_LITERAL_LONG1,
45183
+ :STRING_LITERAL_LONG2,
45184
+ :INTEGER,
45185
+ :DECIMAL,
45186
+ :DOUBLE,
45187
+ :INTEGER_POSITIVE,
45188
+ :DECIMAL_POSITIVE,
45189
+ :DOUBLE_POSITIVE,
45190
+ :INTEGER_NEGATIVE,
45191
+ :DECIMAL_NEGATIVE,
45192
+ :DOUBLE_NEGATIVE],
45193
+ :_Quads_6 => [
45194
+ "}",
45195
+ "GRAPH"],
45196
+ :_Quads_7 => [
45416
45197
  "}"],
45417
- :QuadsNotTriples => [
45418
- ".",
45198
+ :_Quads_8 => [
45199
+ "}"],
45200
+ :_Quads_9 => [
45419
45201
  "}",
45420
- "GRAPH",
45202
+ "GRAPH"],
45203
+ :Query => [
45204
+ :_eof],
45205
+ :QueryUnit => [
45206
+ :_eof],
45207
+ :_Query_1 => [
45208
+ :_eof],
45209
+ :_Query_2 => [
45210
+ :_eof],
45211
+ :QuotedTP => [
45212
+ "a",
45213
+ ">>",
45214
+ "{|",
45215
+ ")",
45216
+ ",",
45217
+ "]",
45218
+ "|}",
45421
45219
  :VAR1,
45422
45220
  :VAR2,
45221
+ :IRIREF,
45222
+ ";",
45223
+ ".",
45224
+ "}",
45423
45225
  :NIL,
45424
45226
  "<<",
45425
- :IRIREF,
45227
+ "(",
45228
+ "[",
45229
+ :PNAME_LN,
45230
+ :PNAME_NS,
45426
45231
  "true",
45427
45232
  "false",
45428
45233
  :BLANK_NODE_LABEL,
45429
45234
  :ANON,
45235
+ "GRAPH",
45236
+ :STRING_LITERAL1,
45237
+ :STRING_LITERAL2,
45238
+ :STRING_LITERAL_LONG1,
45239
+ :STRING_LITERAL_LONG2,
45240
+ :INTEGER,
45241
+ :DECIMAL,
45242
+ :DOUBLE,
45243
+ :INTEGER_POSITIVE,
45244
+ :DECIMAL_POSITIVE,
45245
+ :DOUBLE_POSITIVE,
45246
+ :INTEGER_NEGATIVE,
45247
+ :DECIMAL_NEGATIVE,
45248
+ :DOUBLE_NEGATIVE,
45249
+ "{",
45250
+ "OPTIONAL",
45251
+ "MINUS",
45252
+ "SERVICE",
45253
+ "FILTER",
45254
+ "BIND",
45255
+ "VALUES",
45256
+ "^",
45257
+ "!"],
45258
+ :_QuotedTP_1 => [
45259
+ "a",
45260
+ ">>",
45261
+ "{|",
45262
+ ")",
45263
+ ",",
45264
+ "]",
45265
+ "|}",
45266
+ :VAR1,
45267
+ :VAR2,
45268
+ :IRIREF,
45269
+ ";",
45270
+ ".",
45271
+ "}",
45272
+ :NIL,
45273
+ "<<",
45430
45274
  "(",
45431
45275
  "[",
45432
45276
  :PNAME_LN,
45433
45277
  :PNAME_NS,
45278
+ "true",
45279
+ "false",
45280
+ :BLANK_NODE_LABEL,
45281
+ :ANON,
45282
+ "GRAPH",
45434
45283
  :STRING_LITERAL1,
45435
45284
  :STRING_LITERAL2,
45436
45285
  :STRING_LITERAL_LONG1,
@@ -45443,26 +45292,88 @@ module SPARQL::Grammar::Meta
45443
45292
  :DOUBLE_POSITIVE,
45444
45293
  :INTEGER_NEGATIVE,
45445
45294
  :DECIMAL_NEGATIVE,
45446
- :DOUBLE_NEGATIVE],
45447
- :_QuadsNotTriples_1 => [
45448
- "}"],
45449
- :_QuadsNotTriples_2 => [
45450
- ".",
45451
- "}",
45452
- "GRAPH",
45295
+ :DOUBLE_NEGATIVE,
45296
+ "{",
45297
+ "OPTIONAL",
45298
+ "MINUS",
45299
+ "SERVICE",
45300
+ "FILTER",
45301
+ "BIND",
45302
+ "VALUES",
45303
+ "^",
45304
+ "!"],
45305
+ :_QuotedTP_2 => [
45306
+ "a",
45307
+ ">>",
45308
+ "{|",
45309
+ ")",
45310
+ ",",
45311
+ "]",
45312
+ "|}",
45453
45313
  :VAR1,
45454
45314
  :VAR2,
45315
+ :IRIREF,
45316
+ ";",
45317
+ ".",
45318
+ "}",
45455
45319
  :NIL,
45456
45320
  "<<",
45457
- :IRIREF,
45321
+ "(",
45322
+ "[",
45323
+ :PNAME_LN,
45324
+ :PNAME_NS,
45458
45325
  "true",
45459
45326
  "false",
45460
45327
  :BLANK_NODE_LABEL,
45461
45328
  :ANON,
45329
+ "GRAPH",
45330
+ :STRING_LITERAL1,
45331
+ :STRING_LITERAL2,
45332
+ :STRING_LITERAL_LONG1,
45333
+ :STRING_LITERAL_LONG2,
45334
+ :INTEGER,
45335
+ :DECIMAL,
45336
+ :DOUBLE,
45337
+ :INTEGER_POSITIVE,
45338
+ :DECIMAL_POSITIVE,
45339
+ :DOUBLE_POSITIVE,
45340
+ :INTEGER_NEGATIVE,
45341
+ :DECIMAL_NEGATIVE,
45342
+ :DOUBLE_NEGATIVE,
45343
+ "{",
45344
+ "OPTIONAL",
45345
+ "MINUS",
45346
+ "SERVICE",
45347
+ "FILTER",
45348
+ "BIND",
45349
+ "VALUES",
45350
+ "^",
45351
+ "!"],
45352
+ :_QuotedTP_3 => [
45353
+ "a",
45354
+ ">>",
45355
+ "{|",
45356
+ ")",
45357
+ ",",
45358
+ "]",
45359
+ "|}",
45360
+ :VAR1,
45361
+ :VAR2,
45362
+ :IRIREF,
45363
+ ";",
45364
+ ".",
45365
+ "}",
45366
+ :NIL,
45367
+ "<<",
45462
45368
  "(",
45463
45369
  "[",
45464
45370
  :PNAME_LN,
45465
45371
  :PNAME_NS,
45372
+ "true",
45373
+ "false",
45374
+ :BLANK_NODE_LABEL,
45375
+ :ANON,
45376
+ "GRAPH",
45466
45377
  :STRING_LITERAL1,
45467
45378
  :STRING_LITERAL2,
45468
45379
  :STRING_LITERAL_LONG1,
@@ -45475,24 +45386,75 @@ module SPARQL::Grammar::Meta
45475
45386
  :DOUBLE_POSITIVE,
45476
45387
  :INTEGER_NEGATIVE,
45477
45388
  :DECIMAL_NEGATIVE,
45478
- :DOUBLE_NEGATIVE],
45479
- :_QuadsNotTriples_3 => [
45480
- ".",
45481
- "}",
45482
- "GRAPH",
45389
+ :DOUBLE_NEGATIVE,
45390
+ "{",
45391
+ "OPTIONAL",
45392
+ "MINUS",
45393
+ "SERVICE",
45394
+ "FILTER",
45395
+ "BIND",
45396
+ "VALUES",
45397
+ "^",
45398
+ "!"],
45399
+ :_QuotedTP_4 => [
45400
+ "a",
45401
+ ">>",
45402
+ "{|",
45403
+ ")",
45404
+ ",",
45405
+ "]",
45406
+ "|}",
45483
45407
  :VAR1,
45484
45408
  :VAR2,
45409
+ :IRIREF,
45410
+ ";",
45411
+ ".",
45412
+ "}",
45485
45413
  :NIL,
45486
45414
  "<<",
45487
- :IRIREF,
45415
+ "(",
45416
+ "[",
45417
+ :PNAME_LN,
45418
+ :PNAME_NS,
45488
45419
  "true",
45489
45420
  "false",
45490
45421
  :BLANK_NODE_LABEL,
45491
45422
  :ANON,
45492
- "(",
45493
- "[",
45423
+ "GRAPH",
45424
+ :STRING_LITERAL1,
45425
+ :STRING_LITERAL2,
45426
+ :STRING_LITERAL_LONG1,
45427
+ :STRING_LITERAL_LONG2,
45428
+ :INTEGER,
45429
+ :DECIMAL,
45430
+ :DOUBLE,
45431
+ :INTEGER_POSITIVE,
45432
+ :DECIMAL_POSITIVE,
45433
+ :DOUBLE_POSITIVE,
45434
+ :INTEGER_NEGATIVE,
45435
+ :DECIMAL_NEGATIVE,
45436
+ :DOUBLE_NEGATIVE,
45437
+ "{",
45438
+ "OPTIONAL",
45439
+ "MINUS",
45440
+ "SERVICE",
45441
+ "FILTER",
45442
+ "BIND",
45443
+ "VALUES",
45444
+ "^",
45445
+ "!"],
45446
+ :QuotedTriple => [
45447
+ "}",
45448
+ ")",
45449
+ "a",
45450
+ :IRIREF,
45451
+ ">>",
45452
+ "UNDEF",
45494
45453
  :PNAME_LN,
45495
45454
  :PNAME_NS,
45455
+ "<<",
45456
+ "true",
45457
+ "false",
45496
45458
  :STRING_LITERAL1,
45497
45459
  :STRING_LITERAL2,
45498
45460
  :STRING_LITERAL_LONG1,
@@ -45506,21 +45468,11 @@ module SPARQL::Grammar::Meta
45506
45468
  :INTEGER_NEGATIVE,
45507
45469
  :DECIMAL_NEGATIVE,
45508
45470
  :DOUBLE_NEGATIVE],
45509
- :_QuadsNotTriples_4 => [
45510
- ".",
45511
- "}",
45512
- "GRAPH",
45513
- :VAR1,
45514
- :VAR2,
45515
- :NIL,
45516
- "<<",
45471
+ :_QuotedTriple_1 => [
45517
45472
  :IRIREF,
45518
45473
  "true",
45519
45474
  "false",
45520
- :BLANK_NODE_LABEL,
45521
- :ANON,
45522
- "(",
45523
- "[",
45475
+ "<<",
45524
45476
  :PNAME_LN,
45525
45477
  :PNAME_NS,
45526
45478
  :STRING_LITERAL1,
@@ -45536,35 +45488,43 @@ module SPARQL::Grammar::Meta
45536
45488
  :INTEGER_NEGATIVE,
45537
45489
  :DECIMAL_NEGATIVE,
45538
45490
  :DOUBLE_NEGATIVE],
45539
- :_Quads_1 => [
45491
+ :_QuotedTriple_2 => [
45540
45492
  "}",
45541
- "GRAPH"],
45542
- :_Quads_10 => [
45543
- "}",
45544
- "GRAPH"],
45545
- :_Quads_2 => [
45546
- "}"],
45547
- :_Quads_3 => [
45548
- "}",
45549
- "GRAPH"],
45550
- :_Quads_4 => [
45551
- "}"],
45552
- :_Quads_5 => [
45553
- "}",
45554
- "GRAPH",
45555
- :VAR1,
45556
- :VAR2,
45557
- :NIL,
45558
- "<<",
45493
+ ")",
45494
+ "a",
45559
45495
  :IRIREF,
45496
+ ">>",
45497
+ "UNDEF",
45498
+ :PNAME_LN,
45499
+ :PNAME_NS,
45500
+ "<<",
45560
45501
  "true",
45561
45502
  "false",
45562
- :BLANK_NODE_LABEL,
45563
- :ANON,
45564
- "(",
45565
- "[",
45503
+ :STRING_LITERAL1,
45504
+ :STRING_LITERAL2,
45505
+ :STRING_LITERAL_LONG1,
45506
+ :STRING_LITERAL_LONG2,
45507
+ :INTEGER,
45508
+ :DECIMAL,
45509
+ :DOUBLE,
45510
+ :INTEGER_POSITIVE,
45511
+ :DECIMAL_POSITIVE,
45512
+ :DOUBLE_POSITIVE,
45513
+ :INTEGER_NEGATIVE,
45514
+ :DECIMAL_NEGATIVE,
45515
+ :DOUBLE_NEGATIVE],
45516
+ :_QuotedTriple_3 => [
45517
+ "}",
45518
+ ")",
45519
+ "a",
45520
+ :IRIREF,
45521
+ ">>",
45522
+ "UNDEF",
45566
45523
  :PNAME_LN,
45567
45524
  :PNAME_NS,
45525
+ "<<",
45526
+ "true",
45527
+ "false",
45568
45528
  :STRING_LITERAL1,
45569
45529
  :STRING_LITERAL2,
45570
45530
  :STRING_LITERAL_LONG1,
@@ -45578,24 +45538,56 @@ module SPARQL::Grammar::Meta
45578
45538
  :INTEGER_NEGATIVE,
45579
45539
  :DECIMAL_NEGATIVE,
45580
45540
  :DOUBLE_NEGATIVE],
45581
- :_Quads_6 => [
45541
+ :_QuotedTriple_4 => [
45582
45542
  "}",
45583
- "GRAPH"],
45584
- :_Quads_7 => [
45585
- "}"],
45586
- :_Quads_8 => [
45587
- "}"],
45588
- :_Quads_9 => [
45543
+ ")",
45544
+ "a",
45545
+ :IRIREF,
45546
+ ">>",
45547
+ "UNDEF",
45548
+ :PNAME_LN,
45549
+ :PNAME_NS,
45550
+ "<<",
45551
+ "true",
45552
+ "false",
45553
+ :STRING_LITERAL1,
45554
+ :STRING_LITERAL2,
45555
+ :STRING_LITERAL_LONG1,
45556
+ :STRING_LITERAL_LONG2,
45557
+ :INTEGER,
45558
+ :DECIMAL,
45559
+ :DOUBLE,
45560
+ :INTEGER_POSITIVE,
45561
+ :DECIMAL_POSITIVE,
45562
+ :DOUBLE_POSITIVE,
45563
+ :INTEGER_NEGATIVE,
45564
+ :DECIMAL_NEGATIVE,
45565
+ :DOUBLE_NEGATIVE],
45566
+ :_QuotedTriple_5 => [
45589
45567
  "}",
45590
- "GRAPH"],
45591
- :Query => [
45592
- :_eof],
45593
- :QueryUnit => [
45594
- :_eof],
45595
- :_Query_1 => [
45596
- :_eof],
45597
- :_Query_2 => [
45598
- :_eof],
45568
+ ")",
45569
+ "a",
45570
+ :IRIREF,
45571
+ ">>",
45572
+ "UNDEF",
45573
+ :PNAME_LN,
45574
+ :PNAME_NS,
45575
+ "<<",
45576
+ "true",
45577
+ "false",
45578
+ :STRING_LITERAL1,
45579
+ :STRING_LITERAL2,
45580
+ :STRING_LITERAL_LONG1,
45581
+ :STRING_LITERAL_LONG2,
45582
+ :INTEGER,
45583
+ :DECIMAL,
45584
+ :DOUBLE,
45585
+ :INTEGER_POSITIVE,
45586
+ :DECIMAL_POSITIVE,
45587
+ :DOUBLE_POSITIVE,
45588
+ :INTEGER_NEGATIVE,
45589
+ :DECIMAL_NEGATIVE,
45590
+ :DOUBLE_NEGATIVE],
45599
45591
  :RDFLiteral => [
45600
45592
  "}",
45601
45593
  ")",
@@ -47133,10 +47125,10 @@ module SPARQL::Grammar::Meta
47133
47125
  ")",
47134
47126
  "AS",
47135
47127
  ",",
47136
- "a",
47137
- ">>",
47138
47128
  "FROM",
47139
47129
  "USING",
47130
+ "a",
47131
+ ">>",
47140
47132
  :IRIREF,
47141
47133
  "UNDEF",
47142
47134
  "{|",
@@ -47164,9 +47156,9 @@ module SPARQL::Grammar::Meta
47164
47156
  "/",
47165
47157
  "+",
47166
47158
  "-",
47159
+ "ORDER",
47167
47160
  :VAR1,
47168
47161
  :VAR2,
47169
- "ORDER",
47170
47162
  :STRING_LITERAL1,
47171
47163
  :STRING_LITERAL2,
47172
47164
  :STRING_LITERAL_LONG1,
@@ -48233,9 +48225,9 @@ module SPARQL::Grammar::Meta
48233
48225
  ")",
48234
48226
  "AS",
48235
48227
  ",",
48228
+ "^^",
48236
48229
  "a",
48237
48230
  ">>",
48238
- "^^",
48239
48231
  :IRIREF,
48240
48232
  "UNDEF",
48241
48233
  "{|",
@@ -49544,12 +49536,12 @@ module SPARQL::Grammar::Meta
49544
49536
  ")",
49545
49537
  :VAR1,
49546
49538
  :VAR2,
49547
- "<<",
49548
49539
  :BLANK_NODE_LABEL,
49549
49540
  :ANON,
49550
49541
  :IRIREF,
49551
49542
  "true",
49552
49543
  "false",
49544
+ "<<",
49553
49545
  "AS",
49554
49546
  ",",
49555
49547
  "a",
@@ -49681,12 +49673,12 @@ module SPARQL::Grammar::Meta
49681
49673
  "{",
49682
49674
  :VAR1,
49683
49675
  :VAR2,
49684
- "<<",
49685
49676
  :BLANK_NODE_LABEL,
49686
49677
  :ANON,
49687
49678
  :IRIREF,
49688
49679
  "true",
49689
49680
  "false",
49681
+ "<<",
49690
49682
  :PNAME_LN,
49691
49683
  :PNAME_NS,
49692
49684
  :STRING_LITERAL1,
@@ -49714,7 +49706,7 @@ module SPARQL::Grammar::Meta
49714
49706
  :_eof,
49715
49707
  "LIMIT",
49716
49708
  "OFFSET"],
49717
- :VarOrTermOrEmbTP => [
49709
+ :VarOrTermOrQuotedTP => [
49718
49710
  "a",
49719
49711
  "{|",
49720
49712
  ")",
@@ -49763,12 +49755,12 @@ module SPARQL::Grammar::Meta
49763
49755
  :Verb => [
49764
49756
  :VAR1,
49765
49757
  :VAR2,
49766
- "<<",
49767
49758
  :BLANK_NODE_LABEL,
49768
49759
  :ANON,
49769
49760
  :IRIREF,
49770
49761
  "true",
49771
49762
  "false",
49763
+ "<<",
49772
49764
  :PNAME_LN,
49773
49765
  :PNAME_NS,
49774
49766
  :STRING_LITERAL1,
@@ -49908,16 +49900,16 @@ module SPARQL::Grammar::Meta
49908
49900
  "{",
49909
49901
  :VAR1,
49910
49902
  :VAR2,
49911
- "<<",
49912
49903
  :BLANK_NODE_LABEL,
49913
49904
  :ANON,
49914
49905
  :IRIREF,
49915
49906
  "true",
49916
49907
  "false",
49917
- "a",
49918
- ">>",
49908
+ "<<",
49919
49909
  "AS",
49920
49910
  ",",
49911
+ "a",
49912
+ ">>",
49921
49913
  "INTO",
49922
49914
  ";",
49923
49915
  :_eof,
@@ -50050,6 +50042,14 @@ module SPARQL::Grammar::Meta
50050
50042
  :INTEGER_NEGATIVE,
50051
50043
  :DECIMAL_NEGATIVE,
50052
50044
  :DOUBLE_NEGATIVE],
50045
+ :qtSubjectOrObject => [
50046
+ "a",
50047
+ ">>",
50048
+ :VAR1,
50049
+ :VAR2,
50050
+ :IRIREF,
50051
+ :PNAME_LN,
50052
+ :PNAME_NS],
50053
50053
  }.freeze
50054
50054
  CLEANUP = {
50055
50055
  :_Add_1 => :opt,