updated variables for wasAssciatedWith
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Thu, 17 Nov 2011 14:40:46 +0000
changeset 949 379aa9decd13
parent 948 e857ae7ba481
child 950 6b096273804f
updated variables for wasAssciatedWith
model/ProvenanceModel.html
--- a/model/ProvenanceModel.html	Thu Nov 17 14:35:07 2011 +0000
+++ b/model/ProvenanceModel.html	Thu Nov 17 14:40:46 2011 +0000
@@ -1401,13 +1401,16 @@
 </div>
 
 <div class="anexample">
-In the following example, a programmer and a researcher agents are asserted.  The porgrammer is associated with a workflow activity, as the logged-in user.  The programmer acts on behalf of the research, encoding the commands specified by the researcher.
+In the following example, a programmer, a researcher and a team leader agents are asserted.  The porgrammer and researcher are associated with a workflow activity.  The programmer acts on behalf of the researcher (acting as a proxy) encoding the commands specified by the researcher; the researcher acts on behalf of the team leader, who delegated his responsibility.
 <pre class="codeexample">
 activity(a,[prov:type="workflow"])
 agent(ag1,[prov:type="programmer"]
 agent(ag2,[prov:type="researcher"]
+agent(ag3,[prov:type="teamleader"]
 wasAssociatedWith(a,ag1,[prov:role="loggedInUser"])
-actedOnBehalfOf(ag1,ag2,a)
+wasAssociatedWith(a,ag2)
+actedOnBehalfOf(ag1,ag2,a,[prov:type="proxy"])
+actedOnBehalfOf(ag2,ag3,a,[prov:type="delegation"])
 </pre>
 </div>