corrections to example XML
authorStephan Zednik <zednis@rpi.edu>
Mon, 10 Dec 2012 13:44:40 -0700
changeset 5331 b786f832f59d
parent 5330 2e3c61d795b8
child 5332 62a06c26ef9a
corrections to example XML
examples/eg-40-xml-examples-by-term/xml/Collection.xml
examples/eg-40-xml-examples-by-term/xml/EmptyCollection.xml
examples/eg-40-xml-examples-by-term/xml/Organization.xml
examples/eg-40-xml-examples-by-term/xml/Person.xml
examples/eg-40-xml-examples-by-term/xml/Plan.xml
examples/eg-40-xml-examples-by-term/xml/PrimarySource.xml
examples/eg-40-xml-examples-by-term/xml/Quotation.xml
examples/eg-40-xml-examples-by-term/xml/Revision.xml
examples/eg-40-xml-examples-by-term/xml/SoftwareAgent.xml
--- a/examples/eg-40-xml-examples-by-term/xml/Collection.xml	Mon Dec 10 13:31:25 2012 -0700
+++ b/examples/eg-40-xml-examples-by-term/xml/Collection.xml	Mon Dec 10 13:44:40 2012 -0700
@@ -7,27 +7,14 @@
 	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     xmlns:prov="http://www.w3.org/ns/prov#"
     xmlns:ex="http://example.com/ns/ex#">
-  
-  <!-- c0 is an empty collection -->
-
-  <!-- prov:EmptyCollection denotes an empty collection. -->
-  <!--
-  <prov:entity prov:id="c0">
-    <prov:type xsi:type="xsd:QName">prov:EmptyCollection</prov:type>
-  </prov:entity>
-  -->
-
-  <prov:emptyCollection prov:id="c0" />
-
-  <!-- c1 is a collection, with unknown content -->
 
   <!-- prov:Collection denotes an entity of type Collection, i.e. an entity that can participate in relations amongst collections -->
-  <!--
   <prov:entity prov:id="c1">
     <prov:type xsi:type="xsd:QName">prov:Collection</prov:type>
   </prov:entity>
-  -->
 
+  <!--
   <prov:collection prov:id="c1" />
+-->
 
 </prov:document>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/EmptyCollection.xml	Mon Dec 10 13:44:40 2012 -0700
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- based on PROV-DM's Example 47 from http://www.w3.org/TR/prov-dm/#example_47 -->
+
+<prov:document
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:ex="http://example.com/ns/ex#">
+  
+  <prov:entity prov:id="c0">
+    <prov:type xsi:type="xsd:QName">prov:EmptyCollection</prov:type>
+  </prov:entity>
+
+  <!--
+  <prov:emptyCollection prov:id="c0" />
+  -->
+
+</prov:document>
\ No newline at end of file
--- a/examples/eg-40-xml-examples-by-term/xml/Organization.xml	Mon Dec 10 13:31:25 2012 -0700
+++ b/examples/eg-40-xml-examples-by-term/xml/Organization.xml	Mon Dec 10 13:44:40 2012 -0700
@@ -8,12 +8,12 @@
     xmlns:prov="http://www.w3.org/ns/prov#"
     xmlns:w3="http://w3.org/">
 
+  <!--
   <prov:organization prov:id="w3:Consortium" />
+  -->
 
-  <!--
   <prov:agent prov:id="w3:Consortium">
     <prov:type xsi:type="xsd:QName">prov:Organization</prov:type>
   </prov:agent>
-  -->
 
 </prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Person.xml	Mon Dec 10 13:31:25 2012 -0700
+++ b/examples/eg-40-xml-examples-by-term/xml/Person.xml	Mon Dec 10 13:44:40 2012 -0700
@@ -10,7 +10,6 @@
     xmlns:tr="http://example.com/ns/tr#"
     xmlns:rec54="http://example.com/ns/rec54#">
 
-  <!--
   <prov:agent prov:id="ex:Paolo">
     <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
   </prov:agent>
@@ -18,10 +17,11 @@
   <prov:agent prov:id="ex:Simon">
     <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
   </prov:agent>
-  -->
 
+  <!--
   <prov:person prov:id="ex:Paolo" />
   <prov:person prov:id="ex:Simon" />
+  -->
 
   <prov:entity prov:id="tr:WD-prov-dm-20111215">
     <prov:type xsi:type="xsd:QName">rec54:WD</prov:type>
--- a/examples/eg-40-xml-examples-by-term/xml/Plan.xml	Mon Dec 10 13:31:25 2012 -0700
+++ b/examples/eg-40-xml-examples-by-term/xml/Plan.xml	Mon Dec 10 13:44:40 2012 -0700
@@ -35,18 +35,18 @@
     <ex:content>project1</ex:content>
   </prov:wasAssociatedWith>
 
