added prov:wasQuotedFrom rdfa on expanded and collection section examples
authorTim L <lebot@rpi.edu>
Fri, 20 Apr 2012 16:45:15 -0400
changeset 2431 9518dc6d8eb8
parent 2430 a346bccb3c52
child 2432 956fc165845f
added prov:wasQuotedFrom rdfa on expanded and collection section examples
ontology/prov-o-html-sections/description-collections.inc.html
ontology/prov-o-html-sections/description-expanded-terms.inc.html
--- a/ontology/prov-o-html-sections/description-collections.inc.html	Fri Apr 20 16:43:19 2012 -0400
+++ b/ontology/prov-o-html-sections/description-collections.inc.html	Fri Apr 20 16:45:15 2012 -0400
@@ -15,7 +15,10 @@
 and <code>("k2", :e2)</code>.
 </p>
 
-<pre class="example">{% escape %}{% include "includes/prov/examples/eg-26-provo-collections-narrative/rdf/membership.ttl" %}{% endescape %}</pre>
+<div about="#narrative-example-collections-1" typeof="prov:Entity" class="exampleOuter" xmlns:prov="http://www.w3.org/ns/prov#">
+   <pre rel="prov:wasQuotedFrom" resource="http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-26-provo-collections-narrative/rdf/membership.ttl"
+        class="example">{% escape %}{% include "includes/prov/examples/eg-26-provo-collections-narrative/rdf/membership.ttl" %}{% endescape %}</pre>
+</div>
 
 <p>It is worth noting that <code>:c1</code> MAY also
 have other members (i.e. <code class="repeated">prov:knownMembership</code> is
@@ -38,7 +41,10 @@
 :e1)</code> and <code>("k2", :e2)</code>.  
 </p>
 
-<pre class="example">{% escape %}{% include "includes/prov/examples/eg-26-provo-collections-narrative/rdf/insertion.ttl" %}{% endescape %}</pre>
+<div about="#narrative-example-collections-2" typeof="prov:Entity" class="exampleOuter" xmlns:prov="http://www.w3.org/ns/prov#">
+<pre rel="prov:wasQuotedFrom" resource="http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-26-provo-collections-narrative/rdf/insertion.ttl"
+     class="example">{% escape %}{% include "includes/prov/examples/eg-26-provo-collections-narrative/rdf/insertion.ttl" %}{% endescape %}</pre>
+</div>
 
 
 	<p>
@@ -48,8 +54,11 @@
 	<code>:c2</code>. Thus, <code>:c3</code> does not contain the
 	members <code>("k1", :e1)</code> and <code>("k2",
 	:e2(</code> from <code>:c2</code>.
-
-<pre class="example">{% escape %}{% include "includes/prov/examples/eg-26-provo-collections-narrative/rdf/removal.ttl" %}{% endescape %}</pre>
 	</p>
 
+<div about="#narrative-example-collections-3" typeof="prov:Entity" class="exampleOuter" xmlns:prov="http://www.w3.org/ns/prov#">
+   <pre rel="prov:wasQuotedFrom" resource="http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-26-provo-collections-narrative/rdf/removal.ttl"
+        class="example">{% escape %}{% include "includes/prov/examples/eg-26-provo-collections-narrative/rdf/removal.ttl" %}{% endescape %}</pre>
+</div>
+
      </section>
--- a/ontology/prov-o-html-sections/description-expanded-terms.inc.html	Fri Apr 20 16:43:19 2012 -0400
+++ b/ontology/prov-o-html-sections/description-expanded-terms.inc.html	Fri Apr 20 16:45:15 2012 -0400
@@ -32,14 +32,13 @@
 		
         </p>
 
-        <div class="exampleOuter">
+        <div about="#narrative-example-expanded-1" typeof="prov:Entity" class="exampleOuter" xmlns:prov="http://www.w3.org/ns/prov#">
            <p>We illustrate below the use of the expanded terms using the crime file example from the previous section as reference. Agent Derek now publishes a post about
 		   his work with the aggregated file, while Monica publishes an alternate version to reach a more casual audience.
 		   </p> 
 		   
-		   <pre class="example">
-		   {% escape %}{% include "includes/prov/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl" %}{% endescape %}
-		   </pre> 
+		   <pre rel="prov:wasQuotedFrom" resource="http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl"
+              class="example">{% escape %}{% include "includes/prov/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt1.ttl" %}{% endescape %}</pre> 
 		   
 		   <p>
 		   Agent <code>ex:derek</code>, acting again in behalf of the <code>ex:chartgenerators</code> organization, 
@@ -58,13 +57,13 @@
 		   and an alternate of the first version modified by Derek. Since the provenance produced by Derek and Monica is related to the same resources, the system
 		   automatically groups it in the same <a href="#Account" class="qname">prov:Account</a> (<code>ex:accountPost</code>).
 		   </p>
-		   <p>
-		   Some time passes by, and John writes his own conclusions quoting the previous two posts:
-		   </p> 
 		   
-		   <pre class="example">
-		   {% escape %}{% include "includes/prov/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl" %}{% endescape %}
-		   </pre> 
+         <div about="#narrative-example-expanded-2" typeof="prov:Entity" class="exampleOuter" xmlns:prov="http://www.w3.org/ns/prov#">
+            <p>Some time passes by, and John writes his own conclusions quoting the previous two posts:
+            </p> 
+            <pre rel="prov:wasQuotedFrom" resource="http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl"
+                 class="example">{% escape %}{% include "includes/prov/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt2.ttl" %}{% endescape %}</pre> 
+         </div>
 		   
 		   <p>
 		   Agent <code>ex:John</code> also names the URI of the original source (<code>ex:aggregatedByRegions</code>). All the provenance statements related to his post
@@ -74,9 +73,10 @@
 		   annotation on the second account (<code>ex:accountPost2</code>), stating at which date the parsing was made.
 		   </p> 		   
 		   
-		   <pre class="example">
-		   {% escape %}{% include "includes/prov/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt3.ttl" %}{% endescape %}
-		   </pre>
+         <div about="#narrative-example-expanded-3" typeof="prov:Entity" class="exampleOuter" xmlns:prov="http://www.w3.org/ns/prov#">
+            <pre rel="prov:wasQuotedFrom" resource="http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt3.ttl"
+                 class="example">{% escape %}{% include "includes/prov/examples/eg-25-extended-crime-file-example/rdf/extended-crime-file-pt3.ttl" %}{% endescape %}</pre>
+         </div>
  
         </div>
 	  </section>