113
113
< p > This document is part of RDF 1.2 document suite.
114
114
This is a revision of the 2014 Semantics specification for RDF
115
115
[[RDF11-MT]] and supersedes that document.
116
- The technical content of the document is unchanged, only minor editorial changes have been made.
117
116
</ p >
118
117
119
118
< section id ="related " data-include ="./common/related.html "> </ section >
@@ -225,7 +224,7 @@ <h2>Notation and Terminology</h2>
225
224
when we wish to refer to such an externally defined naming relationship,
226
225
we will use the word < dfn class ="no-export lint-ignore " data-local-lt ="identified "> identify</ dfn > and its cognates.
227
226
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]]
229
228
might be described by saying that the IRI < em > identifies</ em > that datatype.
230
229
If an IRI identifies something it may or may not denote it in a given interpretation,
231
230
depending on how the semantics is specified.
@@ -276,6 +275,7 @@ <h2>Notation and Terminology</h2>
276
275
277
276
278
277
278
+
279
279
< p >
280
280
For RDF terms t, x, and y, we define the < dfn > substitution mapping</ dfn > t[x/y] inductively, as follows:
281
281
</ p >
@@ -472,10 +472,10 @@ <h2>Simple Interpretations</h2>
472
472
< p > The distinction between IS and IL will become significant below when the semantics of datatypes are defined.
473
473
IL is allowed to be partial because some literals may fail to have a referent. </ p >
474
474
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 ,
477
477
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.
479
479
Such self-application structures are used in RDFS, for example.
480
480
The use of the IEXT mapping to distinguish the relation as an object from its relational extension
481
481
accommodates both of these requirements.
@@ -735,7 +735,7 @@ <h2>Skolemization (Informative)</h2>
735
735
which eliminates blank nodes by replacing them with "new" IRIs,
736
736
which means IRIs which are coined for this purpose and are therefore guaranteed
737
737
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]]
739
739
for a fuller discussion.</ p >
740
740
741
741
< p > Suppose G is a graph containing blank nodes and sk is a skolemization mapping
@@ -750,7 +750,7 @@ <h2>Skolemization (Informative)</h2>
750
750
sk(G) < a > simply entails</ a > H if and only if G < a > simply entails</ a > H.</ p >
751
751
752
752
< 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 >
754
754
755
755
</ section >
756
756
@@ -787,10 +787,10 @@ <h2>Literals and datatypes</h2>
787
787
a unique datatype wherever it occurs.
788
788
RDF processors which are not able to determine which datatype is identified by an IRI
789
789
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 >
791
791
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]].
794
794
In summary: with two exceptions, RDF literals combine a string and an IRI < a data-lt ="identify "> identifying</ a > a datatype.
795
795
The exceptions are < a data-cite ="RDF12-CONCEPTS#dfn-language-tagged-string "> language-tagged strings</ a > , assigned the type < code > rdf:langString</ code > ,
796
796
which have two syntactic components, a string and a language tag; and
@@ -824,8 +824,8 @@ <h2>Literals and datatypes</h2>
824
824
< a data-cite ="XMLSCHEMA11-2#string "> < code > xsd:string</ code > </ a > ,
825
825
< a data-cite ="RDF12-CONCEPTS#dfn-language-tagged-string "> < code > rdf:langString</ code > </ a > , and
826
826
< 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]]
829
829
< em > are</ em > < a > recognized</ a > , they MUST be interpreted as described there, and
830
830
when the IRI < code > rdf:PlainLiteral</ code > is < a > recognized</ a > ,
831
831
it MUST be interpreted to denote the datatype defined in [[!RDF-PLAIN-LITERAL]].
@@ -904,7 +904,7 @@ <h2>D-interpretations</h2>
904
904
905
905
< p > The special datatypes
906
906
< 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 >
908
908
have no < a > ill-typed</ a > literals.
909
909
Any syntactically legal literal with one of these types will denote a value in every
910
910
D-interpretation where D includes < code > rdf:langString</ code > or < code > rdf:dirLangString</ code > .
@@ -1051,7 +1051,7 @@ <h2>RDF Interpretations</h2>
1051
1051
1052
1052
< p > The datatype IRIs
1053
1053
< 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 > ,
1055
1055
and < a data-cite ="XMLSCHEMA11-2#string "> < code > xsd:string</ code > </ a >
1056
1056
MUST be < a > recognized</ a > by all RDF interpretations.</ p >
1057
1057
@@ -1559,11 +1559,11 @@ <h4>Patterns of RDFS entailment (Informative)</h4>
1559
1559
</ table >
1560
1560
< p > As an example of a RDFS entailment involving triple terms using the entailment pattern rdfs14, the following graph —</ p >
1561
1561
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 << ( ex:c ex:d << (ex:e ex:f ex:g)> > )> > .</ code > </ p >
1563
1563
1564
1564
< p > — RDFS entails —</ p >
1565
1565
1566
- < p > < code > ex:a ex:b < < ( ex:c ex:d _:b1 )> > .< br />
1566
+ < p > < code > ex:a ex:b << ( ex:c ex:d _:b1 )> > .< br />
1567
1567
ex:a ex:b _:b2 .< br />
1568
1568
_:b1 rdf:type rdfs:Proposition .< br />
1569
1569
_:b2 rdf:type rdfs:Proposition .</ code > </ p >
@@ -1585,7 +1585,7 @@ <h2>RDF Datasets</h2>
1585
1585
<!--
1586
1586
<p>An RDF <a data-cite="RDF12-CONCEPTS#section-dataset">dataset</a> (see [[!RDF12-CONCEPTS]])
1587
1587
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> .
1589
1589
Graphs in a single dataset may share blank nodes.
1590
1590
The association of graph name IRIs with graphs is used by SPARQL [[?SPARQL12-QUERY]]
1591
1591
to allow queries to be directed against particular graphs.</p>
@@ -1595,7 +1595,7 @@ <h2>RDF Datasets</h2>
1595
1595
defined in RDF Concepts [[!RDF12-CONCEPTS]],
1596
1596
package up zero or more named RDF graphs along with a single unnamed, default RDF graph.
1597
1597
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]]
1599
1599
to allow queries to be directed against particular graphs.</ p >
1600
1600
1601
1601
< 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>
1616
1616
< p > Other < a > semantic extension</ a > s and < a > entailment regime</ a > s MAY place further semantic conditions and restrictions on RDF datasets,
1617
1617
just as with RDF graphs.
1618
1618
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 >
1620
1620
(adding in empty graphs as required).</ p >
1621
1621
1622
1622
< table >
1623
1623
< caption > Definition of an RDF dataset</ caption >
1624
1624
< tr >
1625
1625
< td class ="semantictable ">
1626
1626
< p > An < a > RDF dataset</ a >
1627
- is a set:</ p >
1627
+ is a set:< br / >
1628
1628
{ G, (<u< sub > 1</ sub > >, G< sub > 1</ sub > ), (<u< sub > 2</ sub > >, G< sub > 2</ sub > ), . .
1629
1629
. (<u< sub > n</ sub > >, G< sub > n</ sub > ) }< br >
1630
1630
where n≥0 and G and each G< sub > i</ sub > are graphs, and each <u< sub > i</ sub > > is an IRI. Each
@@ -1816,6 +1816,7 @@ <h2>Entailment rules (Informative)</h2>
1816
1816
The complete entailment pattern for generalized RDF with [=symmetric RDF triples=],
1817
1817
considering that, according to the semantics, the denotation of triple terms should
1818
1818
be of type < code > rdfs:Proposition</ code > , is the following:
1819
+ </ p >
1819
1820
< table >
1820
1821
< caption > RDFS-T entailment pattern.</ caption >
1821
1822
< tbody >
@@ -1834,7 +1835,6 @@ <h2>Entailment rules (Informative)</h2>
1834
1835
</ tr >
1835
1836
</ tbody >
1836
1837
</ table >
1837
- </ p >
1838
1838
1839
1839
< p class ="issue " data-number ="76 "> We don't have a completeness proof for the RDFS entailment rules (yet).</ p >
1840
1840
@@ -1854,7 +1854,7 @@ <h2>Finite interpretations</h2>
1854
1854
1855
1855
< p > Basically, it is only necessary for an interpretation structure to interpret the < a > names</ a >
1856
1856
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.
1858
1858
More formally, we can define a < dfn > pre-interpretation</ dfn > over a < a > vocabulary</ a > V to be a structure I
1859
1859
similar to a < a > simple interpretation</ a > but with a mapping only from V to its universe IR.
1860
1860
Then when determining whether G entails E, consider only pre-interpretations over the finite vocabulary
@@ -1996,7 +1996,7 @@ <h3>Reification</h3>
1996
1996
< p > and suppose that IRI < code > ex:graph1</ code > is used to < a > identify</ a > this graph.
1997
1997
Exactly how this identification is achieved is external to the RDF model,
1998
1998
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.
2000
2000
Assuming that the IRI can be used to denote the triple,
2001
2001
then the reification vocabulary allows us to describe the first graph in another graph:</ p >
2002
2002
0 commit comments