adding xml example for Membership based on http://www.w3.org/TR/prov-dm/#example_48. Does NOT validate against current schema, suggested changes to schema have been sent to the mailinglist.
authorStephan Zednik <zednis@rpi.edu>
Sun, 19 Aug 2012 23:47:55 -0600
changeset 4361 9951d3f73f57
parent 4360 9d78e658596b
child 4362 e4bf5f6bf3e5
adding xml example for Membership based on http://www.w3.org/TR/prov-dm/#example_48. Does NOT validate against current schema, suggested changes to schema have been sent to the mailinglist.
examples/eg-40-xml-examples-by-term/xml/Membership.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Membership.xml	Sun Aug 19 23:47:55 2012 -0600
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- based on Example 48 from http://www.w3.org/TR/prov-dm/#example_48 -->
+<prov:records xmlns:prov="http://www.w3.org/ns/prov#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+	<prov:entity prov:id="e0"/>
+	<prov:entity prov:id="e1"/>
+	<prov:entity prov:id="e2"/>
+	<prov:entity prov:id="c">
+		<prov:type>prov:Collection</prov:type>
+	</prov:entity>
+	<prov:dependencies>
+		<prov:collectionMemberOf>
+			<prov:collection prov:ref="c"/>
+			<prov:member prov:ref="e0"/>
+			<prov:member prov:ref="e1"/>
+			<prov:member prov:ref="e2"/>
+		</prov:collectionMemberOf>
+	</prov:dependencies>
+</prov:records>