Skip to content

Commit 81a15c3

Browse files
authored
Merge pull request #138 from w3c/Issue137
Improves the definitions in Sec.18.1 (Initial Definitions)
2 parents 3597928 + 50935fc commit 81a15c3

File tree

1 file changed

+28
-10
lines changed

1 file changed

+28
-10
lines changed

spec/index.html

+28-10
Original file line numberDiff line numberDiff line change
@@ -7931,16 +7931,25 @@ <h4>RDF Dataset</h4>
79317931
<h4>Query Variables</h4>
79327932
<div class="defn">
79337933
<p><b>Definition: <span id="defn_QueryVariable">Query Variable</span></b></p>
7934-
<p>A <span class="definedTerm">query variable</span> is a member of the set V where V is
7935-
infinite and disjoint from RDF-T.</p>
7934+
<p>We assume a countably infinite set <var>V</var> that is disjoint
7935+
from the set of all <a data-cite="RDF12-CONCEPTS#dfn-rdf-terms">RDF terms</a>.
7936+
Every member of this set <var>V</var> is a <span class="definedTerm">query variable</span>.</p>
79367937
</div>
79377938
</section>
79387939
<section id="sparqlTriplePatterns">
79397940
<h4>Triple Patterns</h4>
79407941
<div class="defn">
79417942
<p><b>Definition: <span id="defn_TriplePattern">Triple Pattern</span></b></p>
7942-
<p>A <span class="definedTerm">triple pattern</span> is member of the set:<br>
7943-
(RDF-T ∪ V) x (I ∪ V) x (RDF-T ∪ V)</p>
7943+
<p>A <span class="definedTerm">triple pattern</span> is a 3-tuple
7944+
(|s|, |p|, |o|) where:</p>
7945+
<ul>
7946+
<li>|s| is an <a data-cite="RDF12-CONCEPTS#dfn-rdf-terms">RDF term</a>
7947+
or a <a href="#defn_QueryVariable">variable</a>,</li>
7948+
<li>|p| is an <a data-cite="RDF12-CONCEPTS#dfn-iri">IRI</a>
7949+
or a <a href="#defn_QueryVariable">variable</a>, and</li>
7950+
<li>|o| is an <a data-cite="RDF12-CONCEPTS#dfn-rdf-terms">RDF term</a>
7951+
or a <a href="#defn_QueryVariable">variable</a>.</li>
7952+
</ul>
79447953
</div>
79457954
<p>This definition of Triple Pattern includes literal subjects.
79467955
<a href="http://www.w3.org/2000/03/rdf-tracking/#rdfms-literalsubjects">
@@ -7982,21 +7991,30 @@ <h4>Property Path Patterns</h4>
79827991
</div>
79837992
<div class="defn">
79847993
<p><b>Definition: <span id="defn_PropertyPathPattern">Property Path Pattern</span></b></p>
7985-
<p>Let PP be the set of all property path expressions. A property path pattern is a
7986-
member of the set:<br>
7987-
(RDF-T ∪ V) x PP x (RDF-T ∪ V)</p>
7994+
<p>A property path pattern is a 3-tuple (|s|, |p|, |o|) where:</p>
7995+
<ul>
7996+
<li>|s| is an <a data-cite="RDF12-CONCEPTS#dfn-rdf-terms">RDF term</a>
7997+
or a <a href="#defn_QueryVariable">variable</a>,</li>
7998+
<li>|p| is a <a href="#defn_PropertyPathExpr">property path expression</a>, and</li>
7999+
<li>|o| is an <a data-cite="RDF12-CONCEPTS#dfn-rdf-terms">RDF term</a>
8000+
or a <a href="#defn_QueryVariable">variable</a>.</li>
8001+
</ul>
79888002
</div>
79898003
<p>A Property Path Pattern is a generalization of a <a href="#defn_TriplePattern">Triple
7990-
Pattern</a> to include a property path expression in the property position.</p>
8004+
Pattern</a> to include a property path expression in the predicate position.</p>
79918005
</section>
79928006
<section id="sparqlSolutions">
79938007
<h4>Solution Mapping</h4>
79948008
<p>A solution mapping is a mapping from a set of variables to a set of RDF terms. We use
79958009
the term 'solution' where it is clear.</p>
79968010
<div class="defn">
79978011
<p><b>Definition: <span id="defn_sparqlSolutionMapping">Solution Mapping</span></b></p>
7998-
<p>A <b>solution mapping</b>, μ, is a partial function μ : V -&gt; RDF-T.</p>
7999-
<p>The domain of μ, dom(μ), is the subset of V where μ is defined.</p>
8012+
<p>A <b>solution mapping</b>, <var>μ</var>, is a partial function
8013+
<var>μ</var> : <var>V</var> → <var>T</var>, where
8014+
<var>V</var> is the set of all <a href="#defn_QueryVariable">variables</a> and
8015+
<var>T</var> is the set of all <a data-cite="RDF12-CONCEPTS#dfn-rdf-terms">RDF terms</a>.</p>
8016+
<p>The domain of <var>μ</var>, denoted by dom(<var>μ</var>), is the
8017+
subset of <var>V</var> for which <var>μ</var> is defined.</p>
80008018
</div>
80018019
<div class="defn">
80028020
<p><b>Definition: <span id="defn_sparqlSolutionSequence">Solution Sequence</span></b></p>

0 commit comments

Comments
 (0)