Changed wasInformedBy example to :filling-petrol
authorStian Soiland-Reyes <soiland-reyes@cs.manchester.ac.uk>
Wed, 25 Apr 2012 14:34:32 +0100
changeset 2530 cb5f8ced1cef
parent 2529 cada3784d125
child 2531 ebd89a3ae03b
Changed wasInformedBy example to :filling-petrol
examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Communication.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_wasInformedBy.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Communication.ttl	Wed Apr 25 14:10:03 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Communication.ttl	Wed Apr 25 14:34:32 2012 +0100
@@ -4,4 +4,12 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:filling-petrol
+   a prov:Activity;
+   prov:wasInformedBy :low-fuel-flashing;
+   prov:qualifiedCommunication [
+      a prov:Communication;
+      prov:activity :low-fuel-flashing; 
+      rdfs:comment "Don't like flashing warning lights" .
+   ] .
+
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedCommunication.ttl	Wed Apr 25 14:10:03 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedCommunication.ttl	Wed Apr 25 14:34:32 2012 +0100
@@ -4,30 +4,19 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-:paying-traffic-fine
+:filling-petrol
    a prov:Activity;
-   prov:wasInformedBy :traffic-stop;
+   prov:startedAtTime "2012-04-24T18:21:00Z"^xsd:dateTime ;
+   prov:endedAtTime   "2012-04-24T18:23:10Z"^xsd:dateTime ;
+   prov:wasInformedBy :low-fuel-flashing;
    prov:qualifiedCommunication [
       a prov:Communication;
-      :trafficFine 45;
-      :dueDate    "2012-04-23T23:59:59-04:00"; 
-   ];
-.
-
-:traffic-stop
-    a prov:Activity;
-   prov:wasAssociatedWith :chauffeur, 
-                          :trafic-officer-34;
-.
+      prov:activity :low-fuel-flashing; 
+      rdfs:comment "Don't like flashing warning lights" .
+   ] .
 
-:chauffeur       
-   a prov:Person;
-   prov:actedOnBehalfOf :celebrity-in-car;
-.
+:low-fuel-flashing
+    a prov:Activity ;
+    prov:startedAtTime "2012-04-24T17:45:00Z"^xsd:dateTime ;
+    prov:endedAtTime   "2012-04-24T18:21:40Z"^xsd:dateTime .
 
-:trafic_officer_34 
-   a prov:Person;
-   prov:actedOnBehalfOf :city-of-Paris;
-.
-
-<> prov:wasDerivedFrom <http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#concept-communication> .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasInformedBy.ttl	Wed Apr 25 14:10:03 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasInformedBy.ttl	Wed Apr 25 14:34:32 2012 +0100
@@ -4,13 +4,17 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix ex:     <http://example.com/> .
 
-## the ex:illustrationActivity is dependent on the entity ex:aggregatedByRegions generated
-## by the aggregationActivity activity
+:filling-petrol
+   a prov:Activity;
+   prov:startedAtTime "2012-04-24T18:21:00Z"^xsd:dateTime ;
+   prov:endedAtTime   "2012-04-24T18:23:10Z"^xsd:dateTime ;
+   prov:wasInformedBy :low-fuel-flashing .
 
-## if no such entity exists, which contributed to the informed activity
-## no matter whether it has been explicitly specified or not, 
-## then the use of the property prov:wasStartedByActivity should be considered instead
+:low-fuel-flashing
+    a prov:Activity ;
+    prov:wasInformedBy :fuel-tank-measurement ;
+    prov:startedAtTime "2012-04-24T17:45:00Z"^xsd:dateTime ;
+    prov:endedAtTime   "2012-04-24T18:21:40Z"^xsd:dateTime .
 
-ex:illustrationActivity a prov:Activity .
-ex:aggregationActivity	a prov:Activity .
-ex:illustrationActivity    prov:wasInformedBy     ex:aggregationActivity .
+:fuel-tank-measurement ;
+    a prov:Activity .