added initial turtle example
authorTim L <lebot@rpi.edu>
Wed, 07 Dec 2011 08:42:58 -0500
changeset 1183 71c220221256
parent 1182 7bf5fd83a838
child 1184 d6cbb2e7340f
added initial turtle example
bestpractices/BestPractices.html
--- a/bestpractices/BestPractices.html	Tue Dec 06 16:43:40 2011 +0000
+++ b/bestpractices/BestPractices.html	Wed Dec 07 08:42:58 2011 -0500
@@ -270,7 +270,7 @@
         href="http://www.w3.org/TR/2011/WD-prov-dm-20111018/#a-file-scenario">provenance
         scenario</a>. The following RDF/XML code illustrates the
         specialization of the <a href="#activity">prov:Activity</a> to define class cf:FileCreation (other classes can be similarly defined by using the subClassOf property).</p>
-		<div class="anexample">
+		<div class="anexample rdfxml">
 			<div class="exampleOuter">
 				<pre class="example">
 				  &lt;rdf:Description rdf:about="http://www.example.com/crime#FileCreation"&gt;
@@ -279,6 +279,14 @@
 				</pre>
 			</div>
 		</div>
+		<div class="anexample turtle">
+			<div class="exampleOuter">
+				<pre class="example">
+				  <http://www.example.com/crime#FileCreation> rdfs:subClassOf <http://www.w3.org/ns/prov-o/Activity> .
+				  &lt;/rdf:Description&gt;
+				</pre>
+			</div>
+		</div>
 		<p>The following diagram illustrates the above class specializations: </p>
 <!--
          <img src="http://www.w3.org/2011/prov/wiki/images/5/5d/AlternativeSchema.png" alt="New classes (cf:SpellChecking, cf:FileEditing, cf:FileCreation, cf:FileAppending, cf:Emailing, cf:Journalist) extend the classes in the PROV Ontology (Entity, Agent, Activity)."/>