Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the definition of RDF Dataset Merge #167

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 7 additions & 32 deletions spec/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7878,11 +7878,13 @@ <h2>Definition of SPARQL</h2>
<h3>Initial Definitions</h3>
<section id="sparqlDataset">
<h4>RDF Dataset</h4>
<div>
<p>The concept of an <a data-cite="RDF12-CONCEPTS#dfn-rdf-dataset">RDF Dataset</a> is defined in [[RDF12-CONCEPTS]].</p>
<p>For the following definitions, we capture each RDF dataset as a set:<br>
{ G, (&lt;u<sub>1</sub>&gt;, G<sub>1</sub>), (&lt;u<sub>2</sub>&gt;, G<sub>2</sub>),
... (&lt;u<sub>n</sub>&gt;, G<sub>n</sub>) }<br>
<p>The concept of an <a data-cite="RDF12-CONCEPTS#dfn-rdf-dataset">RDF Dataset</a> is defined in [[RDF12-CONCEPTS]].</p>
<p>For the following definitions, we capture each RDF dataset as a set:</p>
<div class="defn">
<p>
{ G, (&lt;u<sub>1</sub>&gt;, G<sub>1</sub>), (&lt;u<sub>2</sub>&gt;, G<sub>2</sub>),
... (&lt;u<sub>n</sub>&gt;, G<sub>n</sub>) }

where G and each G<sub>i</sub> are graphs, and each &lt;u<sub>i</sub>&gt; is an IRI or blank node. Each
&lt;u<sub>i</sub>&gt; is distinct.</p>
<p>G is called the default graph. (&lt;u<sub>i</sub>&gt;, G<sub>i</sub>) are called named
Expand All @@ -7893,33 +7895,6 @@ <h4>RDF Dataset</h4>
<p>The <b>active graph</b> is the graph from the dataset used for basic graph pattern
matching.</p>
</div>
<div class="defn">
<div id="defn_RDFDatasetMerge">
<b>Definition: RDF Dataset Merge</b>
</div>
<p>Let DS1 = { G1, (&lt;u1<sub>1</sub>&gt;, G1<sub>1</sub>), (&lt;u1<sub>2</sub>&gt;,
G1<sub>2</sub>), . . . (&lt;u1<sub>n</sub>&gt;, G1<sub>n</sub>) },<br>
and DS2 = { G2, (&lt;u2<sub>1</sub>&gt;, G2<sub>1</sub>), (&lt;u2<sub>2</sub>&gt;,
G2<sub>2</sub>), . . . (&lt;u2<sub>m</sub>&gt;, G2<sub>m</sub>) }</p>
<p>then we define the RDF Dataset Merge of DS1 and DS2 to be:<br>
DS={ G, (&lt;u<sub>1</sub>&gt;, G<sub>1</sub>), (&lt;u<sub>2</sub>&gt;, G<sub>2</sub>), .
. . (&lt;u<sub>k</sub>&gt;, G<sub>k</sub>) }<br>
where:</p>
<p>Write N1 for { &lt;u1<sub>j</sub>&gt; j = 1 to n }<br>
Write N2 for { &lt;u2<sub>j</sub>&gt; j = 1 to m }<br></p>
<ul>
<li>G is the <a data-cite="RDF12-SEMANTICS#dfn-merge">merge</a> of G1 and G2
</li>
<li>(&lt;u<sub>i</sub>&gt;, G<sub>i</sub>) where &lt;u<sub>i</sub>&gt; is in N1 but not
in N2</li>
<li>(&lt;u<sub>i</sub>&gt;, G<sub>i</sub>) where &lt;u<sub>i</sub>&gt; is in N2 but not
in N1</li>
<li>(&lt;u<sub>i</sub>&gt;, G<sub>i</sub>) where &lt;u<sub>i</sub>&gt; is equal to
&lt;u<sub>j</sub>&gt; in N1 and equal to &lt;u<sub>k</sub>&gt; in N2 and G<sub>i</sub>
is the <a data-cite="RDF12-SEMANTICS#dfn-merge">merge</a> of G1<sub>j</sub> and G2<sub>k</sub>
</li>
</ul>
</div>
</section>
<section id="sparqlQueryVariables">
<h4>Query Variables</h4>
Expand Down
Loading