Remove Turtle Compared section, keep SPARQL section around. Not in a great location
authorGavin Carothers <gavin@carothers.name>
Wed, 13 Jun 2012 09:55:35 -0700
changeset 435 590e9d343705
parent 434 dbd9d57d0ed1
child 436 20acbb457d55
Remove Turtle Compared section, keep SPARQL section around. Not in a great location
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Wed Jun 13 09:43:10 2012 -0700
+++ b/rdf-turtle/index.html	Wed Jun 13 09:55:35 2012 -0700
@@ -532,6 +532,30 @@
 
 			</section>
 		</section>
+		      <section  id="sec-diff-sparql" class="informative">
+      <h3>Turtle compared to SPARQL</h3>
+
+      <p>The <a href="http://www.w3.org/TR/sparql11-query/">SPARQL Query Language for RDF</a> (<abbr title="SPARQL Protocol And RDF Query Language">SPARQL</abbr>) [[RDF-SPARQL-QUERY]] uses a Turtle style syntax for its <a href="http://www.w3.org/TR/sparql11-query/#rTriplesBlock">TriplesBlock production</a>.
+      This production differs from the Turtle language in that:
+      </p>
+
+      <ol>
+    <li>SPARQL permits RDF Literals as the subject of RDF triples (per <a href="http://www.w3.org/TR/sparql11-query/#rGraphTerm">Last Call draft</a>)</li>
+
+    <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="#grammar-production-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>
+
+      <p>For further information see the
+      <a href="http://www.w3.org/TR/sparql11-query/#QSynIRI">Syntax for IRIs</a>
+      and <a href="http://www.w3.org/TR/sparql11-query/#grammar">SPARQL Grammar</a>
+      sections of the SPARQL query document [[RDF-SPARQL-QUERY]].
+      </p>
+      </section>
+
         <section id="sec-grammar">
           <h2>Turtle Grammar</h2>
 
@@ -1009,72 +1033,6 @@
       <section id="sec-compared">
         <h2>Turtle compared</h2>
         <p>Turtle is related to a number of other languages.</p>
-      <section id="sec-diff-n3" class="informative">
-        <h3>Turtle compared to Notation 3</h3>
-
-        <p>Turtle is similar to and inspired by Notation 3 (<abbr title="Notation 3">N3</abbr>).
-	Please see the most recent Notation3 specification for comparison with Turtle.</p>
-<!-- 
-        While the syntax played a role in the creation of Turtle
-        they are not strictly compatible. There are a number of differences in 
-        escaping, encoding and structure. N3 triples are a superset of RDF triples. 
-        In particular, N3 formulae (graphs) may be the subject or object of N3 triples.
-        For example here, the formula with <code>_:Bob a foaf:Person</code> is the object of another arc:</p>
-        <pre>_:Bob ex:said { _:Bob a foaf:Person } .</pre> 
-        
-        <p>In addition, Literals are allowed in the subject position. For example:</p>
-        <pre>"Bob" ex:said "Hi Bob" .</pre>
-
-        <p>Following is a partial list of syntactic features in N3 which are not in Turtle:</p>
-
-        <ol>
-          <li><code>{</code> ... <code>}</code></li>
-          <li><code>is</code> <code>of</code></li>
-
-          <li>paths like <code>:a.:b.:c</code> and <code>:a^:b^:c</code></li>
-          <li><code>@keywords</code></li>
-          <li><code>=&gt;</code> implies</li>
-          <li><code>=</code>  equivalence</li>
-
-          <li><code>@forAll</code></li>
-          <li><code>@forSome</code></li>
-          <li>&lt;=</li>
-        </ol>
--->
-      </section>
-      <section id="sec-diff-rdfxml" class="informative">
-        <h3>Turtle compared to RDF/XML</h3>
-        <p>
-            <a href="http://www.w3.org/TR/2004/REC-rdf-syntax-grammar-20040210/">RDF/XML</a>
-            ([[RDF-SYNTAX-GRAMMAR]])
-            has certain restrictions imposed by XML and the use of XML Namespaces
-            that prevent it encoding all RDF graphs (some predicate URIs are
-            forbidden and XML 1.0 forbids encoding some Unicode codepoints).
-            These restrictions do not apply to Turtle.</p>
-      </section>
-      <section  id="sec-diff-sparql" class="informative">
-      <h3>Turtle compared to SPARQL</h3>
-
-      <p>The <a href="http://www.w3.org/TR/sparql11-query/">SPARQL Query Language for RDF</a> (<abbr title="SPARQL Protocol And RDF Query Language">SPARQL</abbr>) [[RDF-SPARQL-QUERY]] uses a Turtle style syntax for its <a href="http://www.w3.org/TR/sparql11-query/#rTriplesBlock">TriplesBlock production</a>.
-      This production differs from the Turtle language in that:
-      </p>
-
-      <ol>
-    <li>SPARQL permits RDF Literals as the subject of RDF triples (per <a href="http://www.w3.org/TR/sparql11-query/#rGraphTerm">Last Call draft</a>)</li>
-
-    <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="#grammar-production-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>
-
-      <p>For further information see the
-      <a href="http://www.w3.org/TR/sparql11-query/#QSynIRI">Syntax for IRIs</a>
-      and <a href="http://www.w3.org/TR/sparql11-query/#grammar">SPARQL Grammar</a>
-      sections of the SPARQL query document [[RDF-SPARQL-QUERY]].
-      </p>
-      </section>
       
       </section>