Adding Example xml serialization of Person, from example 34 of the DM.
authorStephan Zednik <zednis@rpi.edu>
Sun, 19 Aug 2012 21:50:58 -0600
changeset 4356 dd9b0506b37a
parent 4355 706c8b0e4d0f
child 4357 a9ead4882694
Adding Example xml serialization of Person, from example 34 of the DM.
examples/eg-40-xml-examples-by-term/xml/Person.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Person.xml	Sun Aug 19 21:50:58 2012 -0600
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- based on Example 34 from http://www.w3.org/TR/prov-dm/#term-agent -->
+<prov:records xmlns:prov="http://www.w3.org/ns/prov#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ex="http://example.com/ns/ex#" xmlns:tr="http://example.com/ns/tr#" xmlns:rec54="http://example.com/ns/rec54#">
+	<prov:entity prov:id="tr:WD-prov-dm-20111215">
+		<prov:type>rec54:WD</prov:type>
+	</prov:entity>
+	<prov:agent prov:id="ex:Paolo">
+		<prov:type>prov:Person</prov:type>
+	</prov:agent>
+	<prov:agent prov:id="ex:Simon">
+		<prov:type>prov:Person</prov:type>
+	</prov:agent>
+	<prov:dependencies>
+		<prov:wasAttributedTo>
+			<prov:entity prov:ref="rec54:WD"/>
+			<prov:agent prov:ref="ex:Paolo"/>
+			<prov:type>editorship</prov:type>
+		</prov:wasAttributedTo>
+		<prov:wasAttributedTo>
+			<prov:entity prov:ref="rec54:WD"/>
+			<prov:agent prov:ref="ex:Simon"/>
+			<prov:type>authorship</prov:type>
+		</prov:wasAttributedTo>
+	</prov:dependencies>
+</prov:records>