Skip to content

Commit 3a56325

Browse files
authored
Merge branch 'main' into substitution
2 parents f647600 + 39805f4 commit 3a56325

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

.github/workflows/auto-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
main:
1111
name: Echidna Auto-publish WD
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v3
1515
with:

spec/index.html

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@
113113
<p>This document is part of RDF 1.2 document suite.
114114
This is a revision of the 2014 Semantics specification for RDF
115115
[[RDF11-MT]] and supersedes that document.
116-
The technical content of the document is unchanged, only minor editorial changes have been made.
117116
</p>
118117

119118
<section id="related" data-include="./common/related.html"></section>
@@ -225,7 +224,7 @@ <h2>Notation and Terminology</h2>
225224
when we wish to refer to such an externally defined naming relationship,
226225
we will use the word <dfn class="no-export lint-ignore" data-local-lt="identified">identify</dfn> and its cognates.
227226
For example, the fact that the IRI <code>http://www.w3.org/2001/XMLSchema#decimal</code>
228-
is widely used as the name of a datatype described in the XML Schema document [[XMLSCHEMA11-2]]
227+
is widely used as the <a>name</a> of a datatype described in the XML Schema document [[XMLSCHEMA11-2]]
229228
might be described by saying that the IRI <em>identifies</em> that datatype.
230229
If an IRI identifies something it may or may not denote it in a given interpretation,
231230
depending on how the semantics is specified.
@@ -276,6 +275,7 @@ <h2>Notation and Terminology</h2>
276275

277276

278277

278+
279279
<p>
280280
For RDF terms t, x, and y, we define the <dfn>substitution mapping</dfn> t[x/y] inductively, as follows:
281281
</p>
@@ -472,10 +472,10 @@ <h2>Simple Interpretations</h2>
472472
<p>The distinction between IS and IL will become significant below when the semantics of datatypes are defined.
473473
IL is allowed to be partial because some literals may fail to have a referent. </p>
474474

475-
<p class="technote">It is conventional to map a relation name to a relational extension directly.
476-
This however presumes that the vocabulary is segregated into relation names and individual names,
475+
<p class="technote">It is conventional to map a relation <a>name</a> to a relational extension directly.
476+
This however presumes that the vocabulary is segregated into relation <a>name</a>s and individual <a>name</a>s,
477477
and RDF makes no such assumption.
478-
Moreover, RDF allows an IRI to be used as a relation name applied to itself as an argument.
478+
Moreover, RDF allows an IRI to be used as a relation <a>name</a> applied to itself as an argument.
479479
Such self-application structures are used in RDFS, for example.
480480
The use of the IEXT mapping to distinguish the relation as an object from its relational extension
481481
accommodates both of these requirements.
@@ -735,7 +735,7 @@ <h2>Skolemization (Informative)</h2>
735735
which eliminates blank nodes by replacing them with "new" IRIs,
736736
which means IRIs which are coined for this purpose and are therefore guaranteed
737737
to not occur in any other RDF graph (at the time of creation).
738-
See <a data-cite="RDF12-CONCEPTS#section-skolemization">Section 3.5</a> of [[!RDF12-CONCEPTS]]
738+
See <a data-cite="RDF12-CONCEPTS#section-skolemization">Replacing Blank Nodes with IRIs</a> in [[!RDF12-CONCEPTS]]
739739
for a fuller discussion.</p>
740740

741741
<p>Suppose G is a graph containing blank nodes and sk is a skolemization mapping
@@ -750,7 +750,7 @@ <h2>Skolemization (Informative)</h2>
750750
sk(G) <a>simply entails</a> H if and only if G <a>simply entails</a> H.</p>
751751

752752
<p>The second property means that a graph is not logically <a>equivalent</a> to its skolemization.
753-
Nevertheless, they are in a strong sense almost interchangeable, as shown the next two properties. The third property means that even when conclusions are drawn from the skolemized graph which do contain the new vocabulary, these will exactly mirror what could have been derived from the original graph with the original blank nodes in place. The replacement of blank nodes by IRIs does not effectively alter what can be validly derived from the graph, other than by giving new names to what were formerly anonymous entities. The fourth property, which is a consequence of the third, clearly shows that in some sense a skolemization of G can "stand in for" G as far as entailments are concerned. Using sk(G) instead of G will not affect any entailments which do not involve the new skolem vocabulary. </p>
753+
Nevertheless, they are in a strong sense almost interchangeable, as shown the next two properties. The third property means that even when conclusions are drawn from the skolemized graph which do contain the new vocabulary, these will exactly mirror what could have been derived from the original graph with the original blank nodes in place. The replacement of blank nodes by IRIs does not effectively alter what can be validly derived from the graph, other than by giving new <a>name</a>s to what were formerly anonymous entities. The fourth property, which is a consequence of the third, clearly shows that in some sense a skolemization of G can "stand in for" G as far as entailments are concerned. Using sk(G) instead of G will not affect any entailments which do not involve the new skolem vocabulary. </p>
754754

