File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -2684,6 +2684,7 @@ <h4>VALUES syntax</h4>
2684
2684
<pre class="data nohighlight">
2685
2685
VALUES (?z) { ("abc") ("def") }
2686
2686
</pre>
2687
+ <p>Note that duplicated variables are not allowed in VALUES clauses.</p>
2687
2688
</section>
2688
2689
<section id="inline-data-examples">
2689
2690
<h4>VALUES Examples</h4>
@@ -11125,7 +11126,8 @@ <h3>Grammar</h3>
11125
11126
nor in <code><a href="#rDeleteData">DELETE DATA</a></code>.</li>
11126
11127
<li>Rules for limiting the use of blank node identifiers are given in <a href="#grammarBNodes">section 19.6</a>.</li>
11127
11128
<li>The number of variables in the variable list of <code>VALUES</code> block
11128
- must be the same as the number of each list of associated values in the <code>DataBlock</code>.</li>
11129
+ must be the same as the number of each list of associated values in the <code>DataBlock</code>,
11130
+ and variables can not be repeated in the variable list.</li>
11129
11131
<li>Variables introduced by <code>AS</code> in a <code>SELECT</code> clause
11130
11132
must not already be <a href="#variableScope">in-scope</a>.</li>
11131
11133
<li>The variable assigned in a <code>BIND</code> clause must not be already
@@ -12614,6 +12616,7 @@ <h2>Changes between SPARQL 1.1 Query Language and SPARQL 1.2 Query Language</h2>
12614
12616
<li>Migrate XML Schema references to 1.1</li>
12615
12617
<li>Update references to XPath from 2.0 to 3.1</li>
12616
12618
<li>Define `EBV` as a functional form.</li>
12619
+ <li>Forbid duplicated variables in `VALUES`.</li>
12617
12620
</ul>
12618
12621
</li>
12619
12622
<li>
You can’t perform that action at this time.
0 commit comments