--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_ContextualizedEntity.ttl Sun Jun 17 22:50:43 2012 -0700
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_ContextualizedEntity.ttl Sun Jun 17 22:58:56 2012 -0700
@@ -2,6 +2,57 @@
@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 tool: <http://example.com/tool/> .
@prefix : <http://example.com/> .
-# TODO
+:run1 {
+ :a1
+ a prov:Activity;
+ prov:startedAtTime "2011-11-16T16:00:00"^^xsd:dateTime;
+ prov:endedAtTime "2011-11-16T17:00:00"^^xsd:dateTime; # Duration was 1 hour.
+ prov:wasAssociatedWith :bob;
+ prov:qualifiedAssociation [
+ a prov:Association;
+ prov:hadRole :controller;
+ ];
+ .
+ :controller
+ a prov:Role .
+ rdfs:label "controller";
+ .
+}
+
+: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-16
+ a prov:Agent, prov:ContextualizedEntity;
+ prov:contextualized :bob;
+ prov:inContext :run1;
+ perf:rating perf:good;
+ .
+
+ 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> .