--- a/examples/eg-40-xml-examples-by-term/xml/Activity.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Activity.xml Thu Nov 08 14:11:54 2012 -0700
@@ -4,13 +4,15 @@
see also http://www.w3.org/TR/prov-dm/#type_Activity -->
<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:activity prov:id="a1">
<prov:startTime>2011-11-16T16:05:00</prov:startTime>
<prov:endTime>2011-11-16T16:06:00</prov:endTime>
- <prov:type>ex:edit</prov:type>
+ <prov:type xsi:type="xsd:QName">ex:edit</prov:type>
<ex:host>server.example.org</ex:host>
</prov:activity>
--- a/examples/eg-40-xml-examples-by-term/xml/Agent.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Agent.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,11 +3,13 @@
<!-- based on Example 33 from http://www.w3.org/TR/prov-dm/#example_33 -->
<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:agent prov:id="e1">
- <prov:type>prov:Person</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
<ex:name>Alice</ex:name>
<ex:employee>1234</ex:employee>
</prov:agent>
--- a/examples/eg-40-xml-examples-by-term/xml/Alternate_43.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Alternate_43.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,16 +3,18 @@
<!-- based on Example 43 from http://www.w3.org/TR/prov-dm/#anexample-alternate -->
<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:bbc="http://www.bbc.co.uk/news"
xmlns:bbcmobile="http://www.bbc.co.uk/news/mobile">
<prov:entity prov:id="bbc:science-environment-17526723">
- <prov:type>a news item for desktop</prov:type>
+ <prov:type xsi:type="xsd:string">a news item for desktop</prov:type>
</prov:entity>
<prov:entity prov:id="bbcmobile:science-environment-17526723">
- <prov:type>a news item for mobile devices</prov:type>
+ <prov:type xsi:type="xsd:string">a news item for mobile devices</prov:type>
</prov:entity>
<prov:alternateOf>
--- a/examples/eg-40-xml-examples-by-term/xml/Association.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Association.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,26 +3,27 @@
<!-- based on Example 35 from http://www.w3.org/TR/prov-dm/#anexample-wasAssociatedWith -->
<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:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ex="http://example.com/ns/ex#">
<prov:activity prov:id="a">
- <prov:type>workflow execution</prov:type>
+ <prov:type xsi:type="xsd:string">workflow execution</prov:type>
</prov:activity>
<prov:agent prov:id="ag1">
- <prov:type>operator</prov:type>
+ <prov:type xsi:type="xsd:QName">operator</prov:type>
</prov:agent>
<prov:agent prov:id="ag2">
- <prov:type>designator</prov:type>
+ <prov:type xsi:type="xsd:QName">designator</prov:type>
</prov:agent>
<prov:wasAssociatedWith>
<prov:activity prov:ref="a"/>
<prov:agent prov:ref="ag1"/>
- <prov:role>loggedInUser</prov:role>
+ <prov:role xsi:type="xsd:QName">loggedInUser</prov:role>
<ex:how>webapp</ex:how>
</prov:wasAssociatedWith>
@@ -30,20 +31,20 @@
<prov:activity prov:ref="a"/>
<prov:agent prov:ref="ag2"/>
<prov:plan prov:ref="ex:wf"/>
- <prov:role>designer</prov:role>
+ <prov:role xsi:type="xsd:QName">designer</prov:role>
<ex:content>project1</ex:content>
</prov:wasAssociatedWith>
<prov:entity prov:id="ex:wf">
- <prov:type>prov:Plan</prov:type>
+ <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:location xsi:type="xsd:anyURI">http://example.org/workflow1.bpel</prov:location>
</prov:entity>
<!-- based on Example 36 from http://www.w3.org/TR/prov-dm/#anexample-wasAssociatedWith-2 -->
<prov:activity prov:id="ex:a">
- <prov:type>workflow execution</prov:type>
+ <prov:type xsi:type="xsd:string">workflow execution</prov:type>
</prov:activity>
<prov:entity prov:id="ex:wf"/>
@@ -54,9 +55,9 @@
</prov:wasAssociatedWith>
<prov:entity prov:id="ex:wf">
- <prov:type>prov:Plan</prov:type>
+ <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:location xsi:type="xsd:anyURI">http://example.org/workflow1.bpel</prov:location>
</prov:entity>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Attribution.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Attribution.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,33 +3,35 @@
<!-- based on Example 34 from http://www.w3.org/TR/prov-dm/#anexample-attribution -->
<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#"
xmlns:tr="http://example.com/ns/tr#"
xmlns:rec54="http://example.com/ns/rec54#">
<prov:agent prov:id="ex:Paolo">
- <prov:type>prov:Person</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
</prov:agent>
<prov:agent prov:id="ex:Simon">
- <prov:type>prov:Person</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
</prov:agent>
<prov:entity prov:id="tr:WD-prov-dm-20111215">
- <prov:type>rec54:WD</prov:type>
+ <prov:type xsi:type="xsd:QName">rec54:WD</prov:type>
</prov:entity>
<prov:wasAttributedTo>
<prov:entity prov:ref="rec54:WD"/>
<prov:agent prov:ref="ex:Paolo"/>
- <prov:type>editorship</prov:type>
+ <prov:type xsi:type="xsd:QName">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:type xsi:type="xsd:QName">authorship</prov:type>
</prov:wasAttributedTo>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Bundle.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Bundle.xml Thu Nov 08 14:11:54 2012 -0700
@@ -4,6 +4,8 @@
see also http://www.w3.org/TR/prov-dm/#element_bundle -->
<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#"
xmlns:bob="http://example.com/ns/bob#"
@@ -13,7 +15,7 @@
<!-- Let us consider two entities ex:report1 and ex:report2. -->
<prov:entity prov:id="ex:report1">
- <prov:type>report</prov:type>
+ <prov:type xsi:type="xsd:QName">report</prov:type>
<ex:version>1</ex:version>
</prov:entity>
@@ -23,7 +25,7 @@
</prov:wasGeneratedBy>
<prov:entity prov:id="ex:report2">
- <prov:type>report</prov:type>
+ <prov:type xsi:type="xsd:QName">report</prov:type>
<ex:version>2</ex:version>
</prov:entity>
@@ -42,7 +44,7 @@
<prov:bundle prov:id="bob:bundle1">
<prov:entity prov:id="ex:report1">
- <prov:type>report</prov:type>
+ <prov:type xsi:type="xsd:QName">report</prov:type>
<ex:version>1</ex:version>
</prov:entity>
@@ -60,7 +62,7 @@
<prov:entity prov:id="ex:report1"/>
<prov:entity prov:id="ex:report2">
- <prov:type>report</prov:type>
+ <prov:type xsi:type="xsd:QName">report</prov:type>
<ex:version>2</ex:version>
</prov:entity>
@@ -81,7 +83,7 @@
follows. -->
<prov:entity prov:id="bob:bundle1">
- <prov:type>prov:Bundle</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Bundle</prov:type>
</prov:entity>
<prov:wasGeneratedBy>
@@ -98,7 +100,7 @@
who observed the derivation of ex:report2 from ex:report1. -->
<prov:entity prov:id="alice:bundle2">
- <prov:type>prov:Bundle</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Bundle</prov:type>
</prov:entity>
<prov:wasGeneratedBy>
@@ -118,7 +120,7 @@
<prov:bundle prov:id="agg:bundle3">
<prov:entity prov:id="ex:report1">
- <prov:type>report</prov:type>
+ <prov:type xsi:type="xsd:QName">report</prov:type>
<ex:version>1</ex:version>
</prov:entity>
@@ -128,7 +130,7 @@
</prov:wasGeneratedBy>
<prov:entity prov:id="ex:report2">
- <prov:type>report</prov:type>
+ <prov:type xsi:type="xsd:QName">report</prov:type>
<ex:version>2</ex:version>
</prov:entity>
@@ -144,11 +146,11 @@
</prov:bundle>
<prov:entity prov:id="agg:bundle3">
- <prov:type>prov:Bundle</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Bundle</prov:type>
</prov:entity>
<prov:agent prov:id="ex:aggregator01">
- <prov:type>ex:Aggregator</prov:type>
+ <prov:type xsi:type="xsd:QName">ex:Aggregator</prov:type>
</prov:agent>
<prov:wasAttributedTo>
--- a/examples/eg-40-xml-examples-by-term/xml/Collection.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Collection.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,19 +3,21 @@
<!-- 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#">
<!-- c0 is an empty collection -->
<prov:entity prov:id="c0">
<!-- prov:EmptyCollection denotes an empty collection. -->
- <prov:type>prov:EmptyCollection</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:EmptyCollection</prov:type>
</prov:entity>
<!-- c1 is a collection, with unknown content -->
<prov:entity prov:id="c1">
<!-- prov:Collection denotes an entity of type Collection, i.e. an entity that can participate in relations amongst collections -->
- <prov:type>prov:Collection</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Collection</prov:type>
</prov:entity>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Communication.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Communication.xml Thu Nov 08 14:11:54 2012 -0700
@@ -2,14 +2,17 @@
<!-- based on Example 21 from http://www.w3.org/TR/prov-dm/#anexample-communication -->
-<prov:document xmlns:prov="http://www.w3.org/ns/prov#">
+<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#">
<prov:activity prov:id="a1">
- <prov:type>traffic regulations enforcing</prov:type>
+ <prov:type xsi:type="xsd:string">traffic regulations enforcing</prov:type>
</prov:activity>
<prov:activity prov:id="a2">
- <prov:type>fine paying, check writing, and mailing</prov:type>
+ <prov:type xsi:type="xsd:string">fine paying, check writing, and mailing</prov:type>
</prov:activity>
<prov:wasInformedBy>
--- a/examples/eg-40-xml-examples-by-term/xml/Delegation.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Delegation.xml Thu Nov 08 14:11:54 2012 -0700
@@ -2,28 +2,31 @@
<!-- based on Example 37 from http://www.w3.org/TR/prov-dm/#anexample-wasAssociatedWith -->
-<prov:document xmlns:prov="http://www.w3.org/ns/prov#">
+<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#">
<prov:activity prov:id="a">
- <prov:type>workflow</prov:type>
+ <prov:type xsi:type="xsd:QName">workflow</prov:type>
</prov:activity>
<prov:agent prov:id="ag1">
- <prov:type>programmer</prov:type>
+ <prov:type xsi:type="xsd:QName">programmer</prov:type>
</prov:agent>
<prov:agent prov:id="ag2">
- <prov:type>researcher</prov:type>
+ <prov:type xsi:type="xsd:QName">researcher</prov:type>
</prov:agent>
<prov:agent prov:id="ag3">
- <prov:type>funder</prov:type>
+ <prov:type xsi:type="xsd:QName">funder</prov:type>
</prov:agent>
<prov:wasAssociatedWith>
<prov:activity prov:ref="a"/>
<prov:agent prov:ref="ag1"/>
- <prov:role>loggedInUser</prov:role>
+ <prov:role xsi:type="xsd:QName">loggedInUser</prov:role>
</prov:wasAssociatedWith>
<prov:wasAssociatedWith>
@@ -40,14 +43,14 @@
<prov:delegate prov:ref="ag1"/>
<prov:responsible prov:ref="ag2"/>
<prov:activity prov:ref="a"/>
- <prov:type>line-management</prov:type>
+ <prov:type xsi:type="xsd:QName">line-management</prov:type>
</prov:actedOnBehalfOf>
<prov:actedOnBehalfOf>
<prov:delegate prov:ref="ag2"/>
<prov:responsible prov:ref="ag3"/>
<prov:activity prov:ref="a"/>
- <prov:type>contract</prov:type>
+ <prov:type xsi:type="xsd:QName">contract</prov:type>
</prov:actedOnBehalfOf>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Derivation1.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Derivation1.xml Thu Nov 08 14:11:54 2012 -0700
@@ -2,7 +2,10 @@
<!-- based on Example 29 from http://www.w3.org/TR/prov-dm/#anexample-derivation -->
-<prov:document xmlns:prov="http://www.w3.org/ns/prov#">
+<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#">
<prov:entity prov:id="e1"/>
@@ -16,7 +19,7 @@
<prov:wasDerivedFrom>
<prov:generatedEntity prov:ref="e2"/>
<prov:usedEntity prov:ref="e1"/>
- <prov:type>physical transform</prov:type>
+ <prov:type xsi:type="xsd:string">physical transform</prov:type>
</prov:wasDerivedFrom>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Derivation2.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Derivation2.xml Thu Nov 08 14:11:54 2012 -0700
@@ -2,7 +2,10 @@
<!-- based on Example 29 from http://www.w3.org/TR/prov-dm/#anexample-derivation -->
-<prov:document xmlns:prov="http://www.w3.org/ns/prov#">
+<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#">
<prov:activity prov:id="a"/>
--- a/examples/eg-40-xml-examples-by-term/xml/End.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/End.xml Thu Nov 08 14:11:54 2012 -0700
@@ -4,15 +4,17 @@
see also http://www.w3.org/TR/prov-dm/#type_WasEndedBy -->
<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="e1">
- <prov:type>approval document</prov:type>
+ <prov:type xsi:type="xsd:string">approval document</prov:type>
</prov:entity>
<prov:activity prov:id="a1">
- <prov:type>Editing</prov:type>
+ <prov:type xsi:type="xsd:QName">Editing</prov:type>
</prov:activity>
<prov:wasEndedBy>
--- a/examples/eg-40-xml-examples-by-term/xml/Entity.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Entity.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,12 +3,14 @@
<!-- based on Example 16 from http://www.w3.org/TR/prov-dm/#anexample-entity -->
<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#"
xmlns:tr="http://example.com/ns/tr#">
<prov:entity prov:id="tr:WD-prov-dm-20111215">
- <prov:type>document</prov:type>
+ <prov:type xsi:type="xsd:QName">document</prov:type>
<ex:version>2</ex:version>
</prov:entity>
--- a/examples/eg-40-xml-examples-by-term/xml/Extensibility.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Extensibility.xml Thu Nov 08 14:11:54 2012 -0700
@@ -2,6 +2,8 @@
<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#">
@@ -11,14 +13,14 @@
<prov:wasDerivedFrom>
<prov:generatedEntity prov:ref="e2"/>
<prov:usedEntity prov:ref="e1"/>
- <prov:type>ex:Translation</prov:type>
+ <prov:type xsi:type="xsd:QName">ex:Translation</prov:type>
</prov:wasDerivedFrom>
<!-- based on Example 57 from
http://www.w3.org/TR/prov-dm/#anexample-sub-type -->
<prov:entity prov:id="e">
- <prov:type>ex:Car</prov:type>
+ <prov:type xsi:type="xsd:QName">ex:Car</prov:type>
</prov:entity>
<!-- based on Example 58 from
@@ -33,13 +35,13 @@
<prov:used>
<prov:activity prov:ref="ex:work"/>
<prov:entity prov:ref="ex:laptop4"/>
- <prov:role>day-to-day machine</prov:role>
+ <prov:role xsi:type="xsd:string">day-to-day machine</prov:role>
</prov:used>
<prov:used>
<prov:activity prov:ref="ex:work"/>
<prov:entity prov:ref="ex:desktop9"/>
- <prov:role>backup machine</prov:role>
+ <prov:role xsi:type="xsd:string">backup machine</prov:role>
</prov:used>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Generation.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Generation.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,6 +3,8 @@
<!-- Example 18 from http://www.w3.org/TR/prov-dm/#anexample-generation1 -->
<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#">
--- a/examples/eg-40-xml-examples-by-term/xml/Location.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Location.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,17 +3,19 @@
<!-- based on Example 50 from http://www.w3.org/TR/prov-dm/#example-location -->
<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="ex:MonaLisa">
- <prov:type>StillImage</prov:type>
- <prov:location>Le Louvre, Paris</prov:location>
+ <prov:type xsi:type="xsd:QName">StillImage</prov:type>
+ <prov:location xsi:type="xsd:string">Le Louvre, Paris</prov:location>
</prov:entity>
<prov:entity prov:id="ex:cell">
- <prov:location>(5,5)</prov:location>
- <prov:value>10</prov:value>
+ <prov:location xsi:type="xsd:string">(5,5)</prov:location>
+ <prov:value xsi:type="xsd:integer">10</prov:value>
</prov:entity>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Membership.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Membership.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,6 +3,8 @@
<!-- based on Example 48 from http://www.w3.org/TR/prov-dm/#example_48 -->
<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#">
<prov:entity prov:id="e0"/>
@@ -10,7 +12,7 @@
<prov:entity prov:id="e2"/>
<prov:entity prov:id="c">
- <prov:type>prov:Collection</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Collection</prov:type>
</prov:entity>
<prov:hadMember>
--- a/examples/eg-40-xml-examples-by-term/xml/Mention_45.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Mention_45.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,6 +3,8 @@
<!-- based on Example 45 from http://www.w3.org/TR/prov-dm/#anexample-mention-rating -->
<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#"
xmlns:perf="http://example.com/ns/perf#"
@@ -17,7 +19,7 @@
<prov:wasAssociatedWith>
<prov:activity prov:ref="ex:a1" />
<prov:agent prov:ref="ex:Bob" />
- <prov:role>controller</prov:role>
+ <prov:role xsi:type="xsd:QName">controller</prov:role>
</prov:wasAssociatedWith>
</prov:bundle>
@@ -30,7 +32,7 @@
<prov:wasAssociatedWith>
<prov:activity prov:ref="ex:a2" />
<prov:agent prov:ref="ex:Bob" />
- <prov:role>controller</prov:role>
+ <prov:role xsi:type="xsd:QName">controller</prov:role>
</prov:wasAssociatedWith>
</prov:bundle>
--- a/examples/eg-40-xml-examples-by-term/xml/Mention_46.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Mention_46.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,6 +3,8 @@
<!-- based on Example 46 from http://www.w3.org/TR/prov-dm/#anexample-mention-viz -->
<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#"
xmlns:tool="http://example.com/ns/tool#"
@@ -11,7 +13,7 @@
<prov:bundle prov:id="obs:bundle1">
<prov:entity prov:id="ex:report1">
- <prov:type>report</prov:type>
+ <prov:type xsi:type="xsd:QName">report</prov:type>
<ex:version>1</ex:version>
</prov:entity>
@@ -21,7 +23,7 @@
</prov:wasGeneratedBy>
<prov:entity prov:id="ex:report2">
- <prov:type>report</prov:type>
+ <prov:type xsi:type="xsd:QName">report</prov:type>
<ex:version>2</ex:version>
</prov:entity>
@@ -37,7 +39,7 @@
</prov:bundle>
<prov:entity prov:id="obs:bundle1">
- <prov:type>prov:Bundle</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Bundle</prov:type>
</prov:entity>
<prov:wasAttributedTo>
@@ -47,8 +49,8 @@
<prov:bundle prov:id="tool:bundle2">
<prov:entity prov:id="tool:bundle2">
- <prov:type>viz:Configuration</prov:type>
- <prov:type>prov:Bundle</prov:type>
+ <prov:type xsi:type="xsd:QName">viz:Configuration</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Bundle</prov:type>
</prov:entity>
<prov:wasAttributedTo>
--- a/examples/eg-40-xml-examples-by-term/xml/Organization.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Organization.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,11 +3,13 @@
<!-- based on Organization example from http://www.w3.org/TR/prov-dm/#section-example-c -->
<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:w3="http://w3.org/">
<prov:agent prov:id="w3:Consortium">
- <prov:type>prov:Organization</prov:type>
+ <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 Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Person.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,33 +3,35 @@
<!-- based on Example 34 from http://www.w3.org/TR/prov-dm/#term-agent -->
<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#"
xmlns:tr="http://example.com/ns/tr#"
xmlns:rec54="http://example.com/ns/rec54#">
<prov:agent prov:id="ex:Paolo">
- <prov:type>prov:Person</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
</prov:agent>
<prov:agent prov:id="ex:Simon">
- <prov:type>prov:Person</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
</prov:agent>
<prov:entity prov:id="tr:WD-prov-dm-20111215">
- <prov:type>rec54:WD</prov:type>
+ <prov:type xsi:type="xsd:QName">rec54:WD</prov:type>
</prov:entity>
<prov:wasAttributedTo>
<prov:entity prov:ref="rec54:WD"/>
<prov:agent prov:ref="ex:Paolo"/>
- <prov:type>editorship</prov:type>
+ <prov:type xsi:type="xsd:QName">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:type xsi:type="xsd:QName">authorship</prov:type>
</prov:wasAttributedTo>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Plan.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Plan.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,26 +3,27 @@
<!-- based on Example 35 from http://www.w3.org/TR/prov-dm/#anexample-wasAssociatedWith -->
<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:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ex="http://example.com/ns/ex#">
<prov:activity prov:id="a">
- <prov:type>workflow execution</prov:type>
+ <prov:type xsi:type="xsd:string">workflow execution</prov:type>
</prov:activity>
<prov:agent prov:id="ag1">
- <prov:type>operator</prov:type>
+ <prov:type xsi:type="xsd:QName">operator</prov:type>
</prov:agent>
<prov:agent prov:id="ag2">
- <prov:type>designator</prov:type>
+ <prov:type xsi:type="xsd:QName">designator</prov:type>
</prov:agent>
<prov:wasAssociatedWith>
<prov:activity prov:ref="a"/>
<prov:agent prov:ref="ag1"/>
- <prov:role>loggedInUser</prov:role>
+ <prov:role xsi:type="xsd:QName">loggedInUser</prov:role>
<ex:how>webapp</ex:how>
</prov:wasAssociatedWith>
@@ -30,12 +31,12 @@
<prov:activity prov:ref="a"/>
<prov:agent prov:ref="ag2"/>
<prov:plan prov:ref="ex:wf"/>
- <prov:role>designer</prov:role>
+ <prov:role xsi:type="xsd:QName">designer</prov:role>
<ex:content>project1</ex:content>
</prov:wasAssociatedWith>
<prov:entity prov:id="ex:wf">
- <prov:type>prov:Plan</prov:type>
+ <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>
@@ -43,7 +44,7 @@
<!-- based on Example 36 from http://www.w3.org/TR/prov-dm/#anexample-wasAssociatedWith-2 -->
<prov:activity prov:id="ex:a">
- <prov:type>workflow execution</prov:type>
+ <prov:type xsi:type="xsd:string">workflow execution</prov:type>
</prov:activity>
<prov:entity prov:id="ex:wf"/>
@@ -54,7 +55,7 @@
</prov:wasAssociatedWith>
<prov:entity prov:id="ex:wf">
- <prov:type>prov:Plan</prov:type>
+ <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>
--- a/examples/eg-40-xml-examples-by-term/xml/PrimarySource.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/PrimarySource.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,21 +3,23 @@
<!-- based on Example 32 from http://www.w3.org/TR/prov-dm/#anexample-primary-source1 -->
<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="ex:la-campagne-de-Russie-1812-1813">
- <prov:type>map</prov:type>
+ <prov:type xsi:type="xsd:QName">map</prov:type>
</prov:entity>
<prov:entity prov:id="ex:revue-d-Histoire-de-la-Pharmacie-t-XVIII">
- <prov:type>journal</prov:type>
+ <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>prov:PrimarySource</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:PrimarySource</prov:type>
</prov:wasDerivedFrom>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Quotation.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Quotation.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,6 +3,8 @@
<!-- based on Example 31 from http://www.w3.org/TR/prov-dm/#anexample-quotation -->
<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:wp="http://thinklinks.wordpress.com/2012/03/07/"
xmlns:ex="http://example.com/ns/ex#"
@@ -19,7 +21,7 @@
<prov:wasDerivedFrom>
<prov:generatedEntity prov:ref="dm:gl-dagstuhl"/>
<prov:usedEntity prov:ref="wp:thoughts-from-the-dagstuhl-principles-of-provenance-workshop"/>
- <prov:type>prov:Quotation</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Quotation</prov:type>
</prov:wasDerivedFrom>
<prov:wasAttributedTo>
--- a/examples/eg-40-xml-examples-by-term/xml/Revision.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Revision.xml Thu Nov 08 14:11:54 2012 -0700
@@ -4,22 +4,24 @@
see also http://dvcs.w3.org/hg/prov/raw-file/default/xml/prov.xsd.html#type_WasRevisionOf -->
<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:rec54="http://www.w3.org/2001/02pd/rec54#"
xmlns:tr="http://example.com/ns/tr#">
<prov:entity prov:id="tr:WD-prov-dm-20111215">
- <prov:type>rec54:WD</prov:type>
+ <prov:type xsi:type="xsd:QName">rec54:WD</prov:type>
</prov:entity>
<prov:entity prov:id="tr:WD-prov-dm-20111018">
- <prov:type>rec54:WD</prov:type>
+ <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>prov:Revision</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Revision</prov:type>
</prov:wasDerivedFrom>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Role.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Role.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,6 +3,8 @@
<!-- based on Example 51 from http://www.w3.org/TR/prov-dm/#anexample-role -->
<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#">
@@ -13,7 +15,7 @@
<prov:wasAssociatedWith>
<prov:activity prov:ref="a"/>
<prov:agent prov:ref="ag"/>
- <prov:role>operator</prov:role>
+ <prov:role xsi:type="xsd:QName">operator</prov:role>
</prov:wasAssociatedWith>
<prov:activity prov:id="ex:div01"/>
@@ -23,7 +25,7 @@
<prov:used>
<prov:activity prov:ref="ex:div01"/>
<prov:entity prov:ref="ex:cell"/>
- <prov:role>divisor</prov:role>
+ <prov:role xsi:type="xsd:QName">divisor</prov:role>
</prov:used>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/SoftwareAgent.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/SoftwareAgent.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,10 +3,12 @@
<!-- based on Example 52 from http://www.w3.org/TR/prov-dm/#example_52 -->
<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#">
<prov:agent prov:id="ag">
- <prov:type>prov:SoftwareAgent</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:SoftwareAgent</prov:type>
</prov:agent>
</prov:document>
--- a/examples/eg-40-xml-examples-by-term/xml/Start.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Start.xml Thu Nov 08 14:11:54 2012 -0700
@@ -4,15 +4,17 @@
see also http://www.w3.org/TR/prov-dm/#type_WasStartedBy -->
<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="e1">
- <prov:type>email message</prov:type>
+ <prov:type xsi:type="xsd:string">email message</prov:type>
</prov:entity>
<prov:activity prov:id="a1">
- <prov:type>Discuss</prov:type>
+ <prov:type xsi:type="xsd:QName">Discuss</prov:type>
</prov:activity>
<prov:wasStartedBy>
@@ -27,7 +29,7 @@
</prov:used>
<prov:activity prov:id="a0">
- <prov:type>Write</prov:type>
+ <prov:type xsi:type="xsd:QName">Write</prov:type>
</prov:activity>
<prov:wasGeneratedBy>
@@ -74,7 +76,7 @@
<prov:activity prov:id="ex:observing-low-fuel"/>
<prov:agent prov:id="ex:driver">
- <prov:type>prov:Person</prov:type>
+ <prov:type xsi:type="xsd:QName">prov:Person</prov:type>
</prov:agent>
<prov:wasAssociatedWith>
--- a/examples/eg-40-xml-examples-by-term/xml/Value.xml Thu Nov 08 12:13:00 2012 +0000
+++ b/examples/eg-40-xml-examples-by-term/xml/Value.xml Thu Nov 08 14:11:54 2012 -0700
@@ -3,19 +3,21 @@
<!-- based on Example 53 from http://www.w3.org/TR/prov-dm/#example_53 -->
<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="ex:in">
- <prov:value>abcd</prov:value>
+ <prov:value xsi:type="xsd:string">abcd</prov:value>
</prov:entity>
<prov:entity prov:id="ex:out">
- <prov:value>4</prov:value>
+ <prov:value xsi:type="xsd:integer">4</prov:value>
</prov:entity>
<prov:activity prov:id="ex:len">
- <prov:type>string-length</prov:type>
+ <prov:type xsi:type="xsd:QName">string-length</prov:type>
</prov:activity>
<prov:used>