--- a/ontology/ProvenanceFormalModel.html Wed Oct 26 15:52:00 2011 +0100
+++ b/ontology/ProvenanceFormalModel.html Wed Oct 26 16:08:16 2011 +0100
@@ -1787,19 +1787,21 @@
the workflow defined above.
</p>
<div class="exampleOuter"><pre class="example">
-
-<rdf:RDF xmlns="http://www.w3.org/ns/prov-o/"
+<rdf:RDF
xmlns:cnt="http://www.w3.org/2011/content#"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:prov="http://www.w3.org/ns/prov-o/"
+ xmlns:time="http://www.w3.org/2006/time#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:wf="http://www.example.com/scientific-workflow#"
- xmlns:base="http://www.example.com/run1#" >
+ xmlns:run="http://www.example.com/run1#"
+ xmlns:base="http://www.example.com/run1#"
+ >
- <Agent rdf:about="#aUser">
+ <prov:Agent rdf:about="#aUser">
<rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
<foaf:name>Stian Soiland-Reyes</foaf:name>
- </Agent>
+ </prov:Agent>
<wf:WorkflowEngine rdf:about="#workflowEngine" />
@@ -1824,25 +1826,48 @@
</wf:Value>
<wf:Process rdf:about="#workflowRun">
- <used>
+ <prov:used>
<wf:ValueAtPort>
<wf:sawValue rdf:resource="#input"/>
<wf:seenAtPort rdf:resource="http://www.example.com/workflow1#inName"/>
+ <prov:assumedRoleAt>
+ <prov:Time>
+ <time:inDateTimeXSD>2011-10-21T09:21:31Z</time:inDateTimeXSD>
+ </prov:Time>
+ </prov:assumedRoleAt>
</wf:ValueAtPort>
- </used>
+ </prov:used>
<wf:ranInWorkflowEngine rdf:resource="#workflowEngine"/>
<wf:wasLaunchedBy rdf:resource="#aUser"/>
<wf:wasDefinedBy rdf:resource="http://www.example.com/workflow1#workflow"/>
+ <prov:startedAt>
+ <prov:Time>
+ <time:inDateTimeXSD>2011-10-21T09:20:15Z</time:inDateTimeXSD>
+ </prov:Time>
+ </prov:startedAt>
+ <prov:endedAt>
+ <prov:Time>
+ <time:inDateTimeXSD>2011-10-21T09:23:32Z</time:inDateTimeXSD>
+ </prov:Time>
+ </prov:endedAt>
</wf:Process>
<wf:Process rdf:about="#constant">
<wf:wasSubProcessExecutionOf rdf:resource="#workflowRun"/>
<wf:wasDefinedBy
rdf:resource="http://www.example.com/workflow1#String_Constant"/>
+ <prov:startedAt>
+ <prov:Time rdf:about="#t0">
+ <time:inDateTimeXSD>2011-10-21T09:20:15Z</time:inDateTimeXSD>
+ </prov:Time>
+ </prov:startedAt>
+ <prov:endedAt rdf:resource="#t0" />
</wf:Process>
<wf:Value rdf:about="#hello">
- <wasGeneratedBy rdf:resource="#constant"/>
+ <prov:wasGeneratedBy rdf:resource="#constant"/>
+ <prov:wasGeneratedAt rdf:resource="#t0"/>
+ <prov:endedAt rdf:resource="#t0" />
<wf:value>
<cnt:ContentAsText>
<cnt:chars>Hello, </cnt:chars>
@@ -1851,7 +1876,7 @@
</wf:Value>
<wf:ValueAtPort rdf:about="#helloValue">
- <wasGeneratedBy rdf:resource="#constant"/>
+ <prov:wasGeneratedBy rdf:resource="#constant"/>
<wf:value>
<cnt:ContentAsText>
<cnt:chars>Hello, </cnt:chars>
@@ -1861,24 +1886,44 @@
</wf:ValueAtPort>
<wf:Process rdf:about="#combine">
- <used>
+ <prov:used>
<wf:ValueAtPort>
<wf:sawValue rdf:resource="#hello"/>
<wf:seenAtPort rdf:resource="http://www.example.com/workflow1#catIn1"/>
+ <prov:assumedRoleAt>
+ <prov:Time>
+ <time:inDateTimeXSD>2011-10-21T09:20:21Z</time:inDateTimeXSD>
+ </prov:Time>
+ </prov:assumedRoleAt>
</wf:ValueAtPort>
- </used>
- <used>
+ </prov:used>
+ <prov:used>
<wf:ValueAtPort>
<wf:sawValue rdf:resource="#input"/>
<wf:seenAtPort rdf:resource="http://www.example.com/workflow1#catIn2"/>
+ <prov:assumedRoleAt>
+ <prov:Time>
+ <time:inDateTimeXSD>2011-10-21T09:20:23Z</time:inDateTimeXSD>
+ </prov:Time>
+ </prov:assumedRoleAt>
</wf:ValueAtPort>
- </used>
+ </prov:used>
<wf:wasSubProcessExecutionOf rdf:resource="#workflowRun"/>
<wf:wasDefinedBy rdf:resource="http://www.example.com/workflow1#cat"/>
+ <prov:startedAt>
+ <prov:Time>
+ <time:inDateTimeXSD>2011-10-21T09:20:20Z</time:inDateTimeXSD>
+ </prov:Time>
+ </prov:startedAt>
+ <prov:endedAt>
+ <prov:Time>
+ <time:inDateTimeXSD>2011-10-21T09:20:25Z</time:inDateTimeXSD>
+ </prov:Time>
+ </prov:endedAt>
</wf:Process>
<wf:Value rdf:about="#combined">
- <wasGeneratedBy rdf:resource="#combine"/>
+ <prov:wasGeneratedBy rdf:resource="#combine"/>
<wf:value>
<cnt:ContentAsText>
<cnt:chars>Hello, Steve</cnt:chars>
@@ -1887,9 +1932,19 @@
</wf:Value>
<wf:Process rdf:about="#shasum">
- <used rdf:resource="#combined"/>
+ <prov:used rdf:resource="#combined"/>
<wf:wasSubProcessExecutionOf rdf:resource="#workflowRun"/>
<wf:wasDefinedBy rdf:resource="http://www.example.com/workflow1#shasum"/>
+ <prov:startedAt>
+ <prov:Time>
+ <time:inDateTimeXSD>2011-10-21T09:20:30Z</time:inDateTimeXSD>
+ </prov:Time>
+ </prov:startedAt>
+ <prov:endedAt>
+ <prov:Time>
+ <time:inDateTimeXSD>2011-10-21T09:21:00Z</time:inDateTimeXSD>
+ </prov:Time>
+ </prov:endedAt>
</wf:Process>
<wf:Value rdf:about="#sha1">
@@ -1902,7 +1957,7 @@
</wf:Value>
<wf:ValueAtPort rdf:about="#sha1OutputFromShasum">
- <wasGeneratedBy rdf:resource="#shasum"/>
+ <prov:wasGeneratedBy rdf:resource="#shasum"/>
<wf:value>
<cnt:ContentAsText>
<cnt:characterEncoding>UTF-8</cnt:characterEncoding>
@@ -1914,7 +1969,7 @@
</wf:ValueAtPort>
<wf:ValueAtPort rdf:about="#sha1OutputFromWorkflow">
- <wasGeneratedBy rdf:resource="#workflowRun"/>
+ <prov:wasGeneratedBy rdf:resource="#workflowRun"/>
<wf:value>
<cnt:ContentAsText>
<cnt:characterEncoding>UTF-8</cnt:characterEncoding>
@@ -1925,7 +1980,8 @@
<wf:wasSeenAt rdf:resource="http://www.example.com/workflow1#sha1"/>
</wf:ValueAtPort>
-</rdf:RDF>
+</rdf:RDF>
+
</pre>
<em>Example available as
<a