@@ -8965,10 +8965,10 @@ <h3>Basic Graph Patterns</h3>
8965
8965
<div class="defn">
8966
8966
<p><b>Definition: <span id="defn_Multiplicity">Multiplicity</span></b></p>
8967
8967
<p>Given a multiset <var>Ω</var> of solution mappings and a solution
8968
- mapping <var>μ</var>, we write <var>multiplicity<sup>< var>Ω</ var></sup></ var>( <var>μ </var>)
8968
+ mapping <var>μ</var>, we write <var>multiplicity</ var>(< var>μ</ var> | <var>Ω </var>)
8969
8969
to denote the number of times <var>μ</var> appears in <var>Ω</var>.</p>
8970
8970
<p>Similarly, given a solution sequence <var>Ψ</var> and a solution
8971
- mapping <var>μ</var>, we write <var>multiplicity<sup>< var>Ψ</ var></sup></ var>( <var>μ </var>)
8971
+ mapping <var>μ</var>, we write <var>multiplicity</ var>(< var>μ</ var> | <var>Ψ </var>)
8972
8972
to denote the number of times <var>μ</var> appears in <var>Ψ</var>.</p>
8973
8973
</div>
8974
8974
<section id="BGPsparql">
@@ -9262,8 +9262,8 @@ <h3>SPARQL Algebra</h3>
9262
9262
<p>Let Ω be a multiset of solution mappings and expr be an expression. We define:</p>
9263
9263
<p>Filter(expr, Ω) = { μ | μ in Ω and expr(μ) is an expression that has an
9264
9264
effective boolean value of true }</p>
9265
- <p><a href="#defn_Multiplicity">multiplicity</a><sup> Filter(expr, Ω)</sup>(μ )
9266
- = <a href="#defn_Multiplicity">multiplicity</a><sup>Ω</sup>(μ )</p>
9265
+ <p><a href="#defn_Multiplicity">multiplicity</a>( μ | Filter(expr, Ω) )
9266
+ = <a href="#defn_Multiplicity">multiplicity</a>( μ | Ω )</p>
9267
9267
<blockquote>
9268
9268
Note that evaluating an <code>exists(pattern)</code> expression uses the dataset and
9269
9269
active graph, D(G). See the <a href="#defn_evalFilter">evaluation of filter</a>.
0 commit comments