755755
</section>
756756

@@ -787,10 +787,10 @@ <h2>Literals and datatypes</h2>
787787
a unique datatype wherever it occurs.
788788
RDF processors which are not able to determine which datatype is identified by an IRI
789789
cannot <a>recognize</a> that IRI,
790-
and should treat any literals with that IRI as their datatype IRI as unknown names.</p>
790+
and should treat any literals with that IRI as their datatype IRI as unknown <a>name</a>s.</p>
791791

792-
<p>RDF literals and datatypes are fully described in
793-
<a data-cite="RDF12-CONCEPTS#section-Datatypes">Section 5</a> of [[!RDF12-CONCEPTS]].
792+
<p>RDF literals and datatypes are fully described in the
793+
<a data-cite="RDF12-CONCEPTS#section-Datatypes">Datatypes</a> section of [[!RDF12-CONCEPTS]].
794794
In summary: with two exceptions, RDF literals combine a string and an IRI <a data-lt="identify">identifying</a> a datatype.
795795
The exceptions are <a data-cite="RDF12-CONCEPTS#dfn-language-tagged-string">language-tagged strings</a>, assigned the type <code>rdf:langString</code>,
796796
which have two syntactic components, a string and a language tag; and
@@ -824,8 +824,8 @@ <h2>Literals and datatypes</h2>
824824
<a data-cite="XMLSCHEMA11-2#string"><code>xsd:string</code></a>,
825825
<a data-cite="RDF12-CONCEPTS#dfn-language-tagged-string"><code>rdf:langString</code></a>, and
826826
<a data-cite="RDF12-CONCEPTS#dfn-dir-lang-string"><code>rdf:dirLangString</code></a>
827-
but when IRIs listed in
828-
<a data-cite="RDF12-CONCEPTS#section-Datatypes">Section 5</a> of [[!RDF12-CONCEPTS]]
827+
but when IRIs listed in the
828+
<a data-cite="RDF12-CONCEPTS#section-Datatypes">Datatypes</a> section of [[!RDF12-CONCEPTS]]
829829
<em>are</em> <a>recognized</a>, they MUST be interpreted as described there, and
830830
when the IRI <code>rdf:PlainLiteral</code> is <a>recognized</a>,
831831
it MUST be interpreted to denote the datatype defined in [[!RDF-PLAIN-LITERAL]].
@@ -904,7 +904,7 @@ <h2>D-interpretations</h2>
904904

905905
<p>The special datatypes
906906
<a data-cite="RDF12-CONCEPTS#dfn-language-tagged-string"><code>rdf:langString</code></a> and
907-
<a data-cite="RDF12-CONCEPTS#dfn-directional-language-tagged-string"><code>rdf:dirLangString</code>
907+
<a data-cite="RDF12-CONCEPTS#dfn-directional-language-tagged-string"><code>rdf:dirLangString</code></a>
908908
have no <a>ill-typed</a> literals.
909909
Any syntactically legal literal with one of these types will denote a value in every
910910
D-interpretation where D includes <code>rdf:langString</code> or <code>rdf:dirLangString</code>.
@@ -1051,7 +1051,7 @@ <h2>RDF Interpretations</h2>
10511051

10521052
<p>The datatype IRIs
10531053
<a data-cite="RDF12-CONCEPTS#dfn-language-tagged-string"><code>rdf:langString</code></a>,
1054-
<a data-cite="RDF12-CONCEPTS#dfn-directional-language-tagged string"><code>rdf:dirLangString</code>,
1054+
<a data-cite="RDF12-CONCEPTS#dfn-directional-language-tagged string"><code>rdf:dirLangString</code></a>,
10551055
and <a data-cite="XMLSCHEMA11-2#string"><code>xsd:string</code></a>
10561056
MUST be <a>recognized</a> by all RDF interpretations.</p>
10571057

@@ -1559,11 +1559,11 @@ <h4>Patterns of RDFS entailment (Informative)</h4>
15591559
</table>
15601560
<p>As an example of a RDFS entailment involving triple terms using the entailment pattern rdfs14, the following graph &mdash;</p>
15611561

1562-
<p><code>ex:a ex:b <<( ex:c ex:d <<(ex:e ex:f ex:g)>> )>> .</code></p>
1562+
<p><code>ex:a ex:b &lt;&lt;( ex:c ex:d &lt;&lt;(ex:e ex:f ex:g)>> )>> .</code></p>
15631563

15641564
<p>&mdash; RDFS entails &mdash;</p>
15651565

