Skip to content

Commit 165abcb

Browse files
TallTedpfps
andauthored
Some improved language, punctuation, and markup in rdf-semantics (#126)
* Some improved language, punctuation, and markup in rdf-semantics * delete extra space * Editing text to enable removal of mdash punctuation * re-fixing "standardize apart" dfn * remove `graph described by the` Co-authored-by: Peter F. Patel-Schneider <[email protected]> * `represented by` -> `for` Co-authored-by: Peter F. Patel-Schneider <[email protected]> * `This new document describes a graph containing` -> `The graph for this new document contains` * `more properly described by a surface form such as the following` -> `instead that shown below` * `standardized</a> apart` -> `standardized apart</a>` Co-authored-by: Peter F. Patel-Schneider <[email protected]> * remove ineffectual "also" * relocates ground graph is lean sentence --------- Co-authored-by: Peter F. Patel-Schneider <[email protected]>
1 parent 475dde5 commit 165abcb

File tree

1 file changed

+32
-25
lines changed

1 file changed

+32
-25
lines changed

spec/index.html

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -293,26 +293,25 @@ <h2>Notation and Terminology</h2>
293293
<p>Two graphs are <a data-cite="RDF12-CONCEPTS#dfn-graph-isomorphism">isomorphic</a> when each maps into the other by a 1:1 mapping on blank nodes. Isomorphic graphs are mutual instances with an invertible instance
294294
mapping. As blank nodes have no particular identity beyond their location in a graph, we will often treat isomorphic graphs as identical.</p>
295295

296-
<p >An RDF graph is <dfn>lean</dfn> if it has no instance which is
297-
a <a>proper subgraph</a> of itself. Non-lean graphs have internal redundancy
298-
and express the same content as their lean <a>subgraphs</a>. For example, the graph</p>
296+
<p>An RDF graph is <dfn>lean</dfn> if it has no instance which is
297+
a <a>proper subgraph</a> of itself. A <a>ground RDF graph</a> is lean. Non-lean graphs have internal redundancy
298+
and express the same content as their lean <a>subgraphs</a>. For example, the graph in Example 1 is not lean:</p>
299299

300300
<pre class="example" title="Non-lean graph">
301301
ex:a ex:p _:x .
302302
_:y ex:p _:x .
303303
</pre>
304304

305-
<p >is not lean, but</p>
305+
<p>In contrast, the graph in Example 2 <em>is</em> lean:</p>
306306

307307
<pre class="example" title="Lean graph">
308308
ex:a ex:p _:x .
309309
_:x ex:p _:x .
310310
</pre>
311311

312-
<p>is lean. A <a>ground RDF graph</a> is lean. </p>
313312

314313
<section id="unions_merges">
315-
<h3>Shared blank nodes, unions and merges</h3>
314+
<h3>Shared blank nodes, unions, and merges</h3>
316315

317316
<p>Graphs share <a>blank nodes</a> only if they are derived from graphs
318317
described by documents or other structures (such as an RDF dataset)
@@ -321,7 +320,8 @@ <h3>Shared blank nodes, unions and merges</h3>
321320
graph are the same as the blank nodes coming from other downloads of
322321
the same document or from the same <a>RDF source</a>.</p>
323322

324-
<p> RDF applications which manipulate concrete syntaxes for RDF which use <a data-cite="RDF12-CONCEPTS#dfn-blank-node-identifier">blank node identifiers</a>
323+
<p> RDF applications which manipulate concrete syntaxes for RDF which use
324+
<a data-cite="RDF12-CONCEPTS#dfn-blank-node-identifier">blank node identifiers</a>
325325
should take care to keep track of the identity of the blank nodes they identify.
326326
Blank node identifiers often have a local scope,
327327
so when RDF from different sources is combined,
@@ -332,39 +332,46 @@ <h3>Shared blank nodes, unions and merges</h3>
332332
to identify a blank node, but unless these documents are in a shared identifier scope
333333
or are derived from a common source,
334334
the occurrences of "<code>_:x</code>" in one document
335-
will identify a different blank node than the one in the graph described by the other document.
335+
will identify a different blank node than the occurrences of "<code>_:x</code>"
336+
in the other document.
336337
When graphs are formed by combining RDF from multiple sources,
337338
it may be necessary to <dfn class="no-export lint-ignore">standardize</dfn> apart the blank node identifiers
338-
by replacing them by others which do not occur in the other document(s).
339-
For example, the two graphs represented by the following texts:</p>
339+
by replacing them with other identifiers which do not occur in the other document(s).
340+
For example, the two graphs for the two texts below contain two nodes each,
341+
for a total of four nodes:</p>
340342

341343
<p><code>ex:a ex:p _:x . </code><br/><br/>
342344
<img src="RDF12SemanticsDiagrams/example1.svg" alt="Graph 1" /></p>
343345

344346
<p><code>ex:b ex:q _:x . </code><br/><br/>
345347
<img src="RDF12SemanticsDiagrams/example2.svg" alt="Graph 2" ></p>
346348

347-
<p>contain four nodes. Their union would therefore also contain four nodes:</p>
349+
<p>Their union would also contain four nodes:</p>
348350

349351
<p><img src="RDF12SemanticsDiagrams/example4.svg" alt="Union Graph"></p>
350352

351-
<p>However, the document formed by simply concatenating these textual surface representations:</p>
353+
<p>However, if we simply concatenate these textual surface representations
354+
to form a new document, as shown below:</p>
352355

353356
<p><code>ex:a ex:p _:x .<br/>
354357
ex:b ex:q _:x .</code><br/></p>
355358

356-
<p>describes a graph containing three nodes:</p>
359+
<p>The graph for this new document contains three nodes, because
360+
the two occurrences of the blank node identifier "<code>_:x</code>
361+
now occur in a common identifier scope, and thus identify the same blank node,
362+
as shown below:</p>
357363

358364
<p><img src="RDF12SemanticsDiagrams/example3.svg" alt="Incorrect Union Graph"></p>
359365

360-
<p> since the two occurrences of the blank node identifier "<code>_:x</code>" occurring in a common identifier scope identify the same blank node. The four-node union of these two graphs is more properly described by a surface form such as:</p>
366+
<p>The four-node union
367+
of these two graphs is instead that shown below:</p>
361368

362369
<p><code>ex:a ex:p _:x1 .<br/>
363370
ex:b ex:q _:x2 .</code></p>
364371

365-
<p>in which the blank node identifiers have been <a data-lt="standardize">standardized</a>
366-
apart to avoid conflating the distinct blank nodes.
367-
(The particular blank node identifiers used have no significance, only that they are distinct.)</p>
372+
<p>Here the blank node identifiers have been <a data-lt="standardize">standardized apart</a>
373+
to avoid conflating the distinct blank nodes.
374+
(The particular blank node identifiers used have no significance; it matters only that they are distinct.)</p>
368375

369376
<p>It is possible for two or more graphs to share a blank node,
370377
for example if they are <a>subgraphs</a> of a single larger graph or derived from a common source.
@@ -377,15 +384,16 @@ <h3>Shared blank nodes, unions and merges</h3>
377384
which occur in more than one graph, to be distinct in each graph.
378385
The resulting graph is called the <dfn data-lt="RDF graph merge">merge</dfn>.
379386
The merge of <a>subgraphs</a> of a graph may be larger than the original graph.
380-
For example, the result of merging the two singleton subgraphs of the three-node graph</p>
387+
For example, the result of merging the two singleton subgraphs of the three-node
388+
graph shown below, is the four-node graph shown beneath:</p>
381389

382390
<p><img src="RDF12SemanticsDiagrams/example3.svg" alt="Three-node Graph"></p>
383391

384-
<p>is the four-node graph</p>
385-
386392
<p><img src="RDF12SemanticsDiagrams/example4.svg" alt="Four-node Graph"></p>
387393

388-
<p>The union is always an instance of the merge. If graphs have no blank nodes in common, then their merge and union are identical. </p>
394+
<p>The union is always an instance of the merge. If graphs have no blank nodes in common,
395+
then their merge and union are identical. </p>
396+
389397
</section>
390398
</section>
391399

@@ -1555,18 +1563,17 @@ <h4>Patterns of RDFS entailment</h4>
15551563
</tr>
15561564
</tbody>
15571565
</table>
1558-
<p>As an example of a RDFS entailment involving triple terms using the entailment pattern rdfs14, the following graph &mdash;</p>
1566+
<p>As an example of a RDFS entailment involving triple terms using the entailment pattern rdfs14,
1567+
the graph below RDFS entails the triples that follow:</p>
15591568

15601569
<p><code>ex:a ex:b &lt;&lt;( ex:c ex:d &lt;&lt;(ex:e ex:f ex:g)>> )>> .</code></p>
15611570

1562-
<p>&mdash; RDFS entails &mdash;</p>
1563-
15641571
<p><code>ex:a ex:b &lt;&lt;( ex:c ex:d _:b1 )>> .<br/>
15651572
ex:a ex:b _:b2 .<br/>
15661573
_:b1 rdf:type rdfs:Proposition .<br/>
15671574
_:b2 rdf:type rdfs:Proposition .</code></p>
15681575

1569-
<p>RDFS provides for several new ways to be <a>unsatisfiable</a> recognizing D.
1576+
<p>RDFS provides several new ways to be <a>unsatisfiable</a> recognizing D.
15701577
For example, the following graph is RDFS unsatisfiable recognizing {<code>xsd:integer</code>, <code>xsd:boolean</code>}:</p>
15711578

15721579
<p><code>ex:p rdfs:domain xsd:boolean .<br/>

0 commit comments

Comments
 (0)