Skip to content

Commit

Permalink
Fix introduced problems with isTRIPLE definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Mar 5, 2021
1 parent 9d8fc6f commit ffa592c
Show file tree
Hide file tree
Showing 7 changed files with 623 additions and 623 deletions.
8 changes: 4 additions & 4 deletions etc/sparql11.html
Original file line number Diff line number Diff line change
Expand Up @@ -1015,22 +1015,22 @@
<tr>
<td colspan=2></td>
<td>|</td>
<td><code>(</code> &quot;&quot; "<code class="grammar-literal">(</code>" <a href="#grammar-production-Expression">Expression</a> "<code class="grammar-literal">)</code>"<code>)</code></td>
<td><code>(</code> &quot;SUBJECT&quot; "<code class="grammar-literal">(</code>" <a href="#grammar-production-Expression">Expression</a> "<code class="grammar-literal">)</code>"<code>)</code></td>
</tr>
<tr>
<td colspan=2></td>
<td>|</td>
<td><code>(</code> &quot;SUBJECT&quot; "<code class="grammar-literal">(</code>" <a href="#grammar-production-Expression">Expression</a> "<code class="grammar-literal">)</code>"<code>)</code></td>
<td><code>(</code> &quot;PREDICATE&quot; "<code class="grammar-literal">(</code>" <a href="#grammar-production-Expression">Expression</a> "<code class="grammar-literal">)</code>"<code>)</code></td>
</tr>
<tr>
<td colspan=2></td>
<td>|</td>
<td><code>(</code> &quot;PREDICATE&quot; "<code class="grammar-literal">(</code>" <a href="#grammar-production-Expression">Expression</a> "<code class="grammar-literal">)</code>"<code>)</code></td>
<td><code>(</code> &quot;OBJECT&quot; "<code class="grammar-literal">(</code>" <a href="#grammar-production-Expression">Expression</a> "<code class="grammar-literal">)</code>"<code>)</code></td>
</tr>
<tr>
<td colspan=2></td>
<td>|</td>
<td><code>(</code> &quot;OBJECT&quot; "<code class="grammar-literal">(</code>" <a href="#grammar-production-Expression">Expression</a> "<code class="grammar-literal">)</code>"<code>)</code></td>
<td><code>(</code> &quot;isTRIPLE&quot; "<code class="grammar-literal">(</code>" <a href="#grammar-production-Expression">Expression</a> "<code class="grammar-literal">)</code>"<code>)</code></td>
</tr>
<tr>
<td colspan=2></td>
Expand Down
572 changes: 286 additions & 286 deletions etc/sparql11.ll1.sxp

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions etc/sparql11.sxp
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,10 @@
(rule _BuiltInCall_50 "121.50" (seq "isNUMERIC" "(" Expression ")"))
(rule _BuiltInCall_51 "121.51"
(seq "TRIPLE" "(" Expression "," Expression "," Expression ")"))
(rule _BuiltInCall_52 "121.52" (seq "" "(" Expression ")"))
(rule _BuiltInCall_53 "121.53" (seq "SUBJECT" "(" Expression ")"))
(rule _BuiltInCall_54 "121.54" (seq "PREDICATE" "(" Expression ")"))
(rule _BuiltInCall_55 "121.55" (seq "OBJECT" "(" Expression ")"))
(rule _BuiltInCall_52 "121.52" (seq "SUBJECT" "(" Expression ")"))
(rule _BuiltInCall_53 "121.53" (seq "PREDICATE" "(" Expression ")"))
(rule _BuiltInCall_54 "121.54" (seq "OBJECT" "(" Expression ")"))
(rule _BuiltInCall_55 "121.55" (seq "isTRIPLE" "(" Expression ")"))
(rule RegexExpression "122"
(seq "REGEX" "(" Expression "," Expression _RegexExpression_1 ")"))
(rule _RegexExpression_1 "122.1" (cleanup opt) (alt _empty _RegexExpression_2))
Expand Down
2 changes: 1 addition & 1 deletion lib/sparql/algebra/operator/is_triple.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Operator
class IsTriple < Operator::Unary
include Evaluatable

NAME = :
NAME = :isTRIPLE

##
# Returns `true` if the operand is an `RDF::Statement`, `false` otherwise.
Expand Down

0 comments on commit ffa592c

Please sign in to comment.