updated variables for wasAssciatedWith
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Thu, 17 Nov 2011 14:34:45 +0000
changeset 947 298fc02cd847
parent 945 78e903ff0b39
child 948 e857ae7ba481
updated variables for wasAssciatedWith
model/ProvenanceModel.html
--- a/model/ProvenanceModel.html	Thu Nov 17 12:46:26 2011 +0000
+++ b/model/ProvenanceModel.html	Thu Nov 17 14:34:45 2011 +0000
@@ -1223,10 +1223,10 @@
 In the following example, a programmer and a researcher agents are asserted to be associated with an activity.
 <pre class="codeexample">
 activity(a,[prov:type="workflow"])
-agent(e1,[prov:type="programmer"]
-agent(e2,[prov:type="researcher"]
-wasAssociatedWith(a,e1,[prov:role="loggedInUser"])
-wasAssociatedWith(a,e1,[prov:role="designer"])
+agent(ag1,[prov:type="programmer"]
+agent(ag2,[prov:type="researcher"]
+wasAssociatedWith(a,ag1,[prov:role="loggedInUser", ex:how="webapp"])
+wasAssociatedWith(a,ag2,[prov:role="designer", ex:context="phd"])
 </pre>
 </div>
 
@@ -1404,10 +1404,10 @@
 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.
 <pre class="codeexample">
 activity(a,[prov:type="workflow"])
-agent(e1,[prov:type="programmer"]
-agent(e2,[prov:type="researcher"]
-wasAssociatedWith(a,e1,[prov:role="loggedInUser"])
-actedOnBehalfOf(e1,e2,a)
+agent(ag1,[prov:type="programmer"]
+agent(ag2,[prov:type="researcher"]
+wasAssociatedWith(a,ag1,[prov:role="loggedInUser"])
+actedOnBehalfOf(ag1,ag2,a)
 </pre>
 </div>