Wrap most tokens in single quotes
authorGavin Carothers <gavin@carothers.name>
Tue, 10 Jul 2012 16:18:45 -0700
changeset 491 581f4f127522
parent 490 d5be5eff2927
child 492 cdf6840e6c00
Wrap most tokens in single quotes
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Tue Jul 10 15:22:51 2012 -0700
+++ b/rdf-turtle/index.html	Tue Jul 10 16:18:45 2012 -0700
@@ -210,7 +210,7 @@
 	<section id="language-features" class="informative">
 		<h2>Turtle Language</h2>
 		<p>A Turtle document allows writing down an RDF graph in a compact textual form. An RDF graph is made up of <a href="../rdf-concepts/index.html#dfn-rdf-triple">triples</a> consisting of a subject, predicate and object.</p>
-		<p>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>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>
 		<section id="simple-triples">
 			<h3>Simple Triples</h3>
 			<p>The simplest triple statement is a sequence of (subject, predicate, object) terms, separated by whitespace and terminated by '<code>.</code>' after each triple.</p>
@@ -220,9 +220,9 @@
 		</section>
 		<section id="predicate-lists">
 			<h3>Predicate Lists</h3>
-			<p>Often the same subject will be referenced by a number of predicates. The <a href="#grammar-production-predicateObjectList">predicateObjectList production</a> matches a series of predicates and objects, separated by <code>;</code>, following a subject.
+			<p>Often the same subject will be referenced by a number of predicates. The <a href="#grammar-production-predicateObjectList">predicateObjectList production</a> matches a series of predicates and objects, separated by '<code>;</code>', following a subject.
 			  This expresses a series of RDF Triples with that subject and each predicate and object allocated to one triple.
-			  Thus, the <code>;</code> symbol is used to repeat the subject of triples that vary only in predicate and object RDF terms.</p>
+			  Thus, the '<code>;</code>' symbol is used to repeat the subject of triples that vary only in predicate and object RDF terms.</p>
 			  <p>These two examples are equivalent ways of writing the triples about Spiderman.</p>
    			<pre class="example"><script type="text/turtle"><http://example.org/#spiderman> <http://www.perceive.net/schemas/relationship/enemyOf> <http://example.org/#green-goblin> ;
 				<http://xmlns.com/foaf/0.1/name> "Spiderman" .
@@ -236,7 +236,7 @@
 			<p>
 			  As with predicates often objects are repeated with the same subject and predicate. The <a href="#grammar-production-objectList">objectList production</a> matches a series of objects separated by '<code>,</code>' following a predicate.
 			  This expresses a series of RDF Triples with the corresponding subject and predicate and each object allocated to one triple.
-			  Thus, the <code>,</code> symbol is used to repeat the subject and predicate of triples that only differ in the object RDF term.</p>
+			  Thus, the '<code>,</code>' symbol is used to repeat the subject and predicate of triples that only differ in the object RDF term.</p>
 			  <p>These two examples  are equivalent ways of writing Spiderman's name in two languages.<p>
  			<pre class="example"><script type="text/turtle"><http://example.org/#spiderman> <http://xmlns.com/foaf/0.1/name> "Spiderman", "Человек-паук"@ru .
 			</script></pre>
@@ -261,15 +261,15 @@
 			   		<a href="../rdf-concepts/index.html#dfn-iri">IRIs</a> may be written as relative or absolute IRIs or prefixed names. 
 				  	Relative and absolute IRIs are enclosed in '&lt;' and '&gt;' and may contain <a href="#numeric">numeric escape sequences</a> (described below). For example <code>&lt;http://example.org/#green-goblin&gt;</code>.
 				</p>
-				<p>Relative IRIs like <code>&lt;#green-goblin&gt;</code> are resolved relative to the current base IRI. A new base IRI can be defined using the <code>@base</code> directive. Specifics of this operation are defined in <a href="#sec-iri-references" class="sectionRef"></a> </p>
+				<p>Relative IRIs like <code>&lt;#green-goblin&gt;</code> are resolved relative to the current base IRI. A new base IRI can be defined using the '<code>@base</code>' directive. Specifics of this operation are defined in <a href="#sec-iri-references" class="sectionRef"></a> </p>
 				<p>
