More n-triples cleanup
authorGavin Carothers <gavin@carothers.name>
Tue, 01 May 2012 15:40:06 -0700
changeset 292 ce88718dbe71
parent 291 d51b0472c1ae
child 293 d96ec672eadc
More n-triples cleanup
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Tue May 01 15:29:57 2012 -0700
+++ b/rdf-turtle/index.html	Tue May 01 15:40:06 2012 -0700
@@ -234,7 +234,7 @@
 
 	</section>
 	<section id="terms">
-			<h2>RDF Terms in Turtle and N-Triples</h2>
+			<h2>RDF Terms in Turtle</h2>
 
 			<p>
 			  There are three types of <em>RDF Term</em> defined in RDF Concepts:
@@ -258,7 +258,7 @@
 
 				<p>The following Turtle document contains examples of all the diffrent ways of writting IRIs in Turtle.</p>
 
-							<pre class="example"><script type="text/turtle"># A triple with all absolute IRIs (which is also a valid N-Triples triple):
+							<pre class="example"><script type="text/turtle"># A triple with all absolute IRIs
 <http://one.example/subject1> <http://one.example/predicate1> <http://one.example/object1> .
 
 @base <http://one.example/> .
@@ -1073,7 +1073,8 @@
 			  N-Triples triples are a sequence of RDF terms representing the subject, predicate and object of an RDF Triple. This sequence is terminated by a '.' and a new line (optional at the end of a document).
 			</p>
 
-			<pre class="example"><script type="application/n-triples">
+			<pre class="example"><script type="application/n-triples"><http://one.example/subject1> <http://one.example/predicate1> <http://one.example/object1> . # comments here
+# or on a line by themselves
 _:subject1 <http://an.example/predicate1> "object1" .
 _:subject2 <http://an.example/predicate2> "object2" .
 </script></pre>