based on PROV-DM's Example 30 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#term-revision
authorhhua
Thu, 06 Sep 2012 12:17:49 -0700
changeset 4428 2a05a9a34d28
parent 4427 a37ca8dbcc32
child 4429 6045056efaf5
based on PROV-DM's Example 30 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#term-revision
see also http://dvcs.w3.org/hg/prov/raw-file/default/xml/prov.xsd.html#type_WasRevisionOf
default maxOccurs=1 constraint on generation, usage, and activity elements.
examples/eg-40-xml-examples-by-term/xml/Revision.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Revision.xml	Thu Sep 06 12:17:49 2012 -0700
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- based on PROV-DM's Example 30 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#term-revision 
+     see also http://dvcs.w3.org/hg/prov/raw-file/default/xml/prov.xsd.html#type_WasRevisionOf -->
+
+<prov:records
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:rec54="http://www.w3.org/2001/02pd/rec54#"
+    xmlns:tr="http://example.com/ns/tr#">
+
+    <prov:entity prov:id="tr:WD-prov-dm-20111215">
+        <prov:type>rec54:WD</prov:type>
+    </prov:entity>
+    <prov:entity prov:id="tr:WD-prov-dm-20111018">
+        <prov:type>rec54:WD</prov:type>
+    </prov:entity>
+
+    <prov:dependencies>
+        <prov:wasDerivedFrom>
+            <prov:newer prov:ref="tr:WD-prov-dm-20111215" />
+            <prov:agent prov:ref="tr:WD-prov-dm-20111018" />
+            <prov:type>prov:Revision</prov:type>
+        </prov:wasDerivedFrom>
+    </prov:dependencies>
+
+</prov:records>