provo example turtle consistency tweaks
authorTim L <lebot@rpi.edu>
Mon, 14 May 2012 16:37:33 -0400
changeset 2805 f40fbf3ff0b7
parent 2804 17e81b07335f
child 2806 d22364536dfd
provo example turtle consistency tweaks
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadRole.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadUsage.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedAssociation.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedCommunication.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedDerivation.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedRevision.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedSource.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadRole.ttl	Mon May 14 16:26:17 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadRole.ttl	Mon May 14 16:37:33 2012 -0400
@@ -5,24 +5,25 @@
 @prefix :     <http://example.com/> .
 
 :divideActivity 
-      a prov:Activity;   
-      prov:qualifiedUsage [
-         a prov:Usage;
-         prov:entity    :variableA;
-         prov:hadRole   :dividend;          
-      ];
-	  
-      prov:qualifiedUsage [
-         a prov:Usage;
-         prov:entity    :variableB;
-         prov:hadRole   :divisor;          
-      ];
-   .
+   a prov:Activity;   
+
+   prov:used         :variableA;
+   prov:qualifiedUsage [
+      a prov:Usage;
+      prov:entity    :variableA;
+      prov:hadRole   :dividend;          
+   ];
    
-:variableA a prov:Entity.
+   prov:used         :variableB;
+   prov:qualifiedUsage [
+      a prov:Usage;
+      prov:entity    :variableB;
+      prov:hadRole   :divisor;          
+   ];
+.
+   
+:variableA a prov:Entity .
+:variableB a prov:Entity .
 
-:variableB a prov:Entity.
-
-:dividend a prov:Role.
-
-:divisor a prov:Role.
+:dividend a prov:Role .
+:divisor  a prov:Role .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadUsage.ttl	Mon May 14 16:26:17 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadUsage.ttl	Mon May 14 16:37:33 2012 -0400
@@ -10,6 +10,7 @@
    prov:qualifiedDerivation [
       a prov:Derivation;
       prov:hadUsage [
+         a prov:Usage;
          :treatmentEnzyme :Trypsin;
       ];
    ];
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedAssociation.ttl	Mon May 14 16:26:17 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedAssociation.ttl	Mon May 14 16:37:33 2012 -0400
@@ -6,31 +6,32 @@
 
 :illustrating
     a prov:Activity; 
-    prov:wasAssociatedWith :derek, :steve ;
-    prov:qualifiedAssociation [
-        a prov:Association ;
-        prov:agent :derek ;
-        prov:role :illustrationist ;
-        rdfs:comment "Derek made the illustration"@en
-    ] ;
+    prov:wasAssociatedWith :derek, 
+                           :steve;
     prov:qualifiedAssociation [
-        a prov:Association ;
-        prov:agent :steve ;
-        prov:role :stylist ;
-        prov:hadPlan :houseStyles ;
-        rdfs:comment "Steve helped Derek conform with the house style"@en 
-    ] ;
+        a prov:Association;
+        prov:agent :derek;
+        prov:role  :illustrationist;
+        rdfs:comment "Derek made the illustration"@en
+    ];
     prov:qualifiedAssociation [
-        a prov:Association ;
-        prov:agent :derek ;
-        prov:role :stylist ;
-        rdfs:comment "But Derek also did some styling of his own"@en 
+        a prov:Association;
+        prov:agent :steve;
+        prov:role  :stylist;
+        prov:hadPlan :houseStyles;
+        rdfs:comment "Steve helped Derek conform with the house style."@en 
+    ];
+    prov:qualifiedAssociation [
+        a prov:Association;
+        prov:agent :derek;
+        prov:role  :stylist;
+        rdfs:comment "But Derek also did some styling of his own."@en 
     ] .
 
 :derek a prov:Person, prov:Agent, prov:Entity .
 :steve a prov:Person, prov:Agent, prov:Entity .
 
 :illustratonist a prov:Role .
-:stylist a prov:Role .
+:stylist        a prov:Role .
 
 :houseStyles a prov:Plan, prov:Entity .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedCommunication.ttl	Mon May 14 16:26:17 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedCommunication.ttl	Mon May 14 16:37:33 2012 -0400
