adding xml example of use of prov:plan element based on the example at http://www.w3.org/TR/prov-dm/#anexample-wasAssociatedWith
authorStephan Zednik <zednis@rpi.edu>
Sun, 19 Aug 2012 23:16:44 -0600
changeset 4359 9fe6f9faa71b
parent 4358 eaef92702e1e
child 4360 9d78e658596b
adding xml example of use of prov:plan element based on the example at http://www.w3.org/TR/prov-dm/#anexample-wasAssociatedWith
examples/eg-40-xml-examples-by-term/xml/Plan.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Plan.xml	Sun Aug 19 23:16:44 2012 -0600
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- based on Example 35 from http://www.w3.org/TR/prov-dm/#anexample-wasAssociatedWith -->
+<prov:records xmlns:prov="http://www.w3.org/ns/prov#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ex="http://example.com/ns/ex#">
+	<prov:activity prov:id="a">
+		<prov:type>workflow execution</prov:type>
+	</prov:activity>
+	<prov:entity prov:id="ex:wf">
+		<prov:label>Workflow 1</prov:label>
+		<prov:type>prov:Plan</prov:type>
+		<prov:location>http://example.org/workflow1.bpel</prov:location>
+	</prov:entity>
+	<prov:agent prov:id="ag1">
+		<prov:type>operator</prov:type>
+	</prov:agent>
+	<prov:agent prov:id="ag2">
+		<prov:type>designator</prov:type>
+	</prov:agent>
+	<prov:dependencies>
+		<prov:wasAssociatedWith>
+			<prov:activity prov:ref="a"/>
+			<prov:agent prov:ref="ag1"/>
+			<prov:role>loggedInUser</prov:role>
+			<!--<ex:how>webapp<ex:how>-->
+		</prov:wasAssociatedWith>
+		<prov:wasAssociatedWith>
+			<prov:activity prov:ref="a"/>
+			<prov:agent prov:ref="ag2"/>
+			<prov:plan prov:ref="ex:wf"/>
+			<prov:role>designer</prov:role>
+			<!--<ex:content>project1<ex:content>-->
+		</prov:wasAssociatedWith>
+	</prov:dependencies>
+</prov:records>