Skip to content

Commit f1ae8c4

Browse files
committed
changes the presentation of the 'multiplicity' function, as discussed in #110 (comment)
1 parent a98dac6 commit f1ae8c4

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
@@ -8965,10 +8965,10 @@ <h3>Basic Graph Patterns</h3>
89658965
<div class="defn">
89668966
<p><b>Definition: <span id="defn_Multiplicity">Multiplicity</span></b></p>
89678967
<p>Given a multiset&nbsp;<var>Ω</var> of solution mappings and a solution
8968-
mapping&nbsp;<var>μ</var>, we write <var>multiplicity<sup><var>Ω</var></sup></var>(<var>μ</var>)
8968+
mapping&nbsp;<var>μ</var>, we write <var>multiplicity</var>(<var>μ</var>&nbsp;|&nbsp;<var>Ω</var>)
89698969
to denote the number of times <var>μ</var> appears in <var>Ω</var>.</p>
89708970
<p>Similarly, given a solution sequence&nbsp;<var>Ψ</var> and a solution
8971-
mapping&nbsp;<var>μ</var>, we write <var>multiplicity<sup><var>Ψ</var></sup></var>(<var>μ</var>)
8971+
mapping&nbsp;<var>μ</var>, we write <var>multiplicity</var>(<var>μ</var>&nbsp;|&nbsp;<var>Ψ</var>)
89728972
to denote the number of times <var>μ</var> appears in <var>Ψ</var>.</p>
89738973
</div>
89748974
<section id="BGPsparql">
@@ -9262,8 +9262,8 @@ <h3>SPARQL Algebra</h3>
92629262
<p>Let Ω be a multiset of solution mappings and expr be an expression. We define:</p>
92639263
<p>Filter(expr, Ω) = { μ | μ in Ω and expr(μ) is an expression that has an
92649264
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>
92679267
<blockquote>
92689268
Note that evaluating an <code>exists(pattern)</code> expression uses the dataset and
92699269
active graph, D(G). See the <a href="#defn_evalFilter">evaluation of filter</a>.

0 commit comments

Comments
 (0)