Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2925,12 +2925,14 @@ <h3>Aggregate Projection Restrictions</h3>
?x :q ?z .
} GROUP BY ?x (STR(?z))
</pre>
<p>Note that it would not be legal to project <code>STR(?z)</code> as this is not a simple
variable expression. However, with <code>GROUP BY (STR(?z) AS ?strZ)</code> it would be
possible to project <code>?strZ</code>.</p>
<p>Other expressions, not using <code>GROUP BY</code> variables, or aggregates may have
non-deterministic values projected from their groups using the <code>SAMPLE</code>
aggregate.</p>
<div class="note">
<p>Note that it would not be legal to project <code>STR(?z)</code> as this is not a simple
variable expression. However, with <code>GROUP BY (STR(?z) AS ?strZ)</code> it would be
possible to project <code>?strZ</code>.</p>
<p>Other expressions, not using <code>GROUP BY</code> variables, or aggregates may have
non-deterministic values projected from their groups using the <code>SAMPLE</code>
aggregate function explicitly.</p>
</div>
</section>
<section id="aggregateExample2">
<h3>Aggregate Example (with errors)</h3>
Expand Down
Loading