bundles
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Thu, 03 May 2012 16:32:27 +0200
changeset 2688 f4e126d67c5e
parent 2687 371c07f7ec88 (current diff)
parent 2686 40c2d2f1bf74 (diff)
child 2689 ed465fa8dc0c
bundles
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Communication.ttl	Thu May 03 16:32:03 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Communication.ttl	Thu May 03 16:32:27 2012 +0200
@@ -4,12 +4,17 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-: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";
-   ];
-.
+:writing-celebrity-gossip a prov:Activity ;
+    prov:wasInformedBy :voicemail-interception ;
+    prov:qualifiedCommunication :informing-the-journalist .
+
+:informing-the-journalist a prov:Communication;
+    prov:atLocation :unknown-location ;
+    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 .
+
+:voicemail-interception a prov:Activity .
+
+:unknown-location a prov:Location ;
+    rdfs:label "Location unknown"@en .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_StartByActivity.ttl	Thu May 03 16:32:03 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_StartByActivity.ttl	Thu May 03 16:32:27 2012 +0200
@@ -4,16 +4,20 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-:workflow-execution a prov:Activity .
+:filling-fuel
+    a prov:Activity ;
+    prov:startedAtTime            "2012-04-24T18:31:00Z"^^xsd:dateTime ;
+    prov:endedAtTime              "2012-04-24T18:33:10Z"^^xsd:dateTime ;
+    prov:wasStartedByActivity     :observing-low-fuel ;
+    prov:qualifiedStartByActivity :need-to-fill-fuel .
 
-:subworkflow-execution 
-    a prov:Activity;
-    prov:startedAtTime "2011-07-16T01:52:15Z"^^xsd:dateTime;
-    prov:wasStartedByActivity :workflow-execution;
-    prov:qualifiedStartByActivity [
-        a prov:StartByActivity;
-        prov:activity :workflow-execution;
-        :triggeredAt "2011-07-16T01:52:02Z"^^xsd:dateTime;
-        :activationParameter "java -jar -n 5"^^xsd:string;
-    ];
-.
+:need-to-fill-fuel
+    a prov:StartByActivity ;
+    prov:activity :observing-low-fuel ;
+    rdfs:comment  """The driver noticed the low fuel light immediately, 
+but spent half an hour looking for a cheap petrol station."""@en  .
+
+:observing-low-fuel
+    a prov:Activity ;
+    prov:startedAtTime "2012-04-24T17:45:00Z"^^xsd:dateTime .
+
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedCommunication.ttl	Thu May 03 16:32:03 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedCommunication.ttl	Thu May 03 16:32:27 2012 +0200
@@ -4,20 +4,19 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-: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;
-   prov:qualifiedCommunication [
+:writing-celebrity-gossip a prov:Activity ;
+    prov:wasAttributedTo :journalist ;
+    prov:wasInformedBy :voicemail-interception ;
+    prov:qualifiedCommunication [
       a prov:Communication;
-      prov:activity :low-fuel-flashing; 
-      rdfs:comment "Don't like flashing warning lights";
-   ];
-.
+      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
+   ] .
 
-:low-fuel-flashing
-   a prov:Activity;
-   prov:startedAtTime "2012-04-24T17:45:00Z"^^xsd:dateTime;
-   prov:endedAtTime   "2012-04-24T18:21:40Z"^^xsd:dateTime;
-.
+:voicemail-interception a prov:Activity ;
+    prov:wasAttributedTo :private-investigator .
+
+:private-investigator a prov:Agent .
+
+:journalist a prov:Agent .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedStartByActivity.ttl	Thu May 03 16:32:03 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedStartByActivity.ttl	Thu May 03 16:32:27 2012 +0200
@@ -4,19 +4,22 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-:workflow-execution 
-   a prov:Activity;
-   prov:startedAtTime "2011-07-16T01:30:00Z"^^xsd:dateTime;
-.
+:filling-fuel
+    a prov:Activity;
+    prov:startedAtTime        "2012-04-24T18:31:00Z"^^xsd:dateTime ;
+    prov:endedAtTime          "2012-04-24T18:33:10Z"^^xsd:dateTime ;
+    prov:wasAssociatedWith    :driver ;
+    prov:wasStartedByActivity :observing-low-fuel ;
+    prov:qualifiedStartByActivity [
+        a prov:StartByActivity ;
+        prov:activity :observing-low-fuel ;
+        rdfs:comment """The driver noticed the low fuel light immediately, 
+but spent half an hour looking for a cheap petrol station."""@en 
+    ] .
 
-:subworkflow-execution 
-   a prov:Activity;
-   prov:startedAtTime "2011-07-16T01:52:15Z"^^xsd:dateTime; # TODO: simplify time
-   prov:wasStartedByActivity :workflow-execution;
-   prov:qualifiedStartByActivity [
-      a prov:StartByActivity;
-      prov:activity :workflow-execution;
-      prov:atTime          "2011-07-16T01:52:02Z"^^xsd:dateTime; # TODO: why different than above?
-      :activationParameter "java -jar -n 5"^^xsd:string;
-   ];
-.
+:observing-low-fuel
+    a prov:Activity;
+    prov:wasAssociatedWith    :driver ;
+    prov:startedAtTime        "2012-04-24T17:45:00Z"^^xsd:dateTime .
+
+:driver a prov:Person, prov:Agent .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasInformedBy.ttl	Thu May 03 16:32:03 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasInformedBy.ttl	Thu May 03 16:32:27 2012 +0200
@@ -4,18 +4,8 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-: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;
-.
+:writing-celebrity-gossip a prov:Activity ;
+    prov:wasInformedBy :voicemail-interception .
 
-: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;
-.
+:voicemail-interception a prov:Activity .
 
-:fuel-tank-measurement a prov:Activity .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasStartedByActivity.ttl	Thu May 03 16:32:03 2012 +0200
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasStartedByActivity.ttl	Thu May 03 16:32:27 2012 +0200
@@ -4,7 +4,17 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-:workflow-execution a prov:Activity .
-:subWorkflow-execution 
+:filling-fuel
     a prov:Activity;
-    prov:wasStartedByActivity :workflow-execution .
+    prov:startedAtTime        "2012-04-24T18:21:00Z"^^xsd:dateTime ;
+    prov:endedAtTime          "2012-04-24T18:23:10Z"^^xsd:dateTime ;
+    prov:wasAssociatedWith    :driver ;
+    prov:wasStartedByActivity :observing-low-fuel .
+
+:observing-low-fuel
+    a prov:Activity;
+    prov:wasAssociatedWith    :driver ;
+    prov:startedAtTime        "2012-04-24T17:45:00Z"^^xsd:dateTime .
+
+:driver a prov:Person, prov:Agent .
+