context eg provo
authorTim L <lebot@rpi.edu>
Sun, 17 Jun 2012 23:03:40 -0700
changeset 3373 0880c43c55a3
parent 3372 4bd8fe7a78dd
child 3374 a9d8a7671224
context eg provo
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_contextualized.ttl
examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_inContext.ttl
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_contextualized.ttl	Sun Jun 17 23:02:05 2012 -0700
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_contextualized.ttl	Sun Jun 17 23:03:40 2012 -0700
@@ -4,4 +4,30 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:run2 {
+   :a2
+      a prov:Activity;
+      prov:startedAtTime "2011-11-17T10:00:00"^^xsd:dateTime;
+      prov:endedAtTime   "2011-11-17T17:00:00"^^xsd:dateTime; # Duration was 7 hours.
+      prov:wasAssociatedWith :bob;
+      prov:qualifiedAssociation [
+         a prov:Association;
+         prov:hadRole :controller;
+      ];
+   .
+   :controller 
+      a prov:Role .
+      rdfs:label "controller";
+   .
+}
+
+tool:analysis01 {
+   tool:bob-2011-11-17
+      a prov:Agent, prov:ContextualizedEntity;
+      prov:contextualized :bob;
+      prov:inContext      :run2;
+      perf:rating perf:bad;
+   .
+}
+
+<> prov:wasDerivedFrom <http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/ED-prov-dm-20120614/prov-dm.html#anexample-contextualization1> .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_inContext.ttl	Sun Jun 17 23:02:05 2012 -0700
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_inContext.ttl	Sun Jun 17 23:03:40 2012 -0700
@@ -4,4 +4,30 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:run2 {
+   :a2
+      a prov:Activity;
+      prov:startedAtTime "2011-11-17T10:00:00"^^xsd:dateTime;
+      prov:endedAtTime   "2011-11-17T17:00:00"^^xsd:dateTime; # Duration was 7 hours.
+      prov:wasAssociatedWith :bob;
+      prov:qualifiedAssociation [
+         a prov:Association;
+         prov:hadRole :controller;
+      ];
+   .
+   :controller 
+      a prov:Role .
+      rdfs:label "controller";
+   .
+}
+
+tool:analysis01 {
+   tool:bob-2011-11-17
+      a prov:Agent, prov:ContextualizedEntity;
+      prov:contextualized :bob;
+      prov:inContext      :run2;
+      perf:rating perf:bad;
+   .
+}
+
+<> prov:wasDerivedFrom <http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/ED-prov-dm-20120614/prov-dm.html#anexample-contextualization1> .