@@ -9567,16 +9567,16 @@ <h4>Aggregate Algebra</h4>
9567
9567
<p>where two lists <var>L</var> and <var>L'</var> (as produced by
9568
9568
the <a href="#defn_ListEval">ListEval</a> function) are considered
9569
9569
the same iff they have the same number of elements and, for every
9570
- position <var>k</var> within the two lists, any of the
9570
+ position <var>k</var> within the two lists, either of the
9571
9571
following two conditions is true:</p>
9572
9572
<ul>
9573
- <li>either the element at the <var>k</var>-th position of
9574
- <var>L</var> is an RDF term, the element at the <var>k</var>-th
9575
- position of <var>L'</var> is also an RDF term, and these two
9576
- RDF terms are the <a href="#func-sameTerm">same term</a>; </li>
9577
- <li>or the element at the <var>k</var>-th position of <var>L</var>
9578
- is an error and the element at the <var>k</var>-th position of
9579
- <var>L'</var> is also an error. </li>
9573
+ <li>the element at the <var>k</var>-th position of
9574
+ <var>L</var> is an RDF term; the element at the <var>k</var>-th
9575
+ position of <var>L'</var> is also an RDF term; and these two
9576
+ RDF terms are the <a href="#func-sameTerm">same term</a></li>
9577
+ <li>the element at the <var>k</var>-th position of <var>L</var>
9578
+ is an error, and the element at the <var>k</var>-th position of
9579
+ <var>L'</var> is also an error</li>
9580
9580
</ul>
9581
9581
</div>
9582
9582
<div class="defn">
@@ -9589,7 +9589,7 @@ <h4>Aggregate Algebra</h4>
9589
9589
<p>Note that, although the result of <a href="#defn_ListEval">ListEval</a>
9590
9590
may contain errors, and errors may be used
9591
9591
to group, solutions containing error values are removed at projection time.</p>
9592
- <p>Note also that the result of <a href="#defn_ListEval">ListEval</a>((unbound), μ )
9592
+ <p>Note also that the result of <a href="#defn_ListEval">ListEval</a>((unbound), <var>μ</var> )
9593
9593
is the list (error), as the evaluation of an unbound expression is an
9594
9594
error.</p>
9595
9595
<p>Aggregation, a function which calculates a scalar value as an output of the aggregate
@@ -9612,7 +9612,7 @@ <h4>Aggregate Algebra</h4>
9612
9612
= { (key, F(Ψ)) | key → Ψ in { key<sub>1</sub>→Ψ<sub>1</sub>, ...,
9613
9613
key<sub>m</sub>→Ψ<sub>m</sub> } }</p>
9614
9614
<p>where<br>
9615
- M(Ψ ) = [ <a href="#defn_ListEval">ListEval</a>(exprlist, μ ) | μ in Ψ ]<br>
9615
+ M(<var>Ψ</var> ) = [ <a href="#defn_ListEval">ListEval</a>(exprlist, <var>μ</var> ) | <var>μ</var> in <var>Ψ</var> ]<br>
9616
9616
F(Ψ) = func(M(Ψ), scalarvals), for non-<code>DISTINCT</code><br>
9617
9617
F(Ψ) = func(Dedup(M(Ψ)), scalarvals), for <code>DISTINCT</code></p>
9618
9618
<p>with Dedup(M(Ψ)) being an order-preserving, duplicate-free version of the sequence M(Ψ); that is, Dedup(M(Ψ)) is a sequence of lists that has the following four properties
0 commit comments