Added XML release NOTE-prov-xml-20130430 diff.html.
authorCurt Tilmes <Curt.Tilmes@nasa.gov>
Thu, 04 Apr 2013 09:08:51 -0400
changeset 6045 5dccbf47fa84
parent 6044 adc235306129
child 6046 ad5be5939eaa
Added XML release NOTE-prov-xml-20130430 diff.html.
xml/releases/NOTE-prov-xml-20130430/diff.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/xml/releases/NOTE-prov-xml-20130430/diff.html	Thu Apr 04 09:08:51 2013 -0400
@@ -0,0 +1,3212 @@
+<!DOCTYPE html>
+<html lang="en" dir="ltr">
+<head><style type="text/css"><!--
+
+.insert { background-color: #aaffaa }
+.delete { background-color: #ff8888; text-decoration: line-through }
+.tagInsert { background-color: #007700; color: #ffffff }
+.tagDelete { background-color: #770000; color: #ffffff }
+
+--></style> 
+    <title>PROV-XML: The PROV XML Schema</title> 
+    <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> 
+	<style type="text/css">
+    
+	    .note { font-size:small; margin-left:50px }
+	    
+	    table.thinborder {
+	    	border-width: 1px;
+			border-spacing: 0px;
+			border-style: none;
+			border-color: gray;
+			border-collapse: collapse;
+		}
+			
+		table.thinborder th {
+			border-width: 1px;
+			padding: 0px;
+			border-style: solid;
+			border-color: gray;
+		}
+		
+		table.thinborder td {
+			border-width: 1px;
+			padding: 2px;
+			border-style: solid;
+			border-color: gray;
+		}
+		
+	</style>
+
+	
+    
+
+    
+    
+    
+
+    
+
+    
+
+     
+  <style>/*****************************************************************
+ * ReSpec 3 CSS
+ * Robin Berjon - http://berjon.com/
+ *****************************************************************/
+
+/* --- INLINES --- */
+em.rfc2119 { 
+    text-transform:     lowercase;
+    font-variant:       small-caps;
+    font-style:         normal;
+    color:              #900;
+}
+
+h1 acronym, h2 acronym, h3 acronym, h4 acronym, h5 acronym, h6 acronym, a acronym,
+h1 abbr, h2 abbr, h3 abbr, h4 abbr, h5 abbr, h6 abbr, a abbr {
+    border: none;
+}
+
+dfn {
+    font-weight:    bold;
+}
+
+a.internalDFN {
+    color:  inherit;
+    border-bottom:  1px solid #99c;
+    text-decoration:    none;
+}
+
+a.externalDFN {
+    color:  inherit;
+    border-bottom:  1px dotted #ccc;
+    text-decoration:    none;
+}
+
+a.bibref {
+    text-decoration:    none;
+}
+
+cite .bibref {
+    font-style: normal;
+}
+
+code {
+    color:  #ff4500;
+}
+
+
+/* --- --- */
+ol.algorithm { counter-reset:numsection; list-style-type: none; }
+ol.algorithm li { margin: 0.5em 0; }
+ol.algorithm li:before { font-weight: bold; counter-increment: numsection; content: counters(numsection, ".") ") "; }
+
+/* --- TOC --- */
+.toc a, .tof a {
+    text-decoration:    none;
+}
+
+a .secno, a .figno {
+    color:  #000;
+}
+
+ul.tof, ol.tof {
+    list-style: none outside none;
+}
+
+.caption {
+    margin-top: 0.5em;
+    font-style:   italic;
+}
+
+/* --- TABLE --- */
+table.simple {
+    border-spacing: 0;
+    border-collapse:    collapse;
+    border-bottom:  3px solid #005a9c;
+}
+
+.simple th {
+    background: #005a9c;
+    color:  #fff;
+    padding:    3px 5px;
+    text-align: left;
+}
+
+.simple th[scope="row"] {
+    background: inherit;
+    color:  inherit;
+    border-top: 1px solid #ddd;
+}
+
+.simple td {
+    padding:    3px 10px;
+    border-top: 1px solid #ddd;
+}
+
+.simple tr:nth-child(even) {
+    background: #f0f6ff;
+}
+
+/* --- DL --- */
+.section dd > p:first-child {
+    margin-top: 0;
+}
+
+.section dd > p:last-child {
+    margin-bottom: 0;
+}
+
+.section dd {
+    margin-bottom:  1em;
+}
+
+.section dl.attrs dd, .section dl.eldef dd {
+    margin-bottom:  0;
+}
+</style><style>/* --- EXAMPLES --- */
+div.example-title {
+    min-width: 7.5em;
+    color: #b9ab2d;
+}
+div.example-title span {
+    text-transform: uppercase;   
+}
+aside.example, div.example, div.illegal-example {
+    padding: 0.5em;
+    margin: 1em 0;
+    position: relative;
+    clear: both;
+}
+div.illegal-example { color: red }
+div.illegal-example p { color: black }
+aside.example, div.example {
+    padding: .5em;
+    border-left-width: .5em;
+    border-left-style: solid;
+    border-color: #e0cb52;
+    background: #fcfaee;    
+}
+
+aside.example div.example {
+    border-left-width: .1em;
+    border-color: #999;
+    background: #fff;
+}
+aside.example div.example div.example-title {
+    color: #999;
+}
+</style><style><span class="insert">/* --- ISSUES/NOTES --- */
+div.issue-title, div.note-title {
+    padding-right:  1em;
+    min-width: 7.5em;
+    color: #b9ab2d;
+}
+div.issue-title { color: #e05252; }
+div.note-title { color: #52e052; }
+div.issue-title span, div.note-title span {
+    text-transform: uppercase;
+}
+div.note, div.issue {
+    margin-top: 1em;
+    margin-bottom: 1em;
+}
+.note > p:first-child, .issue > p:first-child { margin-top: 0 }
+.issue, .note {
+    padding: .5em;
+    border-left-width: .5em;
+    border-left-style: solid;
+}
+div.issue, div.note {
+    padding: 0.5em;
+    margin: 1em 0;
+    position: relative;
+    clear: both;
+}
+span.note, span.issue { padding: .1em .5em .15em; }
+
+.issue {
+    border-color: #e05252;
+    background: #fbe9e9;
+}
+.note {
+    border-color: #52e052;
+    background: #e9fbe9;
+}
+
+
+</span></style><link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-WG-NOTE"></head> 
+  <body><div class="head">
+  <p>
+    
+      <a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C"></a>
+    
+  </p>
+  <h1 class="title" id="title">PROV-XML: The PROV XML Schema</h1>
+  
+  <h2 id="w3c-working-group-note-30-april-2013"><abbr title="World Wide Web Consortium">W3C</abbr> Working <span class="delete">Draft 12 March</span><span class="insert">Group Note 30 April</span> 2013</h2>
+  <dl>
+    
+      <dt>This<span class="insert"> version:</span></dt>
+      <dd><a href="http://www.w3.org/TR/2013/NOTE-prov-xml-20130430/"><span class="insert">http://www.w3.org/TR/2013/NOTE-prov-xml-20130430/</span></a></dd>
+      <dt><span class="insert">Latest published version:</span></dt>
+      <dd><a href="http://www.w3.org/TR/prov-xml/"><span class="insert">http://www.w3.org/TR/prov-xml/</span></a></dd>
+    
+    
+      <dt><span class="insert">Latest editor's draft:</span></dt>
+      <dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/xml/prov-xml.html"><span class="insert">http://dvcs.w3.org/hg/prov/raw-file/default/xml/prov-xml.html</span></a></dd>
+    
+    
+    
+    
+    
+      <dt><span class="insert">Previous</span> version:</dt>
+      <dd><a href="http://www.w3.org/TR/2013/WD-prov-xml-20130312/">http://www.w3.org/TR/2013/WD-prov-xml-20130312/
+      <span class="delete">Latest published version:</span>
+      <span class="delete">http://www.w3.org/TR/prov-xml/</span>
+    
+    
+      <span class="delete">Latest editor's draft:</span>
+      <span class="delete">http://dvcs.w3.org/hg/prov/raw-file/default/xml/prov-xml.html</span>
+    
+    
+    
+    
+    
+      <span class="delete">Previous version:</span>
+      <span class="delete">http://www.w3.org/TR/2012/WD-prov-xml-20121211/</span></a> <a href="diff.html">(color-coded diff)</a></dd>
+    
+    
+    <dt>Editors:</dt>
+    <dd><span>(In alphabetical order)</span></dd>
+<dd><span>Hook Hua</span>, Invited Expert</dd>
+<dd><span>Curt Tilmes</span>, National Aeronautics and Space Administration</dd>
+<dd><a href="http://tw.rpi.edu/web/person/StephanZednik">Stephan Zednik</a>, Rensselaer Polytechnic Institute</dd>
+
+    
+      <dt>Author:</dt>
+      <dd><a href="http://www.ecs.soton.ac.uk/~lavm/">Luc Moreau</a>, University of Southampton</dd>
+
+    
+  </dl>
+  
+  
+  
+  
+    
+      <p class="copyright">
+        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 
+        2012-2013
+        
+        <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> 
+        (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>,
+        <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>,
+        <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>), All Rights Reserved.
+        <abbr title="World Wide Web Consortium">W3C</abbr> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>,
+        <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and
+        <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.
+      </p>
+    
+  
+  <hr>
+</div> 
+
+<section id="abstract" class="introductory"><h2>Abstract</h2>
+<p>
+Provenance is information about entities, activities, and people involved in producing a piece of data or thing, which can be used to form assessments about its quality, reliability or trustworthiness. PROV-DM is the conceptual data model that forms a basis for the <abbr title="World Wide Web Consortium">W3C</abbr> provenance (PROV) family of specifications. It defines a concepts for expressing provenance information enabling interchange. This document introduces an XML schema for the PROV data model (PROV-DM), allowing instances of the PROV data model to be serialized in XML.
+</p>
+<p>The  <a href="http://www.w3.org/TR/2013/WD-prov-overview-20130312/">PROV Document Overview</a> describes the overall state of PROV, and should be read before other PROV documents.</p>
+</section><section id="sotd" class="introductory"><h2>Status of This Document</h2>
+  
+    
+      
+        <p>
+          <em>This section describes the status of this document at the time of its publication. Other
+          documents may supersede this document. A list of current <abbr title="World Wide Web Consortium">W3C</abbr> publications and the latest revision
+          of this technical report can be found in the <a href="http://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> technical reports
+          index</a> at http://www.w3.org/TR/.</em>
+        </p>
+        
+<h4 id="prov-family-of-documents">PROV Family of Documents</h4>
+This document is part of the PROV family of documents, a set of documents defining various aspects that are necessary to achieve the vision of inter-operable
+interchange of provenance information in heterogeneous environments such as the Web.  These documents are listed below. Please consult the [<cite><a class="bibref" href="#bib-PROV-OVERVIEW">PROV-OVERVIEW</a></cite>] for a guide to reading these documents. 
+<ul>
+<li> <a href="http://www.w3.org/TR/2013/NOTE-prov-overview-20130430/">PROV-OVERVIEW</a> <span class="delete">(To be published as Note),</span><span class="insert">(Note),</span> an overview of the PROV family of documents [<cite><a class="bibref" href="#bib-PROV-OVERVIEW">PROV-OVERVIEW</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2013/NOTE-prov-primer-20130430/">PROV-PRIMER</a> <span class="delete">(To be published as Note),</span><span class="insert">(Note),</span> a primer for the PROV data model [<cite><a class="bibref" href="#bib-PROV-PRIMER">PROV-PRIMER</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2013/REC-prov-o-20130430/">PROV-O</a> <span class="delete">(Proposed Recommendation),</span><span class="insert">(Recommendation),</span> the PROV ontology, an OWL2 ontology allowing the mapping of <span class="insert">the </span>PROV<span class="insert"> data model</span> to RDF [<cite><a class="bibref" href="#bib-PROV-O">PROV-O</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2013/REC-prov-dm-20130430/">PROV-DM</a> <span class="delete">(Proposed Recommendation),</span><span class="insert">(Recommendation),</span> the PROV data model for provenance [<cite><a class="bibref" href="#bib-PROV-DM">PROV-DM</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2013/REC-prov-n-20130430/">PROV-N</a> <span class="delete">(Proposed Recommendation),</span><span class="insert">(Recommendation),</span> a notation for provenance aimed at human consumption [<cite><a class="bibref" href="#bib-PROV-N">PROV-N</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2013/REC-prov-constraints-20130430/">PROV-CONSTRAINTS</a> <span class="delete">(Proposed Recommendation),</span><span class="insert">(Recommendation),</span> a set of constraints applying to the PROV data model [<cite><a class="bibref" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2013/NOTE-prov-xml-20130430/">PROV-XML</a> <span class="delete">(To be published as Note),</span><span class="insert">(Note),</span>  an XML schema for the PROV data model (this document);</li>
+<li> <a href="http://www.w3.org/TR/2013/NOTE-prov-aq-20130430/">PROV-AQ</a> <span class="delete">(To be published as Note), the</span><span class="insert">(Note),</span> mechanisms for accessing and querying provenance [<cite><a class="bibref" href="#bib-PROV-AQ">PROV-AQ</a></cite>]; </li>
+<li> <a href="http://www.w3.org/TR/2013/NOTE-prov-dictionary-20130430/">PROV-DICTIONARY</a> <span class="delete">(To be published as Note)</span><span class="insert">(Note)</span> introduces a specific type of collection, consisting of key-entity pairs [<cite><a class="bibref" href="#bib-PROV-DICTIONARY">PROV-DICTIONARY</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2013/NOTE-prov-dc-20130430/">PROV-DC</a> <span class="delete">(To be published as Note)</span><span class="insert">(Note)</span> provides a mapping between <span class="delete">PROV</span><span class="insert">PROV-O</span> and Dublic Core Terms [<cite><a class="bibref" href="#bib-PROV-DC">PROV-DC</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2013/NOTE-prov-sem-20130430/">PROV-SEM</a> <span class="delete">(To be published as Note),</span><span class="insert">(Note),</span> a declarative specification in terms of first-order logic of the PROV data model [<cite><a class="bibref" href="#bib-PROV-SEM">PROV-SEM</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2013/NOTE-prov-links-20130430/">PROV-LINKS</a> <span class="delete">(To be published as Note)</span><span class="insert">(Note)</span> introduces a mechanism to link across bundles [<cite><a class="bibref" href="#bib-PROV-LINKS">PROV-LINKS</a></cite>].</li>
+</ul>
+
+        
+
+<h4 id="implementations-encouraged"><span class="insert">Implementations Encouraged</span></h4>
+<p><span class="insert">
+The Provenance Working Group encourages implementation of the material defined in this document.
+     Although work on this document by the Provenance Working Group is complete, 
+errors may be recorded in the  </span><a href="http://www.w3.org/2011/prov/errata.html"><span class="insert">errata</span></a><span class="insert"> or and these may be addressed in future revisions. 
+</span></p>
+
+<h4 id="please-send-comments"><span class="insert">Please Send Comments</span></h4>
+
+
+        <p>
+          This document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as a Working <span class="delete">Draft.</span><span class="insert">Group Note.</span>
+          
+          
+          If you wish to make comments regarding this document, please send them to 
+          <a href="mailto:public-prov-comments@w3.org">public-prov-comments@w3.org</a> 
+          (<a href="mailto:public-prov-comments-request@w3.org?subject=subscribe">subscribe</a>,
+          <a href="http://lists.w3.org/Archives/Public/public-prov-comments/">archives</a>).
+          
+          
+          
+          
+        All comments are welcome.
+        
+        
+          </p><p>
+            Publication as a Working <span class="delete">Draft</span><span class="insert">Group Note</span> does not imply endorsement by the <abbr title="World Wide Web Consortium">W3C</abbr> Membership.
+            This is a draft document and may be updated, replaced or obsoleted by other documents at 
+            any time. It is inappropriate to cite this document as other than work in progress.
+          </p>
+        
+        
+        <p>
+          
+            This document was produced by a group operating under the 
+            <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.<span class="delete">
+          
+          The group does not expect this document to become a </span><span class="delete">W3C</span><span class="delete"> Recommendation.
+          
+            
+              </span>
+          
+          
+          
+            
+              <abbr title="World Wide Web Consortium">W3C</abbr> maintains a <a href="http://www.w3.org/2004/01/pp-impl/46974/status" rel="disclosure">public list of any patent disclosures</a> 
+            
+            made in connection with the deliverables of the group; that page also includes instructions for 
+            disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains
+            <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the
+            information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
+            6 of the <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>.
+          
+          
+        </p>
+        
+      
+    
+  
+</section><section id="toc"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a><ul class="toc"><li class="tocline"><a href="#prov-namespace" class="tocxref"><span class="secno">1.1 </span>PROV Namespace</a></li><li class="tocline"><a href="#conventions" class="tocxref"><span class="secno">1.2 </span>Conventions</a></li></ul></li><li class="tocline"><a href="#schema-design" class="tocxref"><span class="secno">2. </span>XML Schema Design</a><ul class="toc"><li class="tocline"><a href="#schema-modularization" class="tocxref"><span class="secno">2.1 </span>Schema Modularization</a></li><li class="tocline"><a href="#design-pattern" class="tocxref"><span class="secno">2.2 </span><i>Salami Slice</i> Design Pattern</a></li><li class="tocline"><a href="#elements-vs-attributes" class="tocxref"><span class="secno">2.3 </span>Elements vs. Attributes</a></li><li class="tocline"><a href="#type-conventions" class="tocxref"><span class="secno">2.4 </span>Type Conventions</a><ul class="toc"><li class="tocline"><a href="#type-conventions-attributes" class="tocxref"><span class="secno">2.4.1 </span>PROV Type Attribute</a></li><li class="tocline"><a href="#type-conventions-extension-types" class="tocxref"><span class="secno">2.4.2 </span>Extension Types</a></li><li class="tocline"><a href="#type-conventions-xsi-type" class="tocxref"><span class="secno">2.4.3 </span>XSI Type</a></li></ul></li><li class="tocline"><a href="#naming-conventions" class="tocxref"><span class="secno">2.5 </span>Naming Conventions</a></li></ul></li><li class="tocline"><a href="#schema-components" class="tocxref"><span class="secno">3. </span>PROV XML Schema</a><ul class="toc"><li class="tocline"><a href="#component1" class="tocxref"><span class="secno">3.1 </span>Component 1: Entities and Activities</a><ul class="toc"><li class="tocline"><a href="#term-Entity" class="tocxref"><span class="secno">3.1.1 </span>Entity</a></li><li class="tocline"><a href="#term-Activity" class="tocxref"><span class="secno">3.1.2 </span>Activity</a></li><li class="tocline"><a href="#term-Generation" class="tocxref"><span class="secno">3.1.3 </span>Generation</a></li><li class="tocline"><a href="#term-Usage" class="tocxref"><span class="secno">3.1.4 </span>Usage</a></li><li class="tocline"><a href="#term-Communication" class="tocxref"><span class="secno">3.1.5 </span>Communication</a></li><li class="tocline"><a href="#term-Start" class="tocxref"><span class="secno">3.1.6 </span>Start</a></li><li class="tocline"><a href="#term-End" class="tocxref"><span class="secno">3.1.7 </span>End</a></li><li class="tocline"><a href="#term-Invalidation" class="tocxref"><span class="secno">3.1.8 </span>Invalidation</a></li></ul></li><li class="tocline"><a href="#component2" class="tocxref"><span class="secno">3.2 </span>Component 2: Derivations</a><ul class="toc"><li class="tocline"><a href="#term-Derivation" class="tocxref"><span class="secno">3.2.1 </span>Derivation</a></li><li class="tocline"><a href="#term-Revision" class="tocxref"><span class="secno">3.2.2 </span>Revision</a></li><li class="tocline"><a href="#term-Quotation" class="tocxref"><span class="secno">3.2.3 </span>Quotation</a></li><li class="tocline"><a href="#term-PrimarySource" class="tocxref"><span class="secno">3.2.4 </span>Primary Source</a></li></ul></li><li class="tocline"><a href="#component3" class="tocxref"><span class="secno">3.3 </span>Component 3: Agents, Responsibility, and Influence</a><ul class="toc"><li class="tocline"><a href="#term-Agent" class="tocxref"><span class="secno">3.3.1 </span>Agent</a><ul class="toc"><li class="tocline"><a href="#term-Person" class="tocxref"><span class="secno">3.3.1.1 </span>Person</a></li><li class="tocline"><a href="#term-Organization" class="tocxref"><span class="secno">3.3.1.2 </span>Organization</a></li><li class="tocline"><a href="#term-SoftwareAgent" class="tocxref"><span class="secno">3.3.1.3 </span>Software Agent</a></li></ul></li><li class="tocline"><a href="#term-Attribution" class="tocxref"><span class="secno">3.3.2 </span>Attribution</a></li><li class="tocline"><a href="#term-Association" class="tocxref"><span class="secno">3.3.3 </span>Association</a><ul class="toc"><li class="tocline"><a href="#term-Plan" class="tocxref"><span class="secno">3.3.3.1 </span>Plan</a></li></ul></li><li class="tocline"><a href="#term-Delegation" class="tocxref"><span class="secno">3.3.4 </span>Delegation</a></li><li class="tocline"><a href="#term-Influence" class="tocxref"><span class="secno">3.3.5 </span>Influence</a></li></ul></li><li class="tocline"><a href="#component4" class="tocxref"><span class="secno">3.4 </span>Component 4: Bundles</a><ul class="toc"><li class="tocline"><a href="#term-Bundle" class="tocxref"><span class="secno">3.4.1 </span>Bundle</a></li><li class="tocline"><a href="#term-BundleConstructor" class="tocxref"><span class="secno">3.4.2 </span>Bundle Constructor</a></li></ul></li><li class="tocline"><a href="#component5" class="tocxref"><span class="secno">3.5 </span>Component 5: Alternate Entities</a><ul class="toc"><li class="tocline"><a href="#term-Specialization" class="tocxref"><span class="secno">3.5.1 </span>Specialization</a></li><li class="tocline"><a href="#term-Alternate" class="tocxref"><span class="secno">3.5.2 </span>Alternate</a></li></ul></li><li class="tocline"><a href="#component6" class="tocxref"><span class="secno">3.6 </span>Component 6: Collections</a><ul class="toc"><li class="tocline"><a href="#term-Collection" class="tocxref"><span class="secno">3.6.1 </span>Collection</a><ul class="toc"><li class="tocline"><a href="#term-EmptyCollection" class="tocxref"><span class="secno">3.6.1.1 </span>Empty Collection</a></li></ul></li><li class="tocline"><a href="#term-Membership" class="tocxref"><span class="secno">3.6.2 </span>Membership</a></li></ul></li><li class="tocline"><a href="#further-elements" class="tocxref"><span class="secno">3.7 </span>Further Elements of PROV</a><ul class="toc"><li class="tocline"><a href="#attribute-Identifier" class="tocxref"><span class="secno">3.7.1 </span>Identifier</a></li><li class="tocline"><a href="#attribute-Reference" class="tocxref"><span class="secno">3.7.2 </span>Reference</a></li><li class="tocline"><a href="#attributes" class="tocxref"><span class="secno">3.7.3 </span>Attributes</a><ul class="toc"><li class="tocline"><a href="#element-Label" class="tocxref"><span class="secno">3.7.3.1 </span>Label</a></li><li class="tocline"><a href="#element-Location" class="tocxref"><span class="secno">3.7.3.2 </span>Location</a></li><li class="tocline"><a href="#element-Role" class="tocxref"><span class="secno">3.7.3.3 </span>Role</a></li><li class="tocline"><a href="#element-Type" class="tocxref"><span class="secno">3.7.3.4 </span>Type</a></li><li class="tocline"><a href="#element-Value" class="tocxref"><span class="secno">3.7.3.5 </span>Value</a></li></ul></li><li class="tocline"><a href="#type-value" class="tocxref"><span class="secno">3.7.4 </span>Value</a></li></ul></li><li class="tocline"><a href="#structural-elements" class="tocxref"><span class="secno">3.8 </span>Structural Elements of PROV-XML</a><ul class="toc"><li class="tocline"><a href="#term-Document" class="tocxref"><span class="secno">3.8.1 </span>Document</a></li><li class="tocline"><a href="#term-Other" class="tocxref"><span class="secno"><span class="insert">3.8.2 </span></span><span class="insert">Other</span></a></li></ul></li></ul></li><li class="tocline"><a href="#media-type" class="tocxref"><span class="secno">4. </span>Media Type</a></li><li class="tocline"><a href="#prov-xml-schema" class="tocxref"><span class="secno">A. </span>XML Schema</a><ul class="toc"><li class="tocline"><a href="#prov-schema" class="tocxref"><span class="secno">A.1 </span>prov.xsd</a></li><li class="tocline"><a href="#prov-core-schema" class="tocxref"><span class="secno">A.2 </span>prov-core.xsd</a></li><li class="tocline"><a href="#extension-schemas" class="tocxref"><span class="secno">A.3 </span>Extension Schemas</a></li></ul></li><li class="tocline"><a href="#changelog" class="tocxref"><span class="secno">B. </span>Change Log</a><ul class="toc"><li class="tocline"><a href="#change-log-since-wd-working-draft-12-march-2013" class="tocxref"><span class="secno">B.1 </span><span class="delete">Changes since last version</span><span class="insert">Change Log Since WD Working Draft 12 March 2013</span></a></li><li class="tocline"><a href="#change-log-since-first-public-working-draft" class="tocxref"><span class="secno"><span class="insert">B.2 </span></span><span class="insert">Change Log Since First Public Working Draft</span></a></li></ul></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno">C. </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">D. </span>References</a><ul class="toc"><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">D.1 </span>Informative references</a></li></ul></li></ul></section>  
+
+ 
+
+<section id="introduction"> 
+<h2><span class="secno">1. </span>Introduction</h2> 
+
+<p> 
+For the purpose of this specification, <dfn id="dfn-provenance" class="internalDFN">provenance</dfn><sup><a class="internalDFN" href="#dfn-provenance"><span class="diamond"> ◊</span></a></sup> is defined as a record that describes the people, institutions, entities, and activities involved in producing, influencing, or delivering a piece of data or a thing.  In particular, the provenance of information is crucial in deciding whether information is to be trusted, how it should be integrated with other diverse information sources, and how to give credit to its originators when reusing it.  In an open and inclusive environment such as the Web, where users find information that is often contradictory or questionable, provenance can help those users to make trust judgements.
+</p>
+
+<p>
+The PROV data model, PROV-DM, presents a generic data model for provenance that allows domain and application specific representations of provenance to be translated into such a data model and <em>interchanged</em> between systems.  Thus, heterogeneous systems can export their native provenance into such a core data model, and applications that need to make sense of provenance can then import it,
+process it, and reason over it.</p>
+
+<p>
+The PROV data model distinguishes <em>core structures</em> from <em>extended structures</em>: core structures form the essence of provenance information, and are commonly found in various domain-specific vocabularies that deal with provenance or similar kinds of information [<cite><a class="bibref" href="#bib-Mappings">Mappings</a></cite>].  Extended structures enhance and refine core structures with more expressive capabilities to cater for more advanced uses of provenance.  The PROV data model, comprising both core and extended structures, is a domain-agnostic model, but with clear extensibility points allowing further domain-specific and application-specific extensions to be defined.
+</p>
+
+<p>
+The PROV data model has a modular design and is structured according to six components covering various facets of provenance:</p>
+<ul>
+<li> component 1: entities and activities, and the time at which they were created, used, or ended;
+</li><li> component 2: derivations of entities from others;
+</li><li> component 3: agents bearing responsibility for entities that were generated and activities that happened;
+</li><li> component 4: bundles, a mechanism to support provenance of provenance;
+</li><li> component 5: properties to link entities that refer to a same thing;
+</li><li> component 6: collections forming a logical structure for its members.
+</li></ul>
+
+<p>
+This specification goal is to provide a succinct definition of the XML form of PROV-DM, thus, we refer the reader to the PROV-DM to provide overall justification and context to the definitions presented here.  
+</p>
+
+<section id="prov-namespace">
+<h3><span class="secno">1.1 </span>PROV Namespace</h3>
+<p>The PROV namespace is <span class="name">http://www.w3.org/ns/prov#</span>.</p>
+<p> All the concepts, reserved names and attributes introduced in this specification belong to the PROV namespace.</p>
+</section> 
+
+<section id="conventions"> 
+<h3><span class="secno">1.2 </span>Conventions</h3>
+
+<p>The key words "<em class="rfc2119" title="MUST">MUST</em>", "<em class="rfc2119" title="MUST NOT">MUST NOT</em>", "<em class="rfc2119" title="REQUIRED">REQUIRED</em>", "<em class="rfc2119" title="SHALL">SHALL</em>", "<em class="rfc2119" title="SHALL
+      NOT">SHALL
+      NOT</em>", "<em class="rfc2119" title="SHOULD">SHOULD</em>", "<em class="rfc2119" title="SHOULD NOT">SHOULD NOT</em>", "<em class="rfc2119" title="RECOMMENDED">RECOMMENDED</em>",  "<em class="rfc2119" title="MAY">MAY</em>", and
+      "<em class="rfc2119" title="OPTIONAL">OPTIONAL</em>" in this document are to be interpreted as described in
+      [<cite><a class="bibref" href="#bib-RFC2119">RFC2119</a></cite>].</p>
+</section> 
+
+</section> 
+
+<section id="schema-design">
+<h2><span class="secno">2. </span>XML Schema Design</h2>
+
+<p>Several general design principles and patterns were used in the construction of the PROV XML Schema.</p>
+
+<section id="schema-modularization">
+<h3><span class="secno">2.1 </span>Schema Modularization</h3>
+<p>The PROV-XML schema have been modularized so that extension elements defined in Working Group Notes can be defined in separate schemas.  Elements corresponding to terms defined in the PROV-DM are defined in the <b>prov-core.xsd</b> schema and elements corresponding to terms defined in notes are defined in extension schemas (e.g. <b>prov-dictionary.xsd</b>, <b>prov-links.xsd</b>).  The default schema, <b>prov.xsd</b>, imports <b>prov-core.xsd</b> and all extension schemas developed by the Working Group.  With this modeling all PROV elements, even those defined in Notes, are defined from the default schema.  If the user wishes to leverage a schema that does not include extension elements the user can use schemaLocation to directly reference <b>prov-core.xsd</b>.</p>
+<p>The default schema - <b>prov.xsd</b></p>
+<pre>&lt;?xml version="1.0" encoding="utf-8"?&gt;
+&lt;xs:schema targetNamespace="http://www.w3.org/ns/prov#"
+           xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:prov="http://www.w3.org/ns/prov#"
+           elementFormDefault="qualified"
+           attributeFormDefault="unqualified"&gt;
+
+	&lt;xs:include schemaLocation="prov-core.xsd"/&gt;
+	&lt;xs:include schemaLocation="prov-dictionary.xsd"/&gt;
+	&lt;xs:include schemaLocation="prov-links.xsd"/&gt;
+
+&lt;/xs:schema&gt;
+</pre>
+<p>Extension schemas import the <b>prov-core.xsd</b> schema and make use of a substitution group on the <code>prov:internalElement</code> to add extension-defined elements to the list of valid PROV elements in a bundle or document.</p>
+<div class="note"><div class="note-title"><span><span class="insert">Note</span></span></div><div class="">
+<p><span class="insert">This schema design leveraging substitutionGroups on an abstract element may result in sub-optimal binding classes being generated by OXM frameworks such as JAXB, JiBX, etc. See the PROV FAQ entry at </span><a href="http://www.w3.org/2001/sw/wiki/PROV-FAQ#How_should_I_generate_JAXB_classes_from_the_PROV-XML_schemas.3F"><span class="insert">How should I generate JAXB classes from the PROV-XML schemas?</span></a><span class="insert"> for a JAXB-specific discussion on using OXM technologies with the PROV schemas.</span></p>
+</div></div> 
+<p>The <b>prov-links.xsd</b> extension schema.</p>
+<pre>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://www.w3.org/ns/prov#" xmlns:prov="http://www.w3.org/ns/prov#"
+	elementFormDefault="qualified"&gt;
+	
+	&lt;xs:include schemaLocation="prov-core.xsd" /&gt;
+	
+	&lt;xs:complexType name="Mention"&gt;
+		&lt;xs:sequence&gt;
+			&lt;xs:element name="specificEntity" type="prov:IDRef" /&gt;
+			&lt;xs:element name="generalEntity" type="prov:IDRef" /&gt;
+			&lt;xs:element name="bundle" type="prov:IDRef" /&gt;
+		&lt;/xs:sequence&gt;
+	&lt;/xs:complexType&gt;
+	
+	&lt;xs:element name="mentionOf" type="prov:Mention" substitutionGroup="prov:internalElement" /&gt;
+	
+&lt;/xs:schema&gt;
+</pre>
+<p>All schemas developed by the PROV WG utilize the PROV namespace.</p>
+
+
+</section> 
+
+<section id="design-pattern">
+<h3><span class="secno">2.2 </span><i>Salami Slice</i> Design Pattern</h3>
+<p>The general design pattern for the XML schema has been called <i>Salami Slice Design</i>.  With this design, the individual components are each defined at the top level as separate elements with distinct types.  This allows the types to be easily reusable for domain specific extensions.</p>
+<p>The <code>prov:document</code> element has been defined to act as a convenient root element for a PROV-XML document, but it's use as the root element is not required.  The schema follows the Salami Slice pattern to ensure PROV XML elements can be integrated with mixed-schema XML documents which require a different document root.</p>
+</section> 
+
+<section id="elements-vs-attributes">
+<h3><span class="secno">2.3 </span>Elements vs. Attributes</h3>
+
+<p>The general PROV-N syntax patterns for expressing provenance
+concepts are:
+</p>
+
+<pre class="codeexample">thing(id, elem1, elem2, ..., [attr1=val1, attr2=val2])
+concept(id; elem1, elem2, ... [attr1=val2, attr2=val2])
+</pre>
+
+<p>In both cases (required id or optional id), the PROV-N id is treated as an XML attribute (<code>prov:id</code>), the PROV-N "elements" are treated as XML elements, always with the same required order (position) as the PROV-DM/PROV-N description, and optional PROV-N "attributes", if allowed, always follow and are also represented by XML elements.  As in PROV-N, the attributes can be specified multiple times, but unlike PROV-N the attributes have a fixed (alphabetical) order.  The PROV-N "attribute" elements are always defined at the end of the encompassing sequence after all PROV-N "elements".  Elements defined in namespaces other than the PROV namespace may be included in a element after all PROV elements.</p>
+
+<p>Wherever an "id" is referenced from a later concept, the id is
+referenced as a prov:ref attribute of the element within the concept.
+</p>
+
+<p>This transformation technique yields a general XML pattern:
+</p>
+
+<pre class="codeexample">&lt;prov:thing prov:id="id"&gt;
+  &lt;prov:elem1 /&gt;
+  &lt;prov:elem2 /&gt;
+  ...
+  &lt;ex:attr1&gt;val1&lt;/ex:attr1&gt;
+  &lt;ex:attr2&gt;val2&lt;/ex:attr2&gt;
+  ...
+&lt;/prov:thing&gt;
+</pre>
+<p>Most of the concepts described below follow this general pattern.</p>
+</section> 
+
+<section id="type-conventions">
+<h3><span class="secno">2.4 </span>Type Conventions</h3>
+<section id="type-conventions-attributes">
+<h4><span class="secno">2.4.1 </span>PROV Type Attribute</h4>
+<p>The PROV-DM states type information is described using the prov:type PROV attribute and may occur multiple times for a given entity, activity, agent, or relation.</p>
+<p>PROV-XML uses the element <code>prov:type</code> to represent the prov:type PROV attribute.  This element can be use to represent both PROV and non-PROV type information.  The following examples shows type information encoded using the <code>prov:type</code> element.</p>
+<div class="example"><div class="example-title"><span>Example 1</span>: type information using prov:type PROV attribute</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="tr:WD-prov-dm-20111215"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;prov:Plan&lt;/prov:type&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;ex:Workflow&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;</pre></div>
+<p>The <code>prov:type</code> element can be used in conjunction with schema-defined PROV types (see examples 2-5).</p>
+</section> 
+<section id="type-conventions-extension-types">
+<h4><span class="secno">2.4.2 </span>Extension Types</h4>
+<p>PROV-XML defines complexTypes to match the PROV defined type values.  These types provide a more native XML representation of PROV types.  The following example is considered equivalent to the previous example because the element <code>prov:plan</code> has type <code>prov:Plan</code>.  All complexTypes representing a PROV type which is defined as a subclass of another PROV type are defined in PROV-XML as extensions of their parent PROV type's complexType.  For example, <code>prov:Plan</code> is defined as an extension of the complexType <code>prov:Entity</code> and may be referenced by either <code>prov:plan</code> or <code>prov:entity</code>.</p>
+<div class="example"><div class="example-title"><span>Example 2</span>: type information using schema defined types</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:plan prov:id="tr:WD-prov-dm-20111215"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;ex:Workflow&lt;/prov:type&gt;
+  &lt;/prov:plan&gt;
+
+&lt;/prov:document&gt;</pre></div>
+<p>When an extended type is used a PROV type attribute relation may be inferred for the current and any parent type of the declared type.</p>
+<p>Stating all type information using the PROV type attribute assists in interoperability with non-PROV-XML encoding of PROV.</p>
+<div class="example"><div class="example-title"><span>Example 3</span>: type information using schema defined types - type inferences</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:plan prov:id="tr:WD-prov-dm-20111215"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;ex:Workflow&lt;/prov:type&gt;
+    <b>&lt;prov:type&gt;prov:Plan&lt;/prov:type&gt; &lt;!-- inferred --&gt;</b>
+    <b>&lt;prov:type&gt;prov:Entity&lt;/prov:type&gt; &lt;!-- inferred --&gt;</b>
+  &lt;/prov:plan&gt;
+
+&lt;/prov:document&gt;</pre></div>
+</section>
+<section id="type-conventions-xsi-type">
+<h4><span class="secno">2.4.3 </span>XSI Type</h4>
+<p>Because the <code>prov:Plan</code> complexType is defined as an extension of the complexType <code>prov:Entity</code>, the following example using <code>xsi:type</code> is valid and considered equivalent to the two previous examples. The attribute <code>xsi:type</code> tells an XML parser the complexType of the element.  The value of <code>xsi:type</code> must be a complexType derived from the default element type in a schema with known location (referenced through <code>xsi:schemaLocation</code>).</p>
+<div class="example"><div class="example-title"><span>Example 4</span>: type information using xsi:type</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="tr:WD-prov-dm-20111215" xsi:type="prov:Plan"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;ex:Workflow&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;</pre></div>
+<p>A PROV type attribute relation may be inferred by the use of the <code>xsi:type</code> XML attribute.</p>
+<div class="example"><div class="example-title"><span>Example 5</span>: type information using xsi:type - type inferences</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="tr:WD-prov-dm-20111215" xsi:type="prov:Plan"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;ex:Workflow&lt;/prov:type&gt;
+    <b>&lt;prov:type&gt;prov:Plan&lt;/prov:type&gt; &lt;!-- inferred --&gt;</b>
+    <b>&lt;prov:type&gt;prov:Entity&lt;/prov:type&gt; &lt;!-- inferred --&gt;</b>
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+</section>
+
+<section id="naming-conventions">
+<h3><span class="secno">2.5 </span>Naming Conventions</h3>
+<p>Element names are aligned with [<cite><a class="bibref" href="#bib-PROV-N">PROV-N</a></cite>] record names (e.g. <code>prov:wasGeneratedBy</code>, <code>prov:actedOnBehalfOf</code>) and record parameter roles (e.g. <code>prov:delegate</code>, <code>prov:responsible</code> on a Delegation).  Elements are named in camelCase which also conforms with [<cite><a class="bibref" href="#bib-PROV-N">PROV-N</a></cite>] naming conventions.</p>
+<p>ComplexType names are aligned with [<cite><a class="bibref" href="#bib-PROV-DM">PROV-DM</a></cite>] type names (e.g. <code>prov:Generation</code>, <code>prov:Delegation</code>).  ComplexTypes are named in PascalCase which conforms to [<cite><a class="bibref" href="#bib-PROV-DM">PROV-DM</a></cite>] naming conventions and differentiates complexTypes from elements in the schema.</p>
+</section> 
+
+</section> 
+
+<section id="schema-components">
+<h2><span class="secno">3. </span>PROV XML Schema</h2>
+
+<p>Provenance concepts, expressed as PROV-DM types and relations, are organized according to six components that are defined in this section.</p>
+
+<div id="prov-dm-components-ul">
+<ul>
+<li><b>Component 1: entities and activities.</b> The first component consists of entities, activities, and concepts linking them, such as generation, usage, start, end. The first component is the only one comprising time-related concepts. </li>
+<li><b>Component 2: derivations.</b>  The second component is formed with derivations and derivation subtypes.</li>
+<li><b>Component 3: agents, responsibility, and influence.</b> The third component consists of agents and concepts ascribing responsibility to agents.</li>
+<li><b>Component 4: bundles.</b> The fourth component is concerned with bundles, a mechanism to support provenance of provenance.</li>
+<li><b>Component 5: alternate.</b> The fifth component consists of relations linking entities referring to the same thing. </li>
+<li><b>Component 6: collections.</b> The sixth component is about collections. </li>
+</ul>
+</div>
+
+<div style="text-align: center;">
+<span class="figure" id="fig-figure-1-prov-dm-components-informative" style="max-width: 95%; ">
+<img usemap="#componentMap" src="images/dm/components-dependencies.png" alt="PROV-DM Components" style="max-width: 90%; ">
+<map id="componentMap" name="componentMap">
+<area title="agents/responsibility" href="#component3" coords="0,0,67,268" alt="agents/responsibility" shape="rect">
+<area title="agents/responsibility" href="#component3" coords="67,0,134,201" alt="agents/responsibility" shape="rect">
+<area title="agents/responsibility" href="#component3" coords="134,0,201,67" alt="agents/responsibility" shape="rect">
+<area title="derivations" href="#component2" coords="201,0,268,201" alt="derivations" shape="rect">
+<area title="derivations" href="#component2" coords="134,67,201,201" alt="derivations" shape="rect">
+<area title="alternate" href="#component5" coords="335,0,402,201" alt="alternate" shape="rect">
+<area title="collections" href="#component6" coords="402,0,469,201" alt="collections" shape="rect">
+<area title="activities/entities" href="#component1" coords="67,201,469,268" alt="activities/entities" shape="rect">
+<area title="bundles" href="#component4" coords="268,0,402,201" alt="bundles" shape="rect">
+</map>
+<br>
+<span class="figcaption" id="prov-dm-components">Figure 1<sup><a class="internalDFN" href="#prov-dm-components"><span class="diamond"> ◊:</span></a></sup>  PROV-DM Components (Informative)</span>
+<span class="figure" id="fig-generatedID">
+</span></span></div>
+
+<p><a href="#prov-schema-mapping">Table 1</a> is a mapping of PROV-DM types and relations in PROV-XML schema XML types and elements.</p>
+
+<div id="prov-schema-mapping-div" style="text-align: center;">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<caption id="prov-schema-mapping"><span>Table 1<sup><a class="internalDFN" href="#prov-schema-mapping"><span class="diamond"> ◊:</span></a></sup> </span>PROV-DM Types and Relations to XML Schema Mapping</caption> 
+<tbody><tr>
+<td><a><b>Type or Relation Name</b></a></td>
+<td><b>XML Schema ComplexType</b></td>
+<td><b>XML Schema Referencing Element</b></td>
+<td><b>Component</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr class="component1-color">
+	<td><a href="#term-Entity">Entity</a></td>
+	<td>prov:Entity</td>
+	<td>prov:entity</td>
+	<td rowspan="8"><a href="#component1">Component 1: Entities/Activities</a></td>
+</tr>
+<tr class="component1-color">
+	<td><a href="#term-Activity">Activity</a></td>
+	<td>prov:Activity</td>
+	<td>prov:activity</td>
+</tr>
+<tr class="component1-color">
+	<td><a href="#term-Generation">Generation</a></td>
+	<td>prov:Generation</td>
+	<td>prov:wasGeneratedBy</td>
+</tr>
+<tr class="component1-color">
+	<td><a href="#term-Usage">Usage</a></td>
+	<td>prov:Usage</td>
+	<td>prov:used</td>
+</tr>
+<tr class="component1-color">
+	<td><a href="#term-Communication">Communication</a></td>
+	<td>prov:Communication</td>
+	<td>prov:wasInformedBy</td>
+</tr>
+<tr class="component1-color">
+	<td><a href="#term-Start">Start</a></td>
+	<td>prov:Start</td>
+	<td>prov:wasStartedBy</td>
+</tr>
+<tr class="component1-color">
+	<td><a href="#term-End">End</a></td>
+	<td>prov:End</td>
+	<td>prov:wasEndedBy</td>
+</tr>
+<tr class="component1-color">
+	<td><a href="#term-Invalidation">Invalidation</a></td>
+	<td>prov:Invalidation</td>
+	<td>prov:wasInvalidatedBy</td>
+</tr>
+<tr>
+	<td colspan="3" style="border-width: 0px; "></td>
+</tr>
+<tr class="component2-color">
+	<td><a href="#term-Derivation">Derivation</a></td>
+	<td>prov:Derivation</td>
+	<td>prov:wasDerivedFrom</td>
+	<td rowspan="4"><a href="#component2">Component 2: Derivations</a></td>
+</tr>
+<tr class="component2-color">
+	<td><a href="#term-Revision">Revision</a></td>
+	<td>prov:Revision</td>
+	<td>prov:wasRevisionOf</td>
+</tr>
+<tr class="component2-color">
+	<td><a href="#term-Quotation">Quotation</a></td>
+	<td>prov:Quotation</td>
+	<td>prov:wasQuotedFrom</td>
+</tr>
+<tr class="component2-color">
+	<td><a href="#term-PrimarySource">Primary Source</a></td>
+	<td>prov:PrimarySource</td>
+	<td>prov:hadPrimarySource</td>
+</tr>
+<tr>
+	<td colspan="3" style="border-width: 0px; "></td>
+</tr>
+<tr class="component3-color" style="border-collapse: collapse; ">
+	<td><a href="#term-Agent">Agent</a></td>
+	<td>prov:Agent</td>
+	<td>prov:agent</td>
+	<td rowspan="9"><a href="#component3">Component 3: Agents, Responsibility, Influence</a></td>
+</tr>
+<tr class="component3-color">
+	<td><a href="#term-Attribution">Attribution</a></td>
+	<td>prov:Attribution</td>
+	<td>prov:wasAttributedTo</td>
+</tr>
+<tr class="component3-color">
+	<td><a href="#term-Association">Association</a></td>
+	<td>prov:Association</td>
+	<td>prov:wasAssociatedWith</td>
+</tr>
+<tr class="component3-color">
+	<td><a href="#term-Delegation">Delegation</a></td>
+	<td>prov:Delegation</td>
+	<td>prov:actedOnBehalfOf</td>
+</tr>
+<tr class="component3-color">
+	<td><a href="#term-Plan">Plan</a></td>
+	<td>prov:Plan</td>
+	<td>prov:plan</td>
+</tr>
+<tr class="component3-color">
+	<td><a href="#term-Person">Person</a></td>
+	<td>prov:Person</td>
+	<td>prov:person</td>
+</tr>
+<tr class="component3-color">
+	<td><a href="#term-Organization">Organization</a></td>
+	<td>prov:Organization</td>
+	<td>prov:organization</td>
+</tr>
+<tr class="component3-color">
+	<td><a href="#term-SoftwareAgent">Software Agent</a></td>
+	<td>prov:SoftwareAgent</td>
+	<td>prov:softwareAgent</td>
+</tr>
+<tr class="component3-color">
+	<td><a href="#term-Influence">Influence</a></td>
+	<td>prov:Influence</td>
+	<td>prov:wasInfluencedBy</td>
+</tr>
+<tr>
+	<td colspan="3" style="border-width: 0px; "></td>
+</tr>
+<tr class="component4-color">
+	<td><a href="#term-Bundle">Bundle</a></td>
+	<td>prov:Bundle</td>
+	<td>prov:bundle</td>
+	<td rowspan="2"><a href="#component4">Component 4: Bundles</a></td>
+</tr>
+<tr class="component4-color">
+	<td><a href="#term-BundleConstructor">Bundle Constructor</a></td>
+	<td>prov:BundleConstructor</td>
+	<td>prov:bundleContent</td>
+</tr>
+<tr>
+	<td colspan="3" style="border-width: 0px; "></td>
+</tr>
+<tr class="component5-color">
+	<td><a href="#term-Alternate">Alternate</a></td>
+	<td>prov:Alternate</td>
+	<td>prov:alternateOf</td>
+	<td rowspan="3"><a href="#component5">Component 5: Alternate</a></td>
+</tr>
+<tr class="component5-color">
+	<td><a href="#term-Specialization">Specialization</a></td>
+	<td>prov:Specialization</td>
+	<td>prov:specializationOf</td>
+</tr>
+<tr>
+	<td colspan="3" style="border-width: 0px; "></td>
+</tr>
+<tr class="component6-color">
+	<td><a href="#term-Collection">Collection</a></td>
+	<td>prov:Collection</td>
+	<td>prov:collection</td>
+	<td rowspan="3"><a href="#component6">Component 6: Collections</a></td>
+</tr>
+<tr class="component6-color">
+	<td><a href="#term-EmptyCollection">Empty Collection</a></td>
+	<td>prov:EmptyCollection</td>
+	<td>prov:emptyCollection</td>
+</tr>
+<tr class="component6-color">
+	<td><a href="#term-Membership">Membership</a></td>
+	<td>prov:Membership</td>
+	<td>prov:hadMember</td>
+</tr>
+</tbody></table>
+</div>
+
+<p>In the rest of the section, each type is defined, in English initially, followed by its XML schema definition and some example.</p>  
+
+<section id="component1"> 
+<h3><span class="secno">3.1 </span>Component 1: Entities and Activities</h3>
+
+<p>The first component of PROV-DM is concerned with <a title="entity" href="#term-Entity">entities</a> and <a title="activity" href="#term-Activity">activities</a>, and their inter-relations: <a href="#term-Usage">Usage</a>, <a href="#term-Generation">Generation</a>, <a href="#term-Start">Start</a>, <a href="#term-End">End</a>, and <a href="#term-Communication">Communication</a>. </p>
+
+<section id="term-Entity"> 
+<h4><span class="secno">3.1.1 </span>Entity</h4>
+<span class="glossary-ref">   An <span class="dfn">entity</span> is a physical, digital, conceptual, or other kind of thing with some fixed aspects; entities may be real or imaginary. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Entity"&gt;
+  &lt;xs:sequence&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:value" minOccurs="0"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;  
+</pre>
+<p>The element <code>prov:entity</code> is used to reference a prov:Entity from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="entity" type="prov:Entity"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 6</span>: prov:entity</div><pre class="example">&lt;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#"&gt;
+
+  <b>&lt;prov:entity prov:id="tr:WD-prov-dm-20111215"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;document&lt;/prov:type&gt;
+    &lt;ex:version&gt;2&lt;/ex:version&gt;
+  &lt;/prov:entity&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-Activity"> 
+<h4><span class="secno">3.1.2 </span>Activity</h4>
+<span class="glossary-ref">   An <span class="dfn">activity</span>  is something that occurs over a period of time and acts upon or with entities;  it may include consuming, processing, transforming, modifying, relocating, using, or generating entities.  </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Activity"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="startTime" type="xs:dateTime" minOccurs="0"/&gt; 
+    &lt;xs:element name="endTime" type="xs:dateTime" minOccurs="0"/&gt;
+    &lt;!-- prov attributes --&gt; 
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:activity</code> is used to reference a prov:Activity from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="activity" type="prov:Activity"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 7</span>: prov:activity</div><pre class="example">&lt;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#"&gt;
+
+  <b>&lt;prov:activity prov:id="a1"&gt;
+    &lt;prov:startTime&gt;2011-11-16T16:05:00&lt;/prov:startTime&gt;
+    &lt;prov:endTime&gt;2011-11-16T16:06:00&lt;/prov:endTime&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;ex:edit&lt;/prov:type&gt;
+    &lt;ex:host&gt;server.example.org&lt;/ex:host&gt;
+  &lt;/prov:activity&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-Generation">
+<h4><span class="secno">3.1.3 </span>Generation</h4>
+<span class="glossary-ref">   <span class="dfn">Generation</span> is the completion of production of a new entity by an activity. This entity did not exist before generation and becomes available for usage after this generation. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Generation"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="entity" type="prov:IDRef"/&gt;
+    &lt;xs:element name="activity" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;xs:element name="time" type="xs:dateTime" minOccurs="0"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasGeneratedBy</code> is used to reference a prov:Generation from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasGeneratedBy" type="prov:Generation"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 8</span>: prov:wasGeneratedBy</div><pre class="example">&lt;prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:ex="http://example.com/ns/ex#"&gt;
+
+  &lt;prov:entity prov:id="e1"/&gt;
+
+  &lt;prov:activity prov:id="a1"/&gt;
+
+  <b>&lt;prov:wasGeneratedBy&gt;
+    &lt;prov:entity prov:ref="e1"/&gt;
+    &lt;prov:activity prov:ref="a1"/&gt;
+    &lt;prov:time&gt;2001-10-26T21:32:52&lt;/prov:time&gt;
+    &lt;ex:port&gt;p1&lt;/ex:port&gt;
+  &lt;/prov:wasGeneratedBy&gt;</b>
+
+  &lt;prov:entity prov:id="e2"/&gt;
+
+  <b>&lt;prov:wasGeneratedBy&gt;
+    &lt;prov:entity prov:ref="e2"/&gt;
+    &lt;prov:activity prov:ref="a1"/&gt;
+    &lt;prov:time&gt;2001-10-26T10:00:00&lt;/prov:time&gt;
+    &lt;ex:port&gt;p2&lt;/ex:port&gt;
+  &lt;/prov:wasGeneratedBy&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-Usage">
+<h4><span class="secno">3.1.4 </span>Usage</h4>
+<span class="glossary-ref">   <span class="dfn">Usage</span> is the beginning of utilizing an entity by an activity. Before usage, the activity had not begun to utilize this entity and could not have been affected by the entity. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Usage"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="activity" type="prov:IDRef"/&gt;
+    &lt;xs:element name="entity" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;xs:element name="time" type="xs:dateTime" minOccurs="0"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+&lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:used</code> is used to reference a prov:Usage from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="used" type="prov:Usage"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 9</span>: prov:used</div><pre class="example">&lt;prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:ex="http://example.com/ns/ex#"&gt;
+
+  &lt;prov:activity prov:id="a1"/&gt;
+
+  &lt;prov:entity prov:id="e1"/&gt;
+
+  &lt;prov:entity prov:id="e2"/&gt;
+
+  <b>&lt;prov:used&gt;
+    &lt;prov:activity prov:ref="a1"/&gt;
+    &lt;prov:entity prov:ref="e1"/&gt;
+    &lt;prov:time≶2011-11-16T16:00:00&lt;/prov:time&gt;
+    &lt;ex:parameter&gt;p1&lt;/ex:parameter&gt;
+  &lt;/prov:used&gt;</b>
+
+  <b>&lt;prov:used&gt;
+    &lt;prov:activity prov:ref="a1"/&gt;
+    &lt;prov:entity prov:ref="e2"/&gt;
+    &lt;prov:time&gt;2011-11-16T16:00:01&lt;/prov:time&gt;
+    &lt;ex:parameter&gt;p2&lt;/ex:parameter&gt;
+  &lt;/prov:used&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-Communication">
+<h4><span class="secno">3.1.5 </span>Communication</h4>
+<span class="glossary-ref">   <span class="dfn">Communication</span> is the exchange of some unspecified entity by two activities, one activity using some entity generated by the other. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Communication"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="informed" type="prov:IDRef"/&gt;
+    &lt;xs:element name="informant" type="prov:IDRef"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasInformedBy</code> is used to reference a prov:Communication from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasInformedBy" type="prov:Communication"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 10</span>: prov:wasInformedBy</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:activity prov:id="a1"&gt;
+    &lt;prov:type xsi:type="xsd:string"&gt;traffic regulations enforcing&lt;prov:type&gt;
+  &lt;/prov:activity&gt;
+
+  &lt;prov:activity prov:id="a2"&gt;
+    &lt;prov:type xsi:type="xsd:string"&gt;fine paying, check writing, and mailing&lt;/prov:type&gt;
+  &lt;/prov:activity&gt;
+
+  <b>&lt;prov:wasInformedBy&gt;
+    &lt;prov:informed prov:ref="a2"/&gt;
+    &lt;prov:informant prov:ref="a1"/&gt;
+  &lt;/prov:wasInformedBy&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-Start">
+<h4><span class="secno">3.1.6 </span>Start</h4>
+<span class="glossary-ref">   <span class="dfn">Start</span> is when an activity is deemed to have been started by an entity, known as <span class="dfn">trigger</span>.  The activity did not exist before its start. Any usage, generation, or invalidation involving an activity follows the activity's start. A start may refer to a trigger entity that set off the activity, or to an activity, known as <span class="dfn">starter</span>, that generated the trigger. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Start"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="activity" type="prov:IDRef"/&gt;
+    &lt;xs:element name="trigger" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;xs:element name="starter" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;xs:element name="time" type="xs:dateTime" minOccurs="0"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasStartedBy</code> is used to reference a prov:Start from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasStartedBy" type="prov:Start"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 11</span>: prov:wasStartedBy</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="e1"&gt;
+    &lt;prov:type xsi:type="xsd:string"&gt;email message&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  &lt;prov:activity prov:id="a1"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;Discuss&lt;/prov:type&gt;
+  &lt;/prov:activity&gt;
+
+  <b>&lt;prov:wasStartedBy&gt;
+    &lt;prov:activity prov:ref="a1"/&gt;
+    &lt;prov:trigger prov:ref="e1"/&gt;
+    &lt;prov:time&gt;2011-11-16T16:05:00&lt;/prov:time&gt;
+  &lt;/prov:wasStartedBy&gt;</b>
+
+  &lt;prov:used&gt;
+    &lt;prov:activity prov:ref="a1"/&gt;
+    &lt;prov:entity prov:ref="e1"/&gt;
+  &lt;/prov:used&gt;
+
+  &lt;prov:activity prov:id="a0"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;Write&lt;/prov:type&gt;
+  &lt;/prov:activity&gt;
+
+  &lt;prov:wasGeneratedBy&gt;
+    &lt;prov:entity prov:ref="e1"/&gt;
+    &lt;prov:activity prov:ref="a0"/&gt;
+  &lt;/prov:wasGeneratedBy&gt;
+
+  <b>&lt;prov:wasStartedBy&gt;
+    &lt;prov:activity prov:ref="a1"/&gt;
+    &lt;prov:trigger prov:ref="e1"/&gt;
+    &lt;prov:starter prov:ref="a0"/&gt;
+    &lt;prov:time&gt;2011-11-16T16:05:00&lt;/prov:time&gt;
+  &lt;/prov:wasStartedBy&gt;</b>
+
+  <b>&lt;prov:wasStartedBy&gt;
+    &lt;prov:activity prov:ref="a1"/&gt;
+    &lt;prov:starter prov:ref="a0"/&gt;
+    &lt;prov:time&gt;2011-11-16T16:05:00&lt;/prov:time&gt;
+  &lt;/prov:wasStartedBy&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-End">
+<h4><span class="secno">3.1.7 </span>End</h4>
+<span class="glossary-ref">   <span class="dfn">End</span> is when an activity is deemed to have been ended by an entity, known as <span class="dfn">trigger</span>.  The activity no longer exists after its end. Any usage, generation, or invalidation involving an activity precedes the activity's end. An end may refer to a trigger entity that terminated the activity, or to an activity, known as <span class="dfn">ender</span> that generated the trigger. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="End"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="activity" type="prov:IDRef"/&gt;
+    &lt;xs:element name="trigger" type="prov:IDRef"  minOccurs="0"/&gt;
+    &lt;xs:element name="ender" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;xs:element name="time" type="xs:dateTime" minOccurs="0"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasEndedBy</code> is used to reference a prov:End from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasEndedBy" type="prov:End"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 12</span>: prov:wasEndedBy</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="e1"&gt;
+    &lt;prov:type xsi:type="xsd:string"&gt;approval document&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  &lt;prov:activity prov:id="a1"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;Editing&lt;/prov:type&gt;
+  &lt;/prov:activity&gt;
+
+  <b>&lt;prov:wasEndedBy&gt;
+    &lt;prov:activity prov:ref="a1"/&gt;
+    &lt;prov:trigger prov:ref="e1"/&gt;
+  &lt;/prov:wasEndedBy&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-Invalidation">
+<h4><span class="secno">3.1.8 </span>Invalidation</h4>
+<span class="glossary-ref">   <span class="dfn">Invalidation</span> is the start of the destruction, cessation, or expiry of an existing entity by an activity. The entity is no longer available for use (or further invalidation) after invalidation. Any generation or usage of an entity precedes its invalidation.</span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Invalidation"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="entity" type="prov:IDRef"/&gt;
+    &lt;xs:element name="activity" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;xs:element name="time" type="xs:dateTime" minOccurs="0"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasInvalidatedBy</code> is used to reference a prov:Invalidation from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasInvalidatedBy" type="prov:Invalidation"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 13</span>: prov:wasInvalidatedBy</div><pre class="example">&lt;prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:ex="http://example.com/ns/ex#"
+    xmlns:bbc="http://www.bbc.co.uk/news/"&gt;
+
+  &lt;prov:entity prov:id="ex:The-Painter"/&gt;
+
+  &lt;prov:agent prov:id="ex:Picasso"/&gt;
+
+  &lt;prov:wasAttributedTo&gt;
+    &lt;prov:entity prov:ref="ex:The-Painter" /&gt;
+    &lt;prov:agent prov:ref="ex:Picasso" /&gt;
+  &lt;/prov:wasAttributedTo&gt;
+
+  &lt;prov:activity prov:id="ex:crash"/&gt;
+
+  <b>&lt;prov:wasInvalidatedBy&gt;
+    &lt;prov:entity prov:ref="ex:The-Painter"/&gt;
+    &lt;prov:activity prov:ref="ex:crash"/&gt;
+    &lt;prov:time&gt;1998-09-03T01:31:00&lt;/prov:time&gt;
+    &lt;ex:circumstances&gt;plane accident&lt;/ex:circumstances&gt;
+  &lt;/prov:wasInvalidatedBy&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+</section> 
+
+<section id="component2"> 
+<h3><span class="secno">3.2 </span>Component 2: Derivations</h3>
+
+<p>The second component of PROV-DM is concerned with: <a title="derivation" href="#term-Derivation">derivations</a> of <a title="entity">entities</a> from other entities and derivation subtypes WasRevisionOf (<a href="#term-Revision">Revision</a>), WasQuotedFrom (<a href="#term-Quotation">Quotation</a>), and HasPrimarySource (<a href="#term-PrimarySource">Primary Source</a>).</p>
+
+<section id="term-Derivation">
+<h4><span class="secno">3.2.1 </span>Derivation</h4>
+<span class="glossary-ref">   A <span class="dfn">derivation</span>  is a transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a pre-existing entity.</span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Derivation"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="generatedEntity" type="prov:IDRef"/&gt;
+    &lt;xs:element name="usedEntity" type="prov:IDRef"/&gt;
+    &lt;xs:element name="activity" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;xs:element name="generation" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;xs:element name="usage" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasDerivedFrom</code> is used to reference a prov:Derivation from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasDerivedFrom" type="prov:Derivation"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 14</span>: prov:wasDerivedFrom</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="e1"/&gt;
+
+  &lt;prov:entity prov:id="e2"/&gt;
+
+  <b>&lt;prov:wasDerivedFrom&gt;
+    &lt;prov:generatedEntity prov:ref="e2"/&gt;
+    &lt;prov:usedEntity prov:ref="e1"/&gt;
+  &lt;/prov:wasDerivedFrom&gt;</b>
+
+  <b>&lt;prov:wasDerivedFrom&gt;
+    &lt;prov:generatedEntity prov:ref="e2"/&gt;
+    &lt;prov:usedEntity prov:ref="e1"/&gt;
+    &lt;prov:type xsi:type="xsd:string"&gt;physical transform&lt;/prov:type&gt;
+  &lt;/prov:wasDerivedFrom&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-Revision">
+<h4><span class="secno">3.2.2 </span>Revision</h4>
+<span class="glossary-ref">   A <span class="dfn">revision</span>   is a derivation for which the resulting entity is a revised version of some original. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Revision"&gt;
+  &lt;xs:complexContent&gt;
+    &lt;xs:extension base="prov:Derivation"&gt;
+    &lt;/xs:extension&gt;
+  &lt;/xs:complexContent&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasRevisionOf</code> is used to reference a prov:Revision from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasRevisionOf" type="prov:Revision"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 15</span>: prov:wasRevisionOf</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="tr:WD-prov-dm-20111215"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;rec54:WD&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  &lt;prov:entity prov:id="tr:WD-prov-dm-20111018"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;rec54:WD&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  <b>&lt;prov:wasRevisionOf&gt;
+    &lt;prov:generatedEntity prov:ref="tr:WD-prov-dm-20111215"/&gt;
+    &lt;prov:usedEntity prov:ref="tr:WD-prov-dm-20111018"/&gt;
+  &lt;/prov:wasRevisionOf&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section>  
+
+<section id="term-Quotation">
+<h4><span class="secno">3.2.3 </span>Quotation</h4>
+<span class="glossary-ref">   A <span class="dfn">quotation</span>  is the repeat of (some or all of) an entity, such as text or image, by someone who may or may not be its original author. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Quotation"&gt;
+  &lt;xs:complexContent&gt;
+    &lt;xs:extension base="prov:Derivation"&gt;
+    &lt;/xs:extension&gt;
+  &lt;/xs:complexContent&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasQuotedFrom</code> is used to reference a prov:Quotation from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasQuotedFrom" type="prov:Quotation"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 16</span>: prov:wasQuotedFrom</div><pre class="example">&lt;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#"
+    xmlns:dm="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html#"&gt;
+
+  &lt;prov:entity prov:id="wp:thoughts-from-the-dagstuhl-principles-of-provenance-workshop"/&gt;
+
+  &lt;prov:entity prov:id="dm:bl-dagstuhl"/&gt;
+
+  &lt;prov:person prov:id="ex:Luc"/&gt;
+
+  &lt;prov:person prov:id="ex:Paul"/&gt;
+
+  <b>&lt;prov:wasQuotedFrom&gt;
+    &lt;prov:generatedEntity prov:ref="dm:gl-dagstuhl"/&gt;
+    &lt;prov:usedEntity prov:ref="wp:thoughts-from-the-dagstuhl-principles-of-provenance-workshop"/&gt;
+  &lt;/prov:wasQuotedFrom&gt;</b>
+
+  &lt;prov:wasAttributedTo&gt;
+    &lt;prov:entity prov:ref="dm:bl-dagstuhl"/&gt;
+    &lt;prov:agent prov:ref="ex:Luc"/&gt;
+  &lt;/prov:wasAttributedTo&gt;
+
+  &lt;prov:wasAttributedTo&gt;
+    &lt;prov:entity prov:ref="wp:thoughts-from-the-dagstuhl-principles-of-provenance-workshop"/&gt;
+    &lt;prov:agent prov:ref="ex:Paul"/&gt;
+  &lt;/prov:wasAttributedTo&gt;
+
+&lt;/prov:document&gt;</pre></div>
+</section>  
+
+<section id="term-PrimarySource">
+<h4><span class="secno">3.2.4 </span>Primary Source</h4>
+<span class="glossary-ref">   A <span class="dfn">primary source</span>  for a topic refers to something produced by some agent with direct experience and knowledge about the topic, at the time of the topic's study, without benefit from hindsight. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="PrimarySource"&gt;
+  &lt;xs:complexContent&gt;
+    &lt;xs:extension base="prov:Derivation"&gt;
+    &lt;/xs:extension&gt;
+  &lt;/xs:complexContent&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:hadPrimarySource</code> is used to reference a prov:PrimarySource from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="hadPrimarySource" type="prov:PrimarySource"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 17</span>: prov:hadPrimarySource</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="ex:la-campagne-de-Russie-1812-1813"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;map&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  &lt;prov:entity prov:id="ex:revue-d-Histoire-de-la-Pharmacie-t-XVIII"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;journal&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  <b>&lt;prov:hadPrimarySource&gt;
+    &lt;prov:generatedEntity prov:ref="ex:la-campagne-de-Russie-1812-1813"/&gt;
+    &lt;prov:usedEntity prov:ref="ex:revue-d-Histoire-de-la-Pharmacie-t-XVIII"/&gt;
+  &lt;/prov:hadPrimarySource&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section>  
+
+</section>  
+
+<section id="component3">
+<h3><span class="secno">3.3 </span>Component 3: Agents, Responsibility, and Influence</h3>
+
+<p>The third component of PROV-DM is concerned with <a title="agent">agents</a> and the relations WasAttributedTo
+(<a href="#term-Attribution">Attribution</a>), WasAssociatedWith (<a href="#term-Association">Association</a>), ActedOnBehalfOf (<a href="#term-Delegation">Delegation</a>), relating agents to entities, activities, and agents, respectively.</p>
+
+<section id="term-Agent">
+<h4><span class="secno">3.3.1 </span>Agent</h4>
+<span class="glossary-ref">   An <span class="dfn">agent</span> is something that bears some form of responsibility for an activity taking place, for the existence of an entity, or for another agent's activity. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Agent"&gt;
+  &lt;xs:sequence&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:agent</code> is used to reference a prov:Agent from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="agent" type="prov:Agent"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 18</span>: prov:agent</div><pre class="example">&lt;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#"&gt;
+
+  <b>&lt;prov:agent prov:id="e1"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;prov:Person&lt;/prov:type&gt;
+    &lt;ex:name&gt;Alice&lt;/ex:name&gt;
+    &lt;ex:employee&gt;1234&lt;/ex:employee&gt;
+  &lt;/prov:agent&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+
+<section id="term-Person">
+<h5><span class="secno">3.3.1.1 </span>Person</h5>
+<span class="glossary-ref">   Agents of type <span class="dfn">Person</span>  are people. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Person"&gt;
+  &lt;xs:complexContent&gt;
+    &lt;xs:extension base="prov:Agent"&gt;
+    &lt;/xs:extension&gt;
+  &lt;/xs:complexContent&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:person</code> is used to reference a prov:Person from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="person" type="prov:Person"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 19</span>: prov:person</div><pre class="example">&lt;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#"&gt;
+
+  <b>&lt;prov:person prov:id="ex:Paolo" /&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-Organization">
+<h5><span class="secno">3.3.1.2 </span>Organization</h5>
+<span class="glossary-ref">   Agents of type <span class="dfn">Organization</span>  are social or legal institutions such as companies, societies, etc. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Organization"&gt;
+  &lt;xs:complexContent&gt;
+    &lt;xs:extension base="prov:Agent"&gt;
+    &lt;/xs:extension&gt;
+  &lt;/xs:complexContent&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:organization</code> is used to reference a prov:Organization from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="organization" type="prov:Organization"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 20</span>: prov:organization</div><pre class="example">&lt;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#"&gt;
+
+  <b>&lt;prov:organization prov:id="w3:Consortium" /&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-SoftwareAgent">
+<h5><span class="secno">3.3.1.3 </span>Software Agent</h5>
+<span class="glossary-ref">   A <span class="dfn">SoftwareAgent</span>  is running software. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="SoftwareAgent"&gt;
+  &lt;xs:complexContent&gt;
+    &lt;xs:extension base="prov:Agent"&gt;
+    &lt;/xs:extension&gt;
+  &lt;/xs:complexContent&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:softwareAgent</code> is used to reference a prov:SoftwareAgent from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="softwareAgent" type="prov:SoftwareAgent"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 21</span>: prov:softwareAgent</div><pre class="example">&lt;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#"&gt;
+
+  <b>&lt;prov:softwareAgent prov:id="ag" /&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+</section> 
+
+<section id="term-Attribution">
+<h4><span class="secno">3.3.2 </span>Attribution</h4>
+<span class="glossary-ref">   <span class="dfn">Attribution</span> is the ascribing of an entity to an agent. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Attribution"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="entity" type="prov:IDRef"/&gt;
+    &lt;xs:element name="agent" type="prov:IDRef"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasAttributedTo</code> is used to reference a prov:Attribution from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasAttributedTo" type="prov:Attribution"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 22</span>: prov:wasAttributedTo</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:agent prov:id="ex:Paolo"&gt;
+    &lt;prov:typexsi:type="xsd:QName"&gt;prov:Person&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:agent prov:id="ex:Simon"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;prov:Person&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:entity prov:id="tr:WD-prov-dm-20111215"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;rec54:WD&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  <b>&lt;prov:wasAttributedTo&gt;
+    &lt;prov:entity prov:ref="rec54:WD"/&gt;
+    &lt;prov:agent prov:ref="ex:Paolo"/&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;editorship&lt;/prov:type&gt;
+  &lt;/prov:wasAttributedTo&gt;</b>
+
+  <b>&lt;prov:wasAttributedTo&gt;
+    &lt;prov:entity prov:ref="rec54:WD"/&gt;
+    &lt;prov:agent prov:ref="ex:Simon"/&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;authorship&lt;/prov:type&gt;
+  &lt;/prov:wasAttributedTo&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section>  
+
+<section id="term-Association">
+<h4><span class="secno">3.3.3 </span>Association</h4>
+<span class="glossary-ref">   An activity <span class="dfn">association</span> is an assignment of responsibility to an agent for an activity, indicating that the agent had a role in the activity. It further allows for a plan to be specified, which is the plan intended by the agent to achieve some goals in the context of this activity. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Association"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="activity" type="prov:IDRef"/&gt;
+    &lt;xs:element name="agent" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;xs:element name="plan" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasAssociatedWith</code> is used to reference a prov:Association from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasAssociatedWith" type="prov:Association"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 23</span>: prov:wasAssociatedWith</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:activity prov:id="a"&gt;
+    &lt;prov:type xsi:type="xsd:string"&gt;workflow execution&lt;/prov:type&gt;
+  &lt;/prov:activity&gt;
+
+  &lt;prov:agent prov:id="ag1"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;operator&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:agent prov:id="ag2"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;designator&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  <b>&lt;prov:wasAssociatedWith&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:agent prov:ref="ag1"/&gt;
+    &lt;prov:role xsi:type="xsd:QName"&gt;loggedInUser&lt;/prov:role&gt;
+    &lt;ex:how&gt;webapp&lt;/ex:how&gt;
+  &lt;/prov:wasAssociatedWith&gt;</b>
+
+  <b>&lt;prov:wasAssociatedWith&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:agent prov:ref="ag2"/&gt;
+    &lt;prov:plan prov:ref="ex:wf"/&gt;
+    &lt;prov:role xsi:type="xsd:QName"&gt;designer&lt;/prov:role&gt;
+    &lt;ex:content&gt;project1&lt;/ex:content&gt;
+  &lt;/prov:wasAssociatedWith&gt;</b>
+
+  &lt;prov:plan prov:id="ex:wf"&gt;
+    &lt;ex:label&gt;Workflow 1&lt;/ex:label&gt;
+    &lt;prov:location xsi:type="xsd:anyURI"&gt;http://example.org/workflow1.bpel&lt;/prov:location&gt;
+  &lt;/prov:plan&gt;
+
+&lt;/prov:document&gt;</pre></div>
+
+<section id="term-Plan">
+<h5><span class="secno">3.3.3.1 </span>Plan</h5>
+<span class="glossary-ref">   A <span class="dfn">plan</span> is an entity that represents a set of actions or steps intended by one or more agents to achieve some goals.  </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Plan"&gt;
+  &lt;xs:complexContent&gt;
+    &lt;xs:extension base="prov:Entity"&gt;
+    &lt;/xs:extension&gt;
+  &lt;/xs:complexContent&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:plan</code> is used to reference a prov:Plan from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="plan" type="prov:Plan"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 24</span>: prov:plan</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:activity prov:id="a"&gt;
+    &lt;prov:type xsi:type="xsd:string"&gt;workflow execution&lt;/prov:type&gt;
+  &lt;/prov:activity&gt;
+
+  &lt;prov:agent prov:id="ag1"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;operator&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:agent prov:id="ag2"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;designator&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:wasAssociatedWith&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:agent prov:ref="ag1"/&gt;
+    &lt;prov:role xsi:type="xsd:QName"&gt;loggedInUser&lt;/prov:role&gt;
+    &lt;ex:how&gt;webapp&lt;/ex:how&gt;
+  &lt;/prov:wasAssociatedWith&gt;
+
+  &lt;prov:wasAssociatedWith&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:agent prov:ref="ag2"/&gt;
+    &lt;prov:plan prov:ref="ex:wf"/&gt;
+    &lt;prov:role xsi:type="xsd:QName"&gt;designer&lt;/prov:role&gt;
+    &lt;ex:content&gt;project1&lt;/ex:content&gt;
+  &lt;/prov:wasAssociatedWith&gt;
+
+  <b>&lt;prov:plan prov:id="ex:wf"&gt;
+    &lt;ex:label&gt;Workflow 1&lt;/ex:label&gt;
+    &lt;prov:location xsi:type="xsd:anyURI"&gt;http://example.org/workflow1.bpel&lt;/prov:location&gt;
+  &lt;/prov:plan&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+</section>  
+
+<section id="term-Delegation">
+<h4><span class="secno">3.3.4 </span>Delegation</h4>
+<span class="glossary-ref">   <span class="dfn">Delegation</span> is the assignment of authority and responsibility to an agent (by itself or by another agent)  to carry out a specific activity as a delegate or representative, while the agent it acts on behalf of retains some responsibility for the outcome of the delegated work. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Delegation"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="delegate" type="prov:IDRef"/&gt;
+    &lt;xs:element name="responsible" type="prov:IDRef"/&gt;
+    &lt;xs:element name="activity" type="prov:IDRef" minOccurs="0"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:actedOnBehalfOf</code> is used to reference a prov:Delegation from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="actedOnBehalfOf" type="prov:Delegation"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 25</span>: prov:actedOnBehalfOf</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:activity prov:id="a"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;workflow&lt;/prov:type&gt;
+  &lt;/prov:activity&gt;
+
+  &lt;prov:agent prov:id="ag1"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;programmer&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:agent prov:id="ag2"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;researcher&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:agent prov:id="ag3"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;funder&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:wasAssociatedWith&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:agent prov:ref="ag1"/&gt;
+    &lt;prov:role xsi:type="xsd:QName"&gt;loggedInUser&lt;/prov:role&gt;
+  &lt;/prov:wasAssociatedWith&gt;
+
+  &lt;prov:wasAssociatedWith&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:agent prov:ref="ag2"/&gt;
+  &lt;/prov:wasAssociatedWith&gt;
+
+  &lt;prov:wasAssociatedWith&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:agent prov:ref="ag3"/&gt;
+  &lt;/prov:wasAssociatedWith&gt;
+
+  <b>&lt;prov:actedOnBehalfOf&gt;
+    &lt;prov:delegate prov:ref="ag1"/&gt;
+    &lt;prov:responsible prov:ref="ag2"/&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;line-management&lt;/prov:type&gt;
+  &lt;/prov:actedOnBehalfOf&gt;</b>
+
+  <b>&lt;prov:actedOnBehalfOf&gt;
+    &lt;prov:delegate prov:ref="ag2"/&gt;
+    &lt;prov:responsible prov:ref="ag3"/&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;contract&lt;/prov:type&gt;
+  &lt;/prov:actedOnBehalfOf&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-Influence">
+<h4><span class="secno">3.3.5 </span>Influence</h4>
+<span class="glossary-ref">   <span class="dfn">Influence</span> is the capacity of an entity, activity, or agent to have an effect on the character, development, or behavior of another by means of usage, start, end, generation, invalidation, communication, derivation, attribution, association, or delegation. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Influence"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="influencee" type="prov:IDRef"/&gt;
+    &lt;xs:element name="influencer" type="prov:IDRef"/&gt;
+    &lt;!-- prov attributes --&gt;
+    &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:wasInfluencedBy</code> is used to reference a prov:Influence from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasInfluencedBy" type="prov:Influence"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 26</span>: prov:wasInfluencedBy</div><pre class="example" id="example_38">&lt;prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:tr="http://example.com/ns/tr#"
+    xmlns:w3="http://w3.org/"&gt;
+
+  &lt;prov:entity prov:id="tr:WD-prov-dm-20111215"/&gt;
+
+  &lt;prov:agent prov:id="w3:Consortium"/&gt;
+
+  <b>&lt;prov:wasInfluencedBy&gt;
+    &lt;prov:influencee prov:ref="tr:WD-prov-dm-20111215"/&gt;
+    &lt;prov:influencer prov:ref="w3:Consortium"/&gt;
+  &lt;/prov:wasInfluencedBy&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+</section> 
+
+<section id="component4">
+<h3><span class="secno">3.4 </span>Component 4: Bundles</h3>
+<p>The fourth component is concerned with bundles, a mechanism to support provenance of provenance.</p>
+<section id="term-Bundle">
+<h4><span class="secno">3.4.1 </span>Bundle</h4>
+<span class="glossary-ref"> A <span class="dfn">bundle</span> is a named set of provenance descriptions, and is itself an entity, so allowing provenance of provenance to be expressed.  </span>
+<p>A <code>prov:Bundle</code> identifies a set of provenance descriptions, and is an extension of <code>prov:Entity</code>, so allowing provenance of provenance to be expressed by referencing the associated entity. The content of a bundle, i.e. its provenance records, can be represented by the <code>prov:BundleConstructor</code> complexType and can be specified with the <code>prov:bundleContent</code> element, its <code>prov:id</code> corresponds to the bundle entity.</p>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Bundle"&gt;
+  &lt;xs:complexContent&gt;
+    &lt;xs:extension base="prov:Entity"&gt;
+    &lt;/xs:extension&gt;
+  &lt;/xs:complexContent&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:bundle</code> is used to reference a prov:Bundle from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="bundle" type="prov:Bundle"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 27</span>: prov:bundle</div><pre class="example">&lt;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#"
+    xmlns:alice="http://example.com/ns/alice#"
+    xmlns:agg="http://example.com/ns/agg#"&gt;
+
+  <b>&lt;prov:bundle prov:id="ex:bundle1"&gt;
+    &lt;ex:version&gt;1&lt;/ex:version&gt;
+  &lt;/prov:bundle&gt;</b>
+    
+  &lt;prov:bundleContent prov:id="ex:bundle1"&gt;
+    &lt;prov:entity prov:id="ex:report1"/&gt;
+    
+    &lt;prov:entity prov:id="ex:report2"&gt;
+      &lt;prov:type xsi:type="xsd:QName"&gt;report&lt;/prov:type&gt;
+      &lt;ex:version&gt;2&lt;/ex:version&gt;
+    &lt;/prov:entity&gt;
+    
+    &lt;prov:wasGeneratedBy&gt;
+      &lt;prov:entity prov:ref="ex:report2"/&gt;
+      &lt;prov:time&gt;2012-05-25T11:00:01&lt;/prov:time&gt;
+    &lt;/prov:wasGeneratedBy&gt;
+    
+    &lt;prov:wasDerivedFrom&gt;
+      &lt;prov:generatedEntity prov:ref="ex:report2"/&gt;
+      &lt;prov:usedEntity prov:ref="ex:report1"/&gt;
+    &lt;/prov:wasDerivedFrom&gt;
+  &lt;/prov:bundleContent&gt;
+  
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-BundleConstructor">
+<h4><span class="secno">3.4.2 </span>Bundle Constructor</h4>
+<p>The <code>prov:BundleConstructor</code> complexType is used to define a named set of provenance statements.  The Bundle Constructor type supports the <code>prov:id</code> attribute.</p>
+<p>The bundle entity associated with a bundle constructor set must have the same <code>prov:id</code> as the bundle constructor set.</p>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="BundleConstructor"&gt;
+  &lt;xs:sequence maxOccurs="unbounded"&gt;
+    <span class="delete">&lt;xs:group ref="prov:documentElements"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0"/&gt;</span><span class="insert">&lt;-- references to standard non-PROV attribute PROV elements --&gt;</span>
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:bundleContent</code> is used to reference a set of nested provenance statements from within a prov:Document.</p>
+<p>Although <code>prov:bundleContent</code> can only be expressed at the <code>prov:document</code> level, the corresponding bundle entities may be specified at from either the <code>prov:document</code> or any <code>prov:bundleContent</code>, if at all.</p>
+<pre>&lt;xs:complexType name="Document"&gt;
+  &lt;xs:sequence maxOccurs="unbounded"&gt;
+    <span class="delete">&lt;xs:group ref="prov:documentElements"</span><span class="insert">&lt;!-- references to standard non-PROV attribute PROV elements --&gt;
+    &lt;xs:element name="bundleContent" type="prov:BundleConstructor"</span> minOccurs="0"/&gt;<span class="delete">
+    &lt;xs:element name="bundleContent" type="prov:BundleConstructor" minOccurs="0"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" /&gt;</span>
+  &lt;/xs:sequence&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 28</span>: prov:bundleContent</div><pre class="example">&lt;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#"
+    xmlns:alice="http://example.com/ns/alice#"
+    xmlns:agg="http://example.com/ns/agg#"&gt;
+
+  &lt;prov:bundle prov:id="ex:bundle1"&gt;
+    &lt;ex:version&gt;1&lt;/ex:version&gt;
+  &lt;/prov:bundle&gt;
+    
+  <b>&lt;prov:bundleContent prov:id="ex:bundle1"&gt;
+    &lt;prov:entity prov:id="ex:report1"/&gt;
+    
+    &lt;prov:entity prov:id="ex:report2"&gt;
+      &lt;prov:type xsi:type="xsd:QName"&gt;report&lt;/prov:type&gt;
+      &lt;ex:version&gt;2&lt;/ex:version&gt;
+    &lt;/prov:entity&gt;
+    
+    &lt;prov:wasGeneratedBy&gt;
+      &lt;prov:entity prov:ref="ex:report2"/&gt;
+      &lt;prov:time&gt;2012-05-25T11:00:01&lt;/prov:time&gt;
+    &lt;/prov:wasGeneratedBy&gt;
+    
+    &lt;prov:wasDerivedFrom&gt;
+      &lt;prov:generatedEntity prov:ref="ex:report2"/&gt;
+      &lt;prov:usedEntity prov:ref="ex:report1"/&gt;
+    &lt;/prov:wasDerivedFrom&gt;
+  &lt;/prov:bundleContent&gt;</b>
+  
+&lt;/prov:document&gt;</pre></div>
+</section> 
+</section> 
+
+<section id="component5"> 
+<h3><span class="secno">3.5 </span>Component 5: Alternate Entities</h3>
+<p>The fifth component of PROV-DM is concerned with
+relations SpecializationOf (<a href="#term-Specialization">Specialization</a>) and AlternateOf (<a href="#term-Alternate">Alternate</a>) between entities.</p>
+
+<section id="term-Specialization">
+<h4><span class="secno">3.5.1 </span>Specialization</h4>
+<span class="glossary-ref">   An entity that is a <span class="dfn">specialization</span> of another shares all aspects of the latter, and additionally presents more specific aspects of the same thing as the latter. In particular, the lifetime of the entity being specialized  contains that of any specialization. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Specialization"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="specificEntity" type="prov:IDRef"/&gt;
+    &lt;xs:element name="generalEntity" type="prov:IDRef"/&gt;
+  &lt;/xs:sequence&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:specializationOf</code> is used to reference a prov:Specialization from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="specializationOf" type="prov:Specialization"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 29</span>: prov:specializationOf</div><pre class="example">&lt;prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:ex="http://example.com/ns/ex#"
+    xmlns:bbc="http://www.bbc.co.uk/"&gt;
+
+  &lt;prov:entity prov:id="ex:bbcNews2012-03-23"/&gt;
+
+  &lt;prov:entity prov:id="bbc:news"/&gt;
+
+  <b>&lt;prov:specializationOf&gt;
+    &lt;prov:specificEntity prov:ref="ex:bbcNews2012-03-23"/&gt;
+    &lt;prov:generalEntity prov:ref="bbc:news"/&gt;
+  &lt;/prov:specializationOf&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="term-Alternate">
+<h4><span class="secno">3.5.2 </span>Alternate</h4>
+<span class="glossary-ref">   Two <span class="dfn">alternate</span> entities present aspects of the same thing. These aspects may be the same or different, and the alternate entities may or may not overlap in time.  </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Alternate"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="alternate1" type="prov:IDRef"/&gt;
+    &lt;xs:element name="alternate2" type="prov:IDRef"/&gt;
+  &lt;/xs:sequence&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:alternateOf</code> is used to reference a prov:Alternate from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="alternateOf" type="prov:Alternate"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 30</span>: prov:alternateOf</div><pre class="example">&lt;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"&gt;
+
+  &lt;prov:entity prov:id="bbc:science-environment-17526723"&gt;
+    &lt;prov:type xsi:type="xsd:string"&gt;a news item for desktop&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  &lt;prov:entity prov:id="bbcmobile:science-environment-17526723"&gt;
+    &lt;prov:type xsi:type="xsd:string"&gt;a news item for mobile devices&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  <b>&lt;prov:alternateOf&gt;
+    &lt;prov:alternate1 prov:ref="bbcmobile:science-environment-17526723"/&gt;
+    &lt;prov:alternate2 prov:ref="bbc:science-environment-17526723"/&gt;
+  &lt;/prov:alternateOf&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+</section> 
+
+
+<section id="component6"> 
+<h3><span class="secno">3.6 </span>Component 6: Collections</h3>
+<p>The sixth component of PROV-DM is concerned with the notion of collections. 
+A collection is an entity that has some members. The members are themselves entities, and therefore their provenance can be expressed. Some applications need to be able to express the provenance of the collection  itself: e.g. who maintains the collection (attribution), which members it contains as it evolves, and how it was assembled. The purpose of Component 6 is to define the types and relations that are useful to express the provenance of collections.  </p>
+
+<section id="term-Collection">
+<h4><span class="secno">3.6.1 </span>Collection</h4>
+<span class="glossary-ref">   A <span class="dfn">collection</span> is an entity that provides a structure to some constituents that must themselves be entities. These constituents are said to be <span class="dfn">member</span> of the collections.  </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Collection"&gt;
+  &lt;xs:complexContent&gt;
+    &lt;xs:extension base="prov:Entity"&gt;
+    &lt;/xs:extension&gt;
+  &lt;/xs:complexContent&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:collection</code> is used to reference a prov:Collection from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="collection" type="prov:Collection"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 31</span>: prov:collection</div><pre class="example">&lt;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#"&gt;
+
+  <b>&lt;prov:collection prov:id="c1" /&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+
+<section id="term-EmptyCollection">
+<h5><span class="secno">3.6.1.1 </span>Empty Collection</h5>
+<span class="glossary-ref">   An <span class="dfn">empty collection</span> is a collection without members.  </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="EmptyCollection"&gt;
+  &lt;xs:complexContent&gt;
+    &lt;xs:extension base="prov:Collection"&gt;
+    &lt;/xs:extension&gt;
+  &lt;/xs:complexContent&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:emptyCollection</code> is used to reference a prov:EmptyCollection from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="emptyCollection" type="prov:EmptyCollection"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 32</span>: prov:emptyCollection</div><pre class="example">&lt;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"&gt;
+    
+    <b>&lt;prov:emptyCollection prov:id="c0"/&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+</section>  
+
+<section id="term-Membership">
+<h4><span class="secno">3.6.2 </span>Membership</h4>
+<span class="glossary-ref"> <span class="dfn">Membership</span> is the belonging of an entity  to a collection. </span>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Membership"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="collection" type="prov:IDRef"/&gt;
+    &lt;xs:element name="entity" type="prov:IDRef" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<p>The element <code>prov:hadMember</code> is used to reference a prov:Membership from within a prov:Document or prov:BundleConstructor.</p><p>Element definition in XML Schema:</p><pre class="schema-element">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="hadMember" type="prov:Membership"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 33</span>: prov:hadMember</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="e0"/&gt;
+  &lt;prov:entity prov:id="e1"/&gt;
+  &lt;prov:entity prov:id="e2"/&gt;
+
+  &lt;prov:collection prov:id="c"/&gt;
+
+  <b>&lt;prov:hadMember&gt;
+    &lt;prov:collection prov:ref="c"/&gt;
+    &lt;prov:entity prov:ref="e0"/&gt;
+    &lt;prov:entity prov:ref="e1"/&gt;
+    &lt;prov:entity prov:ref="e2"/&gt;
+  &lt;/prov:hadMember&gt;</b>
+
+&lt;/prov:document&gt;</pre></div>
+</section>  
+
+</section>   
+
+<section id="further-elements"> 
+<h3><span class="secno">3.7 </span>Further Elements of PROV</h3>
+
+<p>This section introduces further elements of PROV.</p>
+
+<section id="attribute-Identifier">
+<h4><span class="secno">3.7.1 </span>Identifier</h4>
+<span class="glossary-ref"></span>
+<p>The identifier attribute is used to identify instances of PROV types or relations.</p>
+<pre class="schema-attribute">&lt;xs:attribute xmlns:xs="http://www.w3.org/2001/XMLSchema" name="id" type="xs:QName"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 34</span>: prov:id</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity <b>prov:id="tr:WD-prov-dm-20111215"</b>&gt;
+    &lt;prov:type xsi:type="xsd:Qname"&gt;document&lt;/prov:type&gt;
+    &lt;ex:version&gt;2&lt;/ex:version&gt;
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;</pre></div>
+</section>  
+
+<section id="attribute-Reference">
+<h4><span class="secno">3.7.2 </span>Reference</h4>
+<span class="glossary-ref"></span>
+<p>A reference-by-id to a PROV entity, activity, agent, or relation.</p>
+<pre class="schema-attribute">&lt;xs:attribute ref="prov:ref" use="required" /&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 35</span>: prov:ref</div><pre class="example">&lt;prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:ex="http://example.com/ns/ex#"&gt;
+
+  &lt;prov:entity prov:id="e1"/&gt;
+
+  &lt;prov:activity prov:id="a1"/&gt;
+
+  &lt;prov:wasGeneratedBy&gt;
+    &lt;prov:entity <b>prov:ref="e1"</b>/&gt;
+    &lt;prov:activity <b>prov:ref="a1"</b>/&gt;
+    &lt;prov:time&gt;2001-10-26T21:32:52&lt;/prov:time&gt;
+    &lt;ex:port&gt;p1&lt;/ex:port&gt;
+  &lt;/prov:wasGeneratedBy&gt;
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="attributes">
+<h4><span class="secno">3.7.3 </span>Attributes</h4>
+<p>The PROV-DM defined PROV attributes are represented in XML as elements.</p>
+
+<section id="element-Label">
+<h5><span class="secno">3.7.3.1 </span>Label</h5>
+<span class="glossary-ref">    The attribute <span class="dfn"><span class="name">prov:label</span></span> provides a human-readable representation of an instance of a PROV-DM type or relation.   </span>
+<p>The element <code>prov:label</code> is used to represent a PROV label attribute and has type prov:InternationalizedString.</p><p>Element definition in XML Schema:</p><pre class="prov-attribute">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="label" type="prov:InternationalizedString"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 36</span>: prov:label</div><pre class="example">&lt;prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#" 
+    xmlns:ex="http://example.com/ns/ex#"&gt;
+
+  &lt;prov:entity prov:id="ex:e1"&gt;
+    <b>&lt;prov:label&gt;This is a human-readable label&lt;/prov:label&gt;</b>
+  &lt;/prov:entity&gt;
+
+  &lt;prov:entity prov:id="ex:car01"&gt;
+    <b>&lt;prov:label xml:lang="fr"&gt;Voiture 01&lt;/prov:label&gt;
+    &lt;prov:label xml:lang="en"&gt;Car 01&lt;/prov:label&gt;</b>
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="element-Location">
+<h5><span class="secno">3.7.3.2 </span>Location</h5>
+<span class="glossary-ref">   A <span class="dfn">location</span> can be an identifiable geographic place (ISO 19112), but it can also be a non-geographic place such as a directory, row, or column.  </span>
+<p>The element <code>prov:location</code> is used to represent a PROV location attribute and has type xs:anySimpleType.</p><p>Element definition in XML Schema:</p><pre class="prov-attribute">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="location" type="xs:anySimpleType"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 37</span>: prov:location</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="ex:MonaLisa"&gt;
+    &lt;prov:type xsi:type="xsd:QName"&gt;StillImage&lt;/prov:type&gt;
+    <b>&lt;prov:location xsi:type="xsd:string"&gt;Le Louvre, Paris&lt;/prov:location&gt;</b>
+  &lt;/prov:entity&gt;
+
+  &lt;prov:entity prov:id="ex:cell"&gt;
+    <b>&lt;prov:location xsi:type="xsd:string"&gt;(5,5)&lt;/prov:location&gt;</b>
+    &lt;prov:value xsi:type="xsd:integer"&gt;10&lt;/prov:value&gt;
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="element-Role">
+<h5><span class="secno">3.7.3.3 </span>Role</h5>
+<span class="glossary-ref">   A <span class="dfn">role</span> is the function of an entity or agent with respect to an activity, in the context of a <a title="Usage">usage</a>, <a title="Generation">generation</a>, <a title="Invalidation">invalidation</a>,  <a title="Association">association</a>, <a title="Start">start</a>, and  <a title="End">end</a>. </span>
+<p>The element <code>prov:role</code> is used to represent a PROV Role attribute and has type xs:anySimpleType.</p><p>Element definition in XML Schema:</p><pre class="prov-attribute">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="role" type="xs:anySimpleType"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 38</span>: prov:role</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:wasAssociatedWith&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:agent prov:ref="ag1"/&gt;
+    <b>&lt;prov:role xsi:type="xsd:QName"&gt;loggedInUser&lt;/prov:role&gt;</b>
+    &lt;ex:how&gt;webapp&lt;/ex:how&gt;
+  &lt;/prov:wasAssociatedWith&gt;
+
+  &lt;prov:wasAssociatedWith&gt;
+    &lt;prov:activity prov:ref="a"/&gt;
+    &lt;prov:agent prov:ref="ag2"/&gt;
+    &lt;prov:plan prov:ref="ex:wf"/&gt;
+    <b>&lt;prov:role xsi:type="xsd:QName"&gt;designer&lt;/prov:role&gt;</b>
+    &lt;ex:content&gt;project1&lt;/ex:content&gt;
+  &lt;/prov:wasAssociatedWith&gt;
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="element-Type">
+<h5><span class="secno">3.7.3.4 </span>Type</h5>
+<span class="glossary-ref">   The attribute <span class="dfn"><span class="name">prov:type</span></span>  provides further typing information  for any construct with an optional set of attribute-value pairs. </span>
+<p>The element <code>prov:type</code> is used to represent a PROV Type attribute and has type xs:anySimpleType.</p><p>Element definition in XML Schema:</p><pre class="prov-attribute">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="type" type="xs:anySimpleType"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 39</span>: prov:type</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="tr:WD-prov-dm-20111215"&gt;
+    <b>&lt;prov:type xsi:type="xsd:QName"&gt;document&lt;/prov:type&gt;</b>
+    &lt;ex:version&gt;2&lt;/ex:version&gt;
+  &lt;/prov:entity&gt;
+
+  &lt;prov:agent prov:id="e1"&gt;
+    <b>&lt;prov:type xsi:type="xsd:QName"&gt;prov:Person&lt;/prov:type&gt;</b>
+    &lt;ex:name&gt;Alice&lt;/ex:name&gt;
+    &lt;ex:employee&gt;1234&lt;/ex:employee&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:activity prov:id="a1"&gt;
+    &lt;prov:startTime&gt;2011-11-16T16:05:00&lt;/prov:startTime&gt;
+    &lt;prov:endTime&gt;2011-11-16T16:06:00&lt;/prov:endTime&gt;
+    <b>&lt;prov:type xsi:type="xsd:QName"&gt;ex:edit&lt;/prov:type&gt;</b>
+    &lt;ex:host&gt;server.example.org&lt;/ex:host&gt;
+  &lt;/prov:activity&gt;
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+<section id="element-Value">
+<h5><span class="secno">3.7.3.5 </span>Value</h5>
+<span class="glossary-ref">   The attribute <span class="dfn"><span class="name">prov:value</span></span>  provides a value  that is a direct representation of an entity as a PROV-DM <a title="value">Value</a>. </span>
+<p>The element <code>prov:value</code> is used to represent a PROV Value attribute and has type xs:anySimpleType.</p><p>Element definition in XML Schema:</p><pre class="prov-attribute">&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="value" type="xs:anySimpleType"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 40</span>: prov:value</div><pre class="example">&lt;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#"&gt;
+
+  &lt;prov:entity prov:id="ex:in"&gt;
+    <b>&lt;prov:value xsi:type="xsd:string"&gt;abcd&lt;/prov:value&gt;</b>
+  &lt;/prov:entity&gt;
+
+  &lt;prov:entity prov:id="ex:out"&gt;
+    <b>&lt;prov:value xsi:type="xsd:integer"&gt;4&lt;/prov:value&gt;</b>
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;</pre></div>
+</section> 
+
+</section> 
+
+<section id="type-value">
+<h4><span class="secno">3.7.4 </span>Value</h4>
+<span class="glossary-ref">   A <span class="dfn">value</span>  is a constant such as a string, number, time, qualified name, IRI, and encoded binary data, whose interpretation  is outside the scope of PROV. </span>
+<p>Relations defined by the PROV-DM to have type Value have type <code>xs:anySimpleType</code> in PROV-XML unless otherwise specified.</p>
+</section> 
+
+</section> 
+
+<section id="structural-elements">
+<h3><span class="secno">3.8 </span>Structural Elements of PROV-XML</h3>
+
+<section id="term-Document">
+<h4><span class="secno">3.8.1 </span>Document</h4>
+<p>The root element of all PROV-XML documents is <code>prov:document</code> which has type <code>prov:Document</code>.</p>
+<p>Similar to a <code>prov:BundleConstructor</code>, the <code>prov:Document</code> complexType is used to define a set of provenance statements.</p> 
+<p>Unlike the <code>prov:BundleConstructor</code>, a <code>prov:Document</code>
+</p><ul>
+<li>may contain <code>prov:bundle</code> elements (but not other <code>prov:document</code> elements)</li>
+<li>does not support the prov:id attribute.</li>
+</ul>
+<p></p>
+<p>Type definition in XML Schema:</p><pre class="schema-type">&lt;xs:complexType name="Document"&gt;
+  &lt;xs:sequence maxOccurs="unbounded"&gt;
+    <span class="delete">&lt;xs:group ref="prov:documentElements"</span><span class="insert">&lt;!-- references to standard non-PROV attribute PROV elements --&gt;
+    &lt;xs:element name="bundleContent" type="prov:BundleConstructor"</span> minOccurs="0"/&gt;<span class="delete">
+    &lt;xs:element name="bundleContent" type="prov:BundleConstructor" minOccurs="0"/&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" /&gt;</span>
+  &lt;/xs:sequence&gt;
+&lt;/xs:complexType&gt;
+</pre>
+
+<p>The element <code>prov:document</code> may only be used as the root element of a a PROV-XML document.</p>
+<span class="delete">The element </span><span class="delete">prov:document</span><span class="delete"> is used to reference a prov:Document from within a prov:Document or prov:BundleConstructor.</span><span class="delete">Element definition in XML Schema:</span><pre>&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="document" type="prov:Document"/&gt;
+</pre>
+<div class="example"><div class="example-title"><span>Example 41</span>: prov:document</div><pre class="example"><b>&lt;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#"&gt;</b>
+
+  &lt;!-- prov statements go here --&gt;
+
+<b>&lt;/prov:document&gt;</b></pre></div>
+</section> 
+
+<section id="term-Other">
+<h4><span class="secno"><span class="insert">3.8.2 </span></span><span class="insert">Other</span></h4>
+<p><span class="insert">The </span><code><span class="insert">prov:other</span></code><span class="insert"> element provides a place to include non-PROV XML elements inside a </span><code><span class="insert">prov:document</span></code><span class="insert"> or </span><code><span class="insert">prov:bundleContent</span></code><span class="insert">.</span></p>
+<p><span class="insert">Type definition in XML Schema:</span></p><pre class="schema-type"><span class="insert">&lt;xs:complexType name="Other"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+  &lt;/xs:sequence&gt;
+&lt;/xs:complexType&gt;
+</span></pre>
+<p><span class="insert">The element </span><code><span class="insert">prov:other</span></code><span class="insert"> may be used in a </span><code><span class="insert">prov:document</span></code><span class="insert"> or a </span><code><span class="insert">prov:bundleContent</span></code><span class="insert"> but may not be used inside a relation, entity, or activity element.</span></p>
+<pre><span class="insert">&lt;xs:element name="other" type="prov:Other"/&gt;
+</span></pre>
+<div class="example"><div class="example-title"><span><span class="insert">Example 42</span></span><span class="insert">: prov:other</span></div><pre class="example"><span class="insert">&lt;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#"&gt;
+
+  &lt;!-- prov statements go here --&gt;
+  
+  </span><b><span class="insert">&lt;prov:other&gt;
+    &lt;ex:foo&gt;
+      &lt;ex:content&gt;bar&lt;/ex:content&gt;
+    &lt;/ex:foo&gt;
+  &lt;/prov:other&gt;</span></b><span class="insert">
+  
+  &lt;!-- more prov statements can go here --&gt;
+
+&lt;/prov:document&gt;</span></pre></div>
+</section> 
+
+</section> 
+
+</section> 
+
+
+
+
+
+
+
+
+
+<section id="media-type">
+<h2><span class="secno">4. </span>Media Type</h2>
+
+<dl>
+	<dt>Contact:</dt>
+	<dd>Ivan Herman</dd>
+	<dt>See also:</dt>
+	<dd><a href="http://www.w3.org/2002/06/registering-mediatype">How to Register a Media Type for a <abbr title="World Wide Web Consortium">W3C</abbr> Specification</a></dd>
+	<dd><a href="http://www.w3.org/2001/tag/2002/0129-mime">Internet Media Type registration, consistency of use</a><br>TAG Finding 3 June 2002 (Revised 4 September 2002)</dd>
+</dl>
+
+<p>The Internet Media Type / MIME type for PROV-XML is "<code style="color: black">application/provenance+xml</code>".</p>
+
+<p>It is recommended that PROV-XML files have the extension "<code style="color: black">.provx</code>" (all lowercase) on all platforms.</p>
+
+<p>It is recommended that PROV-XML files stored on Macintosh HFS file systems be given a file type of <code style="color: black">TEXT</code>.</p>
+
+<p>The information that follows has been submitted to the IESG for review, approval, and registration with IANA.</p>
+
+<dl>
+	<dt>Type name:</dt>
+	<dd>application</dd>
+	<dt>Subtype name:</dt>
+	<dd>provenance+xml</dd>
+	<dt>Required parameters:</dt>
+	<dd>none</dd>
+	<dt>Optional parameters:</dt>
+	<dd>Same as charset parameter of application/xml as specified in RFC3023 (Section 3.2).</dd>
+	<dt>Encoding considerations:</dt>
+	<dd>Same as encoding considerations of application/xml as specified in RFC 3023 (Section 3.2).</dd>
+	<dt>Security considerations:</dt>
+	<dd>PROV-XML is an XML language for describing the provenance of things; applications may evaluate given data to dereference URIs, invoking the security considerations of the scheme for that URI. Note in particular, the privacy issues in [<cite><a class="bibref" href="#bib-RFC3023">RFC3023</a></cite>] section 10 for HTTP URIs. Data obtained from an inaccurate or malicious data source may lead to inaccurate or misleading conclusions, as well as the dereferencing of unintended URIs. Care must be taken to align the trust in consulted resources with the sensitivity of the intended use of the data.</dd>
+	<dd>PROV-XML can express data which is presented to the user, for example, by means of label attributes. Application rendering strings retrieved from untrusted PROV-N documents must ensure that malignant strings may not be used to mislead the reader. The security considerations in the media type registration for XML ([<cite><a class="bibref" href="#bib-RFC3023">RFC3023</a></cite>] section 10) provide additional guidance around the expression of arbitrary data and markup.</dd>
+	<dd>PROV-XML is a language for describing the provenance of things, and therefore a PROV-XML document is metadata for other resources.  Untrusted PROV-XML documents may mislead its consumers by indicating that a third-party resource has a reputable lineage, when it has not. Provenance of PROV-XML document should be sought. </dd>
+	<dd>PROV-XML uses QNames mappable to IRIs as term identifiers. Applications interpreting data expressed in PROV-XML should address the security issues of
+  <a class="norm" href="http://www.ietf.org/rfc/rfc3987.txt">Internationalized Resource Identifiers (IRIs)</a> [<cite><a class="bibref" href="#bib-RFC3987">RFC3987</a></cite>] Section 8, as well as
+  <a class="norm" href="http://www.ietf.org/rfc/rfc3986.txt">Uniform Resource Identifier (URI): Generic Syntax</a> [<cite><a class="bibref" href="#bib-RFC3986">RFC3986</a></cite>] Section 7.</dd>
+  	<dd>Multiple IRIs may have the same appearance. Characters in different scripts may look similar (a Cyrillic "о" may appear similar to a Latin "o"). A character followed by combining characters may have the same visual representation as another character (LATIN SMALL LETTER E followed by COMBINING ACUTE ACCENT has the same visual representation as LATIN SMALL LETTER E WITH ACUTE).  Any person or application that is writing or interpreting data in PROV-N must take care to use the IRI that matches the intended semantics, and avoid IRIs that make look similar. Further information about matching of similar characters can be found in <a class="inform" href="http://www.unicode.org/reports/tr36/">Unicode Security Considerations</a> [<cite><a class="bibref" href="#bib-UNISEC">UNISEC</a></cite>] and <a class="norm" href="http://www.ietf.org/rfc/rfc3987.txt">Internationalized Resource Identifiers (IRIs)</a> [<cite><a class="bibref" href="#bib-RFC3987">RFC3987</a></cite>] Section 8.</dd>
+	<dt>Interoperability considerations:</dt>
+	<dd>There are no known interoperability issues.</dd>
+	<dt>Published specification:</dt>
+	<dd>PROV-XML: The PROV XML Schema, Hua, Tilmes, Zednik (eds), Moreau <a href="http://www.w3.org/TR/prov-xml/">http://www.w3.org/TR/prov-xml/</a>, 2013.</dd>
+	<dt>Applications which use this media type:</dt>
+	<dd>It may be used by any application for publishing provenance information.  This format is designed to be an XML form of provenance.</dd>
+	<dt>Fragment identifier considerations:</dt>
+	<dd>N/A</dd>
+	<dt>Additional Information:</dt>
+	<dt>Magic number(s):</dt>
+	<dd>PROV-XML documents are XML documents and thus may have initial strings similar to any XML document.</dd>
+	<dt>File extension(s):</dt>
+	<dd>.provx</dd>
+	<dt>Macintosh file type code(s):</dt>
+	<dd>"TEXT"</dd>
+	<dt>Person &amp; email address to contact for further information:</dt>
+	<dd>Ivan Herman, ivan@w3.org</dd>
+	<dt>Intended usage:</dt>
+	<dd>COMMON</dd>
+	<dt>Restrictions on usage:</dt>
+	<dd>none</dd>
+	<dt>Author:</dt>
+	<dd>The PROV-XML specification is the product of the World Wide Web Consortium's Provenance Working Group.</dd>
+	<dt>Change controller:</dt>
+	<dd>The <abbr title="World Wide Web Consortium">W3C</abbr>, and the <abbr title="World Wide Web Consortium">W3C</abbr> Provenance Working Group, have change control over this specification.</dd>
+</dl>
+
+</section> 
+
+
+
+
+<section class="appendix" id="prov-xml-schema"> 
+<h2><span class="secno">A. </span>XML Schema</h2>
+
+<section id="prov-schema">
+<h3><span class="secno">A.1 </span>prov.xsd</h3>
+<pre class="prov-schema">&lt;?xml version="1.0" encoding="utf-8"?&gt;
+&lt;xs:schema targetNamespace="http://www.w3.org/ns/prov#"
+           xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:prov="http://www.w3.org/ns/prov#"
+           elementFormDefault="qualified"
+           attributeFormDefault="unqualified"&gt;
+
+	
+
+  &lt;xs:include schemaLocation="prov-core.xsd"/&gt;
+	
+  &lt;xs:include schemaLocation="prov-dictionary.xsd"/&gt;
+	
+  &lt;xs:include schemaLocation="prov-links.xsd"/&gt;
+
+&lt;/xs:schema&gt;
+</pre>
+</section> 
+
+<section id="prov-core-schema">
+<h3><span class="secno">A.2 </span>prov-core.xsd</h3>
+<pre class="prov-core-schema">&lt;?xml version="1.0" encoding="utf-8"?&gt;
+<span class="insert">
+
+&lt;!-- 
+  In PROV-DM, all ids are qualified names, specified as prov:QualifiedName in PROV-N.
+  In this schema, all ids are instead defined as xsd:QNames. 
+  --&gt;
+
+
+</span>&lt;xs:schema targetNamespace="http://www.w3.org/ns/prov#"
+           xmlns:xs="http://www.w3.org/2001/XMLSchema"
+           xmlns:prov="http://www.w3.org/ns/prov#"
+           xmlns:cu="http://www.w3.org/1999/xhtml/datatypes/"
+           xmlns:xml="http://www.w3.org/XML/1998/namespace"
+           elementFormDefault="qualified"
+           attributeFormDefault="unqualified"&gt;
+
+
+
+  &lt;xs:import namespace="http://www.w3.org/1999/xhtml/datatypes/" /&gt;
+  &lt;xs:import namespace="http://www.w3.org/XML/1998/namespace" 
+             schemaLocation="http://www.w3.org/2001/xml.xsd"/&gt;
+
+  &lt;!-- Component 1 --&gt;
+  
+  &lt;xs:complexType name="Entity"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:value" minOccurs="0"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;  
+
+  &lt;xs:complexType name="Activity"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="startTime" type="xs:dateTime" minOccurs="0"/&gt; 
+         
+      &lt;xs:element name="endTime" type="xs:dateTime" minOccurs="0"/&gt;
+        
+      &lt;!-- prov attributes --&gt; 
+         
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Generation"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="entity" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="activity" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;xs:element name="time" type="xs:dateTime" minOccurs="0"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Usage"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="activity" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="entity" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;xs:element name="time" type="xs:dateTime" minOccurs="0"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Communication"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="informed" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="informant" type="prov:IDRef"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Start"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="activity" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="trigger" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;xs:element name="starter" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;xs:element name="time" type="xs:dateTime" minOccurs="0"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="End"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="activity" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="trigger" type="prov:IDRef"  minOccurs="0"/&gt;
+        
+      &lt;xs:element name="ender" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;xs:element name="time" type="xs:dateTime" minOccurs="0"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Invalidation"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="entity" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="activity" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;xs:element name="time" type="xs:dateTime" minOccurs="0"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;!-- Component 2 --&gt;
+  
+  &lt;xs:complexType name="Derivation"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="generatedEntity" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="usedEntity" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="activity" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;xs:element name="generation" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;xs:element name="usage" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Revision"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Derivation"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Quotation"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Derivation"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="PrimarySource"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Derivation"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;!-- Component 3 --&gt;
+  
+  &lt;xs:complexType name="Agent"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:location" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Person"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Agent"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Organization"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Agent"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="SoftwareAgent"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Agent"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Attribution"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="entity" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="agent" type="prov:IDRef"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Association"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="activity" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="agent" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;xs:element name="plan" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:role" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Delegation"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="delegate" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="responsible" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="activity" type="prov:IDRef" minOccurs="0"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Influence"&gt;
+    &lt;xs:sequence&gt;
+        
+      &lt;xs:element name="influencee" type="prov:IDRef"/&gt;
+        
+      &lt;xs:element name="influencer" type="prov:IDRef"/&gt;
+        
+      &lt;!-- prov attributes --&gt;
+        
+      &lt;xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/&gt;
+        
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;!-- Component 4 --&gt;
+
+  <span class="insert">&lt;xs:complexType name="Bundle"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Entity"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+
+  </span>&lt;!-- <span class="delete">Is there a way to have this still extend prov:Entity?</span><span class="insert">bundle container and allowable PROV elements</span> --&gt;
+
+  &lt;xs:complexType <span class="delete">name="Bundle"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Entity"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+  
+  &lt;xs:complexType </span>name="BundleConstructor"&gt;
+    &lt;xs:sequence maxOccurs="unbounded"&gt;
+      <span class="delete">&lt;xs:group ref="prov:documentElements"/&gt;</span><span class="insert">&lt;xs:element ref="prov:entity" minOccurs="0"/&gt;</span>
+      <span class="delete">&lt;xs:any namespace="##other" processContents="lax"</span><span class="insert">&lt;xs:element ref="prov:activity" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasGeneratedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:used" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasInformedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasStartedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasEndedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasInvalidatedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasDerivedFrom" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasRevisionOf" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasQuotedFrom" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:hadPrimarySource" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:agent" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:person" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:organization" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:softwareAgent" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasAttributedTo" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasAssociatedWith" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:actedOnBehalfOf" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasInfluencedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:bundle" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:specializationOf" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:alternateOf" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:collection" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:emptyCollection" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:hadMember" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:plan" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:other" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:internalElement"</span> minOccurs="0"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;!-- Component 5 --&gt;
+
+  &lt;xs:complexType name="Specialization"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:element name="specificEntity" type="prov:IDRef"/&gt;
+      &lt;xs:element name="generalEntity" type="prov:IDRef"/&gt;
+    &lt;/xs:sequence&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Alternate"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:element name="alternate1" type="prov:IDRef"/&gt;
+      &lt;xs:element name="alternate2" type="prov:IDRef"/&gt;
+    &lt;/xs:sequence&gt;
+  &lt;/xs:complexType&gt;
+  
+  &lt;!-- Component 6 --&gt;
+
+  &lt;xs:complexType name="Collection"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Entity"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="EmptyCollection"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Collection"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Membership"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:element name="collection" type="prov:IDRef"/&gt;
+      &lt;xs:element name="entity" type="prov:IDRef" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Plan"&gt;
+    &lt;xs:complexContent&gt;
+      &lt;xs:extension base="prov:Entity"&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:complexContent&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="InternationalizedString"&gt;
+    &lt;xs:simpleContent&gt;
+      &lt;xs:extension base="xs:string"&gt;
+        &lt;xs:attribute ref="xml:lang" use="optional"/&gt;
+      &lt;/xs:extension&gt;
+    &lt;/xs:simpleContent&gt;
+  &lt;/xs:complexType&gt;    
+
+
+   &lt;!--
+    Typed literals are encoded by means
+    of xsi:type that represent the prov:datatype.
+   --&gt;
+  
+  &lt;xs:element name="label" type="prov:InternationalizedString"/&gt;
+  &lt;xs:element name="role" type="xs:anySimpleType"/&gt;
+  &lt;xs:element name="type" type="xs:anySimpleType"/&gt;
+  &lt;xs:element name="location" type="xs:anySimpleType"/&gt;
+  &lt;xs:element name="value" type="xs:anySimpleType"/&gt;
+
+  &lt;xs:attribute name="id" type="xs:QName"/&gt;
+  &lt;xs:attribute name="ref" type="xs:QName"/&gt;
+
+  &lt;xs:complexType name="IDRef"&gt;
+    &lt;xs:attribute ref="prov:ref" use="required" /&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;!--
+     top-level definition of elements following the salami slice XSD design pattern
+     to encourage integration within existing non-prov XML documents.
+  --&gt;
+
+  &lt;!-- Component 1 elements --&gt;
+
+  &lt;xs:element name="entity"               type="prov:Entity"/&gt;
+  &lt;xs:element name="activity"             type="prov:Activity"/&gt;
+  &lt;xs:element name="wasGeneratedBy"       type="prov:Generation"/&gt;
+  &lt;xs:element name="used"                 type="prov:Usage"/&gt;
+  &lt;xs:element name="wasInformedBy"        type="prov:Communication"/&gt;
+  &lt;xs:element name="wasStartedBy"         type="prov:Start"/&gt;
+  &lt;xs:element name="wasEndedBy"           type="prov:End"/&gt;
+  &lt;xs:element name="wasInvalidatedBy"     type="prov:Invalidation"/&gt;
+
+  &lt;!-- Component 2 elements --&gt;
+
+  &lt;xs:element name="wasDerivedFrom"       type="prov:Derivation"/&gt;
+  &lt;xs:element name="wasRevisionOf"        type="prov:Revision"/&gt;
+  &lt;xs:element name="wasQuotedFrom"        type="prov:Quotation"/&gt;
+  &lt;xs:element name="hadPrimarySource"     type="prov:PrimarySource"/&gt;
+
+  &lt;!-- Component 3 elements --&gt;
+
+  &lt;xs:element name="agent"                type="prov:Agent"/&gt;
+  &lt;xs:element name="person"               type="prov:Person"/&gt;
+  &lt;xs:element name="organization"         type="prov:Organization"/&gt;
+  &lt;xs:element name="softwareAgent"        type="prov:SoftwareAgent"/&gt;
+  &lt;xs:element name="wasAttributedTo"      type="prov:Attribution"/&gt;
+  &lt;xs:element name="wasAssociatedWith"    type="prov:Association"/&gt;
+  &lt;xs:element name="actedOnBehalfOf"      type="prov:Delegation"/&gt;
+  &lt;xs:element name="wasInfluencedBy"      type="prov:Influence"/&gt;
+  
+  &lt;!-- Component 5 elements --&gt;
+
+  &lt;xs:element name="bundle"               type="prov:Bundle"/&gt;
+  &lt;xs:element name="specializationOf"     type="prov:Specialization"/&gt;
+  &lt;xs:element name="alternateOf"          type="prov:Alternate"/&gt;
+
+  &lt;!-- Component 6 elements --&gt;
+
+  &lt;xs:element name="hadMember"            type="prov:Membership"/&gt;
+  &lt;xs:element name="collection"           type="prov:Collection"/&gt;
+  &lt;xs:element name="emptyCollection"      type="prov:EmptyCollection"/&gt;
+
+  &lt;!-- Component 7 elements --&gt;
+
+  &lt;xs:element name="plan"                 type="prov:Plan"/&gt;
+
+  &lt;!-- document <span class="insert">container and allowable PROV </span>elements --&gt;
+
+  <span class="delete">&lt;xs:group name="documentElements"&gt;
+    &lt;xs:sequence&gt;
+        &lt;xs:element ref="prov:entity" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:activity" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasGeneratedBy" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:used" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasInformedBy" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasStartedBy" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasEndedBy" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasInvalidatedBy" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasDerivedFrom" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasRevisionOf" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasQuotedFrom" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:hadPrimarySource" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:agent" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:person" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:organization" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:softwareAgent" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasAttributedTo" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasAssociatedWith" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:actedOnBehalfOf" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:wasInfluencedBy" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:bundle" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:specializationOf" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:alternateOf" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:collection" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:emptyCollection" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:hadMember" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:plan" minOccurs="0" maxOccurs="unbounded"/&gt;
+        &lt;xs:element ref="prov:internalElement" minOccurs="0" maxOccurs="unbounded"</span><span class="insert">&lt;xs:element name="document" type="prov:Document"</span> /&gt;<span class="delete">
+    &lt;/xs:sequence&gt;
+  &lt;/xs:group&gt;</span>
+
+  <span class="delete">&lt;xs:element name="document" type="prov:Document" /&gt;
+  </span>&lt;xs:complexType name="Document"&gt;
+    &lt;xs:sequence maxOccurs="unbounded"&gt;
+      <span class="delete">&lt;xs:group ref="prov:documentElements"</span><span class="insert">&lt;xs:element ref="prov:entity"</span> minOccurs="0"/&gt;
+      &lt;xs:element <span class="delete">name="bundleContent" type="prov:BundleConstructor"</span><span class="insert">ref="prov:activity"</span> minOccurs="0"/&gt;
+      <span class="delete">&lt;xs:any namespace="##other" processContents="lax" minOccurs="0" /&gt;</span><span class="insert">&lt;xs:element ref="prov:wasGeneratedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:used" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasInformedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasStartedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasEndedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasInvalidatedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasDerivedFrom" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasRevisionOf" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasQuotedFrom" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:hadPrimarySource" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:agent" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:person" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:organization" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:softwareAgent" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasAttributedTo" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasAssociatedWith" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:actedOnBehalfOf" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:wasInfluencedBy" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:bundle" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:specializationOf" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:alternateOf" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:collection" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:emptyCollection" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:hadMember" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:plan" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:other" minOccurs="0"/&gt;
+      &lt;xs:element ref="prov:internalElement" minOccurs="0"/&gt;
+      &lt;xs:element name="bundleContent" type="prov:BundleConstructor" minOccurs="0"/&gt;</span>
+    &lt;/xs:sequence&gt;
+  &lt;/xs:complexType&gt;
+
+
+  
+
+  &lt;!-- abstract element used by<span class="insert"> PROV</span> extensions --&gt;
+
+  &lt;xs:element name="internalElement" abstract="true" /&gt;<span class="insert">
+
+  &lt;!-- 'others' element used to contain non-PROV elements --&gt;
+
+  &lt;xs:element name="other" type="prov:Other"/&gt;
+
+  &lt;xs:complexType name="Other"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&gt;
+  &lt;/xs:complexType&gt;</span>
+
+&lt;/xs:schema&gt;
+
+
+</pre>
+</section> 
+
+<section id="extension-schemas">
+<h3><span class="secno">A.3 </span>Extension Schemas</h3>
+<p>Extension schemas are schemas in the PROV Namespace that define additional PROV elements not from the PROV-DM.  Workgroup Notes provide extension schemas to define their Note-introduced PROV elements.  Extension schemas must import (using <code>xs:include</code>) the <b>prov-core.xsd</b> schema and make use of a substitution group on the <code>prov:internalElement</code> to add extension defined elements to the list of valid PROV elements in a bundle or document.</p>
+<p>Here is an example from the <b>prov-links.xsd</b> extension schema.</p>
+<pre title="prov-links.xsd">&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://www.w3.org/ns/prov#" xmlns:prov="http://www.w3.org/ns/prov#"
+	elementFormDefault="qualified"&gt;
+	
+	
+	
+  &lt;xs:include schemaLocation="prov-core.xsd" /&gt;
+	
+	
+	
+  &lt;xs:complexType name="Mention"&gt;
+		
+    &lt;xs:sequence&gt;
+			
+      &lt;xs:element name="specificEntity" type="prov:IDRef" /&gt;
+			
+      &lt;xs:element name="generalEntity" type="prov:IDRef" /&gt;
+			
+      &lt;xs:element name="bundle" type="prov:IDRef" /&gt;
+		
+    &lt;/xs:sequence&gt;
+	
+  &lt;/xs:complexType&gt;
+	
+	
+	
+  &lt;xs:element name="mentionOf" type="prov:Mention" substitutionGroup="prov:internalElement" /&gt;
+	
+&lt;/xs:schema&gt;
+</pre>
+</section> 
+</section> 
+
+<section class="appendix" id="changelog">
+<h2><span class="secno">B. </span>Change Log</h2> 
+
+<section id="change-log-since-wd-working-draft-12-march-2013">
+<h3><span class="secno">B.1 </span><span class="delete">Changes since last version</span><span class="insert">Change Log Since WD Working Draft 12 March 2013</span></h3>
+<ul>
+<li><span class="insert">Updated inline schema</span></li>
+<li><span class="insert">Updated BundleConstructor and Document sections to reflect changes to schema</span></li>
+<li>Added <span class="delete">Change Log</span><span class="insert">Other section for prov:other element and type</span></li>
+<li><span class="insert">Updated the Status of this Document</span> section</li>
+<li> <span class="insert">Added a note about potential OXM issues to Schema Modularization section, referenced FAQ entry on subject.</span></li>
+</ul> 
+</section>
+<section id="change-log-since-first-public-working-draft">
+<h3><span class="secno"><span class="insert">B.2 </span></span><span class="insert">Change Log Since First Public Working Draft</span></h3>
+<ul>
+<li><span class="insert">Added Change Log section</span></li>
+<li>Changed the status of this document section: added new documents to the PROV Family of Document, and removed the how to read section, referring instead to PROV-OVERVIEW.</li>
+<li>Changed all URLs to PROV documents.</li>
+<li>Removed Review notes.</li>
+<li>Updated table 1 with XML Schema Referencing Element column.</li>
+<li>Added Type Conventions and Schema Modularization sections to XML Schema Design section.</li>
+<li>Updated Bundle section to reflect changes in schema design.</li>
+<li>Updated inline schema and schema examples to reflect updates to schema design.</li>
+<li>Updated text that appears before schema snippets and examples in PROV XML Schema subsections.</li>
+<li>Added extension schema example to appendix.</li>
+<li>Removed Macintosh HFS file type paragraph from Media Type section.</li>
+<li>Made all references informative instead of normative since PROV-XML is a note.</li>
+</ul>
+</section> 
+
+</section> 
+
+<section class="appendix" id="acknowledgements"> 
+<h2><span class="secno">C. </span>Acknowledgements</h2> 
+
+This document has been produced by the PROV Working Group, and its
+contents reflect extensive discussion within the Working Group as a
+whole. The editors extend special thanks to Luc Moreau (University of
+Southampton), Paul Groth (Vrije Universiteit) and James Cheney
+(University of Edinburgh) for their thorough reviews.
+
+<p> 
+Members of the PROV Working Group at the time of publication of this document were:
+
+Ilkay Altintas (Invited expert),
+Reza B'Far (Oracle Corporation),
+Khalid Belhajjame (University of Manchester),
+James Cheney (University of Edinburgh, School of Informatics),
+Sam Coppens (IBBT),
+David Corsar (University of Aberdeen, Computing Science),
+Stephen Cresswell (The National Archives),
+Tom De Nies (IBBT),
+Helena Deus (DERI Galway at the National University of Ireland, Galway, Ireland),
+Simon Dobson (Invited expert),
+Martin Doerr (Foundation for Research and Technology - Hellas(FORTH)),
+Kai Eckert (Invited expert),
+Jean-Pierre EVAIN (European Broadcasting Union, EBU-UER),
+James Frew (Invited expert),
+Irini Fundulaki (Foundation for Research and Technology - Hellas(FORTH)),
+Daniel Garijo (Universidad Politécnica de Madrid),
+Yolanda Gil (Invited expert),
+Ryan Golden (Oracle Corporation),
+Paul Groth (Vrije Universiteit),
+Olaf Hartig (Invited expert),
+David Hau (National Cancer Institute, NCI),
+Sandro Hawke (<abbr title="World Wide Web Consortium">W3C</abbr>/<abbr title="Massachusetts Institute of Technology">MIT</abbr>),
+Jörn Hees (German Research Center for Artificial Intelligence (DFKI) Gmbh),
+Ivan Herman, (<abbr title="World Wide Web Consortium">W3C</abbr>/<abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr>),
+Ralph Hodgson (TopQuadrant),
+Hook Hua (Invited expert),
+Trung Dong Huynh (University of Southampton),
+Graham Klyne (University of Oxford),
+Michael Lang (Revelytix, Inc.),
+Timothy Lebo (Rensselaer Polytechnic Institute),
+James McCusker (Rensselaer Polytechnic Institute),
+Deborah McGuinness (Rensselaer Polytechnic Institute),
+Simon Miles (Invited expert),
+Paolo Missier (School of Computing Science, Newcastle university),
+Luc Moreau (University of Southampton),
+James Myers (Rensselaer Polytechnic Institute),
+Vinh Nguyen (Wright State University),
+Edoardo Pignotti (University of Aberdeen, Computing Science),
+Paulo da Silva Pinheiro (Rensselaer Polytechnic Institute),
+Carl Reed (Open Geospatial Consortium),
+Adam Retter (Invited Expert),
+Christine Runnegar (Invited expert),
+Satya Sahoo (Invited expert),
+David Schaengold (Revelytix, Inc.),
+Daniel Schutzer (FSTC, Financial Services Technology Consortium),
+Yogesh Simmhan (Invited expert),
+Stian Soiland-Reyes (University of Manchester),
+Eric Stephan (Pacific Northwest National Laboratory),
+Linda Stewart (The National Archives),
+Ed Summers (Library of Congress),
+Maria Theodoridou (Foundation for Research and Technology - Hellas(FORTH)),
+Ted Thibodeau (OpenLink Software Inc.),
+Curt Tilmes (National Aeronautics and Space Administration),
+Craig Trim (IBM Corporation),
+Stephan Zednik (Rensselaer Polytechnic Institute),
+Jun Zhao (University of Oxford),
+Yuting Zhao (University of Aberdeen, Computing Science).
+</p> 
+</section> 
+
+
+
+
+
+ 
+
+<section id="references" class="appendix"><h2><span class="secno">D. </span>References</h2><section id="informative-references"><h3><span class="secno">D.1 </span>Informative references</h3><dl class="bibliography"><dt id="bib-Mappings">[Mappings]</dt><dd>Satya Sahoo and Paul Groth and Olaf Hartig and Simon Miles and Sam Coppens and James Myers and Yolanda Gil and Luc Moreau and Jun Zhao and Michael Panzer and Daniel Garijo <a href="http://www.w3.org/2005/Incubator/prov/wiki/Provenance_Vocabulary_Mappings"><cite>Provenance Vocabulary Mappings</cite></a>. August 2010 URL: <a href="http://www.w3.org/2005/Incubator/prov/wiki/Provenance_Vocabulary_Mappings">http://www.w3.org/2005/Incubator/prov/wiki/Provenance_Vocabulary_Mappings</a>
+</dd><dt id="bib-PROV-AQ">[PROV-AQ]</dt><dd>Graham Klyne; Paul Groth; eds. <a href="http://www.w3.org/TR/2013/NOTE-prov-aq-20130430/"><cite>Provenance Access and Query</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, <span class="delete">Working Draft.</span><span class="insert">W3C Note.</span> URL: <span class="delete">http://www.w3.org/TR/2013/WD-prov-aq-20130312/</span><a href="http://www.w3.org/TR/2013/NOTE-prov-aq-20130430/"><span class="insert">http://www.w3.org/TR/2013/NOTE-prov-aq-20130430/</span></a>
+</dd><dt id="bib-PROV-CONSTRAINTS">[PROV-CONSTRAINTS]</dt><dd>James Cheney; Paolo Missier; Luc Moreau; eds. <a href="http://www.w3.org/TR/2013/REC-prov-constraints-20130430/"><cite>Constraints of the PROV Data Model</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, W3C <span class="delete">Proposed </span>Recommendation. URL: <span class="delete">http://www.w3.org/TR/2013/PR-prov-constraints-20130312/</span><a href="http://www.w3.org/TR/2013/REC-prov-constraints-20130430/"><span class="insert">http://www.w3.org/TR/2013/REC-prov-constraints-20130430/</span></a>
+</dd><dt id="bib-PROV-DC">[PROV-DC]</dt><dd>Daniel Garijo; Kai Eckert; eds. <a href="http://www.w3.org/TR/2013/NOTE-prov-dc-20130430/"><cite>Dublin Core to PROV Mapping</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, <span class="delete">Working Draft.</span><span class="insert">W3C Note.</span> URL: <span class="delete">http://www.w3.org/TR/2013/WD-prov-dc-20130312/</span><a href="http://www.w3.org/TR/2013/NOTE-prov-dc-20130430/"><span class="insert">http://www.w3.org/TR/2013/NOTE-prov-dc-20130430/</span></a>
+</dd><dt id="bib-PROV-DICTIONARY">[PROV-DICTIONARY]</dt><dd>Tom De Nies; Sam Coppens; eds. <a href="http://www.w3.org/TR/2013/NOTE-prov-dictionary-20130430/"><cite>PROV Dictionary</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, <span class="delete">Working Draft.</span><span class="insert">W3C Note.</span> URL: <span class="delete">http://www.w3.org/TR/2013/WD-prov-dictionary-20130312/</span><a href="http://www.w3.org/TR/2013/NOTE-prov-dictionary-20130430/"><span class="insert">http://www.w3.org/TR/2013/NOTE-prov-dictionary-20130430/</span></a>
+</dd><dt id="bib-PROV-DM">[PROV-DM]</dt><dd>Luc Moreau; Paolo Missier; eds. <a href="http://www.w3.org/TR/2013/REC-prov-dm-20130430/"><cite>PROV-DM: The PROV Data Model</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, W3C <span class="delete">Proposed </span>Recommendation. URL: <span class="delete">http://www.w3.org/TR/2013/PR-prov-dm-20130312/</span><a href="http://www.w3.org/TR/2013/REC-prov-dm-20130430/"><span class="insert">http://www.w3.org/TR/2013/REC-prov-dm-20130430/</span></a>
+</dd><dt id="bib-PROV-LINKS">[PROV-LINKS]</dt><dd>Luc Moreau; Timothy Lebo; eds. <a href="http://www.w3.org/TR/2013/NOTE-prov-links-20130430/"><cite>Linking Across Provenance Bundles</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, <span class="delete">Working Draft.</span><span class="insert">W3C Note.</span> URL: <span class="delete">http://www.w3.org/TR/2013/WD-prov-links-20130312/</span><a href="http://www.w3.org/TR/2013/NOTE-prov-links-20130430/"><span class="insert">http://www.w3.org/TR/2013/NOTE-prov-links-20130430/</span></a>
+</dd><dt id="bib-PROV-N">[PROV-N]</dt><dd>Luc Moreau; Paolo Missier; eds. <a href="http://www.w3.org/TR/2013/REC-prov-n-20130430/"><cite>PROV-N: The Provenance Notation</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, W3C <span class="delete">Proposed </span>Recommendation. URL: <span class="delete">http://www.w3.org/TR/2013/PR-prov-n-20130312/</span><a href="http://www.w3.org/TR/2013/REC-prov-n-20130430/"><span class="insert">http://www.w3.org/TR/2013/REC-prov-n-20130430/</span></a>
+</dd><dt id="bib-PROV-O">[PROV-O]</dt><dd>Timothy Lebo; Satya Sahoo; Deborah McGuinness; eds. <a href="http://www.w3.org/TR/2013/REC-prov-o-20130430/"><cite>PROV-O: The PROV Ontology</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, W3C <span class="delete">Proposed </span>Recommendation. URL: <span class="delete">http://www.w3.org/TR/2013/PR-prov-o-20130312/</span><a href="http://www.w3.org/TR/2013/REC-prov-o-20130430/"><span class="insert">http://www.w3.org/TR/2013/REC-prov-o-20130430/</span></a>
+</dd><dt id="bib-PROV-OVERVIEW">[PROV-OVERVIEW]</dt><dd>Paul Groth; Luc Moreau; eds. <a href="http://www.w3.org/TR/2013/NOTE-prov-overview-20130430/"><cite>PROV-OVERVIEW: An Overview of the PROV Family of Documents</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, <span class="delete">Working Draft.</span><span class="insert">W3C Note.</span> URL: <span class="delete">http://www.w3.org/TR/2013/WD-prov-overview-20130312/</span><a href="http://www.w3.org/TR/2013/NOTE-prov-overview-20130430/"><span class="insert">http://www.w3.org/TR/2013/NOTE-prov-overview-20130430/</span></a>
+</dd><dt id="bib-PROV-PRIMER">[PROV-PRIMER]</dt><dd>Yolanda Gil; Simon Miles; eds. <a href="http://www.w3.org/TR/2013/NOTE-prov-primer-20130430/"><cite>PROV Model Primer</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, <span class="delete">Working Draft.</span><span class="insert">W3C Note.</span> URL: <span class="delete">http://www.w3.org/TR/2013/WD-prov-primer-20130312/</span><a href="http://www.w3.org/TR/2013/NOTE-prov-primer-20130430/"><span class="insert">http://www.w3.org/TR/2013/NOTE-prov-primer-20130430/</span></a>
+</dd><dt id="bib-PROV-SEM">[PROV-SEM]</dt><dd>James Cheney; ed. <a href="http://www.w3.org/TR/2013/NOTE-prov-sem-20130430"><cite>Semantics of the PROV Data Model</cite></a>. <span class="delete">12 March</span><span class="insert">30 April</span> 2013, <span class="delete">Working Draft.</span><span class="insert">W3C Note.</span> URL: <span class="delete">http://www.w3.org/TR/2013/WD-prov-sem-20130312</span><a href="http://www.w3.org/TR/2013/NOTE-prov-sem-20130430"><span class="insert">http://www.w3.org/TR/2013/NOTE-prov-sem-20130430</span></a>.
+</dd><dt id="bib-RFC2119">[RFC2119]</dt><dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key words for use in RFCs to Indicate Requirement Levels.</cite></a> March 1997. Internet RFC 2119.  URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a> 
+</dd><dt id="bib-RFC3023">[RFC3023]</dt><dd>M. Murata; S. St.Laurent; D. Kohn. <a href="http://www.ietf.org/rfc/rfc3023.txt"><cite>XML Media Types<span class="insert"> (RFC 3023)</span></cite></a>. January 2001. <span class="delete">RFC 3023.</span><span class="insert">RFC.</span> URL: <a href="http://www.ietf.org/rfc/rfc3023.txt">http://www.ietf.org/rfc/rfc3023.txt</a>
+</dd><dt id="bib-RFC3986">[RFC3986]</dt><dd>T. Berners-Lee; R. Fielding; L. Masinter. <a href="http://www.ietf.org/rfc/rfc3986.txt"><cite>Uniform Resource Identifier (URI): Generic Syntax<span class="insert"> (RFC 3986)</span></cite></a>. January 2005. <span class="delete">RFC 3986.</span><span class="insert">RFC.</span> URL: <a href="http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3986.txt</a>
+</dd><dt id="bib-RFC3987">[RFC3987]</dt><dd>M. Dürst; M. Suignard. <a href="http://www.ietf.org/rfc/rfc3987.txt"><cite>Internationalized Resource Identifiers (IRIs)<span class="insert"> (RFC 3987)</span></cite></a>. January 2005. <span class="delete">RFC 3987.</span><span class="insert">RFC.</span> URL: <a href="http://www.ietf.org/rfc/rfc3987.txt">http://www.ietf.org/rfc/rfc3987.txt</a>
+</dd><dt id="bib-UNISEC">[UNISEC]</dt><dd> Mark Davis; Michel Suignard. <a href="http://www.unicode.org/reports/tr36/"><cite>Unicode Security Considerations<cite></cite></cite></a>.  4 August 2010. URL: <a href="http://www.unicode.org/reports/tr36/">http://www.unicode.org/reports/tr36/</a>
+</dd></dl></section></section></body></html>