Editoral on TriG language
authorGavin Carothers <gavin@carothers.name>
Mon, 16 Sep 2013 14:28:03 -0700
changeset 1080 56b616f0382b
parent 1079 ffb417900e07
child 1081 3a40b9e49dd0
Editoral on TriG language
trig/index.html
--- a/trig/index.html	Mon Sep 16 14:08:12 2013 -0700
+++ b/trig/index.html	Mon Sep 16 14:28:03 2013 -0700
@@ -189,11 +189,10 @@
 		</section>
 
 		<section id="sec-trig-intro" class="informative">
-			<h2>An Introduction to TriG</h2>
+			<h2>TriG Language</h2>
 
 			<p>A TriG document allows writing down an RDF Dataset in a compact
-			textual form.  It consists of a sequence of directives, graph statements 
-			which contain triple-generating statements and optional blank lines.  
+			textual form.  It consists of a sequence of directives, triple statments, graph statements which contain triple-generating statements and optional blank lines.  
 			Comments may be given after a <code>#</code> that is not part of another 
 			lexical token and continue to the end of the line.</p>
 			<p>
@@ -207,14 +206,19 @@
 			  The construction of an RDF Dataset from a TriG document is defined in <a href="#sec-grammar" class="sectionRef">TriG Grammar</a> and <a href="#sec-parsing" class="sectionRef">Parsing</a>.
 			</p>
 
+			<section id="sec-triple-statements">
+				<h3>Triple Statements</h3>
+				<p>As TriG is an extention of the Turtle language it allows for any constructs from the <a href="http://www.w3.org/TR/turtle/#language-features">Turtle language</a>. <a href="http://www.w3.org/TR/turtle/#simple-triples">Simple Triples</a>, <a href="http://www.w3.org/TR/turtle/#predicate-lists">Predicate Lists</a>, and <a href="http://www.w3.org/TR/turtle/#object-lists">Object Lists</a> can all be used either inside a graph statement, or on their own as in a Turtle document. When outside a graph statement, the triples are considered to be part of the deafult graph of the RDF Dataset.</p>
+			</section>
+
 			<section id="sec-graph-statements">
 				<h3>Graph Statements</h3>
 				
 				<p>A graph statement pairs an IRI or blank node with a RDF graph. The triple statements that make up the graph are enclosed in <code>{}</code>.</p>
 
-				<p>In a TriG document a graph IRI or blank node MAY be used to label more then one graph. The graph name of a graph statement may be omitted. In this case the graph is considered the default graph of the RDF Dataset.</p>
+				<p>In a TriG document a graph IRI or blank node MAY be used to label more then one graph. The graph label of a graph statement may be omitted. In this case the graph is considered the default graph of the RDF Dataset.</p>
 
-				<p>A RDF Dataset may contain only a single graph.</p>
+				<p>A RDF Dataset might contain only a single graph.</p>
 				<pre class="example">
 					<script type="application/trig"># This document encodes one graph.
 @prefix ex: <http://www.example.org/vocabulary#> .
@@ -296,7 +300,7 @@
 				<p>All other terms and directives come from Turtle.</p>
 				<section id="terms-blanks-nodes">
 					<h4>Special Considerations for Blank Nodes</h4>
-					<p>BlankNodes sharing the same label in differently labeled graph statements MUST be considered to be the same BlankNode.</p>
+					<p>BlankNodes sharing the same label in differently labeled graph statements are considered to be the same BlankNode.</p>
 				</section>
 			</section>
 		</section>