Skip to content

Commit 0c6ea16

Browse files
hartigkasei
andauthored
Minor edits from Greg's code review
Co-authored-by: Gregory Todd Williams <[email protected]>
1 parent e16dda5 commit 0c6ea16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9133,7 +9133,7 @@ <h5>Filters of Group</h5>
91339133
<section id="sparqlSimplification">
91349134
<h5>Simplification step</h5>
91359135
<p>Some groups of one graph pattern become <a href="#defn_absJoin" class="absOp">Join</a>(|Z|, |A|), where |Z| is the empty
9136-
basic graph pattern (which is the empty set). These can be replaced by |A|. The empty graph
9136+
basic graph pattern (which is the empty set). These are replaced by |A|. The empty graph
91379137
pattern |Z| is the identity for join:</p>
91389138
<pre class="code nohighlight">
91399139
Replace <a href="#defn_absJoin" class="absOp">Join</a>(<var>Z</var>, <var>A</var>) by <var>A</var>
@@ -9383,12 +9383,12 @@ <h5>Grouping and Aggregation</h5>
93839383
Let <var>P</var> := algebraic query expression <a href="#convertGraphPattern">produced</a> for the GroupGraphPattern of the query level
93849384
Let <var>E</var> := [], a list of pairs of the form (variable, expression)
93859385

9386-
If <var>Q</var> contains GROUP BY exprlist
9387-
Let <var>Grp</var> := <a href="#defn_absGroup" class="absOp">Group</a>(exprlist, <a href="#defn_absToList" class="absOp">ToList</a>(<var>P</var>))
9386+
If <var>Q</var> contains GROUP BY <var>exprlist</var>
9387+
Let <var>Grp</var> := <a href="#defn_absGroup" class="absOp">Group</a>(<var>exprlist</var>, <a href="#defn_absToList" class="absOp">ToList</a>(<var>P</var>))
93889388
Else If <var>Q</var> contains an aggregate in SELECT, HAVING, ORDER BY
93899389
Let <var>Grp</var> := <a href="#defn_absGroup" class="absOp">Group</a>((1), <a href="#defn_absToList" class="absOp">ToList</a>(<var>P</var>))
93909390
Else
9391-
skip the rest of the aggregate step
9391+
skip the rest of the Aggregates step
93929392
End
93939393

93949394
Global <var>i</var> := 1 # Initially 1 for each query processed

0 commit comments

Comments
 (0)