+  <!--
   <prov:plan prov:id="ex:wf">
     <ex:label>Workflow 1</ex:label>
     <prov:location>http://example.org/workflow1.bpel</prov:location>
   </prov:plan>
+  -->
 
-  <!--
   <prov:entity prov:id="ex:wf">
     <prov:type xsi:type="xsd:QName">prov:Plan</prov:type>
     <ex:label>Workflow 1</ex:label>
     <prov:location>http://example.org/workflow1.bpel</prov:location>
   </prov:entity>
-  -->
 
   <!-- based on Example 36 from http://www.w3.org/TR/prov-dm/#anexample-wasAssociatedWith-2 -->
   
--- a/examples/eg-40-xml-examples-by-term/xml/PrimarySource.xml	Mon Dec 10 13:31:25 2012 -0700
+++ b/examples/eg-40-xml-examples-by-term/xml/PrimarySource.xml	Mon Dec 10 13:44:40 2012 -0700
@@ -16,18 +16,18 @@
     <prov:type xsi:type="xsd:QName">journal</prov:type>
   </prov:entity>
 
-  <!--
   <prov:wasDerivedFrom>
     <prov:generatedEntity prov:ref="ex:la-campagne-de-Russie-1812-1813"/>
     <prov:usedEntity prov:ref="ex:revue-d-Histoire-de-la-Pharmacie-t-XVIII"/>
     <prov:type xsi:type="xsd:QName">prov:PrimarySource</prov:type>
   </prov:wasDerivedFrom>
-  -->
 
+  <!--
   <prov:hadPrimarySource>
     <prov:generatedEntity prov:ref="ex:la-campagne-de-Russie-1812-1813"/>
     <prov:usedEntity prov:ref="ex:revue-d-Histoire-de-la-Pharmacie-t-XVIII"/>
   </prov:hadPrimarySource>
+  -->
 
 </prov:document>
 
--- a/examples/eg-40-xml-examples-by-term/xml/Quotation.xml	Mon Dec 10 13:31:25 2012 -0700
+++ b/examples/eg-40-xml-examples-by-term/xml/Quotation.xml	Mon Dec 10 13:44:40 2012 -0700
@@ -18,18 +18,18 @@
 
   <prov:agent prov:id="ex:Paul"/>
 
-  <!--
   <prov:wasDerivedFrom>
     <prov:generatedEntity prov:ref="dm:gl-dagstuhl"/>
     <prov:usedEntity prov:ref="wp:thoughts-from-the-dagstuhl-principles-of-provenance-workshop"/>
     <prov:type xsi:type="xsd:QName">prov:Quotation</prov:type>
   </prov:wasDerivedFrom>
-  -->
 
+  <!--
   <prov:wasQuotedFrom>
     <prov:generatedEntity prov:ref="dm:gl-dagstuhl"/>
     <prov:usedEntity prov:ref="wp:thoughts-from-the-dagstuhl-principles-of-provenance-workshop"/>
   </prov:wasQuotedFrom>
+  -->
 
   <prov:wasAttributedTo>
     <prov:entity prov:ref="dm:bl-dagstuhl"/>
--- a/examples/eg-40-xml-examples-by-term/xml/Revision.xml	Mon Dec 10 13:31:25 2012 -0700
+++ b/examples/eg-40-xml-examples-by-term/xml/Revision.xml	Mon Dec 10 13:44:40 2012 -0700
@@ -18,17 +18,17 @@
     <prov:type xsi:type="xsd:QName">rec54:WD</prov:type>
   </prov:entity>
 
-  <!--
   <prov:wasDerivedFrom>
     <prov:generatedEntity prov:ref="tr:WD-prov-dm-20111215"/>
     <prov:usedEntity prov:ref="tr:WD-prov-dm-20111018"/>
     <prov:type xsi:type="xsd:QName">prov:Revision</prov:type>
   </prov:wasDerivedFrom>
-  -->
 
+  <!--
   <prov:wasRevisionOf>
     <prov:generatedEntity prov:ref="tr:WD-prov-dm-20111215"/>
     <prov:usedEntity prov:ref="tr:WD-prov-dm-20111018"/>
   </prov:wasRevisionOf>
+  -->
 
 </prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/SoftwareAgent.xml	Mon Dec 10 13:31:25 2012 -0700
+++ b/examples/eg-40-xml-examples-by-term/xml/SoftwareAgent.xml	Mon Dec 10 13:44:40 2012 -0700
@@ -7,12 +7,12 @@
 	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
     xmlns:prov="http://www.w3.org/ns/prov#">
 
-  <!--
   <prov:agent prov:id="ag">
     <prov:type xsi:type="xsd:QName">prov:SoftwareAgent</prov:type>
   </prov:agent>
+
+  <!--
+  <prov:softwareAgent prov:id="ag" />
   -->
 
-  <prov:softwareAgent prov:id="ag" />
-
 </prov:document>