based on PROV-DM's Example 25 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#term-End
authorhhua
Thu, 06 Sep 2012 12:16:00 -0700
changeset 4425 7b7381f528e8
parent 4424 759918d8818a
child 4426 b5e7749677a5
based on PROV-DM's Example 25 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#term-End
see also http://dvcs.w3.org/hg/prov/raw-file/default/xml/prov.xsd.html#type_WasEndedBy
default maxOccurs=1 constraint on time, entity, and ender elements.
examples/eg-40-xml-examples-by-term/xml/End.xml
--- a/examples/eg-40-xml-examples-by-term/xml/End.xml	Thu Sep 06 12:15:08 2012 -0700
+++ b/examples/eg-40-xml-examples-by-term/xml/End.xml	Thu Sep 06 12:16:00 2012 -0700
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- based on PROV-DM's Example 25 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#term-End 
+     see also http://dvcs.w3.org/hg/prov/raw-file/default/xml/prov.xsd.html#type_WasEndedBy -->
+
+<prov:records
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:ex="http://example.com/ns/ex#">
+
+    <prov:entity prov:id="e1">
+        <prov:type>approval document</prov:type>
+    </prov:entity>
+
+    <prov:activity prov:id="a1">
+        <prov:type>Editing</prov:type>
+    </prov:activity>
+
+    <prov:dependencies>
+        <prov:wasEndedBy>
+            <prov:activity>a1</prov:activity>
+            <prov:trigger>e1</prov:trigger>
+        </prov:wasEndedBy>
+    </prov:dependencies>
+
+</prov:records>