@@ -10386,7 +10386,7 @@ <h4>Syntax Restriction</h4>
10386
10386
<blockquote>
10387
10387
Any variable that is assigned to in the graph pattern of `EXISTS`/`NOT EXISTS` must not be in-scope.
10388
10388
This applies to `BIND`, variables introduced by `AS` in a `SELECT` clause, variables in a `VALUES`
10389
- clause, and variables intrucded by `AS` in `GROUP BY`.
10389
+ clause, and variables introduced by `AS` in `GROUP BY`.
10390
10390
</blockquote>
10391
10391
<p>Extend the "in-scope" rules to include the variables in-scope from the current row:</p>
10392
10392
<table style="border-collapse: collapse; border-color: #000000; border-spacing:5px; border-width: 1px">
@@ -10397,14 +10397,14 @@ <h4>Syntax Restriction</h4>
10397
10397
</tr>
10398
10398
<tr>
10399
10399
<td>`EXISTS` and `NOT EXISTS` filters </td>
10400
- <td><code>v</code> is in-scope if it is in-scope for pattern to which the `FILTER` is applied.
10400
+ <td><code>v</code> is in-scope if it is in-scope for the pattern to which the `FILTER` is applied.
10401
10401
</td>
10402
10402
</tr>
10403
10403
</tbody>
10404
10404
</table>
10405
10405
<p class="note">
10406
10406
This restriction means that <a href="#defn_valuesinsertion">values inserted</a>
10407
- do not conflict with values assigned to varibales with the pattern.
10407
+ do not conflict with values assigned to variables with the pattern.
10408
10408
</p>
10409
10409
</section>
10410
10410
@@ -10417,7 +10417,7 @@ <h4>Remapping</h4>
10417
10417
algebra expression of a query.
10418
10418
</p>
10419
10419
<p>
10420
- Renaming these variables does not change the results of evalauting
10420
+ Renaming these variables does not change the results of evaluating
10421
10421
the project expresssion.
10422
10422
</p>
10423
10423
<div class="defn">
@@ -10439,7 +10439,7 @@ <h4>Remapping</h4>
10439
10439
</pre>
10440
10440
<p>
10441
10441
The Projection Expression Variable Remapping yields an algrebra expression that
10442
- evalautes to the same results as the Project argument. No variable of `ProjectMap(Project(A, PV))`
10442
+ evaluates to the same results as the Project argument. No variable of `ProjectMap(Project(A, PV))`
10443
10443
that is not in `PV` is mentioned anywhere else in the algebra expression for the query.
10444
10444
</p>
10445
10445
</div>
@@ -10449,15 +10449,16 @@ <h4>Remapping</h4>
10449
10449
<div class="defn">
10450
10450
<b>Definition: <span id="defn_varrename" name="defn_varrename">Variable Remapping</span></b>
10451
10451
<p>
10452
- For any algebra expression `X`, define the Variable Remapping `PrjMap(X)`of algebra expression `X`:
10452
+ For any algebra expression `X`, define the Variable Remapping `PrjMap(X)`
10453
+ of algebra expression `X`:
10453
10454
</p>
10454
10455
<pre>PrjMap(X) = replace all project operations Project(P, PV)
10455
- with ProjectMap(P,PV) for each projection in X.</pre>
10456
+ with ProjectMap(P, PV) for each projection in X.</pre>
10456
10457
</div>
10457
10458
<p>
10458
10459
The outcome of `PrjMap` is independent of the order of replacement
10459
10460
(e.g. bottom-up or top-down).
10460
- Replacements may happen several times, depending on recusive order
10461
+ Replacements may happen several times, depending on recursive order
10461
10462
but each time a replacement is made, the variable not used anywhere else.
10462
10463
</p>
10463
10464
0 commit comments