1566-
<p><code>ex:a ex:b <<( ex:c ex:d _:b1 )>> .<br/>
1566+
<p><code>ex:a ex:b &lt;&lt;( ex:c ex:d _:b1 )>> .<br/>
15671567
ex:a ex:b _:b2 .<br/>
15681568
_:b1 rdf:type rdfs:Proposition .<br/>
15691569
_:b2 rdf:type rdfs:Proposition .</code></p>
@@ -1585,7 +1585,7 @@ <h2>RDF Datasets</h2>
15851585
<!--
15861586
<p>An RDF <a data-cite="RDF12-CONCEPTS#section-dataset">dataset</a> (see [[!RDF12-CONCEPTS]])
15871587
is a finite set of RDF graphs each paired with an IRI or blank node called the <strong>graph name</strong>,
1588-
plus a <strong>default graph</strong>, without a name.
1588+
plus a <strong>default graph</strong>, without a <a>name</a>.
15891589
Graphs in a single dataset may share blank nodes.
15901590
The association of graph name IRIs with graphs is used by SPARQL [[?SPARQL12-QUERY]]
15911591
to allow queries to be directed against particular graphs.</p>
@@ -1595,7 +1595,7 @@ <h2>RDF Datasets</h2>
15951595
defined in RDF Concepts [[!RDF12-CONCEPTS]],
15961596
package up zero or more named RDF graphs along with a single unnamed, default RDF graph.
15971597
The graphs in a single dataset may share blank nodes.
1598-
The association of graph name IRIs with graphs is used by SPARQL [[?SPARQL12-QUERY]]
1598+
The association of graph <a>name</a> IRIs with graphs is used by SPARQL [[?SPARQL12-QUERY]]
15991599
to allow queries to be directed against particular graphs.</p>
16001600

16011601
<p>Graph names in a dataset may denote something other than the graph they are paired with.
@@ -1616,15 +1616,15 @@ <h2>RDF Datasets</h2>
16161616
<p>Other <a>semantic extension</a>s and <a>entailment regime</a>s MAY place further semantic conditions and restrictions on RDF datasets,
16171617
just as with RDF graphs.
16181618
One such extension, for example, could set up a modal-like interpretation structure so that entailment
1619-
between datasets would require RDF graph entailments between the graphs with the same name
1619+
between datasets would require RDF graph entailments between the graphs with the same <a>name</a>
16201620
(adding in empty graphs as required).</p>
16211621

16221622
<table>
16231623
<caption>Definition of an RDF dataset</caption>
16241624
<tr>
16251625
<td class="semantictable">
16261626
<p>An <a>RDF dataset</a>
1627-
is a set:</p>
1627+
is a set:<br/>
16281628
{ G, (&lt;u<sub>1</sub>&gt;, G<sub>1</sub>), (&lt;u<sub>2</sub>&gt;, G<sub>2</sub>), . .
16291629
. (&lt;u<sub>n</sub>&gt;, G<sub>n</sub>) }<br>
16301630
where n&ge;0 and G and each G<sub>i</sub> are graphs, and each &lt;u<sub>i</sub>&gt; is an IRI. Each
@@ -1816,6 +1816,7 @@ <h2>Entailment rules (Informative)</h2>
18161816
The complete entailment pattern for generalized RDF with [=symmetric RDF triples=],
18171817
considering that, according to the semantics, the denotation of triple terms should
18181818
be of type <code>rdfs:Proposition</code>, is the following:
1819+
</p>
18191820
<table>
18201821
<caption>RDFS-T entailment pattern.</caption>
18211822
<tbody>
@@ -1834,7 +1835,6 @@ <h2>Entailment rules (Informative)</h2>
18341835
</tr>
18351836
</tbody>
18361837
</table>
1837-
</p>
18381838

18391839
<p class="issue" data-number="76">We don't have a completeness proof for the RDFS entailment rules (yet).</p>
18401840

@@ -1854,7 +1854,7 @@ <h2>Finite interpretations</h2>
18541854

18551855
<p>Basically, it is only necessary for an interpretation structure to interpret the <a>names</a>
18561856
actually used in the graphs whose entailment is being considered, and to consider interpretations
1857-
whose universes are at most as big as the number of names and blank nodes in the graphs.
1857+
whose universes are at most as big as the number of <a>name</a>s and blank nodes in the graphs.
18581858
More formally, we can define a <dfn>pre-interpretation</dfn> over a <a>vocabulary</a> V to be a structure I
18591859
similar to a <a>simple interpretation</a> but with a mapping only from V to its universe IR.
18601860
Then when determining whether G entails E, consider only pre-interpretations over the finite vocabulary
@@ -1996,7 +1996,7 @@ <h3>Reification</h3>
19961996
<p>and suppose that IRI <code>ex:graph1</code> is used to <a>identify</a> this graph.
19971997
Exactly how this identification is achieved is external to the RDF model,
19981998
but it might be by the IRI resolving to a concrete syntax document describing the graph,
1999-
or by the IRI being the associated name of a named graph in a dataset.
1999+
or by the IRI being the associated <a>name</a> of a named graph in a dataset.
20002000
Assuming that the IRI can be used to denote the triple,
20012001
then the reification vocabulary allows us to describe the first graph in another graph:</p>
20022002

0 commit comments

Comments
 (0)