You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<adata-cite="RDF12-CONCEPTS#section-Datatypes">Section 5</a> of [[!RDF12-CONCEPTS]]
781
784
are <a>recognized</a>, they MUST be interpreted as described there, and when the IRI <code>rdf:PlainLiteral</code> is <a>recognized</a>, it MUST be interpreted to denote the datatype defined in [[!RDF-PLAIN-LITERAL]]. RDF processors MAY recognize other datatype IRIs, but when other datatype IRIs are <a>recognized</a>, the mapping between the datatype IRI and the datatype it <a>denotes</a> MUST be specified unambiguously, and MUST be fixed during all RDF transformations or manipulations. In practice, this can be achieved by the IRI linking to an external specification of the datatype which describes both the components of the datatype itself and the fact that the IRI identifies the datatype, thereby fixing a value of the <a>datatype map</a> of this IRI.</p>
782
785
783
786
<p>Literals with <adata-cite="RDF12-CONCEPTS#dfn-language-tagged-string"><code>rdf:langString</code></a>
784
-
as their datatype are an exceptional case which are given a special treatment.
785
-
The IRI <code>rdf:langString</code> is classified as a datatype IRI,
786
-
and interpreted to denote a datatype, even though no <a>L2V</a> mapping is defined for it.
787
-
The <a>value space</a> of <code>rdf:langString</code> is the set of all pairs of a string with a language tag.
788
-
The semantics of literals with this as their type are given below.</p>
787
+
or <adata-cite="RDF12-CONCEPTS#dfn-directional-language-tagged-string"><code>rdf:dirLangString</code></a>
788
+
as their datatype IRI are given special treatment.
789
+
The IRIs <code>rdf:langString</code> and <code>rdf:dirLangString</code>
790
+
are classified as datatype IRIs and interpreted to denote a datatype,
791
+
even though no <a>L2V</a> mapping is defined for them.
792
+
The <a>value space</a> of <code>rdf:langString</code>
793
+
is the set of all pairs of a string with a language tag.
794
+
The <a>value space</a> of <code>rdf:dirLangString</code>
795
+
is the set of all
796
+
3-tuples of a string, a language tag, and a base direction.
797
+
The semantics of literals with these as their datatype are given below.
798
+
</p>
789
799
790
800
<p>RDF allows any IRI to be used in a literal,
791
801
even when it is not <a>recognized</a> as referring to a datatype.
@@ -816,7 +826,10 @@ <h2>D-interpretations</h2>
816
826
<tr><tdclass="semantictable">If <code>rdf:langString</code> is in D,
817
827
then for every language-tagged string E with lexical form sss and language tag ttt,
818
828
IL(E)= < sss, ttt' >, where ttt' is ttt converted to lower case using US-ASCII rules</td></tr>
819
-
829
+
<tr><tdclass="semantictable">If <code>rdf:dirLangString</code> is in D,
830
+
then for every directional language-tagged string E with lexical form sss,
831
+
language tag ttt, and base direction bbb,
832
+
IL(E)= < sss, ttt', bbb >, where ttt' is ttt converted to lower case using US-ASCII rules</td></tr>
820
833
<tr><tdclass="semantictable">For every other IRI aaa in D,
821
834
I(aaa) is the datatype identified by aaa, and for every literal
<li>If no triples were added in step 2, add the RDF (and RDFS) axiomatic triples which contain <code>rdf:_1</code>.</li>
1611
1631
<li>For every IRI or literal <code>aaa</code> used in E, add <code>aaa rdf:type rdfs:Resource</code> to S.</li>
1612
1632
<li>Apply the rules <a>GrdfD1</a>, <a>rdfD1a</a>, and <a>rdfD2</a> (and the rules <a>rdfs1</a> through <a>rdfs13</a>),
1613
-
with D={<code>rdf:langString</code>, <code>xsd:string</code>}, to the set in all possible ways, to exhaustion.</li>
1633
+
with D={<code>rdf:langString</code>, <code>rdf:dirLangString</code>, <code>xsd:string</code>},
1634
+
to the set in all possible ways, to exhaustion.</li>
1614
1635
</ol>
1615
1636
1616
1637
<p>Then we have the completeness result:</p>
@@ -2063,7 +2084,12 @@ <h2>Acknowledgments</h2>
2063
2084
<h2>Substantive changes since RDF 1.1</h2>
2064
2085
2065
2086
<ul>
2066
-
<li> RDF entailment rule <a>rdfD1a</a> was added in RDF 1.2. This rule should have been included in RDF 1.1 when the two built-in datatypes (<code>xsd:string</code> and <code>rdf:langString</code>) were added to RDF entailment. </li>
2087
+
<li> RDF entailment rule <a>rdfD1a</a> was added in RDF 1.2.
2088
+
This rule should have been included in RDF 1.1 when the two built-in
2089
+
datatypes (<code>xsd:string</code> and <code>rdf:langString</code>)
2090
+
were added to RDF entailment.
2091
+
</li>
2092
+
<li><code>rdf:dirLangString</code> added to the built-in datatypes.</li>
0 commit comments