disimprove definition of literals (ISSUE-94)
authorRichard Cyganiak <richard@cyganiak.de>
Tue, 06 Nov 2012 20:07:00 +0000
changeset 530 08a9867b4581
parent 529 67e38090cb06
child 531 e72877b6b6a1
disimprove definition of literals (ISSUE-94)
--- a/rdf-concepts/index.html	Tue Nov 06 19:43:13 2012 +0000
+++ b/rdf-concepts/index.html	Tue Nov 06 20:07:00 2012 +0000
@@ -506,7 +506,8 @@
     <p>Literals are used to denote values such as strings, numbers and dates
     by means of a lexical representation.</p>
-    <p>A <dfn>literal</dfn> in an <a>RDF graph</a> consists of:</p>
+    <p>A <dfn>literal</dfn> in an <a>RDF graph</a> consists of two or three
+    elements:</p>
     <li>a <dfn>lexical form</dfn> being a Unicode [[!UNICODE]] string,
@@ -515,11 +516,10 @@
     the <a>literal value</a>.</li>
-    <p>A <dfn>language-tagged string</dfn> is any <a>literal</a>
-    whose <a>datatype IRI</a> is equal to
-    <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#langString</code>.
-    In addition to <a>lexical form</a> and datatype IRI,
-    a language-tagged string also has:</p>
+    <p>A literal is a <dfn>language-tagged string</dfn> if and only if its
+    <a>datatype IRI</a> is
+    <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#langString</code>,
+    and only in this case the third element is present:</p>
     <li>a non-empty <dfn>language tag</dfn> as defined by [[!BCP47]].
@@ -1242,6 +1242,7 @@
   <em>RDF 1.1 Concepts and Abstract Syntax</em>.</p>
+    <li>2012-11-06: Tweak definition of <a title="literal">literals</a> to avoid apparent contradiction (<a href="http://www.w3.org/2011/rdf-wg/track/issues/94">ISSUE-94</a>)</li>
     <li>2012-11-06: Add a <a href="#note-custom-datatypes">note</a> on the use of OWL2 custom datatypes and simple user-defined XML Schema datatypes (<a href="http://www.w3.org/2011/rdf-wg/track/issues/96">ISSUE-96</a>)</li>
     <li>2012-11-06: Add a <a href="#note-empty-named-graphs">note on empty named graphs</a> (<a href="http://www.w3.org/2011/rdf-wg/track/issues/22">ISSUE-22</a>)</li>
     <li>2012-11-06: Modify the <a title="relative IRI">Note on relative IRIs</a> to stress their usefulness and to clarify the role of RFC 3986 in the resolution process</li>