sparql 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/sparql/algebra/operator/bgp.rb +1 -1
- data/lib/sparql/algebra/operator/delete_where.rb +1 -1
- data/lib/sparql/algebra/operator/extend.rb +1 -1
- data/lib/sparql/algebra/operator/filter.rb +2 -2
- data/lib/sparql/algebra/operator/graph.rb +2 -2
- data/lib/sparql/algebra/operator/join.rb +3 -3
- data/lib/sparql/algebra/operator/notoneof.rb +1 -1
- data/lib/sparql/algebra/operator/path_opt.rb +6 -6
- data/lib/sparql/algebra/operator/path_plus.rb +2 -2
- data/lib/sparql/algebra/operator/seq.rb +3 -3
- data/lib/sparql/algebra/operator/sequence.rb +4 -4
- data/lib/sparql/grammar/meta.rb +141 -1
- data/lib/sparql/grammar/terminals11.rb +1 -1
- metadata +16 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c1eab0c5c19b12353652d9d839e8272900b890c
|
4
|
+
data.tar.gz: 20594bd5868e6495e75effee822f9660ff56830d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b5b73908a2c4e565ad1d5824dcf924ec194533ddd8d659c2a649c2369a5d5048c50dc6ae312cba53f31a0a2b00ce7e288f7b5a0644300a8aeaa79671b807575
|
7
|
+
data.tar.gz: acc9ff3df157d27bf8cb9e9fe50473ccc148ad3972274b8c43cb9c04ef792df3d602c10efeacc719d3bfd9ad9a0d4e7c1e691a2d1dab338ff699774c6d1dbe5d
|
data/README.md
CHANGED
@@ -24,7 +24,7 @@ This is a [Ruby][] implementation of [SPARQL][] for [RDF.rb][].
|
|
24
24
|
* Compatible with any [Rack][] or [Sinatra][] application and any Rack-based framework.
|
25
25
|
* Helper method for describing [SPARQL Service Description][SSD]
|
26
26
|
* Implementation Report: {file:etc/earl.html EARL}
|
27
|
-
* Compatible with Ruby >=
|
27
|
+
* Compatible with Ruby >= 2.2.2.
|
28
28
|
* Compatible with older Ruby versions with the help of the [Backports][] gem.
|
29
29
|
* Supports Unicode query strings both on all versions of Ruby.
|
30
30
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.1.0
|
@@ -23,7 +23,7 @@ module SPARQL; module Algebra
|
|
23
23
|
# @yieldreturn [void] ignored
|
24
24
|
# @return [RDF::Query]
|
25
25
|
def self.new(*patterns, &block)
|
26
|
-
RDF::Query.new(*
|
26
|
+
RDF::Query.new(*patterns, graph_name: false, &block)
|
27
27
|
end
|
28
28
|
end # BGP
|
29
29
|
end # Operator
|
@@ -40,7 +40,7 @@ module SPARQL; module Algebra
|
|
40
40
|
end
|
41
41
|
memo
|
42
42
|
end
|
43
|
-
query = RDF::Query.new(*patterns)
|
43
|
+
query = RDF::Query.new(*patterns, {}) # FIXME: added hash argument needed until Statement#to_hash removed.
|
44
44
|
debug(options) {"DeleteWhere query #{query.to_sse}"}
|
45
45
|
query.execute(queryable, options.merge(depth: options[:depth].to_i + 1)) do |solution|
|
46
46
|
debug(options) {"DeleteWhere solution #{solution.to_sse}"}
|
@@ -43,7 +43,7 @@ module SPARQL; module Algebra
|
|
43
43
|
debug(options) {"Extend"}
|
44
44
|
@solutions = operand(1).execute(queryable, options.merge(depth: options[:depth].to_i + 1))
|
45
45
|
@solutions.each do |solution|
|
46
|
-
debug(options) {"===> soln #{solution.
|
46
|
+
debug(options) {"===> soln #{solution.to_h.inspect}"}
|
47
47
|
operand(0).each do |(var, expr)|
|
48
48
|
begin
|
49
49
|
val = expr.evaluate(solution, options.merge(
|
@@ -43,10 +43,10 @@ module SPARQL; module Algebra
|
|
43
43
|
queryable.query(operands.last, options.merge(depth: options[:depth].to_i + 1)) do |solution|
|
44
44
|
begin
|
45
45
|
pass = boolean(operands.first.evaluate(solution, opts)).true?
|
46
|
-
debug(options) {"(filter) #{pass.inspect} #{solution.
|
46
|
+
debug(options) {"(filter) #{pass.inspect} #{solution.to_h.inspect}"}
|
47
47
|
@solutions << solution if pass
|
48
48
|
rescue
|
49
|
-
debug(options) {"(filter) rescue(#{$!}): #{solution.
|
49
|
+
debug(options) {"(filter) rescue(#{$!}): #{solution.to_h.inspect}"}
|
50
50
|
end
|
51
51
|
end
|
52
52
|
@solutions.each(&block) if block_given?
|
@@ -40,11 +40,11 @@ module SPARQL; module Algebra
|
|
40
40
|
case patterns
|
41
41
|
when RDF::Query
|
42
42
|
# Record that the argument as a (bgp) for re-serialization back to SSE
|
43
|
-
RDF::Query.new(*
|
43
|
+
RDF::Query.new(*patterns.patterns, graph_name: name, &block)
|
44
44
|
when Operator
|
45
45
|
super
|
46
46
|
else
|
47
|
-
RDF::Query.new(*
|
47
|
+
RDF::Query.new(*patterns, graph_name: name, as_container: true, &block)
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
@@ -42,15 +42,15 @@ module SPARQL; module Algebra
|
|
42
42
|
debug(options) {"Join #{operands.to_sse}"}
|
43
43
|
|
44
44
|
left = queryable.query(operand(0), options.merge(depth: options[:depth].to_i + 1))
|
45
|
-
debug(options) {"(join)=>(left) #{left.map(&:
|
45
|
+
debug(options) {"(join)=>(left) #{left.map(&:to_h).to_sse}"}
|
46
46
|
|
47
47
|
right = queryable.query(operand(1), options.merge(depth: options[:depth].to_i + 1))
|
48
|
-
debug(options) {"(join)=>(right) #{right.map(&:
|
48
|
+
debug(options) {"(join)=>(right) #{right.map(&:to_h).to_sse}"}
|
49
49
|
|
50
50
|
@solutions = RDF::Query::Solutions(left.map do |s1|
|
51
51
|
right.map { |s2| s2.merge(s1) if s2.compatible?(s1) }
|
52
52
|
end.flatten.compact)
|
53
|
-
debug(options) {"(join)=> #{@solutions.map(&:
|
53
|
+
debug(options) {"(join)=> #{@solutions.map(&:to_h).to_sse}"}
|
54
54
|
@solutions.each(&block) if block_given?
|
55
55
|
@solutions
|
56
56
|
end
|
@@ -43,7 +43,7 @@ module SPARQL; module Algebra
|
|
43
43
|
query = Filter.new(NotIn.new(v, *operands), bgp)
|
44
44
|
queryable.query(query, options.merge(depth: options[:depth].to_i + 1)) do |solution|
|
45
45
|
solution.bindings.delete(v.to_sym)
|
46
|
-
debug(options) {"(solution)-> #{solution.
|
46
|
+
debug(options) {"(solution)-> #{solution.to_h.to_sse}"}
|
47
47
|
block.call(solution)
|
48
48
|
end
|
49
49
|
end
|
@@ -44,7 +44,7 @@ module SPARQL; module Algebra
|
|
44
44
|
query = RDF::Query.new {|q| q.pattern(subject: subject)}
|
45
45
|
queryable.query(query, options) do |solution|
|
46
46
|
solution.merge!(object.to_sym => solution[subject])
|
47
|
-
debug(options) {"(solution-s0)-> #{solution.
|
47
|
+
debug(options) {"(solution-s0)-> #{solution.to_h.to_sse}"}
|
48
48
|
solutions << solution
|
49
49
|
end if query.valid?
|
50
50
|
|
@@ -52,7 +52,7 @@ module SPARQL; module Algebra
|
|
52
52
|
query = RDF::Query.new {|q| q.pattern(object: object)}
|
53
53
|
queryable.query(query, options) do |solution|
|
54
54
|
solution.merge!(subject.to_sym => solution[object])
|
55
|
-
debug(options) {"(solution-o0)-> #{solution.
|
55
|
+
debug(options) {"(solution-o0)-> #{solution.to_h.to_sse}"}
|
56
56
|
solutions << solution
|
57
57
|
end if query.valid?
|
58
58
|
when subject.variable?
|
@@ -60,7 +60,7 @@ module SPARQL; module Algebra
|
|
60
60
|
query = RDF::Query.new {|q| q.pattern(subject: object)}
|
61
61
|
queryable.query(query, options) do |solution|
|
62
62
|
solution.merge!(subject.to_sym => object)
|
63
|
-
debug(options) {"(solution-s0)-> #{solution.
|
63
|
+
debug(options) {"(solution-s0)-> #{solution.to_h.to_sse}"}
|
64
64
|
solutions << solution
|
65
65
|
end if query.valid?
|
66
66
|
|
@@ -68,7 +68,7 @@ module SPARQL; module Algebra
|
|
68
68
|
query = RDF::Query.new {|q| q.pattern(object: object)}
|
69
69
|
queryable.query(query, options) do |solution|
|
70
70
|
solution.merge!(subject.to_sym => object)
|
71
|
-
debug(options) {"(solution-o0)-> #{solution.
|
71
|
+
debug(options) {"(solution-o0)-> #{solution.to_h.to_sse}"}
|
72
72
|
solutions << solution
|
73
73
|
end if query.valid?
|
74
74
|
when object.variable?
|
@@ -76,7 +76,7 @@ module SPARQL; module Algebra
|
|
76
76
|
query = RDF::Query.new {|q| q.pattern(subject: subject)}
|
77
77
|
queryable.query(query, options) do |solution|
|
78
78
|
solution.merge!(object.to_sym => subject)
|
79
|
-
debug(options) {"(solution-s0)-> #{solution.
|
79
|
+
debug(options) {"(solution-s0)-> #{solution.to_h.to_sse}"}
|
80
80
|
solutions << solution
|
81
81
|
end if query.valid?
|
82
82
|
|
@@ -84,7 +84,7 @@ module SPARQL; module Algebra
|
|
84
84
|
query = RDF::Query.new {|q| q.pattern(object: subject)}
|
85
85
|
queryable.query(query, options) do |solution|
|
86
86
|
solution.merge!(object.to_sym => subject)
|
87
|
-
debug(options) {"(solution-o0)-> #{solution.
|
87
|
+
debug(options) {"(solution-o0)-> #{solution.to_h.to_sse}"}
|
88
88
|
solutions << solution
|
89
89
|
end if query.valid?
|
90
90
|
else
|
@@ -60,7 +60,7 @@ module SPARQL; module Algebra
|
|
60
60
|
# For all solutions, if they are not in the accumulator, add them and recurse, otherwise skip
|
61
61
|
recursive_solutions = RDF::Query::Solutions.new
|
62
62
|
immediate_solutions.reject {|s| cumulative_solutions.include?(s)}.each do |solution|
|
63
|
-
debug(options) {"(immediate solution)-> #{solution.
|
63
|
+
debug(options) {"(immediate solution)-> #{solution.to_h.to_sse}"}
|
64
64
|
|
65
65
|
# Recurse on subject, if is a variable
|
66
66
|
case
|
@@ -88,7 +88,7 @@ module SPARQL; module Algebra
|
|
88
88
|
depth: options[:depth].to_i + 1)).uniq
|
89
89
|
end
|
90
90
|
end
|
91
|
-
debug(options) {"(recursive solutions)-> #{recursive_solutions.map(&:
|
91
|
+
debug(options) {"(recursive solutions)-> #{recursive_solutions.map(&:to_h).to_sse}"} unless recursive_solutions.empty?
|
92
92
|
|
93
93
|
solutions = (immediate_solutions + recursive_solutions).uniq
|
94
94
|
solutions.each(&block) if block_given? # Only at top-level
|
@@ -51,10 +51,10 @@ module SPARQL; module Algebra
|
|
51
51
|
end
|
52
52
|
|
53
53
|
left = queryable.query(q1, options.merge(object: v, depth: options[:depth].to_i + 1))
|
54
|
-
debug(options) {"(seq)=>(left) #{left.map(&:
|
54
|
+
debug(options) {"(seq)=>(left) #{left.map(&:to_h).to_sse}"}
|
55
55
|
|
56
56
|
right = queryable.query(q2, options.merge(subject: v, depth: options[:depth].to_i + 1))
|
57
|
-
debug(options) {"(seq)=>(right) #{right.map(&:
|
57
|
+
debug(options) {"(seq)=>(right) #{right.map(&:to_h).to_sse}"}
|
58
58
|
|
59
59
|
@solutions = RDF::Query::Solutions(left.map do |s1|
|
60
60
|
right.map do |s2|
|
@@ -64,7 +64,7 @@ module SPARQL; module Algebra
|
|
64
64
|
solution.bindings.delete(v.to_sym)
|
65
65
|
solution
|
66
66
|
end
|
67
|
-
debug(options) {"(seq)=> #{@solutions.map(&:
|
67
|
+
debug(options) {"(seq)=> #{@solutions.map(&:to_h).to_sse}"}
|
68
68
|
@solutions.each(&block) if block_given?
|
69
69
|
@solutions
|
70
70
|
end
|
@@ -39,22 +39,22 @@ module SPARQL; module Algebra
|
|
39
39
|
debug(options) {"Sequence #{operands.to_sse}"}
|
40
40
|
|
41
41
|
last = queryable.query(operands.shift, options.merge(depth: options[:depth].to_i + 1))
|
42
|
-
debug(options) {"(sequence)=>(last) #{last.map(&:
|
42
|
+
debug(options) {"(sequence)=>(last) #{last.map(&:to_h).to_sse}"}
|
43
43
|
|
44
44
|
operands.each do |op|
|
45
45
|
this = queryable.query(op, options.merge(depth: options[:depth].to_i + 1))
|
46
|
-
debug(options) {"(sequence)=>(this) #{this.map(&:
|
46
|
+
debug(options) {"(sequence)=>(this) #{this.map(&:to_h).to_sse}"}
|
47
47
|
|
48
48
|
last = last.map do |s1|
|
49
49
|
this.map do |s2|
|
50
50
|
s2.merge(s1) if s2.compatible?(s1)
|
51
51
|
end
|
52
52
|
end.flatten.compact
|
53
|
-
debug(options) {"(sequence)=>(next) #{last.map(&:
|
53
|
+
debug(options) {"(sequence)=>(next) #{last.map(&:to_h).to_sse}"}
|
54
54
|
end
|
55
55
|
|
56
56
|
@solutions = RDF::Query::Solutions.new(last)
|
57
|
-
debug(options) {"(sequence)=> #{@solutions.map(&:
|
57
|
+
debug(options) {"(sequence)=> #{@solutions.map(&:to_h).to_sse}"}
|
58
58
|
@solutions.each(&block) if block_given?
|
59
59
|
@solutions
|
60
60
|
end
|
data/lib/sparql/grammar/meta.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# This file is automatically generated by /Users/gregg/.rvm/gems/ruby-2.
|
1
|
+
# This file is automatically generated by /Users/gregg/.rvm/gems/ruby-2.3.3/bundler/gems/ebnf-bb4bd2df879d/lib/ebnf/base.rb
|
2
2
|
# BRANCH derived from etc/sparql11.bnf
|
3
3
|
module SPARQL::Grammar::Meta
|
4
4
|
START = :QueryUnit
|
@@ -45640,5 +45640,145 @@ module SPARQL::Grammar::Meta
|
|
45640
45640
|
:DECIMAL_NEGATIVE,
|
45641
45641
|
:DOUBLE_NEGATIVE],
|
45642
45642
|
}.freeze
|
45643
|
+
CLEANUP = {
|
45644
|
+
:_Add_1 => :opt,
|
45645
|
+
:_AdditiveExpression_1 => :star,
|
45646
|
+
:_AdditiveExpression_3 => :merge,
|
45647
|
+
:_AdditiveExpression_8 => :opt,
|
45648
|
+
:_Aggregate_10 => :opt,
|
45649
|
+
:_Aggregate_11 => :opt,
|
45650
|
+
:_Aggregate_12 => :opt,
|
45651
|
+
:_Aggregate_13 => :opt,
|
45652
|
+
:_Aggregate_14 => :opt,
|
45653
|
+
:_Aggregate_15 => :opt,
|
45654
|
+
:_Aggregate_16 => :opt,
|
45655
|
+
:_Aggregate_8 => :opt,
|
45656
|
+
:_ArgList_2 => :opt,
|
45657
|
+
:_ArgList_3 => :star,
|
45658
|
+
:_ArgList_5 => :merge,
|
45659
|
+
:_AskQuery_1 => :star,
|
45660
|
+
:_AskQuery_2 => :merge,
|
45661
|
+
:_Clear_1 => :opt,
|
45662
|
+
:_CollectionPath_1 => :plus,
|
45663
|
+
:_CollectionPath_2 => :star,
|
45664
|
+
:_CollectionPath_3 => :merge,
|
45665
|
+
:_Collection_1 => :plus,
|
45666
|
+
:_Collection_2 => :star,
|
45667
|
+
:_Collection_3 => :merge,
|
45668
|
+
:_ConditionalAndExpression_1 => :star,
|
45669
|
+
:_ConditionalAndExpression_3 => :merge,
|
45670
|
+
:_ConditionalOrExpression_1 => :star,
|
45671
|
+
:_ConditionalOrExpression_3 => :merge,
|
45672
|
+
:_ConstructQuery_4 => :star,
|
45673
|
+
:_ConstructQuery_5 => :merge,
|
45674
|
+
:_ConstructQuery_6 => :star,
|
45675
|
+
:_ConstructQuery_7 => :opt,
|
45676
|
+
:_ConstructQuery_8 => :merge,
|
45677
|
+
:_ConstructTemplate_1 => :opt,
|
45678
|
+
:_ConstructTriples_1 => :opt,
|
45679
|
+
:_ConstructTriples_3 => :opt,
|
45680
|
+
:_Copy_1 => :opt,
|
45681
|
+
:_Create_1 => :opt,
|
45682
|
+
:_DescribeQuery_2 => :star,
|
45683
|
+
:_DescribeQuery_3 => :opt,
|
45684
|
+
:_DescribeQuery_4 => :plus,
|
45685
|
+
:_DescribeQuery_5 => :star,
|
45686
|
+
:_DescribeQuery_6 => :merge,
|
45687
|
+
:_DescribeQuery_7 => :merge,
|
45688
|
+
:_Drop_1 => :opt,
|
45689
|
+
:_ExpressionList_2 => :star,
|
45690
|
+
:_ExpressionList_4 => :merge,
|
45691
|
+
:_GraphOrDefault_2 => :opt,
|
45692
|
+
:_GroupClause_1 => :plus,
|
45693
|
+
:_GroupClause_2 => :star,
|
45694
|
+
:_GroupClause_3 => :merge,
|
45695
|
+
:_GroupCondition_2 => :opt,
|
45696
|
+
:_GroupGraphPatternSub_1 => :opt,
|
45697
|
+
:_GroupGraphPatternSub_2 => :star,
|
45698
|
+
:_GroupGraphPatternSub_4 => :merge,
|
45699
|
+
:_GroupGraphPatternSub_5 => :opt,
|
45700
|
+
:_GroupGraphPatternSub_6 => :opt,
|
45701
|
+
:_GroupOrUnionGraphPattern_1 => :star,
|
45702
|
+
:_GroupOrUnionGraphPattern_3 => :merge,
|
45703
|
+
:_HavingClause_1 => :plus,
|
45704
|
+
:_HavingClause_2 => :star,
|
45705
|
+
:_HavingClause_3 => :merge,
|
45706
|
+
:_InlineDataFull_10 => :merge,
|
45707
|
+
:_InlineDataFull_2 => :star,
|
45708
|
+
:_InlineDataFull_4 => :star,
|
45709
|
+
:_InlineDataFull_5 => :merge,
|
45710
|
+
:_InlineDataFull_7 => :merge,
|
45711
|
+
:_InlineDataFull_9 => :star,
|
45712
|
+
:_InlineDataOneVar_1 => :star,
|
45713
|
+
:_InlineDataOneVar_2 => :merge,
|
45714
|
+
:_LimitOffsetClauses_3 => :opt,
|
45715
|
+
:_LimitOffsetClauses_4 => :opt,
|
45716
|
+
:_Load_1 => :opt,
|
45717
|
+
:_Load_2 => :opt,
|
45718
|
+
:_Modify_1 => :opt,
|
45719
|
+
:_Modify_3 => :star,
|
45720
|
+
:_Modify_6 => :opt,
|
45721
|
+
:_Modify_7 => :merge,
|
45722
|
+
:_Move_1 => :opt,
|
45723
|
+
:_MultiplicativeExpression_1 => :star,
|
45724
|
+
:_MultiplicativeExpression_3 => :merge,
|
45725
|
+
:_ObjectListPath_1 => :star,
|
45726
|
+
:_ObjectListPath_3 => :merge,
|
45727
|
+
:_ObjectList_1 => :star,
|
45728
|
+
:_ObjectList_3 => :merge,
|
45729
|
+
:_OrderClause_1 => :plus,
|
45730
|
+
:_OrderClause_2 => :star,
|
45731
|
+
:_OrderClause_3 => :merge,
|
45732
|
+
:_PathAlternative_1 => :star,
|
45733
|
+
:_PathAlternative_3 => :merge,
|
45734
|
+
:_PathElt_1 => :opt,
|
45735
|
+
:_PathNegatedPropertySet_2 => :opt,
|
45736
|
+
:_PathNegatedPropertySet_4 => :star,
|
45737
|
+
:_PathNegatedPropertySet_6 => :merge,
|
45738
|
+
:_PathSequence_1 => :star,
|
45739
|
+
:_PathSequence_3 => :merge,
|
45740
|
+
:Prologue => :star,
|
45741
|
+
:_Prologue_2 => :merge,
|
45742
|
+
:PropertyList => :opt,
|
45743
|
+
:_PropertyListNotEmpty_1 => :star,
|
45744
|
+
:_PropertyListNotEmpty_3 => :merge,
|
45745
|
+
:_PropertyListNotEmpty_4 => :opt,
|
45746
|
+
:PropertyListPath => :opt,
|
45747
|
+
:_PropertyListPathNotEmpty_2 => :star,
|
45748
|
+
:_PropertyListPathNotEmpty_4 => :merge,
|
45749
|
+
:_PropertyListPathNotEmpty_5 => :opt,
|
45750
|
+
:_QuadsNotTriples_1 => :opt,
|
45751
|
+
:_Quads_1 => :opt,
|
45752
|
+
:_Quads_2 => :star,
|
45753
|
+
:_Quads_4 => :merge,
|
45754
|
+
:_Quads_5 => :opt,
|
45755
|
+
:_Quads_6 => :opt,
|
45756
|
+
:QueryUnit => :opt,
|
45757
|
+
:_RDFLiteral_1 => :opt,
|
45758
|
+
:_RegexExpression_1 => :opt,
|
45759
|
+
:_RelationalExpression_1 => :opt,
|
45760
|
+
:_SelectClause_1 => :opt,
|
45761
|
+
:_SelectClause_4 => :plus,
|
45762
|
+
:_SelectClause_6 => :star,
|
45763
|
+
:_SelectClause_7 => :merge,
|
45764
|
+
:_SelectQuery_1 => :star,
|
45765
|
+
:_SelectQuery_2 => :merge,
|
45766
|
+
:_ServiceGraphPattern_1 => :opt,
|
45767
|
+
:_SolutionModifier_1 => :opt,
|
45768
|
+
:_SolutionModifier_2 => :opt,
|
45769
|
+
:_SolutionModifier_3 => :opt,
|
45770
|
+
:_SolutionModifier_4 => :opt,
|
45771
|
+
:_StrReplaceExpression_1 => :opt,
|
45772
|
+
:_SubstringExpression_1 => :opt,
|
45773
|
+
:_TriplesBlock_1 => :opt,
|
45774
|
+
:_TriplesBlock_3 => :opt,
|
45775
|
+
:_TriplesTemplate_1 => :opt,
|
45776
|
+
:_TriplesTemplate_3 => :opt,
|
45777
|
+
:_Update_1 => :opt,
|
45778
|
+
:_Update_3 => :opt,
|
45779
|
+
:ValuesClause => :opt,
|
45780
|
+
:_WhereClause_1 => :opt,
|
45781
|
+
:_iriOrFunction_1 => :opt,
|
45782
|
+
}.freeze
|
45643
45783
|
end
|
45644
45784
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sparql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregg Kellogg
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdf
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '2.
|
20
|
+
version: '2.1'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '2.
|
27
|
+
version: '2.1'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rdf-aggregate-repo
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -45,20 +45,14 @@ dependencies:
|
|
45
45
|
requirements:
|
46
46
|
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: '1.
|
49
|
-
- - ">="
|
50
|
-
- !ruby/object:Gem::Version
|
51
|
-
version: 1.0.1
|
48
|
+
version: '1.1'
|
52
49
|
type: :runtime
|
53
50
|
prerelease: false
|
54
51
|
version_requirements: !ruby/object:Gem::Requirement
|
55
52
|
requirements:
|
56
53
|
- - "~>"
|
57
54
|
- !ruby/object:Gem::Version
|
58
|
-
version: '1.
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 1.0.1
|
55
|
+
version: '1.1'
|
62
56
|
- !ruby/object:Gem::Dependency
|
63
57
|
name: builder
|
64
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,14 +101,14 @@ dependencies:
|
|
107
101
|
requirements:
|
108
102
|
- - "~>"
|
109
103
|
- !ruby/object:Gem::Version
|
110
|
-
version: '2.
|
104
|
+
version: '2.1'
|
111
105
|
type: :runtime
|
112
106
|
prerelease: false
|
113
107
|
version_requirements: !ruby/object:Gem::Requirement
|
114
108
|
requirements:
|
115
109
|
- - "~>"
|
116
110
|
- !ruby/object:Gem::Version
|
117
|
-
version: '2.
|
111
|
+
version: '2.1'
|
118
112
|
- !ruby/object:Gem::Dependency
|
119
113
|
name: sinatra
|
120
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -167,22 +161,16 @@ dependencies:
|
|
167
161
|
name: linkeddata
|
168
162
|
requirement: !ruby/object:Gem::Requirement
|
169
163
|
requirements:
|
170
|
-
- - "
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '1.99'
|
173
|
-
- - "<"
|
164
|
+
- - "~>"
|
174
165
|
- !ruby/object:Gem::Version
|
175
|
-
version: '
|
166
|
+
version: '2.0'
|
176
167
|
type: :development
|
177
168
|
prerelease: false
|
178
169
|
version_requirements: !ruby/object:Gem::Requirement
|
179
170
|
requirements:
|
180
|
-
- - "
|
181
|
-
- !ruby/object:Gem::Version
|
182
|
-
version: '1.99'
|
183
|
-
- - "<"
|
171
|
+
- - "~>"
|
184
172
|
- !ruby/object:Gem::Version
|
185
|
-
version: '
|
173
|
+
version: '2.0'
|
186
174
|
- !ruby/object:Gem::Dependency
|
187
175
|
name: rdf-spec
|
188
176
|
requirement: !ruby/object:Gem::Requirement
|
@@ -223,14 +211,14 @@ dependencies:
|
|
223
211
|
requirements:
|
224
212
|
- - "~>"
|
225
213
|
- !ruby/object:Gem::Version
|
226
|
-
version: '3.
|
214
|
+
version: '3.5'
|
227
215
|
type: :development
|
228
216
|
prerelease: false
|
229
217
|
version_requirements: !ruby/object:Gem::Requirement
|
230
218
|
requirements:
|
231
219
|
- - "~>"
|
232
220
|
- !ruby/object:Gem::Version
|
233
|
-
version: '3.
|
221
|
+
version: '3.5'
|
234
222
|
- !ruby/object:Gem::Dependency
|
235
223
|
name: rspec-its
|
236
224
|
requirement: !ruby/object:Gem::Requirement
|
@@ -434,7 +422,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
434
422
|
requirements:
|
435
423
|
- - ">="
|
436
424
|
- !ruby/object:Gem::Version
|
437
|
-
version:
|
425
|
+
version: 2.2.2
|
438
426
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
439
427
|
requirements:
|
440
428
|
- - ">="
|
@@ -442,9 +430,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
442
430
|
version: '0'
|
443
431
|
requirements: []
|
444
432
|
rubyforge_project: sparql
|
445
|
-
rubygems_version: 2.
|
433
|
+
rubygems_version: 2.6.8
|
446
434
|
signing_key:
|
447
435
|
specification_version: 4
|
448
436
|
summary: SPARQL Query and Update library for Ruby.
|
449
437
|
test_files: []
|
450
|
-
has_rdoc: false
|