based on PROV-DM's Example 26 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#term-Invalidation
authorhhua
Thu, 06 Sep 2012 12:17:07 -0700
changeset 4427 a37ca8dbcc32
parent 4426 b5e7749677a5
child 4428 2a05a9a34d28
based on PROV-DM's Example 26 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#term-Invalidation
see also http://dvcs.w3.org/hg/prov/raw-file/default/xml/prov.xsd.html#type_WasInvalidatedBy
default maxOccurs=1 constraint on time and activity elements.
examples/eg-40-xml-examples-by-term/xml/Invalidation.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Invalidation.xml	Thu Sep 06 12:17:07 2012 -0700
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- based on PROV-DM's Example 26 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#term-Invalidation 
+     see also http://dvcs.w3.org/hg/prov/raw-file/default/xml/prov.xsd.html#type_WasInvalidatedBy -->
+
+<prov:records
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:ex="http://example.com/ns/ex#">
+
+    <prov:entity prov:id="ex:The-Painter" />
+    <prov:agent prov:id="ex:Picasso" />
+    <prov:activity prov:id="ex:crash" />
+
+    <prov:dependencies>
+        <prov:wasAttributedTo>
+            <prov:entity prov:ref="ex:The-Painter" />
+            <prov:agent prov:ref="ex:Picasso" />
+        </prov:wasAttributedTo>
+        <prov:wasInvalidatedBy>
+            <prov:time>1998-09-03T01:31:00</prov:time>
+            <prov:entity>ex:The-Painter</prov:entity>
+            <prov:activity>ex:crash</prov:activity>
+            <ex:circumstances>plane accident</ex:circumstances>
+        </prov:wasInvalidatedBy>
+    </prov:dependencies>
+
+</prov:records>