Added Derivation1.xml and Derivation2.xml examples from example 29.
authorCurt Tilmes <Curt.Tilmes@nasa.gov>
Tue, 28 Aug 2012 15:42:45 -0400
changeset 4370 853d38081960
parent 4369 e9b18c14ccb0
child 4371 bdb842ddf163
Added Derivation1.xml and Derivation2.xml examples from example 29.
examples/eg-40-xml-examples-by-term/xml/Derivation1.xml
examples/eg-40-xml-examples-by-term/xml/Derivation2.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Derivation1.xml	Tue Aug 28 15:42:45 2012 -0400
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- based on Example 29 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#anexample-derivation -->
+
+<prov:records xmlns:prov="http://www.w3.org/ns/prov#">
+    <prov:entity prov:id="e1"/>
+    <prov:entity prov:id="e2"/>
+    <prov:dependencies>
+        <prov:wasDerivedFrom>
+            <prov:generatedEntity prov:ref="e2"/>
+            <prov:usedEntity prov:ref="e1"/>
+        </prov:wasDerivedFrom>
+        <prov:wasDerivedFrom>
+            <prov:generatedEntity prov:ref="e2"/>
+            <prov:usedEntity prov:ref="e1"/>
+            <prov:type>physical transform</prov:type>
+        </prov:wasDerivedFrom>
+    </prov:dependencies>
+</prov:records>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Derivation2.xml	Tue Aug 28 15:42:45 2012 -0400
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- based on Example 29 from http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#anexample-derivation -->
+
+<prov:records xmlns:prov="http://www.w3.org/ns/prov#">
+    <prov:activity prov:id="a"/>
+    <prov:entity prov:id="e1"/>
+    <prov:entity prov:id="e2"/>
+    <prov:dependencies>
+        <prov:wasGeneratedBy prov:id="g2">
+            <prov:entity prov:ref="e2"/>
+        </prov:wasGeneratedBy>
+        <prov:used prov:id="u">
+            <prov:activity prov:ref="a"/>
+            <prov:entity prov:ref="e1"/>
+        </prov:used>
+        <prov:wasDerivedFrom>
+            <prov:generation prov:ref="g2"/>
+            <prov:usage prov:ref="u"/>
+            <prov:activity prov:ref="a"/>
+            <prov:generatedEntity prov:ref="e2"/>
+            <prov:usedEntity prov:ref="e1"/>
+        </prov:wasDerivedFrom>
+    </prov:dependencies>
+</prov:records>