--- a/bestpractices/BestPractices.html Wed Dec 07 08:44:13 2011 -0500
+++ b/bestpractices/BestPractices.html Wed Dec 07 15:07:43 2011 +0100
@@ -143,8 +143,10 @@
<div class="buttonpanel">
<form action="#"><p>
-<input id="hide-examples" onclick="set_display_by_class('div','anexample','none'); set_display_by_id('hide-examples','none'); set_display_by_id('show-examples','');" type="button" value="Hide Examples" />
-<input id="show-examples" onclick="set_display_by_class('div','anexample',''); set_display_by_id('hide-examples',''); set_display_by_id('show-examples','none');" style="display: none" type="button" value="Show Examples" />
+<input id="hide-examples" onclick="set_display_by_class('div','anexample rdfxml','none'); set_display_by_id('hide-examples','none'); set_display_by_id('show-examples','');" type="button" value="Hide Examples RDF" />
+<input id="show-examples" onclick="set_display_by_class('div','anexample rdfxml',''); set_display_by_id('hide-examples',''); set_display_by_id('show-examples','none');" style="display: none" type="button" value="Show Examples RDF" />
+<input id="hide-examples-ttl" onclick="set_display_by_class('div','anexample turtle','none'); set_display_by_id('hide-examples-ttl','none'); set_display_by_id('show-examples-ttl','');" type="button" value="Hide Examples TTL" />
+<input id="show-examples-ttl" onclick="set_display_by_class('div','anexample turtle',''); set_display_by_id('hide-examples-ttl',''); set_display_by_id('show-examples-ttl','none');" style="display: none" type="button" value="Show Examples TTL" />
</p>
</form>
</div>
@@ -169,7 +171,7 @@
<li><a href="#activity">Activity</a>, e.g. FileCreation, FileAppending, and FileEditing </li>
<li>specialization of <a href="#entity">Entity</a> to define a class called CrimeFile, which has individuals such as e1, e2, and e3 </li>
</ul>
- <div class="anexample">
+ <div class="anexample rdfxml">
<p>Example given below describes the provenance of <a href="#entity">Entity</a> e2 using RDF/XML syntax</p>
<div class="exampleOuter">
<pre class="example">
@@ -236,7 +238,7 @@
<section id="cf-journalist">
<h5>cf:Journalist</h5>
<p>The cf:Journalist is a specialization of the PROV ontology <a href="#agent">Agent</a> class and models all individuals that participate in creating, editing, and sharing the crime file.The following RDF/XML code illustrates how cf:Journalist is asserted to be a specialization of <a href="#agent">prov:Agent.</a></p>
- <div class="anexample">
+ <div class="anexample rdfxml">
<div class="exampleOuter">
<pre class="example">
<rdf:Description rdf:about="http://www.example.com/crime#Journalist">
@@ -250,7 +252,7 @@
<h5>cf:CrimeFile</h5>
<p> The cf:CrimeFile is a specialization of the PROV ontology <a href="#entity">Entity</a> class and it models the the file describing the crime statistics in the <a href="http://www.w3.org/TR/2011/WD-prov-dm-20111018/#a-file-scenario">provenance scenario</a>, including the multiple versions of the file. The following RDF/XML code illustrates how cf:Journalist is asserted to be a specialization of <a href="#entity">prov:Entity</a>.
</p>
- <div class="anexample">
+ <div class="anexample rdfxml">
<div class="exampleOuter">
<pre class="example">
<rdf:Description rdf:about="http://www.example.com/crime#CrimeFile">
@@ -307,7 +309,7 @@
<section id="cf-hadfilepath">
<h5>cf:hadFilePath</h5>
<p>The property cf:hadFilePath is a specialization of the PROV ontology hadLocation object property and links the class CrimeFile to the FileDirectory class. The following RDF/XML code illustrates the use of rdfs:subPropertyOf to create hadFilePath property.</p>
- <div class="anexample">
+ <div class="anexample rdfxml">
<div class="exampleOuter">
<pre class="example">
<rdf:Description rdf:about="http://www.example.com/crime#hadFilePath">
@@ -650,7 +652,7 @@
together with PROV can provide the provenance of executing
the workflow defined above.
</p>
- <div class="anexample exampleOuter"><pre class="example">
+ <div class="anexample rdfxml"><pre class="example">
<rdf:RDF xmlns="http://www.example.com/scientific-workflow#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:prov="http://www.w3.org/ns/prov-o/"