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.
--- 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>