added Entities, Activities, Usage and Generation sections to primer xml example document
authorStephan Zednik <zednis@rpi.edu>
Thu, 01 Nov 2012 11:02:26 -0600
changeset 4607 a2d323798202
parent 4606 d9deab72d760
child 4609 a357b2a5f170
added Entities, Activities, Usage and Generation sections to primer xml example document
primer/primer-prov-xml-examples.xml
--- a/primer/primer-prov-xml-examples.xml	Thu Nov 01 16:47:09 2012 +0000
+++ b/primer/primer-prov-xml-examples.xml	Thu Nov 01 11:02:26 2012 -0600
@@ -1,8 +1,69 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <prov:document
-    xmlns:prov="http://www.w3.org/ns/prov#">
+    xmlns:prov="http://www.w3.org/ns/prov#"
+	xmlns:dct="http://purl.org/dc/terms/"
+	xmlns:ex="http://example.com/ns/ex#">
 
-  <!-- ADD EXAMPLES HERE --->
+  <!-- Entities -->
+
+  <prov:entity prov:id="ex:article">
+	<dct:title>Crime rises in cities</dct:title>
+  </prov:entity>
+
+  <prov:entity prov:id="ex:dataset1"/>
+
+  <prov:entity prov:id="ex:regionList"/>
+
+  <prov:entity prov:id="ex:composition"/>
+
+  <prov:entity prov:id="ex:chart1"/>
+
+  <!-- Activities -->
+
+  <prov:activity prov:id="ex:compile"/>
+
+  <prov:activity prov:id="ex:compose"/>
+
+  <prov:activity prov:id="ex:illustrate"/>
+
+  <!-- Usage and Generation -->
+
+  <prov:used>
+    <prov:activity prov:ref="ex:compose"/>
+    <prov:entity prov:ref="ex:dataset1"/>
+  </prov:used>
+
+  <prov:used>
+    <prov:activity prov:ref="ex:compose"/>
+    <prov:entity prov:ref="ex:regionList"/>
+  </prov:used>
+
+  <prov:wasGeneratedBy>
+    <prov:entity prov:ref="ex:composition"/>
+    <prov:activity prov:ref="ex:compose"/>
+  </prov:wasGeneratedBy>
+
+  <prov:used>
+    <prov:activity prov:ref="ex:illustrate"/>
+    <prov:entity prov:ref="ex:composition"/>
+  </prov:used>
+
+  <prov:wasGeneratedBy>
+    <prov:entity prov:ref="ex:chart1"/>
+    <prov:activity prov:ref="ex:illustrate"/>
+  </prov:wasGeneratedBy>
+
+  <!-- Agents and Responsibility -->
+
+  <!-- Roles -->
+
+  <!-- Revision and Derivation -->
+
+  <!-- Plans -->
+
+  <!-- Time -->
+
+  <!-- Alternate Entities and Specialization -->
 
 </prov:document>
\ No newline at end of file