Skip to content

Commit 7a5659b

Browse files
committed
Notes with pointers to GitHub issues created during the work on the algebraic syntax
1 parent f3e6a17 commit 7a5659b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

spec/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8441,6 +8441,7 @@ <h3>Algebraic Syntax</h3>
84418441
<li>
84428442
A sequence of <a href="#defn_sparqlSolutionMapping">solution mappings</a>
84438443
is an algebraic query expression.</li>
8444+
<div class="issue" data-number="231">Do we really need both of the previous two points?</div>
84448445
<li id="defn_absPath">
84458446
<a href="#defn_absPath" class="absOp">Path</a>(|x|, |ppe|, |y|)
84468447
is an algebraic query expression if
@@ -8502,6 +8503,10 @@ <h3>Algebraic Syntax</h3>
85028503
|grp| is an algebraic query expression of the form <a href="#defn_absGroup" class="absOp">Group</a>(<var>exprlist'</var>, |A|) where
85038504
<var>exprlist'</var> is a sequence of <a href="#expressions">expressions</a> and
85048505
|A| is an algebraic query expression.</li>
8506+
<div class="issue" data-number="230">
8507+
<a href="#defn_absGroup" class="absOp">Group</a> and <a href="#defn_absAggregation" class="absOp">Aggregation</a>
8508+
should not be independent operators but, instead, should be integrated into the definition of
8509+
<a href="#defn_absAggregateJoin" class="absOp">AggregateJoin</a>.</div>
85058510
<li id="defn_absAggregateJoin">
85068511
<a href="#defn_absAggregateJoin" class="absOp">AggregateJoin</a>(<var>A<sub>1</sub></var>, ..., <var>A<sub>|n|</sub></var>)
85078512
is an algebraic query expression if
@@ -8515,6 +8520,7 @@ <h3>Algebraic Syntax</h3>
85158520
is an algebraic query expression if
85168521
|A| is an algebraic query expression and
85178522
|condition| is an ordering condition.</li>
8523+
<div class="issue" data-number="229">The term "ordering condition" should link to some definition of this notion.</div>
85188524
<li id="defn_absProject">
85198525
<a href="#defn_absProject" class="absOp">Project</a>(|A|, |PV|)
85208526
is an algebraic query expression if
@@ -9025,6 +9031,14 @@ <h5>Translate Property Path Patterns</h5>
90259031
</tr>
90269032
</tbody>
90279033
</table>
9034+
<div class="issue" data-number="226">
9035+
I assume that the translation rules in this table are meant to be applied recursively,
9036+
but the section doesn't say anything about that. In particular, for the
9037+
"|x| <a href="#defn_ppeSeq" class="ppeOp">seq</a>(<var>ppe<sub>1</sub></var>, <var>ppe<sub>2</sub></var>) |y|"
9038+
case: <var>ppe<sub>1</sub></var> and <var>ppe<sub>2</sub></var> in the resulting translation
9039+
may still be arbitrary algebraic property path expressions and, thus,
9040+
the translation should be applied again for each of the two resulting property path patterns
9041+
(i.e., for "|x| <var>ppe<sub>1</sub></var> |var|" and for "|var| <var>ppe<sub>2</sub></var> |y|").</div>
90289042
<p>Examples of the whole path translation process (<code>?_V</code> is a fresh
90299043
variable):</p>
90309044
<div class="algExample">
@@ -10443,6 +10457,9 @@ <h3>Evaluation Semantics</h3>
1044310457
<li>|L| : a solution sequence</li>
1044410458
<li>|F| : an expression</li>
1044510459
</ul>
10460+
<div class="issue" data-number="225">
10461+
The definitions in this section do not cover the cases in which
10462+
|A| is a sequence or a multiset of solution mappings.</div>
1044610463
<div class="defn">
1044710464
<p><b>Definition: <span id="defn_evalBasicGraphPattern">Evaluation of a Basic Graph Pattern</span></b></p>
1044810465
<p><a href="#defn_eval" class="evalFct">eval</a>( |D|(|G|), |BGP| ) = multiset of solution mappings</p>

0 commit comments

Comments
 (0)