Turtle style cleanup :)
authorDave Reynolds <dave@epimorphics.com>
Fri, 05 Oct 2012 16:49:35 +0100
changeset 216 1b7eb22b1c01
parent 215 e948cf1a701d
child 217 e5420d8a200f
Turtle style cleanup :)
org/index.html
--- a/org/index.html	Fri Oct 05 16:44:10 2012 +0100
+++ b/org/index.html	Fri Oct 05 16:49:35 2012 +0100
@@ -276,7 +276,7 @@
 <p>For example:</p>
 
 <pre class="code">&lt;http://example.com/people#ceo&gt; 
-  org:headOf    &lt;http://example.com/org#id&gt; . 
+  org:headOf    &lt;http://example.com/org#id&gt;. 
 </pre>
 
 <h4>Membership n-ary relationship</h4>
@@ -292,17 +292,17 @@
 <p>For example:</p>
 
 <pre class="code">&lt;http://example.com/org#id&gt; a org:FormalOrganization;
-    skos:prefLabel "Example Ltd" .
+    skos:prefLabel "Example Ltd".
 
 eg:ctoRole a org:Role;
-    rdfs:label "CTO" .
+    rdfs:label "CTO".
         
 [] a org:Membership;
-    org:member &lt;http://example.com/people#jo&gt; ;
-    org:organization &lt;http://example.com/org#id&gt; ;
+    org:member &lt;http://example.com/people#jo&gt;;
+    org:organization &lt;http://example.com/org#id&gt;;
     org:role eg:ctoRole;
-    org:memberDuring [a owlTime:Interval; owlTime:hasBeginning [
-                      owlTime:inXSDDateTime "2009-11-01T09:00:00Z"^^xsd:dateTime]] .
+    org:memberDuring [a time:Interval; time:hasBeginning [
+                      time:inXSDDateTime "2009-11-01T09:00:00Z"^^xsd:dateTime]].
 </pre>
 
 <p>Since this representation can be a little less convenient to query and
@@ -312,14 +312,14 @@
 the <a href="#org:roleProperty">org:roleProperty</a> annotation. Thus we might extend the above example with:</p>
 
 <pre class="code">eg:ctoRole a org:Role;
-    org:roleProperty eg:ctoOf .
+    org:roleProperty eg:ctoOf.
     
-eg:ctoOf a owl:ObjectProperty, rdf:Property ;
-    rdfs:label "CTO" ;
-    rdfs:subPropertyOf org:memberOf .
+eg:ctoOf a owl:ObjectProperty, rdf:Property;
+    rdfs:label "CTO";
+    rdfs:subPropertyOf org:memberOf.
         
 &lt;http://example.com/people#jo&gt; 
-  eg:ctoOf &lt;http://example.com/org#id&gt; . 
+  eg:ctoOf &lt;http://example.com/org#id&gt;. 
 </pre>
 
 <p>In practice we anticipate tool chains generating the <a href="#org:Membership">org:Membership</a> instances
@@ -365,38 +365,38 @@
 
 <pre class="code">
 CONSTRUCT {
-  ?agent  org:memberOf ?org .
+  ?agent  org:memberOf ?org.
 } WHERE {
-  ?agent org:holds  ?post .
-  ?post  org:postIn ?org .
+  ?agent org:holds  ?post.
+  ?post  org:postIn ?org.
 }
 
 CONSTRUCT {
-    ?agent   org:memberOf  ?org .
+    ?agent   org:memberOf  ?org.
 } WHERE {
   [] a org:Membership;
-    org:member       ?agent ;
-    org:organization ?org .
+    org:member       ?agent;
+    org:organization ?org.
 }
 
 CONSTRUCT {
   [] a org:Membership;
-    org:member       ?agent ;
+    org:member       ?agent;
     org:organization ?org;
-    org:role         ?role .
+    org:role         ?role.
 } WHERE {
-  ?agent org:holds  ?post .
-  ?post  org:postIn ?org .
-  ?post  org:role   ?role .
+  ?agent org:holds  ?post.
+  ?post  org:postIn ?org.
+  ?post  org:role   ?role.
 }
 
 CONSTRUCT {
-    ?agent   ?roleprop  ?org .
+    ?agent   ?roleprop  ?org.
 } WHERE {
   [] a org:Membership;
-    org:member       ?agent ;
+    org:member       ?agent;
     org:organization ?org;
-    org:role         [ org:roleProperty ?roleprop ] .
+    org:role         [ org:roleProperty ?roleprop ].
 }
 </pre>
 
@@ -520,7 +520,7 @@
     <tr><td>gr</td><td>http://purl.org/goodrelations/v1#</td></tr>  
     <tr><td>opmv</td><td>http://purl.org/net/opmv/ns#</td></tr> 
     <tr><td>org</td><td>http://www.w3.org/ns/org#</td></tr>
-    <tr><td>owlTime</td><td>http://www.w3.org/2006/time#</td></tr>
+    <tr><td>time</td><td>http://www.w3.org/2006/time#</td></tr>
     <tr><td>rdf</td><td>http://www.w3.org/1999/02/22-rdf-syntax-ns#</td></tr>
     <tr><td>skos</td><td>http://www.w3.org/2004/02/skos/core#</td></tr>
     <tr><td>vcard</td><td>http://www.w3.org/2006/vcard/ns#</td></tr>
@@ -1019,7 +1019,7 @@
    
    
      <tr><td class="prop">Domain:</td><td><a href="#org:Membership">org:Membership</a></td></tr>
-      <tr><td class="prop">Range:</td><td><a href="http://www.w3.org/2006/time#Interval">owlTime:Interval</a></td></tr>
+      <tr><td class="prop">Range:</td><td><a href="http://www.w3.org/2006/time#Interval">time:Interval</a></td></tr>
     
   </tbody>
 </table>