Case sensitive true/false in Turtle
authorGavin Carothers <gavin@carothers.name>
Wed, 21 Mar 2012 08:48:37 -0700
changeset 225 038053919b43
parent 224 f93f0e829e9a
child 227 461bdb3efc05
child 230 088a2efecee1
Case sensitive true/false in Turtle
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Wed Mar 14 11:04:38 2012 -0400
+++ b/rdf-turtle/index.html	Wed Mar 21 08:48:37 2012 -0700
@@ -1112,6 +1112,8 @@
 
     <li>SPARQL permits variables (<code>?</code><em>name</em> or <code>$</code><em>name</em>) in any part of the triple of the form</li>
     <li>Turtle allows <a href="#prod-turtle2-directive">prefix and base declarations</a> anywhere outside of a triple. In SPARQL, they are only allowed in the <a href="http://www.w3.org/TR/sparql11-query/#rPrologue">Prologue</a> (at the start of the SPARQL query).</li>
+    <li>SPARQL uses case insensitive keywords, except for <code>a</code>. Turtle's prefix and base declarations are case sensitive.</li>
+    <li><code>true</code> and <code>false</code> are case insensitive in SPARQL and case sensitive in Turtle. <code>TrUe</code> is not a valid boolean value in Turtle.</li>
 
       </ol>
 
@@ -1242,7 +1244,6 @@
 
           <li>Adopted three additional string syntaxes from SPARQL: <a href="#term-turtle2-STRING_LITERAL2">STRING_LITERAL2</a>, <a href="#term-turtle2-STRING_LITERAL_LONG1">STRING_LITERAL_LONG1</a>, <a href="#term-turtle2-STRING_LITERAL_LONG2">STRING_LITERAL_LONG2</a></li>
 
-          <li>Adopted case-independent constants for XSD booleans <code>true</code> and <code>false</code>.</li>
           <li>Adopted SPARQL's syntax for prefixed names (see <a href="http://www.w3.org/TR/sparql11-query/#rPrefixedName">editor's draft</a>):
           <ul>
             <li>'.'s in names in all positions of a local name apart from the first or last, e.g. <code>ex:first.name</code>.</li>