-				  The token <code>a</code> in the predicate position of a Turtle triple represents the IRI <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</code> .
+				  The token '<code>a</code>' in the predicate position of a Turtle triple represents the IRI <code>http://www.w3.org/1999/02/22-rdf-syntax-ns#type</code> .
 				</p>
 
 				<p>
 				  A <em id="prefixed-name">prefixed name</em> is a prefix label and a local part, separated by a colon ":".
-				  A prefixed name is turned into an IRI by concatenating the IRI associated with the prefix and the local part. The <code>@prefix</code> directive associates a prefix label with an IRI.
-				  Subsequent <code>@prefix</code> directives may re-map the same prefix label. </p>
+				  A prefixed name is turned into an IRI by concatenating the IRI associated with the prefix and the local part. The '<code>@prefix</code>' directive associates a prefix label with an IRI.
+				  Subsequent '<code>@prefix</code>' directives may re-map the same prefix label. </p>
 
 				  <p>
 				  	To write <code>http://www.perceive.net/schemas/relationship/enemyOf</code> using a prefixed name: </p>
@@ -339,10 +339,10 @@
 				  Quoted Literals (Grammar production <a href="#grammar-production-RDFLiteral">RDFLiteral</a>) have a lexical form followed by a language tag, a datatype IRI, or neither.
 				  The representation of the lexical form consists of an initial delimiter, e.g. <code>"</code>, a sequence of permitted characters or <a href="#numeric">numeric escape sequence</a> or <a href="#string">string escape sequence</a>, and a final delimiter.
 				  The corresponding <a href="../rdf-concepts/index.html#dfn-lexical-form">RDF lexical form</a> is the characters between the delimiters, after processing any escape sequences.
-				  If present, the <a href="../rdf-concepts/index.html#dfn-language-tagged-string">language tag</a> is preceded by a <code>@</code>.
-				  If there is no language tag, there may be a <a href="../rdf-concepts/index.html#dfn-datatype-URI">datatype IRI</a>, preceeded by <code>^^</code>. The datatype IRI in Turtle may be written using either an <a href="#sec-iri">absolute IRI</a>, a <a href="#sec-iri">relative IRI</a>, or <a href="#prefixed-name">prefixed name</a>. If there is no datatype IRI and no language tag, the datatype is <code>xsd:string</code>.
+				  If present, the <a href="../rdf-concepts/index.html#dfn-language-tagged-string">language tag</a> is preceded by a '<code>@</code>'.
+				  If there is no language tag, there may be a <a href="../rdf-concepts/index.html#dfn-datatype-URI">datatype IRI</a>, preceeded by '<code>^^</code>'. The datatype IRI in Turtle may be written using either an <a href="#sec-iri">absolute IRI</a>, a <a href="#sec-iri">relative IRI</a>, or <a href="#prefixed-name">prefixed name</a>. If there is no datatype IRI and no language tag, the datatype is <code>xsd:string</code>.
 				</p>
-				<p><code>\</code> may not appear in any quoted literal except as part of an escape sequence. Other restrictions depend on the delimiter:</p>
+				<p>'<code>\</code>' may not appear in any quoted literal except as part of an escape sequence. Other restrictions depend on the delimiter:</p>
 				<ul>
 					<li>Literals delimited by <code>'</code>, may not contain the characters <code>'</code>, <code title="LINE FEED"><sub>LF</sub></code>, or <code title="CARRIAGE RETURN"><sub>CR</sub></code>.
 					<li>Literals delimited by <code>"</code>, may not contain the characters <code>"</code>, <code title="LINE FEED"><sub>LF</sub></code>, or <code title="CARRIAGE RETURN"><sub>CR</sub></code>.