@@ -4,19 +4,21 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-:writing-celebrity-gossip a prov:Activity ;
-    prov:wasAttributedTo :journalist ;
-    prov:wasInformedBy :voicemail-interception ;
-    prov:qualifiedCommunication [
+:writing-celebrity-gossip 
+   a prov:Activity;
+   prov:wasAttributedTo :journalist;
+   prov:wasInformedBy   :voicemail-interception;
+   prov:qualifiedCommunication [
       a prov:Communication;
-      prov:activity :voicemail-interception ;
+      prov:activity :voicemail-interception;
       rdfs:comment """The journalist was informed by the private 
-investigator, but we don't know how or what he was told."""@en
+                      investigator, but we don't know how or what he was told."""@en;
    ] .
 
-:voicemail-interception a prov:Activity ;
-    prov:wasAttributedTo :private-investigator .
+:voicemail-interception 
+   a prov:Activity;
+   prov:wasAttributedTo :private-investigator;
+.
 
 :private-investigator a prov:Agent .
-
-:journalist a prov:Agent .
+:journalist           a prov:Agent .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedDerivation.ttl	Mon May 14 16:26:17 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedDerivation.ttl	Mon May 14 16:37:33 2012 -0400
@@ -4,12 +4,11 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-:bar_chart   prov:wasDerivedFrom :aggregatedByRegions ;
-             prov:qualifiedDerivation [
-                   a prov:Derivation ;
-                   prov:hadGeneration :illustration ;	## more details about the activity underpinning the derivation
-		   		   prov:entity :aggregatedByRegions ;		   
-             ]
+:bar_chart
+   prov:wasDerivedFrom :aggregatedByRegions;
+   prov:qualifiedDerivation [
+      a prov:Derivation;
+      prov:entity :aggregatedByRegions;         
+      prov:hadGeneration :illustration; ## More details about the activity underpinning the derivation
+   ];
 .
-
-
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedRevision.ttl	Mon May 14 16:26:17 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedRevision.ttl	Mon May 14 16:37:33 2012 -0400
@@ -4,13 +4,15 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-:draft2 a prov:Entity ;
-	prov:wasRevisionOf :e1 ;
-	prov:qualifiedRevision [
-		a prov:Revision ;
-                prov:wasApprovedBy :draftEditor ;
-		prov:entity :draft1
-	] .
+:draft2 
+   a prov:Entity;
+   prov:wasRevisionOf :draft1;
+   prov:qualifiedRevision [
+      a prov:Revision;
+      prov:entity :draft1
+   ];
+   prov:wasAssociatedWith :eddie;
+.
 
 :draft1 a prov:Entity .
-:draftEditor a prov:Person, prov:Agent, prov:Entity .
+:eddie  a prov:Person, prov:Agent, prov:Entity .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedSource.ttl	Mon May 14 16:26:17 2012 -0400
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedSource.ttl	Mon May 14 16:37:33 2012 -0400
@@ -1,15 +1,17 @@
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
-@prefix owl:  <http://www.w3.org/2002/07/owl#> .
-@prefix prov: <http://www.w3.org/ns/prov#> .
-@prefix :     <http://example.com/> .
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+@prefix owl:     <http://www.w3.org/2002/07/owl#> .
+@prefix dcterms: <http://purl.org/dc/terms/> >
+@prefix prov:    <http://www.w3.org/ns/prov#> .
+@prefix :        <http://example.com/> .
 
 :temperatureReading
-  a prov:Entity;
-  prov:hadOriginalSource :temperatureSensor;
-  prov:qualifiedSource [
-    a prov:Source;
-    :partOf :weatherForecastNetwork;
-    prov:atLocation :SmokyMountainTrail;  
+   a prov:Entity;
+   prov:hadOriginalSource :temperatureSensor;
+   prov:qualifiedSource [
+      a prov:Source;
+      prov:entity     :temperatureSensor;
+      prov:atLocation :SmokyMountainTrail;  
+      dcterms:isPartOf :weatherForecastNetwork;
   ];
 .