+ numeric and boolean example per <a href="http://www.w3.org/mid/[email protected]om">Gavin's suggestion</a>
authorEric Prud'hommeaux <eric@w3.org>
Wed, 21 Mar 2012 17:42:16 -0400
changeset 229 e04c5aa64336
parent 228 f97e96d062c9
child 233 c89072ddaf29
child 235 d660e8c24c98
+ numeric and boolean example per <a href="http://www.w3.org/mid/[email protected]om">Gavin's suggestion</a>
rdf-turtle/index.html
--- a/rdf-turtle/index.html	Wed Mar 21 16:43:20 2012 -0400
+++ b/rdf-turtle/index.html	Wed Mar 21 17:42:16 2012 -0400
@@ -478,7 +478,7 @@
 				<table class="separated">
 				  <caption>Example numeric representations:</caption>
 				  <tbody>
-				    <tr><th><a href="http://www.w3.org/TR/xmlschema-2/#boolean">xsd:boolean</a></th>
+				    <tr><th><a href="http://www.w3.org/TR/xmlschema-2/#integer">xsd:integer</a></th>
 				    <td><code>-5</code></td> <td><code>0</code></td> <td><code>1</code></td> <td><code>010</code></td> <td><code>+10</code></td></tr>
 				    <tr><th><a href="http://www.w3.org/TR/xmlschema-2/#decimal">xsd:decimal</a></th>
 				    <td><code>-5.0</code></td> <td><code>.0</code></td> <td><code>1.234567890</code></td> <td><code>010.0</code></td> <td><code>+10.0</code></td></tr>
@@ -487,6 +487,15 @@
 				  </tbody>
 				</table>
 
+				<pre class="example"><script type="text/turtle">
+# this is a complete turtle document
[email protected] : <http://example.org/stats> .
+<http://somecountry.example/census2007>
+    :censusYear 2007 ;      # xsd:integer
+    :birthRate 13.5 ;       # xsd:decimal
+    :gdpDollars 14074.2E9 ; # xsd:double
+    :isLandlocked false .   # xsd:boolean
+				</script></pre>
 			</section>
 
 			<section  id="groups">