@@ -9293,8 +9293,8 @@ <h4>Examples of Mapped Graph Patterns</h4>
9293
9293
<div class="algExample2">
9294
9294
<a href="#defn_absExtend" class="absOp">Extend</a>(<br>
9295
9295
<a href="#defn_absJoin" class="absOp">Join</a>( <br>
9296
- <a href="#defn_absJoin" class="absOp">Join</a>( |Z| , BGP(?s :p ?v)),<br>
9297
- |Z| ),<br>
9296
+ <a href="#defn_absJoin" class="absOp">Join</a>( {} , BGP(?s :p ?v)),<br>
9297
+ {} ),<br>
9298
9298
?v2, 2*?v<br>
9299
9299
)
9300
9300
</div>
@@ -9369,7 +9369,7 @@ <h5>Grouping and Aggregation</h5>
9369
9369
9370
9370
<pre class="code nohighlight">Let <var>A</var> := the empty sequence
9371
9371
Let <var>Q</var> := the query level being evaluated
9372
- Let <var>P</var> := the algebra translation of the GroupGraphPattern of the query level
9372
+ Let <var>P</var> := algebraic query expression <a href="#convertGraphPattern">produced</a> for the GroupGraphPattern of the query level
9373
9373
Let <var>E</var> := [], a list of pairs of the form (variable, expression)
9374
9374
9375
9375
If <var>Q</var> contains GROUP BY exprlist
@@ -9415,7 +9415,7 @@ <h5>HAVING</h5>
9415
9415
SELECT clause are not visible to the HAVING clause.</p>
9416
9416
<pre class="code nohighlight">
9417
9417
Let <var>Q</var> := the query level being evaluated
9418
- Let <var>P</var> := the algebra translation of the query level so far
9418
+ Let <var>P</var> := the algebraic query expression produced for the query level so far
9419
9419
9420
9420
For each HAVING(<var>E</var>) in <var>Q</var>
9421
9421
<var>P</var> := <a href="#defn_absFilter" class="absOp">Filter</a>(<var>E</var>, <var>P</var>)
@@ -9428,7 +9428,7 @@ <h5>VALUES</h5>
9428
9428
<p>If the query has a trailing VALUES clause:</p>
9429
9429
9430
9430
<pre class="code nohighlight">
9431
- Let <var>P</var> := the algebra translation of the query level so far
9431
+ Let <var>P</var> := the algebraic query expression produced for the query level so far
9432
9432
<var>P</var> := <a href="#defn_absJoin" class="absOp">Join</a>(<var>P</var>, <a href="#defn_absToMultiset" class="absOp">ToMultiset</a>(<var>data</var>))
9433
9433
where <var>data</var> is a solution sequence derived from the VALUES clause
9434
9434
</pre>
@@ -9447,7 +9447,7 @@ <h5>SELECT Expressions</h5>
9447
9447
</pre>
9448
9448
9449
9449
<pre class="code nohighlight">
9450
- Let <var>X</var> := algebra from earlier steps
9450
+ Let <var>X</var> := algebraic query expression from earlier steps
9451
9451
Let <var>VS</var> := set of all variables visible in the pattern,
9452
9452
so restricted by sub-SELECT projected variables and GROUP BY variables.
9453
9453
Not visible: only in filter, exists/not exists, masked by a subselect,
0 commit comments