merge
authorTim L <lebot@rpi.edu>
Thu, 01 Nov 2012 13:22:07 -0400
changeset 4612 0dc39cfb439b
parent 4611 67d30fe1f89f (current diff)
parent 4609 a357b2a5f170 (diff)
child 4613 005a464327e5
merge
primer/OverviewDiagram.png
--- a/dc-note/Overview.html	Thu Nov 01 13:21:53 2012 -0400
+++ b/dc-note/Overview.html	Thu Nov 01 13:22:07 2012 -0400
@@ -1277,25 +1277,11 @@
  Therefore, they lead to similar complex patterns (providing a date instead of an agent associated with the corresponding activity).
  When using Dublin Core terms, it is usual to see that a resource is annotated with several <code>dct</code> assertions like creator, publisher,
  issued, date, etc., but in this phase of the mapping each term is treated independently. 
- <form action="#"><p> 
-    <input id="hide-dates" type="button" value="Hide date patterns" 
-           style="display:none"
-		   onclick="            
-            set_display_by_class('div','date pattern','none');
-            set_display_by_id('hide-dates','none');
-            set_display_by_id('show-dates','');" />
-    <input id="show-dates" type="button" value="Show date patterns"
-           onclick="            
-            set_display_by_class('div','date pattern','');
-            set_display_by_id('hide-dates','');
-            set_display_by_id('show-dates','none');" />
-   </p> 
-  </form>
+ 
 </p>
 
 <h5 id="term_created"><span class="secno">2.5.2.1 </span>dct:created</h5> 
 </p>
-<div class="date pattern" style="display:none">
 <pre class="code">
  CONSTRUCT{
  ?document a  prov:Entity .
@@ -1316,11 +1302,9 @@
   ?document dct:created ?date.
  }
  </pre>
- </div>
  
 <h5 id="term_issued"><span class="secno">2.5.2.2 </span>dct:issued</h5> 
 <p>
-<div class="date pattern" style="display:none">
 <pre class="code">
  CONSTRUCT{
  ?document a prov:Entity .
@@ -1348,13 +1332,9 @@
  }
 </pre>
 </p>
-</div>
 
 <h5 id="term_modified"><span class="secno">2.5.2.3 </span>dct:modified</h5> 
-<div class="date pattern" style="display:none">
-<p>
-As seen with the previous terms, most entity/date properties will have a similar structure.
-</p><p><pre class="code"> 
+<p><pre class="code"> 
  CONSTRUCT{
  ?document a prov:Entity .
  
@@ -1381,10 +1361,8 @@
  }
 </pre>
 </p>
-</div>
 
 <h5 id="term_dateAccepted"><span class="secno">2.5.2.4 </span>dct:dateAccepted</h5> 
-<div class="date pattern" style="display:none">
 <p><pre class="code"> 
  CONSTRUCT{
  ?document a prov:Entity .
@@ -1412,9 +1390,7 @@
  }
 </pre>
 </p>
-</div>
 <h5 id="term_dateCopyRighted"><span class="secno">2.5.2.5 </span>dct:dateCopyrighted</h5> 
-<div class="date pattern" style="display:none">
 <p><pre class="code">
  CONSTRUCT{
  ?document a prov:Entity .
@@ -1441,9 +1417,7 @@
   ?document dct:dateCopyrighted ?date.
  }
 </pre></p>
-</div>
 <h5 id="term_dateSubmitted"><span class="secno">2.5.2.6 </span>dct:dateSubmitted</h5> 
-<div class="date pattern" style="display:none">
 <p><pre class="code">
  CONSTRUCT{
  ?document a prov:Entity .
@@ -1472,97 +1446,7 @@
 </pre>
 </p>
 </div>
-</div>
-<!--
-<div id="entity_entity_mappings">
-<h4><span class="secno">2.5.3 </span>Entity-Entity mappings (How)</h4>
-<p>
-Most Dublin Core terms in this category are related to the <code>prov:wasDerivedFrom</code> property.
- They can be mapped directly, but also a complex mapping can be provided. In these cases, a specialty of SPARQL 
- CONSTRUCT queries can be used to deal with the inverse properties in Dublin Core.
-</p>
-<h5 id="term_has_Version"><span class="secno">2.5.3.1 </span>dct:isVersionOf / dct:hasVersion</h5>
-<p>
-I would say that <code>prov:wasDerivedFrom</code>><code>dct:isVersionOf</code>><code>prov:wasRevisionOf</code>. Thus:
-</p><p><pre class="code">
- CONSTRUCT {
-    ?document1 a prov:Entity ;
-       prov:wasDerivedFrom ?document2.
-    ?document2 a prov:Entity .
- } WHERE {
-    OPTIONAL { ?document1 dct:isVersionOf ?document2 . }
-    OPTIONAL { ?document2 dct:hasVersion ?document1 .}
- }
-</pre>
-</p><p>
- The OPTIONAL keyword means that the included statement does not need to exist.
- Triples in the resulting graph with variables that have no binding simply are omitted.
- In this case this leads to the correct PROV statement, if either or both source statements are present.
- From the entity/entity relations, <b>an activity can also be inferred (e.g., the activity that led to the creation of the new version)
- . We omit it here for brevity.</b>
- </p>
- <!--<p>
- In essence, these examples sketch the first part of the mapping. As everything is provided as 
- RDF statements or SPARQL CONSTRUCT queries, this mapping can simply applied to arbitrary RDF data by
- adding the statements and the resulting graphs from the queries to the data. 
- </p> this should be commented
- <p>
-<h5 id="term_has_Format"><span class="secno">2.5.3.2 </span>dct:isFormatOf / dct:hasFormat</h5>
-</p><p>
-isFormatOf is defined as “A related resource that is substantially the same as the described resource, but in another format”. This
- would map to <code>prov:alternateOf</code>. We don’t know which entities are both of them specializing, but we know that one is an alternate of the other.
-</p><p> <pre class="code">
- CONSTRUCT {
-    ?document1 a prov:Entity ;
-       prov:alternateOf ?document2.
-    ?document2 a prov:Entity .
- } WHERE {
-    OPTIONAL { ?document1 dct:isFormatof ?document2 . }
-    OPTIONAL { ?document2 dct:hasFormat ?document1 .}
- }
-</pre></p><p>
- 
-<!--
-dct:isReferencedBy / dct:references
-</p><p>
-IsReferencedBy: A related resource that references, cites, or otherwise points to the described resource.
-</p><p><pre class="code">
- 
-  CONSTRUCT {
-    ?document1 a prov:Entity ;
-    ?document2 a prov:Entity .
-       prov:wasDerivedFrom ?document2.
- } WHERE {
-    OPTIONAL { ?document1 dct:isReferencedBy ?document2 . }
-    OPTIONAL { ?document2 dct:references ?document1 .}
- }
- 
-</pre></p><p>
-</p>
-<h5 id="term_replaces"><span class="secno">2.5.3.3 </span>dct:replaces / dct:isReplacedBy</h5>
-<p><pre class="code">
- CONSTRUCT {
-    ?document1 a prov:Entity ;
-       prov:wasInfluencedBy ?document2.
-    ?document2 a prov:Entity .
- } WHERE {
-    OPTIONAL { ?document1 dct:replaces ?document2 . }
-    OPTIONAL { ?document2 dct:isReplacedBy ?document1 .}
- }
-</pre></p><p>
-<h5 id="term_source"><span class="secno">2.5.3.4 </span>dct:source</h5>
-</p><p><pre class="code">
- CONSTRUCT{
-   ?document1     a   prov:Entity ;
-                  prov:wasDerivedFrom    :subj2 .
-   ?document2     a   prov:Entity .
-  } WHERE { 
-   ?document1 dct:source ?document2.
-  }
-</pre>
-</p>
-</div>
--->
+
 </div>
 <div id="cleanup" class="section">
 <h3><span class="secno">2.5.3 </span>Cleanup</h3>
--- a/examples/eg-40-xml-examples-by-term/xml/PrimarySource.xml	Thu Nov 01 13:21:53 2012 -0400
+++ b/examples/eg-40-xml-examples-by-term/xml/PrimarySource.xml	Thu Nov 01 13:22:07 2012 -0400
@@ -17,6 +17,7 @@
   <prov:wasDerivedFrom>
     <prov:generatedEntity prov:ref="ex:la-campagne-de-Russie-1812-1813"/>
     <prov:usedEntity prov:ref="ex:revue-d-Histoire-de-la-Pharmacie-t-XVIII"/>
+    <prov:type>prov:PrimarySource</prov:type>
   </prov:wasDerivedFrom>
 
 </prov:document>
--- a/model/diff-c.html	Thu Nov 01 13:21:53 2012 -0400
+++ b/model/diff-c.html	Thu Nov 01 13:22:07 2012 -0400
@@ -18,12 +18,6 @@
 
      
      
-
-     
-  
-
-     
-     
     
 
     
@@ -492,9 +486,9 @@
 /* other */
 pre.sh_sourceCode .sh_section { color: black; font-weight: bold; }
 pre.sh_sourceCode .sh_paren { color: red; }
-pre.sh_sourceCode .sh_attribute { color: #006400; }
-
-</style><span class="delete">
+pre.sh_sourceCode .sh_attribute { color: #006400; }<span class="delete">
+
+
 /* --- EDITORIAL NOTES --- */
 .pending {
     padding:    1em;
@@ -515,6 +509,8 @@
 }
 
 
+
+
 .resolved {
     padding:    1em;
     margin: 1em 0em 0em;
@@ -541,23 +537,31 @@
     background: #fff;
 }
 
-.inference[id]::before {
-    content:    "Inference: " attr(id);
-    width:  380px;  /* How can we compute the length of "Constraint: " attr(id) */
-}
-
-
-.inference::before {
-    content:    "Inference";
-    display:    block;
-    width:  150px;
-    margin: -1.5em 0 0.5em 0;
-    font-weight:    bold;
+
+.inference-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
     border: 1px solid #f00;
     background: #fff;
-    padding:    3px 1em;
 }
 
+/* .inference[id]::before { */
+/*     content:    "Inference: " attr(id); */
+/*     width:  380px;  /\* How can we compute the length of "Constraint: " attr(id) *\/ */
+/* } */
+
+
+/* .inference::before { */
+/*     content:    "Inference"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #f00; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
 .syntax {
     padding:    1em;
     margin: 1em 0em 0em;
@@ -610,23 +614,30 @@
     background: #fff;
 }
 
-.constraint[id]::before {
-    content:    "Constraint: " attr(id);
-    width:  380px;  /* How can we compute the length of "Constraint: " attr(id) */
-}
-
-
-.constraint::before {
-    content:    "Constraint";
-    display:    block;
-    width:  150px;
-    margin: -1.5em 0 0.5em 0;
-    font-weight:    bold;
+.constraint-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
     border: 1px solid #00f;
     background: #fff;
-    padding:    3px 1em;
 }
 
+/* .constraint[id]::before { */
+/*     content:    "Constraint: " attr(id); */
+/*     width:  380px;  /\* How can we compute the length of "Constraint: " attr(id) *\/ */
+/* } */
+
+
+/* .constraint::before { */
+/*     content:    "Constraint"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #00f; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
 
 
 .interpretation {
@@ -660,22 +671,29 @@
     background: #fff;
 }
 
-.definition[id]::before {
-    content:    "Definition: " attr(id);
-    width:  380px; 
+.definition-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #777;
+    background: #fff;
 }
 
-
-.definition::before {
-    content:    "Definition";
-    display:    block;
-    width:  150px;
-    margin: -1.5em 0 0.5em 0;
-    font-weight:    bold;
-    border: 1px solid #000;
-    background: #fff;
-    padding:    3px 1em;
-}
+/* .definition[id]::before { */
+/*     content:    "Definition: " attr(id); */
+/*     width:  380px;  */
+/* } */
+
+
+/* .definition::before { */
+/*     content:    "Definition"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #000; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
 
 
 .deprecatedconstraint {
@@ -728,7 +746,7 @@
     padding-top: 1ex;
     padding-bottom: 0.6ex;
     border: 1px dashed #2f6fab;
-    font-size: 80%;
+    font-size: 95%;
 }
 .nonterminal {
     font-weight: bold;
@@ -740,6 +758,11 @@
     font-family: monospace;
 }
 
+.math {
+    font-family: roman;
+    font-style:italic;
+}
+
 
 .xmpl {
     padding:    1em;
@@ -759,12 +782,23 @@
     padding:    3px 1em;
 }
 
+/*
+.anexample[count]::before {
+    content: "Example " attr(count) ;
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+
 .anexample:before {
     content: "Example:";
     font-family: sans-serif;
     font-size: 1.6ex;
     font-weight: bold;
 }
+
+*/
+
 .anexample {
     margin-top: 1ex;
     margin-bottom: 1ex;
@@ -920,105 +954,139 @@
     content:    "Structural constraint: ";
     font-weight:    bold;
 }
-</span><link href="./extra.css" rel="stylesheet" type="text/css" charset="utf-8"><link href="http://www.w3.org/StyleSheets/TR/W3C-WD" rel="stylesheet" type="text/css" charset="utf-8"></head> 
-  <body style="display: inherit; "><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">Constraints of the Provenance Data Model</h1><h2 id="w3c-working-draft-11-september-2012"><acronym title="World Wide Web Consortium">W3C</acronym> Working Draft <span class="delete">03 May</span><span class="insert">11 September</span> 2012</h2><dl><dt>This version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-constraints-20120503/</span><a href="http://www.w3.org/TR/2012/WD-prov-constraints-20120911/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-constraints-20120911/</span></a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/prov-constraints/">http://www.w3.org/TR/prov-constraints/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-constraints.html">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-constraints.html</a></dd><dt><span class="insert">Previous version:</span></dt><dd><a href="http://www.w3.org/TR/2012/WD-prov-constraints-20120503/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-constraints-20120503/</span></a></dd><dt>Editors:</dt><dd><a href="http://homepages.inf.ed.ac.uk/jcheney">James Cheney</a>, University of Edinburgh</dd>
+
+
+code {
+    color:  black;
+}
+
+.ruleTitle {
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+
+
+
+
+.remark {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px dashed #000;
+    background: #F0F0F0;
+}
+
+.remark::before {
+    content:    "Remark";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #000;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+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;
+}</span>
+
+</style><link href="./extra.css" rel="stylesheet" type="text/css" charset="utf-8"><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css" charset="utf-8"></head> 
+  <body style="display: inherit; "><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">Constraints of the Provenance Data Model</h1><h2 id="subtitle"><a href="diff-c.html"><span class="insert">Changes</span></a><span class="insert"> since Last Call Working Draft  (LC)</span></h2><h2 id="w3c-editor-s-draft-01-november-2012"><acronym title="World Wide Web Consortium">W3C</acronym> <span class="delete">Working</span><span class="insert">Editor's</span> Draft <span class="delete">11 September</span><span class="insert">01 November</span> 2012</h2><dl><dt>This version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-constraints-20120911/</span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-constraints.html"><span class="insert">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-constraints.html</span></a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/prov-constraints/">http://www.w3.org/TR/prov-constraints/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-constraints.html">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-constraints.html</a></dd><dt>Previous version:</dt><dd><a href="http://www.w3.org/TR/2012/WD-prov-constraints-20120503/">http://www.w3.org/TR/2012/WD-prov-constraints-20120503/</a><span class="delete"> (</span><span class="delete">color-coded diffs</span><span class="delete">)</span></dd><dt>Editors:</dt><dd><a href="http://homepages.inf.ed.ac.uk/jcheney">James Cheney</a>, University of Edinburgh</dd>
 <dd><a href="http://www.cs.ncl.ac.uk/people/Paolo.Missier">Paolo Missier</a>, Newcastle University</dd>
 <dd><a href="http://www.ecs.soton.ac.uk/~lavm/">Luc Moreau</a>, University of Southampton</dd>
-<dt><span class="insert">Author:</span></dt><dd><a href="http://users.ugent.be/~tdenies/"><span class="insert">Tom De Nies</span></a><span class="insert">, IBBT - Ghent University</span></dd>
+<dt>Author:</dt><dd><a href="http://users.ugent.be/~tdenies/">Tom De Nies</a>, IBBT - Ghent University</dd>
 </dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2012-2012 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. <acronym title="World Wide Web Consortium">W3C</acronym> <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> 
 
     <div id="abstract" class="introductory section"><h2>Abstract</h2>
 <p>
-<span class="delete">PROV-DM, the PROV</span><span class="insert">Provenance is information about entities, activities, and people
-involved in producing a piece of</span> data <span class="delete">model,</span><span class="insert">or thing, which can be used to
+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</span> is <span class="insert">the conceptual data model that forms </span>a<span class="delete"> data model</span><span class="insert">
-basis</span> for <span class="insert">the </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym> provenance <span class="delete">that describes
-the entities, people and activities involved in
-producing a piece</span><span class="insert">(PROV) family</span> of <span class="delete">data or thing. 
-PROV-DM is structured in six components, dealing with: 
-(1) entities and activities, and the time at which they were created, used, or ended;
-(2) agents bearing responsibility for entities that were generated and activities that happened;
-(3) derivations of entities from entities;
-(4) properties to link entities that refer to a same thing;
-(5) collections forming a logical structure for its members;
-(6) a simple annotation mechanism.
-</span><span class="insert">specifications.
-
-</span></p>
-
-
-<p> This document <span class="delete">introduces</span><span class="insert">defines</span> a <span class="delete">further set</span><span class="insert">subset</span> of <span class="delete">concepts useful</span><span class="insert">PROV instances called
-</span><i><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a></i><span class="insert"> PROV instances.  
-The intent of validation is ensure that a PROV instance represents a history of objects and their interactions which is consistent, and thus safe to use</span> for<span class="delete">
-  understanding the</span><span class="insert"> the purpose of logical reasoning and other kinds of analysis.
-Valid</span> PROV <span class="delete">data model and defines </span><span class="insert">instances satisfy
-certain </span><a><span class="insert">definitions</span></a><span class="insert">, </span><a>inferences
-  </a><span class="insert">, and
-</span><a><span class="insert">constraints</span></a><span class="insert">. These definitions, inferences, and constraints
+trustworthiness. PROV-DM is the conceptual data model that forms a
+basis for the <acronym title="World Wide Web Consortium">W3C</acronym> provenance (PROV) family of specifications.
+
+</p>
+
+
+<p> This document defines a subset of PROV instances called
+<i><a href="#dfn-valid" class="internalDFN">valid</a></i> PROV <span class="delete">instances.  
+</span><span class="insert">instances, by analogy with notions of
+validity for other Web standards.
+</span>The intent of validation is ensure that a PROV instance represents a<span class="insert">
+consistent</span> history of objects and their interactions <span class="delete">which</span><span class="insert">that</span> is <span class="delete">consistent, and thus </span>safe to 
+use for the purpose of logical reasoning and other kinds of analysis.
+Valid PROV instances satisfy
+certain <a>definitions</a>, <a>inferences</a>, and
+<a>constraints</a>. These definitions, inferences, and constraints
 provide a measure of consistency checking for provenance and reasoning
-over provenance.  They can also be used to </span><a title="normal
-form" href="#dfn-normal-form" class="internalDFN"><span class="insert">normalize</span></a><span class="insert"> PROV instances to forms </span>that <span class="insert">can easily be
-compared in order to determine whether two PROV instances </span>are<span class="delete"> allowed on provenance statements and </span><span class="delete">validity
-  constraints</span><span class="delete"> that</span>
-<a href="#dfn-equivalent" class="internalDFN"><span class="insert">equivalent</span></a><span class="insert">.  Validity and equivalence are also defined for</span> PROV<span class="delete"> instances should
-  follow. These inferences and constraints are useful for readers who
-  develop applications that generate provenance</span><span class="insert">
+over provenance.  They can also be used to <a title="normal
+form" href="#dfn-normal-form" class="internalDFN">normalize</a> PROV instances to forms that can easily be
+compared in order to determine whether two PROV instances are
+<a href="#dfn-equivalent" class="internalDFN">equivalent</a>.  Validity and equivalence are also defined for PROV
 bundles (that is, named instances) and documents (that is, a toplevel
-instance together with zero</span> or <span class="delete">reason over
-  provenance.
-</span><span class="insert">more bundles).</span></p>
-
+instance together with zero or more bundles).</p>
 
 </div><div id="sotd" class="introductory section"><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 <acronym title="World Wide Web Consortium">W3C</acronym> publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/"><acronym title="World Wide Web Consortium">W3C</acronym> technical reports index</a> at http://www.w3.org/TR/.</em></p>
-<h4 id="last-call"><span class="insert">Last Call</span></h4>
-<p><span class="insert">This is the second public release of the PROV-CONSTRAINTS document. 
-This is a Last Call Working Draft. The design is not expected to change significantly, going forward, and now is the key time for external review.</span></p>
-
-<p><span class="insert">This specification identifies  </span><a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi"><span class="insert">features at
-risk</span></a><span class="insert"> related to the at-risk Mention feature of [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM"><span class="insert">PROV-DM</span></a></cite><span class="insert">]:
-</span><a class="rule-text" href="#mention-specialization-inference_text"><span><span class="insert">Inference 22 (mention-specialization-inference)</span></span></a><span class="insert"> and
-</span><a class="rule-text" href="#unique-mention_text"><span><span class="insert">Constraint 31 (unique-mention)</span></span></a><span class="insert">.
-These might be removed from PROV-CONSTRAINTS.</span></p>
+<h4 id="last-call">Last Call</h4>
+<p>This is the second public release of the PROV-CONSTRAINTS document. 
+This is a Last Call Working Draft. The design is not expected to change significantly, going forward, and now is the key time for external review.</p>
+
+<p>This specification identifies  <a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi">features at
+risk</a> related to the at-risk Mention feature of [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>]:
+<a class="rule-text" href="#mention-specialization-inference_text"><span>Inference 22 (mention-specialization-inference)</span></a> and
+<a class="rule-text" href="#unique-mention_text"><span>Constraint 31 (unique-mention)</span></a>.
+These might be removed from PROV-CONSTRAINTS.</p>
 
 <h4 id="prov-family-of-specifications">PROV Family of Specifications</h4>
 This document is part of the PROV family of specifications, a set of specifications defining various aspects that are necessary to achieve the vision of inter-operable
 interchange of provenance information in heterogeneous environments such as the Web.  The specifications are:
 <ul>
-<li> <span class="delete">PROV-DM,</span><a href="http://www.w3.org/TR/prov-dm/"><span class="insert">PROV-DM</span></a><span class="insert">,</span> the PROV data model for provenance;</li>
-<li> <span class="delete">PROV-CONSTRAINTS,</span><a href="http://www.w3.org/TR/prov-constraints/"><span class="insert">PROV-CONSTRAINTS</span></a><span class="insert">,</span> a set of constraints applying to the PROV data model  (this document);</li>
-<li> <span class="delete">PROV-N,</span><a href="http://www.w3.org/TR/prov-n/"><span class="insert">PROV-N</span></a><span class="insert">,</span> a notation for provenance aimed at human consumption;</li>
-<li> <span class="delete">PROV-O,</span><a href="http://www.w3.org/TR/prov-o/"><span class="insert">PROV-O</span></a><span class="insert">,</span> the PROV ontology, an <span class="delete">OWL-RL</span><span class="insert">OWL2</span> ontology allowing the mapping of PROV to RDF;</li>
-<li> <span class="delete">PROV-AQ,</span><a href="http://www.w3.org/TR/prov-aq/"><span class="insert">PROV-AQ</span></a><span class="insert">,</span> the mechanisms for accessing and querying provenance; </li>
-<li> <span class="delete">PROV-PRIMER,</span><a href="http://www.w3.org/TR/prov-primer/"><span class="insert">PROV-PRIMER</span></a><span class="insert">,</span> a primer<span class="delete"> for the PROV data model;</span>
-<span class="delete"> PROV-SEM, a formal semantics for the PROV data model;</span>
-<span class="delete"> PROV-XML, an XML schema</span> for the PROV data model.</li>
+<li> <a href="http://www.w3.org/TR/prov-dm/">PROV-DM</a>, the PROV data model for provenance;</li>
+<li> <a href="http://www.w3.org/TR/prov-constraints/">PROV-CONSTRAINTS</a>, a set of constraints applying to the PROV data model  (this document);</li>
+<li> <a href="http://www.w3.org/TR/prov-n/">PROV-N</a>, a notation for provenance aimed at human consumption;</li>
+<li> <a href="http://www.w3.org/TR/prov-o/">PROV-O</a>, the PROV ontology, an OWL2 ontology allowing the mapping of PROV to RDF;</li>
+<li> <a href="http://www.w3.org/TR/prov-aq/">PROV-AQ</a>, the mechanisms for accessing and querying provenance; </li>
+<li> <a href="http://www.w3.org/TR/prov-primer/">PROV-PRIMER</a>, a primer for the PROV data model.</li>
 </ul>
 <h4 id="how-to-read-the-prov-family-of-specifications">How to read the PROV Family of Specifications</h4>
 <ul>
 <li>The primer is the entry point to PROV offering an introduction to the provenance model.</li>
-<li>The Linked Data and Semantic Web community should focus on PROV-O 
-defining PROV classes and properties specified in an <span class="delete">OWL-RL </span><span class="insert">OWL2
-</span>ontology. For further details, PROV-DM and PROV-CONSTRAINTS specify 
-the constraints applicable to the data model, and its interpretation.<span class="delete"> PROV-SEM provides a mathematical semantics.</span>
-<span class="delete">The XML community should focus on PROV-XML defining an XML schema for PROV-DM. Further details can also be found in PROV-DM, PROV-CONSTRAINTS, and PROV-SEM.</span>
-
+<li>The Linked Data and Semantic Web community should focus on PROV-O
+defining PROV classes and properties specified in an OWL2
+ontology. For further details, PROV-DM and PROV-CONSTRAINTS specify
+the constraints applicable to the data model, and its interpretation.
+
+  
 </li>
 <li>Developers seeking to retrieve or publish provenance should focus on PROV-AQ.</li>
 <li>Readers seeking to implement other PROV serializations
-should focus on PROV-DM and PROV-CONSTRAINTS.  <span class="delete">PROV-O, PROV-N, PROV-XML</span><span class="insert">PROV-O and PROV-N</span> offer examples of mapping to <span class="delete">RDF,</span><span class="insert">RDF and</span> text,<span class="delete"> and XML,</span> respectively.</li>
+should focus on PROV-DM and PROV-CONSTRAINTS.  PROV-O and PROV-N offer 
+examples of mapping to RDF and text, respectively.</li>
+<li><span class="insert">[</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM"><span class="insert">PROV-SEM</span></a></cite><span class="insert">] provides a mathematical semantics and a collection of
+axioms that provide a (non-normative, but equivalent) declarative specification, aimed
+at readers with a mathematical logic or formal background.  This can
+serve as a starting point for alternative implementations. </span></li>
 </ul>
 
-<span class="delete">First Public Working Draft</span>
- <p>This <span class="delete">is the first public release of the PROV-CONSTRAINTS
-document. Following feedback, the Working Group has decided to
-reorganize the PROV-DM document substantially, separating the data model,
-from its constraints, and the notation used to illustrate it. The
-PROV-CONSTRAINTS release is synchronized with the release of the PROV-DM, PROV-O,
-PROV-PRIMER, and PROV-N documents.
-</span>
-<span class="delete">This </span>document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as a <span class="delete">First Public</span><span class="insert">Last Call</span> Working Draft. This document is intended to become a <acronym title="World Wide Web Consortium">W3C</acronym> Recommendation. If you wish to make comments regarding this document, please send them to <span class="delete">public-prov-wg@w3.org</span><a href="mailto:public-prov-comments@w3.org"><span class="insert">public-prov-comments@w3.org</span></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>).<span class="insert"> The Last Call period ends 10 October 2012.</span> All feedback is welcome.</p><p>Publication as a Working Draft does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> 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><span class="insert">This is a Last Call Working Draft and thus the Working Group has determined that this document has satisfied the relevant technical requirements and is sufficiently stable to advance through the Technical Recommendation process.</span></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 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>. <acronym title="World Wide Web Consortium">W3C</acronym> 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 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>.</p></div><div id="toc" class="section"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction<br>
-</a><ul class="toc"><li class="tocline"><a href="#conventions" class="tocxref"><span class="secno">1.1 </span>Conventions</a></li><li class="tocline"><a href="#purpose" class="tocxref"><span class="secno">1.2 </span>Purpose of this document</a></li><li class="tocline"><a href="#structure-of-this-document" class="tocxref"><span class="secno"><span class="insert">1.3 </span></span><span class="insert">Structure of this document</span></a></li><li class="tocline"><a href="#audience" class="tocxref"><span class="secno"><span class="delete">1.3</span><span class="insert">1.4</span> </span> Audience </a></li></ul></li><li class="tocline"><a href="#rationale" class="tocxref"><span class="secno"><span class="insert">2. </span></span><span class="insert">Rationale</span></a><ul class="toc"><li class="tocline"><a href="#entities--activities-and-agents" class="tocxref"><span class="secno"><span class="insert">2.1 </span></span><span class="insert">Entities, Activities and Agents</span></a></li><li class="tocline"><a href="#events" class="tocxref"><span class="secno"><span class="insert">2.2 </span></span><span class="insert">Events</span></a></li><li class="tocline"><a href="#typing-section" class="tocxref"><span class="secno"><span class="insert">2.3 </span></span><span class="insert">Types</span></a></li><li class="tocline"><a href="#validation-process-overview-1" class="tocxref"><span class="secno"><span class="insert">2.4 </span></span><span class="insert">Validation Process Overview</span></a></li><li class="tocline"><a href="#summary-of-inferences-and-constraints" class="tocxref"><span class="secno"><span class="insert">2.5 </span></span><span class="insert">Summary of inferences and constraints</span></a></li></ul></li><li class="tocline"><a href="#compliance" class="tocxref"><span class="secno"><span class="delete">2.</span><span class="insert">3.</span> </span>Compliance with this document</a></li><li class="tocline"><a href="#inferences" class="tocxref"><span class="secno"><span class="delete">3. </span><span class="insert">4. </span></span><span class="insert">Definitions and </span>Inferences<span class="delete"> and Definitions</span></a><ul class="toc"><li class="tocline"><a href="#optional-identifiers-and-attributes" class="tocxref"><span class="secno"><span class="delete">3.1 </span><span class="delete">Component 1: Entities and Activities</span><span class="insert">4.1 </span></span><span class="insert">Optional Identifiers and Attributes</span></a></li><li class="tocline"><a href="#entities-and-activities" class="tocxref"><span class="secno"><span class="delete">3.2 </span><span class="delete">Component 2: Agents</span><span class="insert">4.2 </span></span><span class="insert">Entities and Activities</span></a></li><li class="tocline"><a href="#derivations" class="tocxref"><span class="secno"><span class="delete">3.3 </span><span class="delete">Component 3: </span><span class="insert">4.3 </span></span>Derivations</a></li><li class="tocline"><a href="#agents" class="tocxref"><span class="secno"><span class="delete">3.4 </span><span class="delete">Component 4: Alternate Entities</span><span class="delete">3.4.1 </span><span class="delete">Specialization</span><span class="insert">4.4 </span></span><span class="insert">Agents</span></a></li><li class="tocline"><a href="#alternate-and-specialized-entities" class="tocxref"><span class="secno"><span class="delete">3.4.2</span><span class="insert">4.5</span> </span>Alternate<span class="delete">4. </span><span class="delete">Equivalence</span><span class="delete">4.1 </span><span class="delete">Optional Attributes</span><span class="delete">4.2 </span><span class="delete">Normalization</span><span class="insert"> and Specialized Entities</span></a></li></ul></li><li class="tocline"><a href="#constraints" class="tocxref"><span class="secno">5. </span><span class="delete">Validity </span>Constraints</a><ul class="toc"><li class="tocline"><a href="#uniqueness-constraints" class="tocxref"><span class="secno">5.1 </span>Uniqueness Constraints</a></li><li class="tocline"><a href="#event-ordering-constraints" class="tocxref"><span class="secno">5.2 </span>Event Ordering Constraints</a><ul class="toc"><li class="tocline"><a href="#activity-constraints" class="tocxref"><span class="secno">5.2.1 </span>Activity constraints</a></li><li class="tocline"><a href="#entity-constraints" class="tocxref"><span class="secno">5.2.2 </span> Entity constraints</a></li><li class="tocline"><a href="#agent-constraints" class="tocxref"><span class="secno">5.2.3 </span> Agent constraints</a></li></ul></li><li class="tocline"><a href="#type-constraints" class="tocxref"><span class="secno"><span class="insert">5.3 </span></span><span class="insert">Type Constraints</span></a></li><li class="tocline"><a href="#impossibility-constraints" class="tocxref"><span class="secno"><span class="delete">6. </span><span class="delete">Collection Constraints</span><span class="delete">6.1 </span><span class="delete">Collection branching</span><span class="delete">6.2 </span><span class="delete">Collections and Weaker Derivation Relation</span><span class="insert">5.4 </span></span><span class="insert">Impossibility constraints</span></a></li></ul></li><li class="tocline"><a href="#normalization-validity-equivalence" class="tocxref"><span class="secno"><span class="delete">7. </span><span class="delete">Account Constraints</span><span class="insert">6. </span></span><span class="insert">Normalization, Validity, and Equivalence</span></a><ul class="toc"><li class="tocline"><a href="#instance" class="tocxref"><span class="secno"><span class="insert">6.1 </span></span><span class="insert">Instances</span></a></li><li class="tocline"><a href="#bundle-constraints" class="tocxref"><span class="secno"><span class="delete">8. </span><span class="delete">Rationale for inferences and constraints</span><span class="delete">8.1 </span><span class="delete">Entities and Attributes</span><span class="delete">8.2 </span><span class="delete">Activities</span><span class="delete">8.3 </span><span class="delete">Description, Assertion, and Inference</span><span class="delete">8.4 </span><span class="delete">Events and Time</span><span class="delete">8.4.1 </span><span class="delete">Event Ordering</span><span class="delete">8.4.2 </span><span class="delete">Types of Events</span><span class="insert">6.2 </span></span><span class="insert">Bundles and Documents</span></a></li></ul></li><li class="tocline"><a href="#glossary" class="tocxref"><span class="secno"><span class="delete">8.5 </span><span class="delete">Account</span><span class="insert">7. </span></span><span class="insert">Glossary</span></a></li><li class="tocline"><a href="#termination" class="tocxref"><span class="secno"><span class="insert">A. </span></span><span class="insert">Termination of normalization</span></a></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno"><span class="delete">A.</span><span class="insert">B.</span> </span>Acknowledgements<span class="delete">B. </span><span class="delete">Glossary</span></a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">C. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">C.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">C.2 </span>Informative references</a></li></ul></li></ul></div>
+<p>This document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as <span class="delete">a Last Call Working</span><span class="insert">an Editor's</span> Draft.<span class="delete"> This document is intended to become a </span><span class="delete">W3C</span><span class="delete"> Recommendation.</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>).<span class="delete"> The Last Call period ends 10 October 2012.</span> All feedback is welcome.</p><p>Publication as <span class="delete">a Working</span><span class="insert">an Editor's</span> Draft does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> 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.<span class="delete">This is a Last Call Working Draft and thus the Working Group has determined that this document has satisfied the relevant technical requirements and is sufficiently stable to advance through the Technical Recommendation process.</span></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 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>. <acronym title="World Wide Web Consortium">W3C</acronym> 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 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>.</p></div><div id="toc" class="section"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction<br>
+</a><ul class="toc"><li class="tocline"><a href="#conventions" class="tocxref"><span class="secno">1.1 </span>Conventions</a></li><li class="tocline"><a href="#purpose" class="tocxref"><span class="secno">1.2 </span>Purpose of this document</a></li><li class="tocline"><a href="#structure-of-this-document" class="tocxref"><span class="secno">1.3 </span>Structure of this document</a></li><li class="tocline"><a href="#audience" class="tocxref"><span class="secno">1.4 </span> Audience </a></li></ul></li><li class="tocline"><a href="#rationale" class="tocxref"><span class="secno">2. </span>Rationale</a><ul class="toc"><li class="tocline"><a href="#entities--activities-and-agents" class="tocxref"><span class="secno">2.1 </span>Entities, Activities and Agents</a></li><li class="tocline"><a href="#events" class="tocxref"><span class="secno">2.2 </span>Events</a></li><li class="tocline"><a href="#typing-section" class="tocxref"><span class="secno">2.3 </span>Types</a></li><li class="tocline"><a href="#validation-process-overview-1" class="tocxref"><span class="secno">2.4 </span>Validation Process Overview</a></li><li class="tocline"><a href="#summary-of-inferences-and-constraints" class="tocxref"><span class="secno">2.5 </span>Summary of inferences and constraints</a></li></ul></li><li class="tocline"><a href="#compliance" class="tocxref"><span class="secno">3. </span>Compliance with this document</a></li><li class="tocline"><a href="#inferences" class="tocxref"><span class="secno">4. </span>Definitions and Inferences</a><ul class="toc"><li class="tocline"><a href="#optional-identifiers-and-attributes" class="tocxref"><span class="secno">4.1 </span>Optional Identifiers and Attributes</a></li><li class="tocline"><a href="#entities-and-activities" class="tocxref"><span class="secno">4.2 </span>Entities and Activities</a></li><li class="tocline"><a href="#derivations" class="tocxref"><span class="secno">4.3 </span>Derivations</a></li><li class="tocline"><a href="#agents" class="tocxref"><span class="secno">4.4 </span>Agents</a></li><li class="tocline"><a href="#alternate-and-specialized-entities" class="tocxref"><span class="secno">4.5 </span>Alternate and Specialized Entities</a></li></ul></li><li class="tocline"><a href="#constraints" class="tocxref"><span class="secno">5. </span>Constraints</a><ul class="toc"><li class="tocline"><a href="#uniqueness-constraints" class="tocxref"><span class="secno">5.1 </span>Uniqueness Constraints</a></li><li class="tocline"><a href="#event-ordering-constraints" class="tocxref"><span class="secno">5.2 </span>Event Ordering Constraints</a><ul class="toc"><li class="tocline"><a href="#activity-constraints" class="tocxref"><span class="secno">5.2.1 </span>Activity constraints</a></li><li class="tocline"><a href="#entity-constraints" class="tocxref"><span class="secno">5.2.2 </span> Entity constraints</a></li><li class="tocline"><a href="#agent-constraints" class="tocxref"><span class="secno">5.2.3 </span> Agent constraints</a></li></ul></li><li class="tocline"><a href="#type-constraints" class="tocxref"><span class="secno">5.3 </span>Type Constraints</a></li><li class="tocline"><a href="#impossibility-constraints" class="tocxref"><span class="secno">5.4 </span>Impossibility constraints</a></li></ul></li><li class="tocline"><a href="#normalization-validity-equivalence" class="tocxref"><span class="secno">6. </span>Normalization, Validity, and Equivalence</a><ul class="toc"><li class="tocline"><a href="#instance" class="tocxref"><span class="secno">6.1 </span>Instances</a></li><li class="tocline"><a href="#bundle-constraints" class="tocxref"><span class="secno">6.2 </span>Bundles and Documents</a></li></ul></li><li class="tocline"><a href="#glossary" class="tocxref"><span class="secno">7. </span>Glossary</a></li><li class="tocline"><a href="#termination" class="tocxref"><span class="secno">A. </span>Termination of normalization</a></li><li class="tocline"><a href="#changes-since-last-version" class="tocxref"><span class="secno"><span class="insert">B. </span></span><span class="insert">Changes since last version</span></a></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno"><span class="delete">B.</span><span class="insert">C.</span> </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno"><span class="delete">C.</span><span class="insert">D.</span> </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno"><span class="delete">C.1</span><span class="insert">D.1</span> </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno"><span class="delete">C.2</span><span class="insert">D.2</span> </span>Informative references</a></li></ul></li></ul></div>
 
 
 
@@ -1029,10 +1097,8 @@
       <h2><span class="secno">1. </span>Introduction<br>
 </h2> 
 
-<p> 
-Provenance is a record that describes the people, institutions,
-   entities, and <span class="delete">activities,</span><span class="insert">activities</span> involved in producing, influencing, or
-   delivering a piece of data or a thing.  
+<p>
+Provenance is a record that describes the people, institutions, entities, and activities involved in producing, influencing, or delivering a piece of data or a thing.
 This document complements
   the PROV-DM specification [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] that defines a data model for
   provenance on the Web.  </p>
@@ -1050,181 +1116,156 @@
       "<em class="rfc2119" title="optional">optional</em>" in this document are to be interpreted as described in
       [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC2119">RFC2119</a></cite>].</p>
 
-<p><span class="insert">In this document, logical formulas contain variables written as</span>
-    <span class="insert">lower-case identifiers.  Some of these variables are written
-    beginning with the underscore character </span><span class="name"><span class="insert">_</span></span><span class="insert">, by convention, to indicate that they
+<p>In this document, logical formulas contain variables written as
+    lower-case identifiers.  Some of these variables are written
+    beginning with the underscore character <span class="name">_</span>, by convention, to indicate that they
     appear only once in the formula.  Such variables are
-    provided merely as an aid to the reader.  </span></p>
-
-</div> 
-
-
-
+    provided merely as an aid to the reader.  </p>
+
+</div>
 
 
 <div id="purpose" class="section">
 
 <h3><span class="secno">1.2 </span>Purpose of this document</h3>
 
-<p><span class="delete"> PROV-DM</span><span class="insert">The PROV Data Model, PROV-DM,</span> is a conceptual data model for <span class="delete">provenance (realizable
-</span><span class="insert">provenance, which is
-realizable </span>using different <span class="delete">serializations</span><span class="insert">representations</span> such as <span class="delete">PROV-N, PROV-O,</span><span class="insert">PROV-N and PROV-O.
-A PROV </span><dfn id="dfn-document"><span class="insert">document</span></dfn><span class="insert"> is a set of PROV statements,
-together with zero</span> or <span class="delete">PROV-XML).
-However, nothing</span><span class="insert">more </span><a><span class="insert">bundles</span></a><span class="insert">, or named sets of
+<p>The PROV Data Model, PROV-DM, is a conceptual data model for provenance, which is
+realizable using different representations such as PROV-N and PROV-O.
+A PROV <dfn id="dfn-document">document</dfn> is a set of PROV statements,
+together with zero or more <a>bundles</a>, or named sets of
 statements.  For
 example, a PROV document could be a .provn document, the result
-of a query, a triple store containing PROV statements</span> in <span class="delete">the </span><span class="insert">RDF, etc.
-A PROV </span><dfn id="dfn-instance"><span class="insert">instance</span></dfn><span class="insert"> is a set of PROV statements.
+of a query, a triple store containing PROV statements in RDF, etc.
+A PROV <dfn id="dfn-instance">instance</dfn> is a set of PROV statements.
 The
-</span>PROV-DM specification [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] <span class="delete">forces sets
-</span><span class="insert">imposes minimal requirements upon
-PROV instances. A </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert"> PROV instance corresponds to a
-consistent history </span>of <span class="insert">objects and interactions to which logical
-reasoning can be safely applied. By default, </span>PROV<span class="delete">
-statements (or </span> instances<span class="delete">) to </span><span class="insert"> need not
-</span>be <span class="delete">meaningful, that is, to correspond to a consistent
-history of objects and interactions.  Furthermore, nothing in the
-PROV-DM specification enables applications to perform inferences over
-PROV </span><span class="delete">instances</span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a>.  </p>
-
-<p> This document specifies <em><span class="insert">definitions</span></em><span class="insert"> of some
-provenance statements in terms of others, </span><em>inferences</em> over PROV instances 
-that
- applications <em class="rfc2119" title="may">may</em> employ, <span class="delete">including definitions</span><span class="insert">and also defines a class</span> of<span class="delete"> some provenance
-statements in terms of others, and also defines a class of </span>
-<a href="#dfn-valid" class="internalDFN">valid
-</a> PROV instances by specifying <em>constraints</em> that 
-<a href="#dfn-valid" class="internalDFN">valid</a> PROV instances must
- satisfy. <span class="delete">Applications </span><span class="delete">should</span><span class="delete"> produce valid provenance and
-</span><span class="delete">may</span><span class="delete"> reject provenance that is not valid in order to increase
-the usefulness</span><span class="insert">There are four kinds</span> of<span class="delete"> provenance and reliability of applications that
-process it.  </span><span class="delete">section 2. Compliance with this document</span><span class="delete">
-summarizes the requirements for compliance with this document, which
-are specified in detail in the rest of the document.
-</span>
-
-<span class="delete"> This specification lists inferences and definitions together in one
-section (</span><span class="delete">section 3. Inferences and Definitions</span><span class="delete">), defines the
-induced notion of </span><span class="delete">equivalence</span><span class="delete"> (</span><span class="delete">section 4. Equivalence</span><span class="delete">), and then
-considers two kinds of validity constraints (</span><span class="delete">section 5. Validity Constraints</span><span class="delete">):</span><span class="insert">
-constraints:</span> <em><span class="delete">structural</span><span class="insert">uniqueness</span> constraints</em><span class="delete"> that
-prescribe properties of PROV instances that can be checked directly
-by inspecting the syntax, and</span><span class="insert">,</span> <em>event ordering<span class="insert">
-constraints</span></em><span class="insert">, </span><em><span class="insert">impossibility</span> constraints<span class="delete"> that
-require that the records</span></em><span class="insert">, and </span><em><span class="insert">type
-constraints</span></em><span class="insert">.
+PROV-DM specification [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] imposes minimal requirements upon
+PROV instances. A <a href="#dfn-valid" class="internalDFN">valid</a> PROV instance corresponds to a
+consistent history of objects and interactions to which logical
+reasoning can be safely applied. <span class="delete">By default, </span>PROV instances need not
+be <a href="#dfn-valid" class="internalDFN">valid</a>.  
+</p>
+<p><span class="insert">
+The term </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert"> is chosen by analogy with
+notions of validity in other </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> specifications. Unfortunately, this
+terminology is incompatible with the usual meaning of "validity" in logic;
+our notion of validity of a PROV instance/document is closer to
+logical "consistency".
+</span></p>
+
+<p> This document specifies <em>definitions</em> of some
+provenance statements in terms of others, <em>inferences</em> over PROV instances
+that applications <em class="rfc2119" title="may">may</em> employ, and also defines a class of
+<a href="#dfn-valid" class="internalDFN">valid</a> PROV instances by specifying <em>constraints</em> that
+<a href="#dfn-valid" class="internalDFN">valid</a> PROV instances must satisfy. There are four kinds of
+constraints: <em>uniqueness constraints</em>, <em>event ordering
+constraints</em>, <em>impossibility constraints</em>, and <em>type
+constraints</em>.
 Further discussion
 of the semantics of PROV statements, which justifies the definitions, inferences
-and constraints, can be found</span> in <span class="delete">a PROV </span><span class="delete">instance</span><span class="delete"> are consistent with a
-sensible ordering of events relating the activities, entities and
-agents involved.  In separate sections we consider additional
-constraints specific to collections and accounts (</span><span class="delete">section 6. Collection Constraints</span><span class="delete"> and </span><span class="delete">section 7. Account Constraints</span><span class="delete">).  </span>
-
-
-<span class="delete">
-Finally, the specification includes a section (</span><span class="delete">section 8. Rationale for inferences and constraints</span><span class="delete">) describing the rationale
-for the inferences and constraints in greater detail, particularly
-background on events, attributes, the role of inference, and
-accounts. A</span><span class="insert">the</span> formal <span class="delete">mathematical model that further justifies the
-constraints and inferences is found in</span><span class="insert">semantics</span> [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM">PROV-SEM</a></cite>].
+and constraints,<span class="insert"> and relates the procedural specification approach
+taken here to a declarative specification,</span> can be found in the formal semantics [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM">PROV-SEM</a></cite>].
 </p>
 
-<p><span class="insert">We define validity and equivalence in terms of a
-concept called </span><a title="normal form" href="#dfn-normal-form" class="internalDFN"><span class="insert">normalization</span></a><span class="insert">.  Definitions, inferences,
-and uniqueness constraints can be applied to </span><a title="normal
-form" href="#dfn-normal-form" class="internalDFN"><span class="insert">normalize</span></a><span class="insert"> PROV instances, and event ordering, typing, and
+<p>We define validity and equivalence in terms of a
+concept called <a title="normal form" href="#dfn-normal-form" class="internalDFN">normalization</a>.  Definitions, inferences,
+and uniqueness constraints can be applied to <a title="normal
+form" href="#dfn-normal-form" class="internalDFN">normalize</a> PROV instances, and event ordering, typing, and
 impossibility constraints can be checked on the normal form to determine
-</span><a title="valid" href="#dfn-valid" class="internalDFN"><span class="insert">validity</span></a><span class="insert">.  Equivalence of two PROV 
+<a title="valid" href="#dfn-valid" class="internalDFN">validity</a>.  Equivalence of two PROV 
 instances can be determined by comparing their normal forms.  For PROV
 documents, validity and equivalence amount to checking the validity or
-pairwise equivalence of their respective documents.
-</span></p>
-<p><span class="insert">
-This document outlines an algorithm for validity checking based on
-</span><a title="normal form" href="#dfn-normal-form" class="internalDFN"><span class="insert">normalization</span></a><span class="insert">.  Applications </span><em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> implement
-validity and equivalence checking using normalization, as suggested
-here, or in
+pairwise equivalence of their respective <span class="delete">documents.</span><span class="insert">instances.</span>
+</p>
+<p>
+This <span class="delete">document outlines</span><span class="insert">specification defines
+validity and equivalence procedurally, via</span> an algorithm<span class="delete"> for validity checking</span> based on
+<a title="normal form" href="#dfn-normal-form" class="internalDFN">normalization</a>.  Applications <em class="rfc2119" title="may">may</em> implement
+validity and equivalence checking using normalization, as <span class="delete">suggested
+here, or</span><span class="insert">outlined
+here.  Applications </span><em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> also implement validation and equivalence
+checking</span> in
 any other way as long as the same instances or documents are considered valid or
 equivalent, respectively.
-</span></p>
-
-<p><span class="insert">Checking validity or equivalence are </span><em class="rfc2119" title="recommended"><span class="insert">recommended</span></em><span class="insert">, but not required, for
-applications compliant with PROV.  This specification defines how
+</p>
+
+<p> Checking validity or equivalence are <em class="rfc2119" title="recommended">recommended</em>, but not required, for
+applications compliant with PROV.<span class="delete">  This specification defines how
 validity and equivalence are to be checked, if an application elects
-to support them at all.  
-Applications producing provenance </span><em class="rfc2119" title="should"><span class="insert">should</span></em><span class="insert"> ensure that it is
-</span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert">, and similarly applications consuming provenance </span><em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> reject provenance that is not </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert">.  Applications
+to support them at all.</span>  
+Applications producing provenance <em class="rfc2119" title="should">should</em> ensure that it is
+<a href="#dfn-valid" class="internalDFN">valid</a>, and similarly applications consuming provenance <em class="rfc2119" title="may">may</em> reject provenance that is not <a href="#dfn-valid" class="internalDFN">valid</a>.  Applications
 which are determining whether PROV instances or documents convey the same
-information </span><em class="rfc2119" title="should"><span class="insert">should</span></em><span class="insert"> check equivalence as specified here, and </span><em class="rfc2119" title="should"><span class="insert">should</span></em><span class="insert">
-treat equivalent instances or documents in the same way.
-</span></p>
+information <em class="rfc2119" title="should">should</em> check equivalence as specified here, and <em class="rfc2119" title="should">should</em>
+treat equivalent instances or documents in the same way.<span class="insert">  This is a
+guideline only, because meaning of "in the same way" is
+application-specific.  For example, applications that manipulate the syntax of
+PROV instances in particular representations, such as pretty-printing
+or digital signing, have good reasons to treat syntactically
+different, but equivalent, documents differently.</span>
+</p>
 </div>
 <div id="structure-of-this-document" class="section">
-<h3><span class="secno">1.3 </span><span class="insert">Structure of this document</span></h3>
-
-<p><a href="#rationale"><span class="insert">Section 2</span></a><span class="insert"> gives a brief rationale
+<h3><span class="secno">1.3 </span>Structure of this document</h3>
+
+<p><a href="#rationale">Section 2</a> gives a brief rationale
 for the definitions, inferences and constraints.
-</span></p>
+</p>
 <p>
-<a href="#compliance"><span class="insert">Section 3</span></a><span class="insert"> summarizes the
+<a href="#compliance">Section 3</a> summarizes the
 requirements for compliance with this document, which are specified in
-detail in the rest of the document.  </span></p>
-
-<p> <a href="#inferences"><span class="insert">Section 4</span></a><span class="insert"> presents definitions and inferences.  Definitions allow replacing shorthand notation in [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N"><span class="insert">PROV-N</span></a></cite><span class="insert">]
+detail in the rest of the document.  </p>
+
+<p> <a href="#inferences">Section 4</a> presents definitions and inferences.  Definitions allow replacing shorthand notation in [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N">PROV-N</a></cite>]
 with more explicit and complete statements; inferences allow adding
 new facts representing implicit knowledge about the structure of
-provenance.  </span></p>
-
-<p><a href="#constraints"><span class="insert">Section 5</span></a><span class="insert"> presents four kinds of constraints,
-</span><em><span class="insert">uniqueness</span></em><span class="insert"> constraints that prescribe that certain statements
-must be unique within PROV </span><a><span class="insert">instances</span></a><span class="insert">,
-</span><em><span class="insert">event ordering</span></em><span class="insert"> constraints that require that the records in a
-PROV </span><a href="#dfn-instance" class="internalDFN"><span class="insert">instance</span></a><span class="insert"> are consistent with a sensible ordering of events
+provenance.  </p>
+
+<p><a href="#constraints">Section 5</a> presents four kinds of constraints,
+<em>uniqueness</em> constraints that prescribe that certain statements
+must be unique within PROV <a>instances</a>,
+<em>event ordering</em> constraints that require that the records in a
+PROV <a href="#dfn-instance" class="internalDFN">instance</a> are consistent with a sensible ordering of events
 relating the activities, entities and agents involved, 
-</span><em><span class="insert">impossibility</span></em><span class="insert"> constraints that forbid certain patterns of
-statements in valid PROV instances, and </span><em><span class="insert">type</span></em><span class="insert"> constraints that
+<em>impossibility</em> constraints that forbid certain patterns of
+statements in valid PROV instances, and <em>type</em> constraints that
 classify the types of identifiers in valid PROV instances.
-</span></p>
-
-<p><a href="#normalization-validity-equivalence"><span class="insert">Section 6</span></a><span class="insert"> defines the notions
-of </span><a><span class="insert">validity</span></a><span class="insert">, </span><a><span class="insert">equivalence</span></a><span class="insert"> and </span><a><span class="insert">normalization</span></a><span class="insert">.
-</span></p>
+</p>
+
+<p><a href="#normalization-validity-equivalence">Section 6</a> defines the notions
+of <a>validity</a>, <a>equivalence</a> and <a>normalization</a>.
+</p>
 
 
 
 </div>
 <div id="audience" class="section">
-<h3><span class="secno"><span class="insert">1.4</span> </span> Audience </h3>
+<h3><span class="secno">1.4 </span> Audience </h3>
 
 <p> The audience for this document is the same as for [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>]: developers
 and users who wish to create, process, share or integrate provenance
 records on the (Semantic) Web.  Not all PROV-compliant applications
-need to <span class="insert">perform inferences or </span>check validity when processing <span class="insert">provenance.
-However, applications that create or transform provenance </span><em class="rfc2119" title="should"><span class="insert">should</span></em><span class="insert">
-attempt to produce valid </span>provenance, <span class="delete">but many</span><span class="insert">to make it more useful to other</span>
-applications <span class="delete">could benefit from the inference rules specified here.
-Conversely, applications that create</span><span class="insert">by ruling out nonsensical</span> or <span class="delete">transform provenance should
-try to produce valid provenance, to make it more useful to other
-applications.</span><span class="insert">inconsistent information.</span>
+need to perform inferences or check validity when processing provenance.
+However, applications that create or transform provenance <em class="rfc2119" title="should">should</em>
+attempt to produce valid provenance, to make it more useful to other
+applications by ruling out nonsensical or inconsistent information.
 </p>
 
-<p>This document assumes familiarity with [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite><span class="insert">] and employs the
-[</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N"><span class="insert">PROV-N</span></a></cite><span class="insert">] notation.
-</span></p>
+<p>This document assumes familiarity with [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] and employs the
+[<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N">PROV-N</a></cite>] notation.
+</p>
 
 </div>
 </div>
 
 <div id="rationale" class="informative section">
-<h2><span class="secno"><span class="insert">2. </span></span><span class="insert">Rationale</span></h2><p><em><span class="insert">This section is non-normative.</span></em></p>
-<p><span class="insert"> This section gives a high-level rationale that provides some
+<h2><span class="secno">2. </span>Rationale</h2><p><em>This section is non-normative.</em></p>
+<p> This section gives a high-level rationale that provides some
   further background for the constraints, but does not affect the
-technical content of the rest of the specification.</span></p>
+technical content of the rest of the specification.</p>
 
 <div id="entities--activities-and-agents" class="section">
-<h3><span class="secno"><span class="insert">2.1 </span></span><span class="insert">Entities, Activities and Agents</span></h3>
-<p><span class="insert">
+<h3><span class="secno">2.1 </span>Entities, Activities and Agents</h3>
+<p>
 One of the central challenges in representing provenance information
 is how to deal with change.  Real-world objects, information objects
 and Web resources change over time, and the characteristics that make
@@ -1232,626 +1273,662 @@
 as well.  PROV allows for things to be described
 in different ways, with different descriptions of their 
 state.  
-</span></p>
-
-<p><span class="insert">
+</p>
+
+<p>
 An entity is a thing one wants to provide provenance for
 and whose situation in the world is described by some fixed
-attributes. An entity has a </span><dfn id="lifetime"><span class="insert">lifetime</span></dfn><span class="insert">,
+attributes. An entity has a <dfn id="lifetime">lifetime</dfn>,
 defined as the period
-between its </span><a title="entity generation event" href="#dfn-generation-event" class="internalDFN"><span class="insert">generation event</span></a><span class="insert">
-and its </span><a title="entity invalidation event" href="#dfn-invalidation-event" class="internalDFN"><span class="insert">invalidation event</span></a><span class="insert">.
+between its <a title="entity generation event" href="#dfn-generation-event" class="internalDFN">generation event</a>
+and its <a title="entity invalidation event" href="#dfn-invalidation-event" class="internalDFN">invalidation event</a>.
 An entity's attributes are established when the entity is
 created and (partially) describe the entity's situation and state
-during the entirety of the entity's lifetime.</span></p>
-
-<p><span class="insert">
+during the entirety of the entity's lifetime.</p>
+
+<p>
 A different entity (perhaps representing a different user or
 system perspective) may fix other aspects of the same thing, and its provenance
 may be different.  Different entities that fix aspects of the same
-thing are called </span><em><span class="insert">alternates</span></em><span class="insert">, and the PROV relations of
-</span><span class="name"><span class="insert">specializationOf</span></span><span class="insert"> and </span><span class="name"><span class="insert">alternateOf</span></span><span class="insert"> can be used to link such entities.</span></p>
-
-<p><span class="insert">Besides entities, a variety of other PROV objects have
+thing are called <em>alternates</em>, and the PROV relations of
+<span class="name">specializationOf</span> and <span class="name">alternateOf</span> can be used to link such entities.</p>
+
+<p>Besides entities, a variety of other PROV objects have
 attributes, including activity, generation, usage, invalidation, start, end,
 communication, attribution, association, delegation, and
 derivation. Each object has an associated duration interval (which may
 be a single time point), and attribute-value pairs for a given object
 are expected to be descriptions that hold for the object's duration.
-</span></p>
-<p><span class="insert">
+</p>
+<p>
 However, the attributes of entities have special meaning because they
 are considered to be fixed aspects
 of underlying, changing things.  This motivates constraints on
-</span><span class="name"><span class="insert">alternateOf</span></span><span class="insert"> and </span><span class="name"><span class="insert">specializationOf</span></span><span class="insert"> relating the attribute values of
+<span class="name">alternateOf</span> and <span class="name">specializationOf</span> relating the attribute values of
 different entities.
-</span></p>
-
-<p><span class="insert">
+</p>
+
+<p>
 In order to describe the provenance of something during an interval
   over which relevant attributes of the thing are not fixed, a PROV
   instance would describe multiple entities, each with its own
-  identifier, </span><a href="#lifetime" class="internalDFN"><span class="insert">lifetime</span></a><span class="insert">, and fixed attributes, and express dependencies between
-  the various entities using </span><i><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">events</span></a></i><span class="insert">.  For example, in order to
+  identifier, <a href="#lifetime" class="internalDFN">lifetime</a>, and fixed attributes, and express dependencies between
+  the various entities using <i><a title="instantaneous event" href="#dfn-event" class="internalDFN">events</a></i>.  For example, in order to
   describe the provenance of several versions of a document, involving
   attributes such as authorship that change over time, one can use
   different entities for the versions linked by appropriate
   generation, usage, revision, and invalidation events. 
-</span></p>
-
-<p><span class="insert">There is no assumption that the set of attributes listed in an
-</span><span class="name"><span class="insert">entity</span></span><span class="insert"> statement is complete, nor
+</p>
+
+<p>There is no assumption that the set of attributes listed in an
+<span class="name">entity</span> statement is complete, nor
 that the attributes are independent or orthogonal of each
 other. Similarly, there is no assumption that the attributes of an
 entity uniquely identify it.  Two different entities that present the
 same aspects of possibly different things can have the same
 attributes; this leads to potential ambiguity, which is mitigated through the
-use of identifiers.</span></p>
-
-<p><span class="insert">An </span><a><span class="insert">activity</span></a><span class="insert">'s lifetime is delimited by its </span><a title="activity start
-event" href="#dfn-start-event" class="internalDFN"><span class="insert">start</span></a><span class="insert"> and its </span><a title="activity end event" href="#dfn-end-event" class="internalDFN"><span class="insert">end</span></a><span class="insert">
+use of identifiers.</p>
+
+<p>An <a>activity</a>'s lifetime is delimited by its <a title="activity start
+event" href="#dfn-start-event" class="internalDFN">start</a> and its <a title="activity end event" href="#dfn-end-event" class="internalDFN">end</a>
 events.  It occurs over
-an interval delimited by two </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous
-events</span></a><span class="insert">. However, an activity statement need not mention start or end time information, because they may not be known.
+an interval delimited by two <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous
+events</a>. However, an activity statement need not mention start or end time information, because they may not be known.
 An activity's attribute-value pairs are expected to describe the activity's situation during its lifetime.
-</span></p>
-
-
-
-<p><span class="insert">An activity is not an entity.  Indeed, an entity exists in full at
+</p>
+
+
+
+<p>An activity is not an entity.  Indeed, an entity exists in full at
 any point in its lifetime, persists during this interval, and
 preserves the characteristics provided.  In
 contrast, an activity is something that occurs, happens, unfolds, or
 develops through time.  This
 distinction is similar to the distinction between 'continuant' and
-'occurrent' in logic [</span><cite><a class="bibref" rel="biblioentry" href="#bib-Logic"><span class="insert">Logic</span></a></cite>].
-</p>
-
+'occurrent' in logic [<cite><a class="bibref" rel="biblioentry" href="#bib-Logic">Logic</a></cite>].</p>
 
 
 </div>
 <div id="events" class="section">
-<h3><span class="secno"><span class="insert">2.2 </span></span><span class="insert">Events</span></h3>
-
-<p><span class="insert"> Although time is important for provenance, provenance can be used
+<h3><span class="secno">2.2 </span>Events</h3>
+
+<p> Although time is important for provenance, provenance can be used
 in many different contexts within individual systems and across the
 Web. Different systems may use different clocks which may not be
 precisely synchronized, so when provenance statements are combined by
 different systems, an application may not be able to align the times involved to a
 single global timeline.  Hence, PROV is designed to minimize
 assumptions about time.  Instead, PROV talks about (identified)
-events. </span></p>
-
-<p><span class="insert">The PROV data model is implicitly based on a notion of </span><dfn id="dfn-event"><span class="insert">instantaneous event</span></dfn><span class="insert">s (or just </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">event</span></a><span class="insert">s), that mark
+events. </p>
+
+<p>The PROV data model is implicitly based on a notion of <dfn id="dfn-event">instantaneous event</dfn>s (or just <a title="instantaneous event" href="#dfn-event" class="internalDFN">event</a>s), that mark
 transitions in the world.  Events include generation, usage, or
 invalidation of entities, as well as start or end of activities.  This
 notion of event is not first-class in the data model, but it is useful
-for explaining its other concepts and its semantics [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM"><span class="insert">PROV-SEM</span></a></cite><span class="insert">].
-Thus, events help justify  </span><i><span class="insert">inferences</span></i><span class="insert"> on provenance as well as
-</span><i><span class="insert">validity</span></i><span class="insert"> constraints indicating when provenance is
+for explaining its other concepts and its semantics [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM">PROV-SEM</a></cite>].
+Thus, events help justify  <i>inferences</i> on provenance as well as
+<i>validity</i> constraints indicating when provenance is
   self-consistent.
 
 
 
-</span></p><p><span class="insert">Five kinds of </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous
-events</span></a><span class="insert"> are used in PROV. The </span><strong><span class="insert">activity start</span></strong><span class="insert">
-and </span><strong><span class="insert">activity end</span></strong><span class="insert"> events delimit the beginning and the
+</p><p>Five kinds of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous
+events</a> are used in PROV. The <strong>activity start</strong>
+and <strong>activity end</strong> events delimit the beginning and the
 end of activities, respectively. The 
-</span><strong><span class="insert">entity generation</span></strong><span class="insert">, </span><strong><span class="insert">entity usage</span></strong><span class="insert">, and </span><strong><span class="insert">entity
-invalidation</span></strong><span class="insert"> events apply to entities, and the generation and
-invalidation events delimit the </span><a href="#lifetime" class="internalDFN"><span class="insert">lifetime</span></a><span class="insert"> of an entity. More
+<strong>entity generation</strong>, <strong>entity usage</strong>, and <strong>entity
+invalidation</strong> events apply to entities, and the generation and
+invalidation events delimit the <a href="#lifetime" class="internalDFN">lifetime</a> of an entity. More
 precisely:
-</span></p>
-
-<p><span class="insert">An </span><dfn id="dfn-start-event"><span class="insert">activity start event</span></dfn><span class="insert"> is the </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous event</span></a><span class="insert"> that marks the instant an activity starts.</span></p>
-
-<p><span class="insert">An </span><dfn id="dfn-end-event"><span class="insert">activity end event</span></dfn><span class="insert"> is the </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous event</span></a><span class="insert"> that marks the instant an activity ends.</span></p>
-
-<p><span class="insert">An </span><dfn id="dfn-generation-event"><span class="insert">entity generation event</span></dfn><span class="insert"> is the </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous event</span></a><span class="insert"> that marks the  final instant of an entity's creation timespan, after which
-it is available for use.  The entity did not exist before this event.</span></p>
-
-
-<p><span class="insert">An </span><dfn id="dfn-usage-event"><span class="insert">entity usage event</span></dfn><span class="insert"> is the </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous event</span></a><span class="insert"> that marks the first instant of
+</p>
+
+<p>An <dfn id="dfn-start-event">activity start event</dfn> is the <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> that marks the instant an activity starts.</p>
+
+<p>An <dfn id="dfn-end-event">activity end event</dfn> is the <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> that marks the instant an activity ends.</p>
+
+<p>An <dfn id="dfn-generation-event">entity generation event</dfn> is the <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> that marks the  final instant of an entity's creation timespan, after which
+it is available for use.  The entity did not exist before this event.</p>
+
+
+<p>An <dfn id="dfn-usage-event">entity usage event</dfn> is the <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> that marks the first instant of
 an entity's consumption timespan by an activity.  The described usage
 had not started before this instant, although the activity could
-potentially have used the same entity at a different time.</span></p>
-
-
-<p><span class="insert">An </span><dfn id="dfn-invalidation-event"><span class="insert">entity invalidation event</span></dfn><span class="insert">
-is the </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous event</span></a><span class="insert"> that
+potentially have used the same entity at a different time.</p>
+
+
+<p>An <dfn id="dfn-invalidation-event">entity invalidation event</dfn>
+is the <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> that
 marks the  initial instant of the destruction, invalidation, or
 cessation of an entity, after which the entity is  no longer available
-for use.  The entity no longer exists after this event.</span></p>
+for use.  The entity no longer exists after this event.</p>
 
 </div>
 
 <div id="typing-section" class="section">
-<h3><span class="secno"><span class="insert">2.3 </span></span><span class="insert">Types</span></h3>
-
-<p><span class="insert"> As set out in other specifications, the identifiers used in PROV
+<h3><span class="secno">2.3 </span>Types</h3>
+
+<p> As set out in other specifications, the identifiers used in PROV
 documents have associated type information.  An identifier can have
 more than one type, reflecting subtyping or allowed overlap between
-types, and so we define a set of types of each identifier, </span><span class="name"><span class="insert">typeOf(id)</span></span><span class="insert">.  Some types are, however,
+types, and so we define a set of types of each identifier, <span class="name">typeOf(id)</span>.  Some types are, however,
 required not to overlap (for example, no identifier can describe both
 an entity and an activity).
 In addition, an identifier cannot be used to identify both an object
 (that is, an entity, activity or agent) and a property (that is, a
 named event such as usage, generation, or a relationship such as
 attribution.)
-This specification includes </span><a href="#type-constraints"><span class="insert">disjointness and typing constraints</span></a><span class="insert"> that
+This specification includes <a href="#type-constraints">disjointness and typing constraints</a> that
 check these requirements.  Here, we 
-summarize the type constraints in </span><a href="#typing-table"><span class="insert">Table 1</span></a><span class="insert">.
-</span></p>
+summarize the type constraints in <a href="#typing-table">Table 1</a>.
+</p>
 
 <div id="typing-table-fig">
     <table id="typing-table" border="1" class="thinborder" style="margin-left: auto; margin-right: auto; border-color: black;">
-<caption id="typing-table-caption"><span class="insert">Table 1: Summary of Typing Constraints</span></caption>
+<caption id="typing-table-caption">Table 1: Summary of Typing Constraints</caption>
       <tbody><tr>
-	<th><span class="insert">In relation...</span></th>
-	<th><span class="insert">identifier</span></th>
-	<th><span class="insert">has type(s)...</span></th>
+	<th>In relation...</th>
+	<th>identifier</th>
+	<th>has type(s)...</th>
       </tr>
 
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
       <tr style="text-align: center; ">
-	<td class="name"><span class="insert">entity(e,attrs)</span></td>
-	<td class="name" style="text-align: center; "><span class="insert">e</span></td>
-	<td class="name"><span class="insert">'entity'</span></td>
-      </tr>
-      <tr style="text-align: center; ">
-	<td class="name"><span class="insert">activity(a,t1,t2,attrs)</span></td>
-	<td class="name"><span class="insert">a</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
-      </tr>
-      <tr style="text-align: center; ">
-	<td class="name"><span class="insert">agent(ag,attrs)</span></td>
-	<td class="name"><span class="insert">ag</span></td>
-	<td class="name"><span class="insert">'agent'</span></td>
-      </tr>
-      <tr style="text-align: center; ">
-	<td rowspan="2" class="name"><span class="insert">used(id; a,e,t,attrs)</span></td>
-	<td class="name"><span class="insert">e</span></td>
-	<td class="name"><span class="insert">'entity'</span></td>
-     </tr>
-     <tr style="text-align: center; ">
-	<td class="name"><span class="insert">a</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
-      </tr>
-     <tr style="text-align: center; ">
-	<td rowspan="2" class="name"><span class="insert">wasGeneratedBy(id; e,a,t,attrs)</span></td>
-	<td class="name"><span class="insert">e</span></td>
-	<td class="name"><span class="insert">'entity'</span></td>
-      </tr>
-     <tr style="text-align: center; ">
-	<td class="name"><span class="insert">a</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
-    </tr>
-      <tr style="text-align: center; ">
-	<td rowspan="2" class="name"><span class="insert">wasInformedBy(id; a2,a1,attrs)</span></td>
-	<td class="name"><span class="insert">a2</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
+	<td class="name">entity(e,attrs)</td>
+	<td class="name" style="text-align: center; ">e</td>
+	<td class="name">'entity'</td>
       </tr>
       <tr style="text-align: center; ">
-	<td class="name"><span class="insert">a1</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
-      </tr>
-    <tr style="text-align: center; ">
-	<td rowspan="3" class="name"><span class="insert">wasStartedBy(id; a2,e,a1,t,attrs)</span></td>
-	<td class="name"><span class="insert">a2</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
-      </tr>
-      <tr style="text-align: center; ">
-	<td class="name"><span class="insert">e</span></td>
-	<td class="name"><span class="insert">'entity'</span></td>
-      </tr>
-      <tr style="text-align: center; ">
-	<td class="name"><span class="insert">a1</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
+	<td class="name">activity(a,t1,t2,attrs)</td>
+	<td class="name">a</td>
+	<td class="name">'activity'</td>
       </tr>
       <tr style="text-align: center; ">
-	<td rowspan="3" class="name"><span class="insert">wasEndedBy(id; a2,e,a1,t,attrs)</span></td>
-	<td class="name"><span class="insert">a2</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
-      </tr>
-      <tr style="text-align: center; ">
-	<td class="name"><span class="insert">e</span></td>
-	<td class="name"><span class="insert">'entity'</span></td>
+	<td class="name">agent(ag,attrs)</td>
+	<td class="name">ag</td>
+	<td class="name">'agent'</td>
       </tr>
       <tr style="text-align: center; ">
-	<td class="name"><span class="insert">a1</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
+	<td rowspan="2" class="name">used(id; a,e,t,attrs)</td>
+	<td class="name">e</td>
+	<td class="name">'entity'</td>
+     </tr>
+     <tr style="text-align: center; ">
+	<td class="name">a</td>
+	<td class="name">'activity'</td>
+      </tr>
+     <tr style="text-align: center; ">
+	<td rowspan="2" class="name">wasGeneratedBy(id; e,a,t,attrs)</td>
+	<td class="name">e</td>
+	<td class="name">'entity'</td>
+      </tr>
+     <tr style="text-align: center; ">
+	<td class="name">a</td>
+	<td class="name">'activity'</td>
+    </tr>
+      <tr style="text-align: center; ">
+	<td rowspan="2" class="name">wasInformedBy(id; a2,a1,attrs)</td>
+	<td class="name">a2</td>
+	<td class="name">'activity'</td>
       </tr>
       <tr style="text-align: center; ">
-	<td rowspan="2" class="name"><span class="insert">wasInvalidatedBy(id; e,a,t,attrs)</span></td>
-	<td class="name"><span class="insert">e</span></td>
-	<td class="name"><span class="insert">'entity'</span></td>
+	<td class="name">a1</td>
+	<td class="name">'activity'</td>
+      </tr>
+    <tr style="text-align: center; ">
+	<td rowspan="3" class="name">wasStartedBy(id; a2,e,a1,t,attrs)</td>
+	<td class="name">a2</td>
+	<td class="name">'activity'</td>
       </tr>
       <tr style="text-align: center; ">
-	<td class="name"><span class="insert">a</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
+	<td class="name">e</td>
+	<td class="name">'entity'</td>
       </tr>
       <tr style="text-align: center; ">
-	<td rowspan="3" class="name"><span class="insert">wasDerivedFrom(id; e2,e1,a,g,u,attrs)</span></td>
-	<td class="name"><span class="insert">e2</span></td>
-	<td class="name"><span class="insert">'entity'</span></td>
+	<td class="name">a1</td>
+	<td class="name">'activity'</td>
+      </tr>
+      <tr style="text-align: center; ">
+	<td rowspan="3" class="name">wasEndedBy(id; a2,e,a1,t,attrs)</td>
+	<td class="name">a2</td>
+	<td class="name">'activity'</td>
+      </tr>
+      <tr style="text-align: center; ">
+	<td class="name">e</td>
+	<td class="name">'entity'</td>
+      </tr>
+      <tr style="text-align: center; ">
+	<td class="name">a1</td>
+	<td class="name">'activity'</td>
+      </tr>
+      <tr style="text-align: center; ">
+	<td rowspan="2" class="name">wasInvalidatedBy(id; e,a,t,attrs)</td>
+	<td class="name">e</td>
+	<td class="name">'entity'</td>
+      </tr>
+      <tr style="text-align: center; ">
+	<td class="name">a</td>
+	<td class="name">'activity'</td>
+      </tr>
+      <tr style="text-align: center; ">
+	<td rowspan="3" class="name">wasDerivedFrom(id; e2,e1,a,g,u,attrs)</td>
+	<td class="name">e2</td>
+	<td class="name">'entity'</td>
      </tr>
       <tr style="text-align: center; ">
-	<td class="name"><span class="insert">e1</span></td>
-	<td class="name"><span class="insert">'entity'</span></td>
+	<td class="name">e1</td>
+	<td class="name">'entity'</td>
      </tr>
       <tr style="text-align: center; ">
-	<td class="name"><span class="insert">a</span></td>
-	<td class="name"><span class="insert">'activity'</span></td>
-     </tr>
-     <tr style="text-align: center; ">
-	<td rowspan="2" class="name"><span class="insert">wasAttributedTo(id; e,ag,attr)</span></td>
-	<td class="name"><span class="insert">e</span></td>
-	<td class="name"><span class="insert">'entity'</span></td>
-     </tr>
-      <tr style="text-align: center; ">
-	<td class="name"><span class="insert">ag</span></td>
-	<td class="name"><span class="insert">'agent'</span></td>
+	<td class="name">a</td>
+	<td class="name">'activity'</td>
      </tr>
      <tr style="text-align: center; ">
-	<td rowspan="3" class="name"><span class="insert">wasAssociatedWith(id; a,ag,pl,attrs)</span></td>
-	<td class="name"><span class="insert">a</span></td> 
-	<td class="name"><span class="insert">'activity'</span></td>
-     </tr>
-      <tr style="text-align: center; ">
-	<td class="name"><span class="insert">ag</span></td> 
-	<td class="name"><span class="insert">'agent'</span></td>
+	<td rowspan="2" class="name">wasAttributedTo(id; e,ag,attr)</td>
+	<td class="name">e</td>
+	<td class="name">'entity'</td>
      </tr>
       <tr style="text-align: center; ">
-	<td class="name"><span class="insert">pl</span></td> 
-	<td class="name"><span class="insert">'entity'</span></td>
+	<td class="name">ag</td>
+	<td class="name">'agent'</td>
+     </tr>
+     <tr style="text-align: center; ">
+	<td rowspan="3" class="name">wasAssociatedWith(id; a,ag,pl,attrs)</td>
+	<td class="name">a</td> 
+	<td class="name">'activity'</td>
      </tr>
       <tr style="text-align: center; ">
-	<td rowspan="3" class="name"><span class="insert">actedOnBehalfOf(id; ag2,ag1,a,attrs)</span></td>
-    	<td class="name"><span class="insert">ag2</span></td> 
-	<td class="name"><span class="insert">'agent'</span></td>
+	<td class="name">ag</td> 
+	<td class="name">'agent'</td>
+     </tr>
+      <tr style="text-align: center; ">
+	<td class="name">pl</td> 
+	<td class="name">'entity'</td>
+     </tr>
+      <tr style="text-align: center; ">
+	<td rowspan="3" class="name">actedOnBehalfOf(id; ag2,ag1,a,attrs)</td>
+    	<td class="name">ag2</td> 
+	<td class="name">'agent'</td>
      </tr>
      <tr style="text-align: center; ">
-       <td class="name"><span class="insert">ag1</span></td> 
-       <td class="name"><span class="insert">'agent'</span></td>
+       <td class="name">ag1</td> 
+       <td class="name">'agent'</td>
      </tr>
       <tr style="text-align: center; ">
-	<td class="name"><span class="insert">a</span></td> 
-	<td class="name"><span class="insert">'activity'</span></td>
+	<td class="name">a</td> 
+	<td class="name">'activity'</td>
       </tr>
       <tr style="text-align: center; ">
-	<td rowspan="2" class="name"><span class="insert">alternateOf(e1,e2)</span></td>
-    	<td class="name"><span class="insert">e1</span></td> 
-	<td class="name"><span class="insert">'entity'</span></td>
+	<td rowspan="2" class="name">alternateOf(e1,e2)</td>
+    	<td class="name">e1</td> 
+	<td class="name">'entity'</td>
      </tr>
      <tr style="text-align: center; ">
-       <td class="name"><span class="insert">e2</span></td> 
-       <td class="name"><span class="insert">'entity'</span></td>
-     </tr>
-      <tr style="text-align: center; ">
-	<td rowspan="2" class="name"><span class="insert">specializationOf(e1,e2)</span></td>
-    	<td class="name"><span class="insert">e1</span></td> 
-	<td class="name"><span class="insert">'entity'</span></td>
-     </tr>
-     <tr style="text-align: center; ">
-       <td class="name"><span class="insert">e2</span></td> 
-       <td class="name"><span class="insert">'entity'</span></td>
+       <td class="name">e2</td> 
+       <td class="name">'entity'</td>
      </tr>
       <tr style="text-align: center; ">
-	<td rowspan="3" class="name"><span class="insert">mentionOf(e1,e2,b)</span></td>
-    	<td class="name"><span class="insert">e1</span></td> 
-	<td class="name"><span class="insert">'entity'</span></td>
-     </tr>
-     <tr style="text-align: center; ">
-       <td class="name"><span class="insert">e2</span></td> 
-       <td class="name"><span class="insert">'entity'</span></td>
+	<td rowspan="2" class="name">specializationOf(e1,e2)</td>
+    	<td class="name">e1</td> 
+	<td class="name">'entity'</td>
      </tr>
      <tr style="text-align: center; ">
-       <td class="name"><span class="insert">b</span></td> 
-       <td class="name"><span class="insert">'entity'</span></td>
+       <td class="name">e2</td> 
+       <td class="name">'entity'</td>
+     </tr>
+      <tr style="text-align: center; ">
+	<td rowspan="3" class="name">mentionOf(e1,e2,b)</td>
+    	<td class="name">e1</td> 
+	<td class="name">'entity'</td>
+     </tr>
+     <tr style="text-align: center; ">
+       <td class="name">e2</td> 
+       <td class="name">'entity'</td>
+     </tr>
+     <tr style="text-align: center; ">
+       <td class="name">b</td> 
+       <td class="name">'entity'</td>
      </tr>
            <tr style="text-align: center; ">
-	<td rowspan="2" class="name"><span class="insert">hadMember(c,e)</span></td>
-    	<td class="name"><span class="insert">c</span></td> 
-	<td class="name"><span class="insert">'entity'</span><br><span class="insert"> 'prov:Collection'</span></td>
+	<td rowspan="2" class="name">hadMember(c,e)</td>
+    	<td class="name">c</td> 
+	<td class="name">'entity'<br> 'prov:Collection'</td>
      </tr>
      <tr style="text-align: center; ">
-       <td class="name"><span class="insert">e</span></td> 
-       <td class="name"><span class="insert">'entity'</span></td>
+       <td class="name">e</td> 
+       <td class="name">'entity'</td>
      </tr>
      <tr style="text-align: center; ">
-	<td class="name"><span class="insert">entity(c,[prov:type='prov:EmptyCollection,...])</span></td>
-    	<td class="name"><span class="insert">c</span></td> 
-	<td class="name"><span class="insert">'entity'</span><br><span class="insert"> 'prov:Collection' </span><br><span class="insert"> 'prov:EmptyCollection'</span></td>
+	<td class="name">entity(c,[prov:type='prov:EmptyCollection,...])</td>
+    	<td class="name">c</td> 
+	<td class="name">'entity'<br> 'prov:Collection' <br> 'prov:EmptyCollection'</td>
      </tr>
  </tbody></table>
     </div>
 
-</div> 
-
-
+</div>
 <div id="validation-process-overview-1" class="section">
-<h3><span class="secno"><span class="insert">2.4 </span></span><span class="insert">Validation Process Overview</span></h3>
-
-
-    <p><span class="insert">
+<h3><span class="secno">2.4 </span>Validation Process Overview</h3>
+
+
+    <p>
   This section collects common concepts and operations that are used
   throughout the specification, and relates them to background
-  terminology and ideas from logic [</span><cite><a class="bibref" rel="biblioentry" href="#bib-Logic"><span class="insert">Logic</span></a></cite><span class="insert">], constraint programming
-  [</span><cite><a class="bibref" rel="biblioentry" href="#bib-CHR"><span class="insert">CHR</span></a></cite><span class="insert">], and database constraints [</span><cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS"><span class="insert">DBCONSTRAINTS</span></a></cite><span class="insert">].  This section
+  terminology and ideas from logic [<cite><a class="bibref" rel="biblioentry" href="#bib-Logic">Logic</a></cite>], constraint programming
+  [<cite><a class="bibref" rel="biblioentry" href="#bib-CHR">CHR</a></cite>], and database constraints [<cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS">DBCONSTRAINTS</a></cite>].  This section
   does not attempt to provide a complete introduction to these topics,
   but it is provided in order to aid readers familiar with one or more
   of these topics in understanding the specification, and to clarify
-  some of the motivations for choices in the specification to all readers.
-  </span></p>
+  some of the motivations for choices in the specification to all 
+  readers.
+  </p>
 
  
- <h4 id="constants--variables-and-placeholders"><span class="insert">Constants, Variables and Placeholders</span></h4>
-  <p><span class="insert">
+ 
+
+    <p><span class="insert">As discussed below, the definitions, inferences and constraints
+can be viewed as pure logical assertions that could be checked in a
+variety of ways.  The rest of this document specifies validity and
+equivalence procedurally, that is, in terms of a reference
+implementation based on normalization.  Although both declarative and
+procedural specification techniques have advantages, a purely
+declarative specification offers much less assistance for
+implementers, while a procedural approach immediately demonstrates
+implementability and provides an adequate (polynomial-time) default implementation.  In
+this section we relate the declarative meaning of formulas to their
+procedural meaning.  [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM"><span class="insert">PROV-SEM</span></a></cite><span class="insert">] will provide an alternative,
+declarative characterization of validity and equivalence which could
+be used as a starting point for other implementation strategies.  </span></p>
+
+
+ 
+ <h4 id="constants--variables-and-placeholders">Constants, Variables and Placeholders</h4>
+  <p>
   PROV statements involve identifiers, literals, 
-  placeholders, and attribute lists.  Identifiers are, according to PROV-N, expressed as </span><a href="http://www.w3.org/TR/prov-n/#prod-QUALIFIED_NAME"><span class="insert">qualified names</span></a><span class="insert"> which can be mapped to URIs [</span><cite><a class="bibref" rel="biblioentry" href="#bib-IRI"><span class="insert">IRI</span></a></cite><span class="insert">].
+  placeholders, and attribute lists.  Identifiers are, according to PROV-N, expressed as <a href="http://www.w3.org/TR/prov-n/#prod-QUALIFIED_NAME">qualified names</a> which can be mapped to URIs [<cite><a class="bibref" rel="biblioentry" href="#bib-IRI">IRI</a></cite>].
   However, in order to specify
-  constraints over PROV instances, we also need </span><em><span class="insert">variables</span></em><span class="insert">
+  constraints over PROV instances, we also need <em>variables</em>
   that represent unknown identifiers, literals, or placeholders.
   These variables are similar to those in first-order
-  logic [</span><cite><a class="bibref" rel="biblioentry" href="#bib-Logic"><span class="insert">Logic</span></a></cite><span class="insert">].  A variable is a symbol that can be replaced by
+  logic [<cite><a class="bibref" rel="biblioentry" href="#bib-Logic">Logic</a></cite>].  A variable is a symbol that can be replaced by
   other symbols, including either other variables or constant
   identifiers, literals, or placeholders.  In a few special cases, we
   also use variables for unknown attribute lists. 
   To help distinguish identifiers and variables, we also term the former 'constant identifiers' to highlight their non-variable nature.
-  </span></p>
+  </p>
   
-  <p><span class="insert">Several definitions and inferences conclude by saying that some
+  <p>Several definitions and inferences conclude by saying that some
   objects exist such that some other formulas hold.  Such an inference
-  introduces fresh </span><a><span class="insert">existential variable</span></a><span class="insert">s into the instance.  An
+  introduces fresh <a>existential variable</a>s into the instance.  An
   existential variable denotes a fixed object that exists, but its
   exact identity is unknown.  Existential variables can stand for
   unknown identifiers or literal values only; we do not allow
-  existential variables that stand for unknown attribute lists.  </span></p>
-
-  <p><span class="insert">In particular, many
-  occurrences of the placeholder symbol </span><span class="name"><span class="insert">-</span></span><span class="insert"> stand for unknown
+  existential variables that stand for unknown attribute lists.  </p>
+
+  <p>In particular, many
+  occurrences of the placeholder symbol <span class="name">-</span> stand for unknown
   objects; these are handled by expanding them to existential
   variables. Some placeholders, however, indicate the absence of an
   object, rather than an unknown object.  In other words, the
   placeholder is overloaded, with different meanings in different
   places.
-  </span></p>
-  <p><span class="insert">An expression is called a </span><em><span class="insert">term</span></em><span class="insert"> if it is either a
+  </p>
+  <p>An expression is called a <em>term</em> if it is either a
   constant identifier, literal, placeholder, or variable.  We write
-  </span><span class="math"><span class="insert">t</span></span><span class="insert"> to denote an arbitrary term.
-</span></p>
+  <span class="math">t</span> to denote an arbitrary term.
+</p>
 
   
- <h4 id="substitution"><span class="insert">Substitution</span></h4>
-<p><span class="insert">A </span><em><span class="insert">substitution</span></em><span class="insert"> is a function that maps variables to terms. Concretely, since we only
+ <h4 id="substitution">Substitution</h4>
+<p>A <em>substitution</em> is a function that maps variables to terms. Concretely, since we only
   need to consider substitutions of finite sets of variables, we can
-  write substitutions as </span><span class="math"><span class="insert">[x</span><sub><span class="insert">1</span></sub><span class="insert"> = t</span><sub><span class="insert">1</span></sub><span class="insert">,...,x</span><sub><span class="insert">n</span></sub><span class="insert">=t</span><sub><span class="insert">n</span></sub><span class="insert">]</span></span><span class="insert">.  A substitution
-  </span><span class="math"><span class="insert">S = [x</span><sub><span class="insert">1</span></sub><span class="insert"> = t</span><sub><span class="insert">1</span></sub><span class="insert">,...,x</span><sub><span class="insert">n</span></sub><span class="insert">=t</span><sub><span class="insert">n</span></sub><span class="insert">]</span></span><span class="insert"> 
-  can be </span><em><span class="insert">applied</span></em><span class="insert"> to a term as follows.
-</span></p>
-<ol><li><span class="insert">
-  If the term is a variable </span><span class="math"><span class="insert">x</span><sub><span class="insert">i</span></sub></span><span class="insert">, one of the variables in the
-  domain of </span><span class="math"><span class="insert">S</span></span><span class="insert">, then </span><span class="math"><span class="insert">S(x</span><sub><span class="insert">i</span></sub><span class="insert">) = t</span><sub><span class="insert">i</span></sub></span><span class="insert">.
-  </span></li>
-  <li><span class="insert">If the term is a constant identifier or literal </span><span class="math"><span class="insert">c</span></span><span class="insert">, then </span><span class="math"><span class="insert">S(c) = c</span></span><span class="insert">.
-  </span></li>
+  write substitutions as <span class="math">[x<sub>1</sub> = t<sub>1</sub>,...,x<sub>n</sub>=t<sub>n</sub>]</span>.  A substitution
+  <span class="math">S = [x<sub>1</sub> = t<sub>1</sub>,...,x<sub>n</sub>=t<sub>n</sub>]</span> 
+  can be <em>applied</em> to a term as follows.
+</p>
+<ol><li>
+  If the term is a variable <span class="math">x<sub>i</sub></span>, one of the variables in the
+  domain of <span class="math">S</span>, then <span class="math">S(x<sub>i</sub>) = t<sub>i</sub></span>.
+  </li>
+  <li>If the term is a constant identifier or literal <span class="math">c</span>, then <span class="math">S(c) = c</span>.
+  </li>
   </ol>
-<p><span class="insert">
+<p>
   In addition, a substitution can be applied to an atomic formula
-  (PROV statement) </span><span class="math"><span class="insert">p(t</span><sub><span class="insert">1</span></sub><span class="insert">,...,t</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span><span class="insert"> by applying it to each term,
-  that is, </span><span class="math"><span class="insert">S(p(t</span><sub><span class="insert">1</span></sub><span class="insert">,...,t</span><sub><span class="insert">n</span></sub><span class="insert">)) = p(S(t</span><sub><span class="insert">1</span></sub><span class="insert">),...,S(t</span><sub><span class="insert">n</span></sub><span class="insert">))</span></span><span class="insert">.  Likewise, a
-  substitution </span><span class="math"><span class="insert">S</span></span><span class="insert"> can be applied to an instance </span><span class="math"><span class="insert">I</span></span><span class="insert"> by applying
-  it to each atomic formula (PROV statement) in </span><span class="math"><span class="insert">I</span></span><span class="insert">, that is, </span><span class="math"><span class="insert">S(I)
-  = {S(A) | A ∈ I}</span></span><span class="insert">.
-</span></p>
+  (PROV statement) <span class="math">p(t<sub>1</sub>,...,t<sub>n</sub>)</span> by applying it to each term,
+  that is, <span class="math">S(p(t<sub>1</sub>,...,t<sub>n</sub>)) = p(S(t<sub>1</sub>),...,S(t<sub>n</sub>))</span>.  Likewise, a
+  substitution <span class="math">S</span> can be applied to an instance <span class="math">I</span> by applying
+  it to each atomic formula (PROV statement) in <span class="math">I</span>, that is, <span class="math">S(I)
+  = {S(A) | A ∈ I}</span>.
+</p>
 
 
   
  
 
- <h4 id="formulas"><span class="insert">Formulas</span></h4>
-  <p><span class="insert">
+ <h4 id="formulas">Formulas</h4>
+  <p>
   For the purpose of constraint checking, we view PROV statements
   (possibly involving existential variables) as
-  </span><dfn id="dfn-formulas"><span class="insert">formulas</span></dfn><span class="insert">.  An instance is analogous to a "theory" in
+  <dfn id="dfn-formulas">formulas</dfn>.  An instance is analogous to a "theory" in
   logic, that is, a set of formulas all thought to describe the same
   situation.  The set can also be thought of a single, large formula:
   the conjunction of all of the atomic formulas.
-  </span></p>
-<p><span class="insert">The atomic constraints considered in this specification can be
-  viewed as atomic formulas:</span></p>
+  </p>
+<p>The atomic constraints considered in this specification can be
+  viewed as atomic formulas:</p>
 <ul>
-  <li><span class="insert">Uniqueness constraints employ atomic equational formulas </span><span class="math"><span class="insert">t =
-  t'</span></span><span class="insert">.</span></li>
-  <li><span class="insert">Ordering constraints employ atomic precedence relations that can
-  be thought of as binary formulas </span><span class="math"><span class="insert">precedes(t,t')</span></span><span class="insert"> or </span><span class="math"><span class="insert">strictly_precedes(t,t')</span></span>
+  <li>Uniqueness constraints employ atomic equational formulas <span class="math">t =
+  t'</span>.</li>
+  <li>Ordering constraints employ atomic precedence relations that can
+  be thought of as binary formulas <span class="math">precedes(t,t')</span> or <span class="math">strictly_precedes(t,t')</span>
   </li>
-  <li><span class="insert">Typing constraints </span><span class="name"><span class="insert">'type' ∈ typeOf(id)</span></span><span class="insert">
-  can be represented as a atomic formulas </span><span class="name"><span class="insert">typeOf(id,'type')</span></span><span class="insert">.
-  </span></li>
-  <li><span class="insert">Impossibility constraints employ the conclusion </span><span class="name"><span class="insert">INVALID</span></span><span class="insert">,
-  which is equivalent to the logical constant </span><span class="math"><span class="insert">False</span></span><span class="insert">. </span></li>
+  <li>Typing constraints <span class="name">'type' ∈ typeOf(id)</span>
+  can be represented as a atomic formulas <span class="name">typeOf(id,'type')</span>.
+  </li>
+  <li>Impossibility constraints employ the conclusion <span class="name">INVALID</span>,
+  which is equivalent to the logical constant <span class="math">False</span>. </li>
   </ul>
-  <p><span class="insert"> Similarly, the definitions, inferences, and constraint rules in this
+  <p> Similarly, the definitions, inferences, and constraint rules in this
   specification can also be viewed as logical formulas, built up out
   of atomic formulas, logical connectives "and" (∧), "implies" (⇒),
   and quantifiers "for all" (∀) and "there exists" (∃).  For more
-  background on logical formulas, see a logic textbook such as [</span><cite><a class="bibref" rel="biblioentry" href="#bib-Logic"><span class="insert">Logic</span></a></cite><span class="insert">].</span></p>
+  background on logical formulas, see a logic textbook such as [<cite><a class="bibref" rel="biblioentry" href="#bib-Logic">Logic</a></cite>].</p>
 <ul>
-  <li><span class="insert">
-  A definition of the form </span><span class="name"><span class="insert">A</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span><span class="insert"> there
-  exists </span><span class="name"><span class="insert">y</span><sub><span class="insert">1</span></sub></span><span class="insert">...</span><span class="name"><span class="insert">y</span><sub><span class="insert">m</span></sub></span><span class="insert"> such that </span><span class="name"><span class="insert">B</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and </span><span class="name"><span class="insert">B</span><sub><span class="insert">k</span></sub></span><span class="insert">
-  can be thought of as a formula </span><span class="math"><span class="insert">∀ x</span><sub><span class="insert">1</span></sub><span class="insert">,....,x</span><sub><span class="insert">n</span></sub><span class="insert">. A ⇔ ∃ y</span><sub><span class="insert">1</span></sub><span class="insert">...y</span><sub><span class="insert">m</span></sub><span class="insert"> . B</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ B</span><sub><span class="insert">k</span></sub></span><span class="insert">, where </span><span class="math"><span class="insert">x</span><sub><span class="insert">1</span></sub></span><span class="insert">...</span><span class="math"><span class="insert">x</span><sub><span class="insert">n</span></sub></span><span class="insert"> are the
+  <li>
+  A definition of the form <span class="name">A</span> <span class="conditional">IF AND ONLY IF</span> there
+  exists <span class="name">y<sub>1</sub></span>...<span class="name">y<sub>m</sub></span> such that <span class="name">B<sub>1</sub></span> and ... and <span class="name">B<sub>k</sub></span>
+  can be thought of as a formula <span class="math">∀ x<sub>1</sub>,....,x<sub>n</sub>. A ⇔ ∃ y<sub>1</sub>...y<sub>m</sub> . B<sub>1</sub> ∧ ... ∧ B<sub>k</sub></span>, where <span class="math">x<sub>1</sub></span>...<span class="math">x<sub>n</sub></span> are the
   free variables of the definition.  
-</span></li>
-<li><span class="insert">An inference of the form </span><span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">A</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and </span><span class="name"><span class="insert">A</span><sub><span class="insert">l</span></sub></span>  <span class="conditional"><span class="insert">THEN</span></span><span class="insert">  there
-  exists </span><span class="name"><span class="insert">y</span><sub><span class="insert">1</span></sub></span><span class="insert">...</span><span class="name"><span class="insert">y</span><sub><span class="insert">m</span></sub></span><span class="insert"> such that </span><span class="name"><span class="insert">B</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and </span><span class="name"><span class="insert">B</span><sub><span class="insert">k</span></sub></span><span class="insert"> can
-  be thought of as a formula </span><span class="math"><span class="insert">∀ x</span><sub><span class="insert">1</span></sub><span class="insert">,....,x</span><sub><span class="insert">n</span></sub><span class="insert">.  A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">l</span></sub><span class="insert"> ⇒ ∃ y</span><sub><span class="insert">1</span></sub><span class="insert">...y</span><sub><span class="insert">m</span></sub><span class="insert"> . B</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ B</span><sub><span class="insert">k</span></sub></span><span class="insert">, where </span><span class="math"><span class="insert">x</span><sub><span class="insert">1</span></sub></span><span class="insert">...</span><span class="math"><span class="insert">x</span><sub><span class="insert">n</span></sub></span><span class="insert"> are the
+</li>
+<li>An inference of the form <span class="conditional">IF</span> <span class="name">A<sub>1</sub></span> and ... and <span class="name">A<sub>l</sub></span>  <span class="conditional">THEN</span>  there
+  exists <span class="name">y<sub>1</sub></span>...<span class="name">y<sub>m</sub></span> such that <span class="name">B<sub>1</sub></span> and ... and <span class="name">B<sub>k</sub></span> can
+  be thought of as a formula <span class="math">∀ x<sub>1</sub>,....,x<sub>n</sub>.  A<sub>1</sub> ∧ ... ∧ A<sub>l</sub> ⇒ ∃ y<sub>1</sub>...y<sub>m</sub> . B<sub>1</sub> ∧ ... ∧ B<sub>k</sub></span>, where <span class="math">x<sub>1</sub></span>...<span class="math">x<sub>n</sub></span> are the
   free variables of the inference.  
-</span></li>
-<li><span class="insert">A uniqueness, ordering, or typing constraint of the form </span><span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">l</span></sub></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">C</span></span><span class="insert"> can be viewed as a formula
-  </span><span class="math"><span class="insert">∀ x</span><sub><span class="insert">1</span></sub><span class="insert">...x</span><sub><span class="insert">n</span></sub><span class="insert">. A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">l</span></sub><span class="insert"> ⇒ C</span></span><span class="insert">.  </span></li>
-<li><span class="insert">A constraint of the form </span><span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">l</span></sub></span> <span class="conditional"><span class="insert">THEN INVALID</span></span><span class="insert"> can be viewed as a formula
-  </span><span class="math"><span class="insert">∀ x</span><sub><span class="insert">1</span></sub><span class="insert">...x</span><sub><span class="insert">n</span></sub><span class="insert">. A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">l</span></sub><span class="insert"> ⇒ False</span></span><span class="insert">.  </span></li>
+</li>
+<li>A uniqueness, ordering, or typing constraint of the form <span class="conditional">IF</span> <span class="name">A<sub>1</sub> ∧ ... ∧ A<sub>l</sub></span> <span class="conditional">THEN</span> <span class="name">C</span> can be viewed as a formula
+  <span class="math">∀ x<sub>1</sub>...x<sub>n</sub>. A<sub>1</sub> ∧ ... ∧ A<sub>l</sub> ⇒ C</span>.  </li>
+<li>A constraint of the form <span class="conditional">IF</span> <span class="name">A<sub>1</sub> ∧ ... ∧ A<sub>l</sub></span> <span class="conditional">THEN INVALID</span> can be viewed as a formula
+  <span class="math">∀ x<sub>1</sub>...x<sub>n</sub>. A<sub>1</sub> ∧ ... ∧ A<sub>l</sub> ⇒ False</span>.  </li>
   </ul>
 
 
- <h4 id="satisfying-definitions--inferences--and-constraints"><span class="insert">Satisfying definitions, inferences, and constraints</span></h4>
-  <p><span class="insert">
+ <h4 id="satisfying-definitions--inferences--and-constraints">Satisfying definitions, inferences, and constraints</h4>
+  <p>
   In logic, a formula's meaning is defined by saying when it is
-  </span><em><span class="insert">satisfied</span></em><span class="insert">.  We can view
+  <em>satisfied</em>.  We can view
   definitions, inferences, and constraints as being satisfied or not
   satisfied in a PROV instance, augmented with information about the constraints.
-  </span></p>
+  </p>
   <ol>
-    <li><span class="insert">A logical equivalence as used in a definition is satisfied
-  when the formula </span><span class="math"><span class="insert">∀
-  x</span><sub><span class="insert">1</span></sub><span class="insert">,....,x</span><sub><span class="insert">n</span></sub><span class="insert">. A ⇔ ∃
-  y</span><sub><span class="insert">1</span></sub><span class="insert">...y</span><sub><span class="insert">m</span></sub><span class="insert"> . B</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧
-  B</span><sub><span class="insert">k</span></sub></span><span class="insert"> holds, that is, for any substitution of the
-  variables </span><span class="math"><span class="insert">x</span><sub><span class="insert">1</span></sub><span class="insert">,....,x</span><sub><span class="insert">n</span></sub></span><span class="insert">, formula </span><span class="math"><span class="insert">A</span></span><span class="insert"> and
-  formula </span><span class="math"><span class="insert">∃
-  y</span><sub><span class="insert">1</span></sub><span class="insert">...y</span><sub><span class="insert">m</span></sub><span class="insert">. B</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧
-  B</span><sub><span class="insert">k</span></sub></span><span class="insert"> are either both true or both false.
-    </span></li>
-  <li><span class="insert">A logical implication as used in an inference is
-   satisfied with the formula  </span><span class="math"><span class="insert">∀
-  x</span><sub><span class="insert">1</span></sub><span class="insert">,....,x</span><sub><span class="insert">n</span></sub><span class="insert">.  A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧
-  A</span><sub><span class="insert">l</span></sub><span class="insert"> ⇒ ∃ y</span><sub><span class="insert">1</span></sub><span class="insert">...y</span><sub><span class="insert">m</span></sub><span class="insert"> . B</span><sub><span class="insert">1</span></sub><span class="insert"> ∧
-  ... ∧ B</span><sub><span class="insert">k</span></sub></span><span class="insert"> holds, that is, for any substitution of
-  the variables </span><span class="math"><span class="insert">x</span><sub><span class="insert">1</span></sub><span class="insert">,....,x</span><sub><span class="insert">n</span></sub></span><span class="insert">, if  </span><span class="math"><span class="insert">A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧
-  A</span><sub><span class="insert">l</span></sub></span><span class="insert"> is true, then 
- for some further substitution of terms for variables </span><span class="math"><span class="insert">
-  y</span><sub><span class="insert">1</span></sub><span class="insert">...y</span><sub><span class="insert">m</span></sub></span><span class="insert">, formula </span><span class="math"><span class="insert">B</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧
-  B</span><sub><span class="insert">k</span></sub></span><span class="insert"> is also true.</span></li>
-  <li><span class="insert">A uniqueness, ordering, or typing constraint is satisfied when
-  its associated formula </span><span class="math"><span class="insert">∀ x</span><sub><span class="insert">1</span></sub><span class="insert">...x</span><sub><span class="insert">n</span></sub><span class="insert">. A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">l</span></sub><span class="insert"> ⇒ C</span></span><span class="insert"> holds, that is, for any substitution of
-  the variables </span><span class="math"><span class="insert">x</span><sub><span class="insert">1</span></sub><span class="insert">,....,x</span><sub><span class="insert">n</span></sub></span><span class="insert">, if  </span><span class="math"><span class="insert">A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧
-  A</span><sub><span class="insert">l</span></sub></span><span class="insert"> is true, then </span><span class="math"><span class="insert">C</span></span><span class="insert"> is
-  also true.</span></li>
-  <li><span class="insert">An impossibility constraint is satisfied when the formula
-  </span><span class="math"><span class="insert">∀ x</span><sub><span class="insert">1</span></sub><span class="insert">...x</span><sub><span class="insert">n</span></sub><span class="insert">. A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">l</span></sub><span class="insert"> ⇒
-  False</span></span><span class="insert"> holds.  This is logically equivalent to </span><span class="math"><span class="insert">∄
-  x</span><sub><span class="insert">1</span></sub><span class="insert">...x</span><sub><span class="insert">n</span></sub><span class="insert">. A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">l</span></sub></span><span class="insert">, that is, there exists no
-  substitution for </span><span class="math"><span class="insert">x</span><sub><span class="insert">1</span></sub><span class="insert">...x</span><sub><span class="insert">n</span></sub></span><span class="insert"> making </span><span class="math"><span class="insert">A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">l</span></sub></span><span class="insert"> true.
-</span></li></ol>  
-
-<h4 id="merging"><span class="insert">Merging</span></h4>
-
-  <p><em><span class="insert">Merging</span></em><span class="insert"> is an operation that takes two terms and compares them to
-  see if they are equal, or can be made equal by substituting an
-  existential variable with another term.  This operation is a special
-  case of </span><em><span class="insert">unification</span></em><span class="insert">, a common operation in logical
+    <li>A logical equivalence as used in a definition is satisfied
+  when the formula <span class="math">∀
+  x<sub>1</sub>,....,x<sub>n</sub>. A ⇔ ∃
+  y<sub>1</sub>...y<sub>m</sub> . B<sub>1</sub> ∧ ... ∧
+  B<sub>k</sub></span> holds, that is, for any substitution of the
+  variables <span class="math">x<sub>1</sub>,....,x<sub>n</sub></span>, formula <span class="math">A</span> and
+  formula <span class="math">∃
+  y<sub>1</sub>...y<sub>m</sub>. B<sub>1</sub> ∧ ... ∧
+  B<sub>k</sub></span> are either both true or both false.
+    </li>
+  <li>A logical implication as used in an inference is
+   satisfied with the formula  <span class="math">∀
+  x<sub>1</sub>,....,x<sub>n</sub>.  A<sub>1</sub> ∧ ... ∧
+  A<sub>l</sub> ⇒ ∃ y<sub>1</sub>...y<sub>m</sub> . B<sub>1</sub> ∧
+  ... ∧ B<sub>k</sub></span> holds, that is, for any substitution of
+  the variables <span class="math">x<sub>1</sub>,....,x<sub>n</sub></span>, if  <span class="math">A<sub>1</sub> ∧ ... ∧
+  A<sub>l</sub></span> is true, then 
+ for some further substitution of terms for variables <span class="math">
+  y<sub>1</sub>...y<sub>m</sub></span>, formula <span class="math">B<sub>1</sub> ∧ ... ∧
+  B<sub>k</sub></span> is also true.</li>
+  <li>A uniqueness, ordering, or typing constraint is satisfied when
+  its associated formula <span class="math">∀ x<sub>1</sub>...x<sub>n</sub>. A<sub>1</sub> ∧ ... ∧ A<sub>l</sub> ⇒ C</span> holds, that is, for any substitution of
+  the variables <span class="math">x<sub>1</sub>,....,x<sub>n</sub></span>, if  <span class="math">A<sub>1</sub> ∧ ... ∧
+  A<sub>l</sub></span> is true, then <span class="math">C</span> is
+  also true.</li>
+  <li>An impossibility constraint is satisfied when the formula
+  <span class="math">∀ x<sub>1</sub>...x<sub>n</sub>. A<sub>1</sub> ∧ ... ∧ A<sub>l</sub> ⇒
+  False</span> holds.  This is logically equivalent to <span class="math">∄
+  x<sub>1</sub>...x<sub>n</sub>. A<sub>1</sub> ∧ ... ∧ A<sub>l</sub></span>, that is, there exists no
+  substitution for <span class="math">x<sub>1</sub>...x<sub>n</sub></span> making <span class="math">A<sub>1</sub> ∧ ... ∧ A<sub>l</sub></span> true.
+</li></ol>  
+
+<h4 id="unification-and-merging"><span class="insert">Unification and </span>Merging</h4>
+
+  <p><em><span class="delete">Merging</span><span class="insert">Unification</span></em> is an operation that takes two terms and compares them to
+  <span class="delete">see if</span><span class="insert">determine whether</span> they<span class="delete"> are equal, or</span> can be made equal by substituting an
+  existential variable with another term.  <span class="delete">This operation</span><span class="insert">If so, the result</span> is <span class="insert">such </span>a<span class="delete"> special
+  case of </span><span class="insert">
+  substitution; otherwise, the result is failure.  Unification is an
+  essential concept in logic programming and automated reasoning,
+where terms can involve variables, constants and function symbols.  In PROV,
+  by comparison, </span>unification<span class="delete">, a common operation in logical
   reasoning, including logic programming and automated reasoning.
-Merging two terms </span><span class="math"><span class="insert">t,t'</span></span><span class="insert"> results in either substitution </span><span class="math"><span class="insert">S</span></span><span class="insert">
-  such that </span><span class="math"><span class="insert">S(t) = S(t')</span></span><span class="insert">, or failure indicating that there is no
-  substitution that can be applied to both </span><span class="math"><span class="insert">t</span></span><span class="insert"> and </span><span class="math"><span class="insert">t'</span></span><span class="insert"> to make
+Merging</span><span class="insert"> only needs to deal with
+</span></p>
+<p><span class="insert">
+Unifying</span> two terms <span class="math">t,t'</span> results in either substitution <span class="math">S</span>
+  such that <span class="math">S(t) = S(t')</span>, or failure indicating that there is no
+  substitution that can be applied to both <span class="math">t</span> and <span class="math">t'</span> to make
   them equal.
+<span class="insert">  Unification is also used to define an operation on PROV
+  statements called </span><em><span class="insert">merging</span></em><span class="insert">.  Merging takes two statements
+  that have equal identifiers, unifies their corresponding term
+  arguments, and combines their attribute lists.  
 </span></p>
 
   
 
- <h4 id="applying-definitions--inferences--and-constraints"><span class="insert">Applying definitions, inferences, and constraints</span></h4>
-<p><span class="insert">Formulas can also be interpreted as having computational
+ <h4 id="applying-definitions--inferences--and-constraints">Applying definitions, inferences, and constraints</h4>
+<p>Formulas can also be interpreted as having computational
   content.  That is, if an instance does not satisfy a formula, we can
-  often </span><em><span class="insert">apply</span></em><span class="insert"> the formula to the instance to produce another
+  often <em>apply</em> the formula to the instance to produce another
   instance that does satisfy the formula.  Definitions, inferences,
   and uniqueness constraints can be applied to instances:
-</span></p>
+</p>
   <ul>
-  <li><span class="insert">
-  A definition of the form </span><span class="math"><span class="insert">∀
-  x</span><sub><span class="insert">1</span></sub><span class="insert">,....,x</span><sub><span class="insert">n</span></sub><span class="insert">. A ⇔ ∃
-  y</span><sub><span class="insert">1</span></sub><span class="insert">...y</span><sub><span class="insert">m</span></sub><span class="insert"> . B</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧
-  B</span><sub><span class="insert">k</span></sub></span><span class="insert">
-  can be applied by searching for any occurrences of </span><span class="math"><span class="insert">A</span></span><span class="insert"> in the instance  and adding </span><span class="math"><span class="insert"> B</span><sub><span class="insert">1</span></sub><span class="insert">, ..., B</span><sub><span class="insert">k</span></sub></span><span class="insert">, generating fresh existential
-  variables </span><span class="math"><span class="insert">y</span><sub><span class="insert">1</span></sub><span class="insert">,...,y</span><sub><span class="insert">m</span></sub></span><span class="insert">, and conversely, whenever there is an
-    occurrence of </span><span class="math"><span class="insert"> B</span><sub><span class="insert">1</span></sub><span class="insert">, ..., B</span><sub><span class="insert">k</span></sub></span><span class="insert">, adding
-    </span><span class="math"><span class="insert">A</span></span><span class="insert">.
-    In our setting, the defined formulas </span><span class="math"><span class="insert">A</span></span><span class="insert"> are never used in other
+  <li>
+  A definition of the form <span class="math">∀
+  x<sub>1</sub>,....,x<sub>n</sub>. A ⇔ ∃
+  y<sub>1</sub>...y<sub>m</sub> . B<sub>1</sub> ∧ ... ∧
+  B<sub>k</sub></span>
+  can be applied by searching for any occurrences of <span class="math">A</span> in the instance  and adding <span class="math"> B<sub>1</sub>, ..., B<sub>k</sub></span>, generating fresh existential
+  variables <span class="math">y<sub>1</sub>,...,y<sub>m</sub></span>, and conversely, whenever there is an
+    occurrence of <span class="math"> B<sub>1</sub>, ..., B<sub>k</sub></span>, adding
+    <span class="math">A</span>.
+    In our setting, the defined formulas <span class="math">A</span> are never used in other
     formulas, so it is sufficient to replace all occurrences of
-    </span><span class="math"><span class="insert">A</span></span><span class="insert"> with their definitions.  The formula </span><span class="math"><span class="insert">A</span></span><span class="insert"> is then redundant, and can be
+    <span class="math">A</span> with their definitions.  The formula <span class="math">A</span> is then redundant, and can be
   removed from the instance.
-</span></li>
-<li><span class="insert">An inference of the form </span><span class="math"><span class="insert">∀
-  x</span><sub><span class="insert">1</span></sub><span class="insert">,....,x</span><sub><span class="insert">n</span></sub><span class="insert">.  A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧
-  A</span><sub><span class="insert">p</span></sub><span class="insert"> ⇒ ∃ y</span><sub><span class="insert">1</span></sub><span class="insert">...y</span><sub><span class="insert">m</span></sub><span class="insert"> . B</span><sub><span class="insert">1</span></sub><span class="insert"> ∧
-  ... ∧ B</span><sub><span class="insert">k</span></sub></span><span class="insert"> can be applied by searching for  any occurrences of </span><span class="math"><span class="insert"> A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧
-  A</span><sub><span class="insert">p</span></sub></span><span class="insert"> in the instance and, for each such match,
-for which the entire conclusion does not already hold (for some </span><span class="math"><span class="insert">y</span><sub><span class="insert">1</span></sub><span class="insert">,...,y</span><sub><span class="insert">m</span></sub></span><span class="insert">),
-adding </span><span class="math"><span class="insert">B</span><sub><span class="insert">1</span></sub><span class="insert"> ∧
-  ... ∧ B</span><sub><span class="insert">k</span></sub></span><span class="insert"> to the instance, generating fresh existential
-  variables </span><span class="math"><span class="insert">y</span><sub><span class="insert">1</span></sub><span class="insert">,...,y</span><sub><span class="insert">m</span></sub></span><span class="insert">.
-</span></li>
-<li><span class="insert">A uniqueness  constraint of the form </span><span class="math"><span class="insert">∀
-x</span><sub><span class="insert">1</span></sub><span class="insert">...x</span><sub><span class="insert">n</span></sub><span class="insert">. A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">p</span></sub><span class="insert"> ⇒ t
-= t'</span></span><span class="insert"> can be
-  applied by searching for an occurrence </span><span class="math"><span class="insert">A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">p</span></sub></span><span class="insert"> in the instance, and
-  if one is found, merging the terms </span><span class="math"><span class="insert">t</span></span><span class="insert"> and
-</span><span class="math"><span class="insert">t'</span></span><span class="insert">. If successful, the resulting
+</li>
+<li>An inference of the form <span class="math">∀
+  x<sub>1</sub>,....,x<sub>n</sub>.  A<sub>1</sub> ∧ ... ∧
+  A<sub>p</sub> ⇒ ∃ y<sub>1</sub>...y<sub>m</sub> . B<sub>1</sub> ∧
+  ... ∧ B<sub>k</sub></span> can be applied by searching for  any occurrences of <span class="math"> A<sub>1</sub> ∧ ... ∧
+  A<sub>p</sub></span> in the instance and, for each such match,
+for which the entire conclusion does not already hold (for some <span class="math">y<sub>1</sub>,...,y<sub>m</sub></span>),
+adding <span class="math">B<sub>1</sub> ∧
+  ... ∧ B<sub>k</sub></span> to the instance, generating fresh existential
+  variables <span class="math">y<sub>1</sub>,...,y<sub>m</sub></span>.
+</li>
+<li>A uniqueness  constraint of the form <span class="math">∀
+x<sub>1</sub>...x<sub>n</sub>. A<sub>1</sub> ∧ ... ∧ A<sub>p</sub> ⇒ t
+= t'</span> can be
+  applied by searching for an occurrence <span class="math">A<sub>1</sub> ∧ ... ∧ A<sub>p</sub></span> in the instance, and
+  if one is found, <span class="delete">merging</span><span class="insert">unifying</span> the terms <span class="math">t</span> and
+<span class="math">t'</span>. If successful, the resulting
 substitution is applied to the instance; otherwise, the application
-of the uniqueness constraint fails.  </span></li>
-<li><span class="insert">A key constraint can similarly be applied by searching for
-different occurrences of a statement with the same identifier, merging the
+of the uniqueness constraint fails.  </li>
+<li>A key constraint can similarly be applied by searching for
+different occurrences of a statement with the same identifier, <span class="delete">merging</span><span class="insert">unifying</span> the
 corresponding parameters of the statements, and concatenating their
-attribute lists.  The substitutions obtained by merging are applied to
-the instance.
-</span></li>
+attribute <span class="delete">lists.</span><span class="insert">lists, to form a single statement.</span>  The substitutions obtained by <span class="delete">merging</span><span class="insert">unification</span> are applied to
+<span class="insert">the merged statement and the rest of </span>the instance.
+</li>
   </ul>
   
- <p><span class="insert">As noted above, uniqueness or key constraint
-  application can </span><em><span class="insert">fail</span></em><span class="insert">, if a required merging step fails.  Failure of constraint
+ <p>As noted above, uniqueness or key constraint
+  application can <em>fail</em>, if a required <span class="insert">unification or </span>merging step fails.  Failure of constraint
   application means that there is no way to add information to the
   instance to satisfy the constraint, which in turn implies that the
-  instance is </span><em><span class="insert">invalid</span></em><span class="insert">.
-  </span></p>
-  <p><span class="insert">
+  instance is <em>invalid</em>.
+  </p>
+  <p>
   The process of applying definitions, inferences, and constraints
   to a PROV instance until all of them are satisfied is similar to
   what is sometimes 
-  called </span><em><span class="insert">chasing</span></em><span class="insert"> [</span><cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS"><span class="insert">DBCONSTRAINTS</span></a></cite><span class="insert">] or </span><em><span class="insert">saturation</span></em><span class="insert">
-  [</span><cite><a class="bibref" rel="biblioentry" href="#bib-CHR"><span class="insert">CHR</span></a></cite><span class="insert">].  We call this process </span><em><span class="insert">normalization</span></em><span class="insert">.
-  </span></p>
+  called <em>chasing</em> [<cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS">DBCONSTRAINTS</a></cite>] or <em>saturation</em>
+  [<cite><a class="bibref" rel="biblioentry" href="#bib-CHR">CHR</a></cite>].  We call this process <em>normalization</em>.
+  </p>
+  <p><span class="insert">
+  Although this specification outlines one particular way of
+  performing inferences and checking constraints, based on
+  normalization, implementations can use any other equivalent
+  algorithm.  The logical formulas corresponding to the definitions,
+  inferences, and constraints outlined above (and further elaborated
+  in [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM"><span class="insert">PROV-SEM</span></a></cite><span class="insert">]) provides an equivalent specification, and any
+  implementation that correctly checks validity and equivalence (whether it performs normalization or not) complies
+  with this specification.</span>
+  </p>
 
  
- <h4 id="termination-1"><span class="insert">Termination</span></h4>
-  <p><span class="insert">
+ <h4 id="termination-1">Termination</h4>
+  <p>
  In general, applying sets of logical formulas of the above
   definition, inference, and constraint forms is not guaranteed to
-  terminate.  A simple example is the inference </span><span class="math"><span class="insert">R(x,y) ⇒ ∃z. R(x,z)
-  ∧R(z,y)</span></span><span class="insert">, which can be applied to </span><span class="math"><span class="insert">{R(a,b)}</span></span><span class="insert"> to generate an
+  terminate.  A simple example is the inference <span class="math">R(x,y) ⇒ ∃z. R(x,z)
+  ∧R(z,y)</span>, which can be applied to <span class="math">{R(a,b)}</span> to generate an
   infinite sequence of larger and larger instances.  To ensure that
   normalization, validity, and equivalence are decidable, we require
   that normalization terminates.  There is a great deal of work on termination of the chase in
   databases, or of sets of constraint handling rules.  The termination
   of the notion of normalization defined in this specification is
   guaranteed because the definitions, inferences and uniqueness/key
-  constraints correspond to a </span><em><span class="insert">weakly acyclic</span></em><span class="insert"> set of
+  constraints correspond to a <em>weakly acyclic</em> set of
   tuple-generating and equality-generating dependencies, in the
-  terminology of [</span><cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS"><span class="insert">DBCONSTRAINTS</span></a></cite><span class="insert">].  The termination of the remaining
-  ordering, typing, and impossibility constraints is easy to show.  </span><a href="#termination"><span class="insert">Appendix
-  C</span></a><span class="insert"> gives a proof that the definitions, inferences, and uniqueness
+  terminology of [<cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS">DBCONSTRAINTS</a></cite>].  The termination of the remaining
+  ordering, typing, and impossibility constraints is easy to show.  <a href="#termination">Appendix
+  C</a> gives a proof that the definitions, inferences, and uniqueness
   and key constraints are weakly acyclic and therefore terminating.
-  </span></p>
-  <p><span class="insert">
+  </p>
+  <p>
   There is an important subtlety that is essential to guarantee
   termination.  This specification draws a distinction between knowing
-  that an identifier has type </span><span class="name"><span class="insert">'entity'</span></span><span class="insert">, </span><span class="name"><span class="insert">'activity'</span></span><span class="insert">, or </span><span class="name"><span class="insert">'agent'</span></span><span class="insert">, and having
-  an explicit </span><span class="name"><span class="insert">entity(id)</span></span><span class="insert">, </span><span class="name"><span class="insert">activity(id)</span></span><span class="insert">, or </span><span class="name"><span class="insert">agent(id)</span></span><span class="insert"> statement in the instance.
-  For example, focusing on entity statements, we can infer </span><span class="name"><span class="insert">'entity' ∈ typeOf(id)</span></span><span class="insert"> if  </span><span class="name"><span class="insert">entity(id)</span></span><span class="insert"> holds in the instance.  In contrast, if we only know
-  that </span><span class="name"><span class="insert">'entity' ∈ typeOf(id)</span></span><span class="insert">, this does not imply that </span><span class="name"><span class="insert">entity(id)</span></span><span class="insert">
+  that an identifier has type <span class="name">'entity'</span>, <span class="name">'activity'</span>, or <span class="name">'agent'</span>, and having
+  an explicit <span class="name">entity(id)</span>, <span class="name">activity(id)</span>, or <span class="name">agent(id)</span> statement in the instance.
+  For example, focusing on entity statements, we can infer <span class="name">'entity' ∈ typeOf(id)</span> if  <span class="name">entity(id)</span> holds in the instance.  In contrast, if we only know
+  that <span class="name">'entity' ∈ typeOf(id)</span>, this does not imply that <span class="name">entity(id)</span>
   holds.
-  </span></p>
-  <p><span class="insert">
+  </p>
+  <p>
   This distinction (for both entities and activities) is essential to
   ensure termination of the inferences, because we allow inferring
-  that a declared </span><span class="name"><span class="insert">entity(id,attrs)</span></span><span class="insert"> has a generation
+  that a declared <span class="name">entity(id,attrs)</span> has a generation
   and invalidation event, using
-  </span><a class="rule-text" href="#entity-generation-invalidation-inference_text"><span><span class="insert">Inference 7 (entity-generation-invalidation-inference)</span></span></a><span class="insert">.
-  Likewise, for activities, we allow inferring that a declared </span><span class="name"><span class="insert">activity(id,t1,t2,attrs)</span></span><span class="insert"> has a generation
+  <a class="rule-text" href="#entity-generation-invalidation-inference_text"><span>Inference 7 (entity-generation-invalidation-inference)</span></a>.
+  Likewise, for activities, we allow inferring that a declared <span class="name">activity(id,t1,t2,attrs)</span> has a generation
   and invalidation event, using
-  </span><a class="rule-text" href="#activity-start-end-inference_text"><span><span class="insert">Inference 8 (activity-start-end-inference)</span></span></a><span class="insert">.  These
+  <a class="rule-text" href="#activity-start-end-inference_text"><span>Inference 8 (activity-start-end-inference)</span></a>.  These
   inferences do not apply to identifiers whose types are known, but for
   which there is not an explicit entity or activity statement.
 If we strengthened the type
@@ -1865,72 +1942,74 @@
   these can be inferred to have invalidation/generation and start/end events.  This inference
   is not supported for identifiers
 that are indirectly referenced in other relations and therefore have
-  type </span><span class="name"><span class="insert">'entity'</span></span><span class="insert"> or </span><span class="name"><span class="insert">'activity'</span></span><span class="insert">.  
-  </span></p>
+  type <span class="name">'entity'</span> or <span class="name">'activity'</span>.  
+  </p>
 
 
 <div style="text-align: center;">
 <span class="figure">
 <img src="images/constraints/prov-c.graffle.svg/overview.svg" alt="validation process overview">
 <br>
-<span class="figcaption" id="validation-process-overview"><span class="insert">Figure 1</span><sup><a class="internalDFN" href="#validation-process-overview"><span class="diamond"><span class="insert"> ◊:</span></span></a></sup><span class="insert"> Overview of the Validation Process</span></span>
+<span class="figcaption" id="validation-process-overview">Figure 1<sup><a class="internalDFN" href="#validation-process-overview"><span class="diamond"> ◊:</span></a></sup> Overview of the Validation Process</span>
 </span> 
 </div>
 
 
- <h4 id="checking-ordering--typing--and-impossibility-constraints"><span class="insert">Checking ordering, typing, and impossibility constraints</span></h4>
-  <p><span class="insert">
+ <h4 id="checking-ordering--typing--and-impossibility-constraints">Checking ordering, typing, and impossibility constraints</h4>
+  <p>
   The ordering, typing, and impossibility constraints are checked
   rather than applied.  This means that they do not generate new
   formulas expressible in PROV, but they do generate basic constraints
   that might or might not be consistent with each other.  Checking
   such constraints follows a saturation strategy similar to that for normalization:
-  </span></p>
+  </p>
   <ol>
-  <li><p><span class="insert">
+  <li><p>
     For ordering constraints, we check by generating all of the
   precedes and strictly-precedes relationships specified by the rules.  These can be thought
   of as a directed graph whose nodes are terms, and whose edges are
   precedes or strictly-precedes relationships.  
-    An ordering constraint  of the form </span><span class="math"><span class="insert">∀
-x</span><sub><span class="insert">1</span></sub><span class="insert">...x</span><sub><span class="insert">n</span></sub><span class="insert">. A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">p</span></sub><span class="insert"> ⇒
-precedes(t,t')</span></span><span class="insert"> can be applied by searching for occurrences of
-</span><span class="math"><span class="insert"> A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">p</span></sub></span><span class="insert"> and for each such match
-adding the atomic formula </span><span class="math"><span class="insert">precedes(t,t')</span></span><span class="insert"> to
+    An ordering constraint  of the form <span class="math">∀
+x<sub>1</sub>...x<sub>n</sub>. A<sub>1</sub> ∧ ... ∧ A<sub>p</sub> ⇒
+precedes(t,t')</span> can be applied by searching for occurrences of
+<span class="math"> A<sub>1</sub> ∧ ... ∧ A<sub>p</sub></span> and for each such match
+adding the atomic formula <span class="math">precedes(t,t')</span> to
   the instance, and similarly for strictly-precedes constraints.  After all such constraints have been checked, and the
   resulting edges added to the graph, the ordering constraints are
   violated if there is a cycle in the graph that includes a
   strictly-precedes edge, and satisfied otherwise.
-    </span></p>
+    </p>
 </li>
-<li><p><span class="insert">For typing constraints, we check by constructing a function
-  </span><span class="math"><span class="insert">typeOf(id)</span></span><span class="insert"> mapping identifiers to sets of possible types.  We
+<li><p>For typing constraints, we check by constructing a function
+  <span class="math">typeOf(id)</span> mapping identifiers to sets of possible types.  We
   start with a function mapping each identifier to the empty set,
   reflecting no constraints on the identifiers' types.  A typing
-  constraint of the form </span><span class="math"><span class="insert">∀
-x</span><sub><span class="insert">1</span></sub><span class="insert">...x</span><sub><span class="insert">n</span></sub><span class="insert">. A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">p</span></sub><span class="insert"> ⇒ 'type' ∈ typeOf(id)
-</span></span><span class="insert"> is checked  by adjusting the
-  function by adding </span><span class="name"><span class="insert">'type'</span></span><span class="insert"> to </span><span class="math"><span class="insert">typeOf(id)</span></span><span class="insert"> for each conclusion
-  </span><span class="name"><span class="insert">'type' ∈ typeOf(id)</span></span><span class="insert"> of the rule.  Typing constraints with
+  constraint of the form <span class="math">∀
+x<sub>1</sub>...x<sub>n</sub>. A<sub>1</sub> ∧ ... ∧ A<sub>p</sub> ⇒ 'type' ∈ typeOf(id)
+</span> is checked  by adjusting the
+  function by adding <span class="name">'type'</span> to <span class="math">typeOf(id)</span> for each conclusion
+  <span class="name">'type' ∈ typeOf(id)</span> of the rule.  Typing constraints with
   multiple conclusions are handled analogously.  Once all constraints
   have been checked in all possible ways, we check that the
-  disjointness constraints hold of the resulting </span><span class="math"><span class="insert">typeOf</span></span><span class="insert"> function.
+  disjointness constraints hold of the resulting <span class="math">typeOf</span> function.
   (These are essentially impossibility constraints).
-</span></p>
+</p>
   </li>
-  <li><p><span class="insert">For impossibility constraints, we check by searching for the
+  <li><p>For impossibility constraints, we check by searching for the
   forbidden pattern that the impossibility constraint describes. Any
   match of this pattern leads to failure of the constraint checking process.
-An impossibility constraint of the form </span><span class="math"><span class="insert">∀
-x</span><sub><span class="insert">1</span></sub><span class="insert">...x</span><sub><span class="insert">n</span></sub><span class="insert">. A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">p</span></sub><span class="insert"> ⇒
-False</span></span><span class="insert"> can be applied by  searching for occurrences of
-</span><span class="math"><span class="insert">A</span><sub><span class="insert">1</span></sub><span class="insert"> ∧ ... ∧ A</span><sub><span class="insert">p</span></sub></span><span class="insert"> in the instance, and if any
-such occurrence is found, signaling failure.</span></p>
+An impossibility constraint of the form <span class="math">∀
+x<sub>1</sub>...x<sub>n</sub>. A<sub>1</sub> ∧ ... ∧ A<sub>p</sub> ⇒
+False</span> can be applied by  searching for occurrences of
+<span class="math">A<sub>1</sub> ∧ ... ∧ A<sub>p</sub></span> in the instance, and if any
+such occurrence is found, signaling failure.</p>
   </li>
   </ol>
-  <p><span class="insert">
-  A normalized instance that satisfies all of the checked constraints
-  is called </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert">.  Validity can be, but is not required to be,
+  <p>
+  A normalized instance that <span class="delete">satisfies</span><span class="insert">passes</span> all of the <span class="delete">checked constraints
+  </span><span class="insert">ordering, typing,
+  and impossibility constraint checks 
+  </span>is called <a href="#dfn-valid" class="internalDFN">valid</a>.  Validity can be, but is not required to be,
   checked by normalizing and then checking constraints.  Any other
   algorithm that provides equivalent behavior (that is, accepts the
   same valid instances and rejects the same invalid instances) is allowed.
@@ -1939,12 +2018,12 @@
   interfere with one another, so it is also possible to mix checking
   and application.  This may be desirable in order to detect
   invalidity more quickly.
-  </span></p>
-
-
-
- <h4 id="equivalence-and-isomorphism"><span class="insert">Equivalence and Isomorphism</span></h4>
-  <p><span class="insert"> Given two normal forms, a natural question is whether they contain
+  </p>
+
+
+
+ <h4 id="equivalence-and-isomorphism">Equivalence and Isomorphism</h4>
+  <p> Given two normal forms, a natural question is whether they contain
   the same information, that is, whether they are equivalent (if so,
   then the original instances are also equivalent.)  By analogy with
   logic, if we consider normalized PROV instances with existential
@@ -1955,13 +2034,15 @@
   instances to be equivalent up to reordering of attributes.  However,
   instances can also be equivalent if they differ only in choice of
   names of existential variables. Because of this, the appropriate
-  notion of equivalence of normal forms is </span><em><span class="insert">isomorphism</span></em><span class="insert">.  Two
-  instances </span><span class="math"><span class="insert">I</span><sub><span class="insert">1</span></sub></span><span class="insert"> and </span><span class="math"><span class="insert">I</span><sub><span class="insert">2</span></sub></span><span class="insert"> are </span><em><span class="insert">isomorphic</span></em><span class="insert"> if there is an invertible
-  substitution </span><span class="math"><span class="insert">S</span></span><span class="insert"> mapping existential variables to existential variables such that </span><span class="math"><span class="insert">S(I</span><sub><span class="insert">1</span></sub><span class="insert">) = I</span><sub><span class="insert">2</span></sub></span><span class="insert">.
-  This is similar to the notion of equivalence used in [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RDF"><span class="insert">RDF</span></a></cite><span class="insert">], where
-  blank nodes play an analogous role to existential variables.  </span></p>
+  notion of equivalence of normal forms is <em>isomorphism</em>.  Two
+  instances <span class="math">I<sub>1</sub></span> and <span class="math">I<sub>2</sub></span> are <em>isomorphic</em> if there is an invertible
+  substitution <span class="math">S</span> mapping existential variables to existential variables such that <span class="math">S(I<sub>1</sub>) = I<sub>2</sub></span>.<span class="delete">
+  This is similar to the notion of equivalence used in [</span><span class="delete">RDF</span><span class="delete">], where
+  blank nodes play an analogous role to existential variables.  </span>
+
+  </p>
  
-<p><span class="insert">Equivalence can be checked by normalizing instances, checking that
+<p>Equivalence can be checked by normalizing instances, checking that
   both instances are valid, then
   testing whether the two normal forms are isomorphic.  (It is
   technically possible for two invalid normal forms to be isomorphic,
@@ -1972,295 +2053,324 @@
   is not required that implementations compute normal forms
   explicitly, only that their determinations of equivalence match
   those obtained by the algorithm in this specification.
-  </span></p>
-
-<h4 id="from-instances-to-bundles-and-documents"><span class="insert">From Instances to Bundles and Documents</span></h4>
-
-<p><span class="insert">PROV documents can contain multiple instances: a </span><a><span class="insert">toplevel
-instance</span></a><span class="insert"> consisting of the set of statements not appearing within a bundle, and
-zero or more named instances called </span><a><span class="insert">bundle</span></a><span class="insert">s.  For the purpose
+  </p>
+
+<p><span class="insert">Equivalence is only explicitly specified for
+valid instances (whose normal forms exist and are unique up to
+isomorphism).  Implementations may test equivalences involving valid
+and invalid documents.  This specification does not constrain the
+behavior of equivalence checking involving invalid instances, provided
+that:
+</span></p>
+<ul>
+  <li><span class="insert">instance equivalence is </span><a href="#dfn-reflexive" class="internalDFN"><span class="insert">reflexive</span></a><span class="insert">, </span><a href="#dfn-symmetric" class="internalDFN"><span class="insert">symmetric</span></a><span class="insert"> and
+  </span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert"> on all instances</span></li>
+  <li><span class="insert"> no valid instance is equivalent to an invalid instance.</span></li>
+  </ul>
+<p><span class="insert">
+Because of the second constraint, equivalence is essentially the union
+  of two equivalence relations on the disjoint sets of valid and
+  invalid instances.
+  There are two simple implementations of equivalence for invalid
+  documents that are correct:</span></p>
+  <ol>
+    <li><span class="insert">each invalid instance is equivalent only to itself</span></li>
+    <li><span class="insert">every pair of invalid instances are equivalent</span></li>
+  </ol>
+  
+<h4 id="from-instances-to-bundles-and-documents">From Instances to Bundles and Documents</h4>
+
+<p>PROV documents can contain multiple instances: a <a>toplevel
+instance</a><span class="delete"> consisting of the set of statements not appearing within a bundle,</span><span class="insert">,</span> and
+zero or more<span class="insert"> additional,</span> named instances called <a>bundle</a>s.  For the purpose
 of inference and constraint checking, these instances are treated independently. That is,
 a PROV document is valid provided that each instance in it is valid
-and the names of its bundles are distinct.  Similarly, a PROV document is
+and the names of its bundles are distinct.  <span class="insert">In other words, there are
+no validity constraints that need to be checked across the different
+instances in a PROV document; the contents of one instance in a
+multi-instance PROV document cannot affect the validity of another instance.
+</span>Similarly, a PROV document is
 equivalent to another if their toplevel instances are equivalent, they
 have the same number of bundles with the same names, and the instances
-of their corresponding bundles are equivalent.  Analogously to blank nodes in
-[</span><cite><a class="bibref" rel="biblioentry" href="#bib-RDF"><span class="insert">RDF</span></a></cite><span class="insert">], the scope of an existential variable in PROV is the instance
+of their corresponding bundles are equivalent.<span class="delete">  Analogously to blank nodes</span><span class="insert">
+
+The scope of an existential variable</span> in<span class="delete">
+[</span><span class="delete">RDF</span><span class="delete">], the scope of an existential variable in</span> PROV is<span class="insert"> delimited at</span> the instance
 level, so existential variables with the same name occurring in
 different instances do not necessarily denote the same term.  This
 is a consequence of the fact that the instances of two equivalent
 documents only need to be  pairwise isomorphic; this is a weaker
 property than requiring that there be a single isomorphism that works
 for all of the corresponding instances.
-</span></p>
+</p>
 </div>
 
 <div id="summary-of-inferences-and-constraints" class="section">
-<h3><span class="secno"><span class="insert">2.5 </span></span><span class="insert">Summary of inferences and constraints</span></h3>
-
-<p><a href=""><span class="insert">Table 2</span></a><span class="insert"> summarizes the inferences, and
+<h3><span class="secno">2.5 </span>Summary of inferences and constraints</h3>
+
+<p><a href="">Table 2</a> summarizes the inferences, and
 constraints specified in this document, broken down by component and
 type or relation involved.
-</span></p>
-
-<div class="note"><span class="insert">Table: work in progress; these entries might change when the document is updated.</span></div>
+</p>
+
+<div class="note">Table: work in progress; these entries might change when the document is updated.</div>
 
 <div id="prov-constraints-fig" style="text-align: left;">
-<table class="thinborder" style="margin-left: auto; margin-right: auto; border-color: #0;">
-<caption id="prov-constraints"><span class="insert">Table 2: Summary of inferences and constraints for PROV Types and Relations</span></caption>
-<tbody><tr><td><a><b><span class="insert">Type or Relation Name</span></b></a></td><td><b><span class="insert">
-  Inferences and Constraints</span></b></td><td><b><span class="insert">Component</span></b></td></tr>
+<table class="thinborder" style="margin-left: auto; margin-right: auto; border-color: black;">
+<caption id="prov-constraints">Table 2: Summary of inferences and constraints for PROV Types and Relations</caption>
+<tbody><tr><td><a><b>Type or Relation Name</b></a></td><td><b>
+  Inferences and Constraints</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 class="essential"><a><span class="insert">Entity</span></a></td>
-	<td><a class="rule-text" href="#entity-generation-invalidation-inference_text"><span><span class="insert">Inference 7 (entity-generation-invalidation-inference)</span></span></a><br>
-		<a class="rule-text" href="#specialization-attributes-inference_text"><span><span class="insert">Inference 21 (specialization-attributes-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-object_text"><span><span class="insert">Constraint 23 (key-object)</span></span></a><br>
-		<a class="rule-text" href="#impossible-object-property-overlap_text"><span><span class="insert">Constraint 56 (impossible-object-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#entity-activity-disjoint_text"><span><span class="insert">Constraint 57 (entity-activity-disjoint)</span></span></a><br>
+	<td class="essential"><a>Entity</a></td>
+	<td><a class="rule-text" href="#entity-generation-invalidation-inference_text"><span>Inference 7 (entity-generation-invalidation-inference)</span></a><br>
+		<a class="rule-text" href="#specialization-attributes-inference_text"><span>Inference 21 (specialization-attributes-inference)</span></a><br>
+		<a class="rule-text" href="#key-object_text"><span>Constraint 23 (key-object)</span></a><br>
+		<a class="rule-text" href="#impossible-object-property-overlap_text"><span>Constraint 56 (impossible-object-property-overlap)</span></a><br>
+		<a class="rule-text" href="#entity-activity-disjoint_text"><span>Constraint 57 (entity-activity-disjoint)</span></a><br>
 	</td>
-	<td rowspan="8" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component1" title="Component 1: Entities/Activities"><span class="insert">1</span></a></td>
-</tr>
-<tr class="component1-color">
-	<td class="essential"><a><span class="insert">Activity</span></a></td>
-	<td><a class="rule-text" href="#activity-start-end-inference_text"><span><span class="insert">Inference 8 (activity-start-end-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-object_text"><span><span class="insert">Constraint 23 (key-object)</span></span></a><br>
-		<a class="rule-text" href="#unique-startTime_text"><span><span class="insert">Constraint 29 (unique-startTime)</span></span></a><br>
-		<a class="rule-text" href="#unique-endTime_text"><span><span class="insert">Constraint 30 (unique-endTime)</span></span></a><br>
-		<a class="rule-text" href="#impossible-object-property-overlap_text"><span><span class="insert">Constraint 56 (impossible-object-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#entity-activity-disjoint_text"><span><span class="insert">Constraint 57 (entity-activity-disjoint)</span></span></a><br>
-	</td>
+	<td rowspan="8" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component1" title="Component 1: Entities/Activities">1</a></td>
 </tr>
 <tr class="component1-color">
-	<td class="essential"><a><span class="insert">Generation</span></a></td>
-	<td><a class="rule-text" href="#generation-use-communication-inference_text"><span><span class="insert">Inference 6 (generation-use-communication-inference)</span></span></a><br>
-
-		<a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
-		<a class="rule-text" href="#unique-generation_text"><span><span class="insert">Constraint 25 (unique-generation)</span></span></a><br>
-		<a class="rule-text" href="#generation-within-activity_text"><span><span class="insert">Constraint 36 (generation-within-activity)</span></span></a><br>
-		<a class="rule-text" href="#generation-precedes-invalidation_text"><span><span class="insert">Constraint 38 (generation-precedes-invalidation)</span></span></a><br>
-		<a class="rule-text" href="#generation-precedes-usage_text"><span><span class="insert">Constraint 39 (generation-precedes-usage)</span></span></a><br>
-		<a class="rule-text" href="#generation-generation-ordering_text"><span><span class="insert">Constraint 41 (generation-generation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#derivation-usage-generation-ordering_text"><span><span class="insert">Constraint 43 (derivation-usage-generation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#derivation-generation-generation-ordering_text"><span><span class="insert">Constraint 44 (derivation-generation-generation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasStartedBy-ordering_text"><span><span class="insert">Constraint 45 (wasStartedBy-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasEndedBy-ordering_text"><span><span class="insert">Constraint 46 (wasEndedBy-ordering)</span></span></a><br>
-		<a class="rule-text" href="#specialization-generation-ordering_text"><span><span class="insert">Constraint 47 (specialization-generation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasAssociatedWith-ordering_text"><span><span class="insert">Constraint 49 (wasAssociatedWith-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasAttributedTo-ordering_text"><span><span class="insert">Constraint 50 (wasAttributedTo-ordering)</span></span></a><br>
-		<a class="rule-text" href="#actedOnBehalfOf-ordering_text"><span><span class="insert">Constraint 51 (actedOnBehalfOf-ordering)</span></span></a><br>
-		<a class="rule-text" href="#impossible-property-overlap_text"><span><span class="insert">Constraint 55 (impossible-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
-	</td>
-</tr>
-<tr class="component1-color">
-	<td class="essential"><a><span class="insert">Usage</span></a></td>
-	<td><a class="rule-text" href="#generation-use-communication-inference_text"><span><span class="insert">Inference 6 (generation-use-communication-inference)</span></span></a><br>
-		<a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
-		<a class="rule-text" href="#usage-within-activity_text"><span><span class="insert">Constraint 35 (usage-within-activity)</span></span></a><br>
-		<a class="rule-text" href="#generation-precedes-usage_text"><span><span class="insert">Constraint 39 (generation-precedes-usage)</span></span></a><br>
-		<a class="rule-text" href="#usage-precedes-invalidation_text"><span><span class="insert">Constraint 40 (usage-precedes-invalidation)</span></span></a><br>
-		<a class="rule-text" href="#derivation-usage-generation-ordering_text"><span><span class="insert">Constraint 43 (derivation-usage-generation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#impossible-property-overlap_text"><span><span class="insert">Constraint 55 (impossible-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td class="essential"><a>Activity</a></td>
+	<td><a class="rule-text" href="#activity-start-end-inference_text"><span>Inference 8 (activity-start-end-inference)</span></a><br>
+		<a class="rule-text" href="#key-object_text"><span>Constraint 23 (key-object)</span></a><br>
+		<a class="rule-text" href="#unique-startTime_text"><span>Constraint 29 (unique-startTime)</span></a><br>
+		<a class="rule-text" href="#unique-endTime_text"><span>Constraint 30 (unique-endTime)</span></a><br>
+		<a class="rule-text" href="#impossible-object-property-overlap_text"><span>Constraint 56 (impossible-object-property-overlap)</span></a><br>
+		<a class="rule-text" href="#entity-activity-disjoint_text"><span>Constraint 57 (entity-activity-disjoint)</span></a><br>
 	</td>
 </tr>
 <tr class="component1-color">
-	<td class="essential"><a><span class="insert">Communication</span></a></td>
-	<td><a class="rule-text" href="#communication-generation-use-inference_text"><span><span class="insert">Inference 5 (communication-generation-use-inference)</span></span></a><br>
-		<a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
-		<a class="rule-text" href="#wasInformedBy-ordering_text"><span><span class="insert">Constraint 37 (wasInformedBy-ordering)</span></span></a><br>
-		<a class="rule-text" href="#impossible-property-overlap_text"><span><span class="insert">Constraint 55 (impossible-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
-	</td>
-</tr>
-<tr class="component1-color">
-	<td class="essential"><a><span class="insert">Start</span></a></td>
-	<td><a class="rule-text" href="#wasStartedBy-inference_text"><span><span class="insert">Inference 9 (wasStartedBy-inference)</span></span></a><br>
-		<a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
-		<a class="rule-text" href="#unique-wasStartedBy_text"><span><span class="insert">Constraint 27 (unique-wasStartedBy)</span></span></a><br>
-		<a class="rule-text" href="#unique-startTime_text"><span><span class="insert">Constraint 29 (unique-startTime)</span></span></a><br>
-		<a class="rule-text" href="#start-precedes-end_text"><span><span class="insert">Constraint 32 (start-precedes-end)</span></span></a><br>
-		<a class="rule-text" href="#usage-within-activity_text"><span><span class="insert">Constraint 35 (usage-within-activity)</span></span></a><br>
-		<a class="rule-text" href="#generation-within-activity_text"><span><span class="insert">Constraint 36 (generation-within-activity)</span></span></a><br>
-		<a class="rule-text" href="#wasInformedBy-ordering_text"><span><span class="insert">Constraint 37 (wasInformedBy-ordering)</span></span></a><br>
-		<a class="rule-text" href="#start-start-ordering_text"><span><span class="insert">Constraint 33 (start-start-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasStartedBy-ordering_text"><span><span class="insert">Constraint 45 (wasStartedBy-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasAssociatedWith-ordering_text"><span><span class="insert">Constraint 49 (wasAssociatedWith-ordering)</span></span></a><br>
-		<a class="rule-text" href="#impossible-property-overlap_text"><span><span class="insert">Constraint 55 (impossible-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td class="essential"><a>Generation</a></td>
+	<td><a class="rule-text" href="#generation-use-communication-inference_text"><span>Inference 6 (generation-use-communication-inference)</span></a><br>
+
+		<a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
+		<a class="rule-text" href="#unique-generation_text"><span>Constraint 25 (unique-generation)</span></a><br>
+		<a class="rule-text" href="#generation-within-activity_text"><span>Constraint 36 (generation-within-activity)</span></a><br>
+		<a class="rule-text" href="#generation-precedes-invalidation_text"><span>Constraint 38 (generation-precedes-invalidation)</span></a><br>
+		<a class="rule-text" href="#generation-precedes-usage_text"><span>Constraint 39 (generation-precedes-usage)</span></a><br>
+		<a class="rule-text" href="#generation-generation-ordering_text"><span>Constraint 41 (generation-generation-ordering)</span></a><br>
+		<a class="rule-text" href="#derivation-usage-generation-ordering_text"><span>Constraint 43 (derivation-usage-generation-ordering)</span></a><br>
+		<a class="rule-text" href="#derivation-generation-generation-ordering_text"><span>Constraint 44 (derivation-generation-generation-ordering)</span></a><br>
+		<a class="rule-text" href="#wasStartedBy-ordering_text"><span>Constraint 45 (wasStartedBy-ordering)</span></a><br>
+		<a class="rule-text" href="#wasEndedBy-ordering_text"><span>Constraint 46 (wasEndedBy-ordering)</span></a><br>
+		<a class="rule-text" href="#specialization-generation-ordering_text"><span>Constraint 47 (specialization-generation-ordering)</span></a><br>
+		<a class="rule-text" href="#wasAssociatedWith-ordering_text"><span>Constraint 49 (wasAssociatedWith-ordering)</span></a><br>
+		<a class="rule-text" href="#wasAttributedTo-ordering_text"><span>Constraint 50 (wasAttributedTo-ordering)</span></a><br>
+		<a class="rule-text" href="#actedOnBehalfOf-ordering_text"><span>Constraint 51 (actedOnBehalfOf-ordering)</span></a><br>
+		<a class="rule-text" href="#impossible-property-overlap_text"><span>Constraint 55 (impossible-property-overlap)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
 	</td>
 </tr>
 <tr class="component1-color">
-	<td class="essential"><a><span class="insert">End</span></a></td>
-	<td><a class="rule-text" href="#wasEndedBy-inference_text"><span><span class="insert">Inference 10 (wasEndedBy-inference)</span></span></a><br>
-		<a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
-		<a class="rule-text" href="#unique-wasEndedBy_text"><span><span class="insert">Constraint 28 (unique-wasEndedBy)</span></span></a><br>
-		<a class="rule-text" href="#unique-endTime_text"><span><span class="insert">Constraint 30 (unique-endTime)</span></span></a><br>
-		<a class="rule-text" href="#start-precedes-end_text"><span><span class="insert">Constraint 32 (start-precedes-end)</span></span></a><br>
-		<a class="rule-text" href="#usage-within-activity_text"><span><span class="insert">Constraint 35 (usage-within-activity)</span></span></a><br>
-		<a class="rule-text" href="#generation-within-activity_text"><span><span class="insert">Constraint 36 (generation-within-activity)</span></span></a><br>
-		<a class="rule-text" href="#wasInformedBy-ordering_text"><span><span class="insert">Constraint 37 (wasInformedBy-ordering)</span></span></a><br>
-		<a class="rule-text" href="#end-end-ordering_text"><span><span class="insert">Constraint 34 (end-end-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasEndedBy-ordering_text"><span><span class="insert">Constraint 46 (wasEndedBy-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasAssociatedWith-ordering_text"><span><span class="insert">Constraint 49 (wasAssociatedWith-ordering)</span></span></a><br>
-		<a class="rule-text" href="#impossible-property-overlap_text"><span><span class="insert">Constraint 55 (impossible-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td class="essential"><a>Usage</a></td>
+	<td><a class="rule-text" href="#generation-use-communication-inference_text"><span>Inference 6 (generation-use-communication-inference)</span></a><br>
+		<a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
+		<a class="rule-text" href="#usage-within-activity_text"><span>Constraint 35 (usage-within-activity)</span></a><br>
+		<a class="rule-text" href="#generation-precedes-usage_text"><span>Constraint 39 (generation-precedes-usage)</span></a><br>
+		<a class="rule-text" href="#usage-precedes-invalidation_text"><span>Constraint 40 (usage-precedes-invalidation)</span></a><br>
+		<a class="rule-text" href="#derivation-usage-generation-ordering_text"><span>Constraint 43 (derivation-usage-generation-ordering)</span></a><br>
+		<a class="rule-text" href="#impossible-property-overlap_text"><span>Constraint 55 (impossible-property-overlap)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
 	</td>
 </tr>
 <tr class="component1-color">
-	<td class="essential"><a><span class="insert">Invalidation</span></a></td>
-	<td><a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
-		<a class="rule-text" href="#unique-invalidation_text"><span><span class="insert">Constraint 26 (unique-invalidation)</span></span></a><br>
-		<a class="rule-text" href="#generation-precedes-invalidation_text"><span><span class="insert">Constraint 38 (generation-precedes-invalidation)</span></span></a><br>
-		<a class="rule-text" href="#usage-precedes-invalidation_text"><span><span class="insert">Constraint 40 (usage-precedes-invalidation)</span></span></a><br>
-		<a class="rule-text" href="#invalidation-invalidation-ordering_text"><span><span class="insert">Constraint 42 (invalidation-invalidation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasStartedBy-ordering_text"><span><span class="insert">Constraint 45 (wasStartedBy-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasEndedBy-ordering_text"><span><span class="insert">Constraint 46 (wasEndedBy-ordering)</span></span></a><br>
-		<a class="rule-text" href="#specialization-invalidation-ordering_text"><span><span class="insert">Constraint 48 (specialization-invalidation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasAssociatedWith-ordering_text"><span><span class="insert">Constraint 49 (wasAssociatedWith-ordering)</span></span></a><br>
-		<a class="rule-text" href="#wasAttributedTo-ordering_text"><span><span class="insert">Constraint 50 (wasAttributedTo-ordering)</span></span></a><br>
-		<a class="rule-text" href="#actedOnBehalfOf-ordering_text"><span><span class="insert">Constraint 51 (actedOnBehalfOf-ordering)</span></span></a><br>
-		<a class="rule-text" href="#impossible-property-overlap_text"><span><span class="insert">Constraint 55 (impossible-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td class="essential"><a>Communication</a></td>
+	<td><a class="rule-text" href="#communication-generation-use-inference_text"><span>Inference 5 (communication-generation-use-inference)</span></a><br>
+		<a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
+		<a class="rule-text" href="#wasInformedBy-ordering_text"><span>Constraint 37 (wasInformedBy-ordering)</span></a><br>
+		<a class="rule-text" href="#impossible-property-overlap_text"><span>Constraint 55 (impossible-property-overlap)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
+	</td>
+</tr>
+<tr class="component1-color">
+	<td class="essential"><a>Start</a></td>
+	<td><a class="rule-text" href="#wasStartedBy-inference_text"><span>Inference 9 (wasStartedBy-inference)</span></a><br>
+		<a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
+		<a class="rule-text" href="#unique-wasStartedBy_text"><span>Constraint 27 (unique-wasStartedBy)</span></a><br>
+		<a class="rule-text" href="#unique-startTime_text"><span>Constraint 29 (unique-startTime)</span></a><br>
+		<a class="rule-text" href="#start-precedes-end_text"><span>Constraint 32 (start-precedes-end)</span></a><br>
+		<a class="rule-text" href="#usage-within-activity_text"><span>Constraint 35 (usage-within-activity)</span></a><br>
+		<a class="rule-text" href="#generation-within-activity_text"><span>Constraint 36 (generation-within-activity)</span></a><br>
+		<a class="rule-text" href="#wasInformedBy-ordering_text"><span>Constraint 37 (wasInformedBy-ordering)</span></a><br>
+		<a class="rule-text" href="#start-start-ordering_text"><span>Constraint 33 (start-start-ordering)</span></a><br>
+		<a class="rule-text" href="#wasStartedBy-ordering_text"><span>Constraint 45 (wasStartedBy-ordering)</span></a><br>
+		<a class="rule-text" href="#wasAssociatedWith-ordering_text"><span>Constraint 49 (wasAssociatedWith-ordering)</span></a><br>
+		<a class="rule-text" href="#impossible-property-overlap_text"><span>Constraint 55 (impossible-property-overlap)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
+	</td>
+</tr>
+<tr class="component1-color">
+	<td class="essential"><a>End</a></td>
+	<td><a class="rule-text" href="#wasEndedBy-inference_text"><span>Inference 10 (wasEndedBy-inference)</span></a><br>
+		<a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
+		<a class="rule-text" href="#unique-wasEndedBy_text"><span>Constraint 28 (unique-wasEndedBy)</span></a><br>
+		<a class="rule-text" href="#unique-endTime_text"><span>Constraint 30 (unique-endTime)</span></a><br>
+		<a class="rule-text" href="#start-precedes-end_text"><span>Constraint 32 (start-precedes-end)</span></a><br>
+		<a class="rule-text" href="#usage-within-activity_text"><span>Constraint 35 (usage-within-activity)</span></a><br>
+		<a class="rule-text" href="#generation-within-activity_text"><span>Constraint 36 (generation-within-activity)</span></a><br>
+		<a class="rule-text" href="#wasInformedBy-ordering_text"><span>Constraint 37 (wasInformedBy-ordering)</span></a><br>
+		<a class="rule-text" href="#end-end-ordering_text"><span>Constraint 34 (end-end-ordering)</span></a><br>
+		<a class="rule-text" href="#wasEndedBy-ordering_text"><span>Constraint 46 (wasEndedBy-ordering)</span></a><br>
+		<a class="rule-text" href="#wasAssociatedWith-ordering_text"><span>Constraint 49 (wasAssociatedWith-ordering)</span></a><br>
+		<a class="rule-text" href="#impossible-property-overlap_text"><span>Constraint 55 (impossible-property-overlap)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
+	</td>
+</tr>
+<tr class="component1-color">
+	<td class="essential"><a>Invalidation</a></td>
+	<td><a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
+		<a class="rule-text" href="#unique-invalidation_text"><span>Constraint 26 (unique-invalidation)</span></a><br>
+		<a class="rule-text" href="#generation-precedes-invalidation_text"><span>Constraint 38 (generation-precedes-invalidation)</span></a><br>
+		<a class="rule-text" href="#usage-precedes-invalidation_text"><span>Constraint 40 (usage-precedes-invalidation)</span></a><br>
+		<a class="rule-text" href="#invalidation-invalidation-ordering_text"><span>Constraint 42 (invalidation-invalidation-ordering)</span></a><br>
+		<a class="rule-text" href="#wasStartedBy-ordering_text"><span>Constraint 45 (wasStartedBy-ordering)</span></a><br>
+		<a class="rule-text" href="#wasEndedBy-ordering_text"><span>Constraint 46 (wasEndedBy-ordering)</span></a><br>
+		<a class="rule-text" href="#specialization-invalidation-ordering_text"><span>Constraint 48 (specialization-invalidation-ordering)</span></a><br>
+		<a class="rule-text" href="#wasAssociatedWith-ordering_text"><span>Constraint 49 (wasAssociatedWith-ordering)</span></a><br>
+		<a class="rule-text" href="#wasAttributedTo-ordering_text"><span>Constraint 50 (wasAttributedTo-ordering)</span></a><br>
+		<a class="rule-text" href="#actedOnBehalfOf-ordering_text"><span>Constraint 51 (actedOnBehalfOf-ordering)</span></a><br>
+		<a class="rule-text" href="#impossible-property-overlap_text"><span>Constraint 55 (impossible-property-overlap)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
 	</td>
 </tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
 
 <tr class="component2-color">
-	<td class="essential"><a><span class="insert">Derivation</span></a></td>
-	<td><a class="rule-text" href="#derivation-generation-use-inference_text"><span><span class="insert">Inference 11 (derivation-generation-use-inference)</span></span></a><br>
-
-
-		<a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
-		<a class="rule-text" href="#derivation-usage-generation-ordering_text"><span><span class="insert">Constraint 43 (derivation-usage-generation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#derivation-generation-generation-ordering_text"><span><span class="insert">Constraint 44 (derivation-generation-generation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td class="essential"><a>Derivation</a></td>
+	<td><a class="rule-text" href="#derivation-generation-use-inference_text"><span>Inference 11 (derivation-generation-use-inference)</span></a><br>
+
+
+		<a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
+		<a class="rule-text" href="#derivation-usage-generation-ordering_text"><span>Constraint 43 (derivation-usage-generation-ordering)</span></a><br>
+		<a class="rule-text" href="#derivation-generation-generation-ordering_text"><span>Constraint 44 (derivation-generation-generation-ordering)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
 	</td>
-	<td rowspan="5" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component2" title="Component 2: Derivations"><span class="insert">2</span></a></td>
+	<td rowspan="5" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component2" title="Component 2: Derivations">2</a></td>
 </tr>
 <tr class="component2-color">
-	<td class="provType"><a><span class="insert">Revision</span></a></td>
-	<td><a class="rule-text" href="#revision-is-alternate-inference_text"><span><span class="insert">Inference 12 (revision-is-alternate-inference)</span></span></a><br></td>
+	<td class="provType"><a>Revision</a></td>
+	<td><a class="rule-text" href="#revision-is-alternate-inference_text"><span>Inference 12 (revision-is-alternate-inference)</span></a><br></td>
 </tr>
 <tr class="component2-color">
-	<td class="provType"><a><span class="insert">Quotation</span></a></td>
-	<td><span class="insert">No specific constraints</span></td>
+	<td class="provType"><a>Quotation</a></td>
+	<td>No specific constraints</td>
 </tr>
 <tr class="component2-color">
-	<td class="provType"><a><span class="insert">Primary Source</span></a></td>
-	<td><span class="insert">No specific constraints</span></td>
+	<td class="provType"><a>Primary Source</a></td>
+	<td>No specific constraints</td>
 </tr>
 <tr class="component2-color">
-	<td><a class="essential"><span class="insert">Influence</span></a></td>
-	<td><span class="insert">No specific constraints</span></td>
+	<td><a class="essential">Influence</a></td>
+	<td>No specific constraints</td>
 </tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
 <tr class="component3-color" style="border-collapse: collapse; ">
-	<td class="essential"><a><span class="insert">Agent</span></a></td>
-	<td><a class="rule-text" href="#key-object_text"><span><span class="insert">Constraint 23 (key-object)</span></span></a><br>
-		<a class="rule-text" href="#impossible-object-property-overlap_text"><span><span class="insert">Constraint 56 (impossible-object-property-overlap)</span></span></a><br>
+	<td class="essential"><a>Agent</a></td>
+	<td><a class="rule-text" href="#key-object_text"><span>Constraint 23 (key-object)</span></a><br>
+		<a class="rule-text" href="#impossible-object-property-overlap_text"><span>Constraint 56 (impossible-object-property-overlap)</span></a><br>
 	</td>
-	<td rowspan="5" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component3" title="Component 3: Agents/Responsibility"><span class="insert">3</span></a></td>
+	<td rowspan="5" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component3" title="Component 3: Agents/Responsibility">3</a></td>
 </tr>
 <tr class="component3-color">
-	<td class="essential"><a><span class="insert">Attribution</span></a></td>
-	<td><a class="rule-text" href="#attribution-inference_text"><span><span class="insert">Inference 13 (attribution-inference)</span></span></a><br>
-		<a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
-		<a class="rule-text" href="#wasAttributedTo-ordering_text"><span><span class="insert">Constraint 50 (wasAttributedTo-ordering)</span></span></a><br>
-		<a class="rule-text" href="#impossible-property-overlap_text"><span><span class="insert">Constraint 55 (impossible-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td class="essential"><a>Attribution</a></td>
+	<td><a class="rule-text" href="#attribution-inference_text"><span>Inference 13 (attribution-inference)</span></a><br>
+		<a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
+		<a class="rule-text" href="#wasAttributedTo-ordering_text"><span>Constraint 50 (wasAttributedTo-ordering)</span></a><br>
+		<a class="rule-text" href="#impossible-property-overlap_text"><span>Constraint 55 (impossible-property-overlap)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
 	</td>
 </tr>
 <tr class="component3-color">
-	<td class="essential"><a><span class="insert">Association</span></a></td>
-	<td><a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
-		<a class="rule-text" href="#wasAssociatedWith-ordering_text"><span><span class="insert">Constraint 49 (wasAssociatedWith-ordering)</span></span></a><br>
-		<a class="rule-text" href="#impossible-property-overlap_text"><span><span class="insert">Constraint 55 (impossible-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td class="essential"><a>Association</a></td>
+	<td><a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
+		<a class="rule-text" href="#wasAssociatedWith-ordering_text"><span>Constraint 49 (wasAssociatedWith-ordering)</span></a><br>
+		<a class="rule-text" href="#impossible-property-overlap_text"><span>Constraint 55 (impossible-property-overlap)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
 	</td>
 </tr>
 <tr class="component3-color">
-	<td class="essential"><a><span class="insert">Delegation</span></a></td>
-	<td><a class="rule-text" href="#delegation-inference_text"><span><span class="insert">Inference 14 (delegation-inference)</span></span></a><br>
-		<a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
-		<a class="rule-text" href="#actedOnBehalfOf-ordering_text"><span><span class="insert">Constraint 51 (actedOnBehalfOf-ordering)</span></span></a><br>
-		<a class="rule-text" href="#impossible-property-overlap_text"><span><span class="insert">Constraint 55 (impossible-property-overlap)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td class="essential"><a>Delegation</a></td>
+	<td><a class="rule-text" href="#delegation-inference_text"><span>Inference 14 (delegation-inference)</span></a><br>
+		<a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
+		<a class="rule-text" href="#actedOnBehalfOf-ordering_text"><span>Constraint 51 (actedOnBehalfOf-ordering)</span></a><br>
+		<a class="rule-text" href="#impossible-property-overlap_text"><span>Constraint 55 (impossible-property-overlap)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
 	</td>
 </tr>
 <tr class="component3-color">
-	<td class="essential"><a><span class="insert">Influence</span></a></td>
-	<td><a class="rule-text" href="#influence-inference_text"><span><span class="insert">Inference 15 (influence-inference)</span></span></a><br>
-		<a class="rule-text" href="#key-properties_text"><span><span class="insert">Constraint 24 (key-properties)</span></span></a><br>
+	<td class="essential"><a>Influence</a></td>
+	<td><a class="rule-text" href="#influence-inference_text"><span>Inference 15 (influence-inference)</span></a><br>
+		<a class="rule-text" href="#key-properties_text"><span>Constraint 24 (key-properties)</span></a><br>
 	</td>
 </tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
 <tr class="component4-color">
-	<td><a title="bundle"><span class="insert">Bundle constructor</span></a></td>
-	<td><span class="insert">No specific constraints; see </span><a href="#bundle-constraints" class="sectionRef"><span class="insert">section 6.2 Bundles and Documents</span></a></td>
-	<td rowspan="2" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component4" title="Component 4: Bundles"><span class="insert">4</span></a></td>
+	<td><a title="bundle">Bundle constructor</a></td>
+	<td>No specific constraints; see <a href="#bundle-constraints" class="sectionRef">section 6.2 Bundles and Documents</a></td>
+	<td rowspan="2" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component4" title="Component 4: Bundles">4</a></td>
 </tr>
 <tr class="component4-color">
-	<td class="provType"><a title="bundle"><span class="insert">Bundle type</span></a></td>
-	<td><span class="insert"> No specific constraints; see </span><a href="#bundle-constraints" class="sectionRef"><span class="insert">section 6.2 Bundles and Documents</span></a>
+	<td class="provType"><a title="bundle">Bundle type</a></td>
+	<td> No specific constraints; see <a href="#bundle-constraints" class="sectionRef">section 6.2 Bundles and Documents</a>
         </td>
 </tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
 <tr class="component5-color">
-	<td><a><span class="insert">Alternate</span></a></td>
-	<td><a class="rule-text" href="#alternate-reflexive_text"><span><span class="insert">Inference 16 (alternate-reflexive)</span></span></a><br>
-		<a class="rule-text" href="#alternate-transitive_text"><span><span class="insert">Inference 17 (alternate-transitive)</span></span></a><br>
-		<a class="rule-text" href="#alternate-symmetric_text"><span><span class="insert">Inference 18 (alternate-symmetric)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td><a>Alternate</a></td>
+	<td><a class="rule-text" href="#alternate-reflexive_text"><span>Inference 16 (alternate-reflexive)</span></a><br>
+		<a class="rule-text" href="#alternate-transitive_text"><span>Inference 17 (alternate-transitive)</span></a><br>
+		<a class="rule-text" href="#alternate-symmetric_text"><span>Inference 18 (alternate-symmetric)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
 	</td>
-	<td rowspan="3" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component5" title="Component 5: Alternate Entities"><span class="insert">5</span></a></td>
+	<td rowspan="3" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component5" title="Component 5: Alternate Entities">5</a></td>
 </tr>
 <tr class="component5-color">
-	<td><a><span class="insert">Specialization</span></a></td>
-	<td><a class="rule-text" href="#specialization-transitive_text"><span><span class="insert">Inference 19 (specialization-transitive)</span></span></a><br>
-		<a class="rule-text" href="#specialization-alternate-inference_text"><span><span class="insert">Inference 20 (specialization-alternate-inference)</span></span></a><br>
-		<a class="rule-text" href="#specialization-attributes-inference_text"><span><span class="insert">Inference 21 (specialization-attributes-inference)</span></span></a><br>
-		<a class="rule-text" href="#specialization-generation-ordering_text"><span><span class="insert">Constraint 47 (specialization-generation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#specialization-invalidation-ordering_text"><span><span class="insert">Constraint 48 (specialization-invalidation-ordering)</span></span></a><br>
-		<a class="rule-text" href="#impossible-specialization-reflexive_text"><span><span class="insert">Constraint 54 (impossible-specialization-reflexive)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td><a>Specialization</a></td>
+	<td><a class="rule-text" href="#specialization-transitive_text"><span>Inference 19 (specialization-transitive)</span></a><br>
+		<a class="rule-text" href="#specialization-alternate-inference_text"><span>Inference 20 (specialization-alternate-inference)</span></a><br>
+		<a class="rule-text" href="#specialization-attributes-inference_text"><span>Inference 21 (specialization-attributes-inference)</span></a><br>
+		<a class="rule-text" href="#specialization-generation-ordering_text"><span>Constraint 47 (specialization-generation-ordering)</span></a><br>
+		<a class="rule-text" href="#specialization-invalidation-ordering_text"><span>Constraint 48 (specialization-invalidation-ordering)</span></a><br>
+		<a class="rule-text" href="#impossible-specialization-reflexive_text"><span>Constraint 54 (impossible-specialization-reflexive)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
 	</td>
 </tr>
 <tr class="component5-color">
-	<td><a><span class="insert">Mention</span></a></td>
-	<td><a class="rule-text" href="#mention-specialization-inference_text"><span><span class="insert">Inference 22 (mention-specialization-inference)</span></span></a><br>
-		<a class="rule-text" href="#unique-mention_text"><span><span class="insert">Constraint 31 (unique-mention)</span></span></a><br>
-		<a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td><a>Mention</a></td>
+	<td><a class="rule-text" href="#mention-specialization-inference_text"><span>Inference 22 (mention-specialization-inference)</span></a><br>
+		<a class="rule-text" href="#unique-mention_text"><span>Constraint 31 (unique-mention)</span></a><br>
+		<a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
 	</td>
 </tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
 <tr class="component6-color">
-	<td><a><span class="insert">Collection</span></a></td>
-	<td><span class="insert"> No specific constraints </span></td>
-	<td rowspan="2" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component6" title="Component 6: Collections"><span class="insert">6</span></a></td>
+	<td><a>Collection</a></td>
+	<td> No specific constraints </td>
+	<td rowspan="2" style="text-align: center; "><a href="http://www.w3.org/TR/prov-dm/#component6" title="Component 6: Collections">6</a></td>
 </tr>
 <tr class="component6-color">
-	<td><a><span class="insert">Membership</span></a></td>
-	<td> <a class="rule-text" href="#membership-empty-collection_text"><span><span class="insert">Constraint 58 (membership-empty-collection)</span></span></a><br>
-             <a class="rule-text" href="#typing_text"><span><span class="insert">Constraint 52 (typing)</span></span></a><br>
+	<td><a>Membership</a></td>
+	<td> <a class="rule-text" href="#membership-empty-collection_text"><span>Constraint 58 (membership-empty-collection)</span></a><br>
+             <a class="rule-text" href="#typing_text"><span>Constraint 52 (typing)</span></a><br>
         </td>
 </tr>
 </tbody></table>
@@ -2272,631 +2382,572 @@
 </div>
 
 <div id="compliance" class="section">
-<h2><span class="secno"><span class="delete">2.</span><span class="insert">3.</span> </span>Compliance with this document</h2>
-
-<span class="delete">
-TODO: Add collection and account constraint sections to the compliance
-  list as appropriate.
-  </span><p>
+<h2><span class="secno">3. </span>Compliance with this document</h2>
+
+<p>
   For the purpose of compliance, the normative sections of this document
-  are <a href="#compliance" class="sectionRef">section <span class="delete">2.</span><span class="insert">3.</span> Compliance with this document</a>, <a href="#inferences" class="sectionRef">section <span class="delete">3.</span><span class="insert">4. Definitions and</span> Inferences<span class="delete"> and Definitions</span></a>, <span class="delete">section 4. Equivalence</span><span class="delete">, and</span> <a href="#constraints" class="sectionRef">section 5. <span class="delete">Validity </span>Constraints</a><span class="insert">, and </span><a href="#normalization-validity-equivalence" class="sectionRef"><span class="insert">section 6. Normalization, Validity, and Equivalence</span></a>.
-   
+  are <a href="#compliance" class="sectionRef">section 3. Compliance with this document</a>, <a href="#inferences" class="sectionRef">section 4. Definitions and Inferences</a>, <a href="#constraints" class="sectionRef">section 5. Constraints</a>, and <a href="#normalization-validity-equivalence" class="sectionRef">section 6. Normalization, Validity, and Equivalence</a>.  
 
 
  To be compliant:
   </p><ol><li>When processing provenance, an
-    application <em class="rfc2119" title="may">may</em> apply the inferences and definitions in <a href="#inferences" class="sectionRef">section <span class="delete">3.</span><span class="insert">4. Definitions and</span> Inferences<span class="delete"> and Definitions</span></a>.</li>
-   <li><span class="insert">If determining whether a PROV instance or document is </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert">, an
-    application </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> check that all of the
-    constraints of </span><a href="#constraints" class="sectionRef"><span class="insert">section 5. Constraints</span></a><span class="insert"> are
-  satisfied  on the </span><a href="#dfn-normal-form" class="internalDFN"><span class="insert">normal form</span></a><span class="insert"> of the instance or document.  </span></li>
-   <li><span class="insert"> If producing provenance meant for other applications to
-    use, the application </span><em class="rfc2119" title="should"><span class="insert">should</span></em><span class="insert"> produce </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert"> provenance, as specified in </span><a href="#normalization-validity-equivalence" class="sectionRef"><span class="insert">section 6. Normalization, Validity, and Equivalence</span></a><span class="insert">. </span></li>
-    <li><span class="delete">When</span><span class="insert">If</span> determining whether two PROV instances<span class="insert"> or documents</span> are
+    application <em class="rfc2119" title="may">may</em> apply the inferences and definitions in <a href="#inferences" class="sectionRef">section 4. Definitions and Inferences</a>.</li>
+   <li>If determining whether a PROV instance or document is <a href="#dfn-valid" class="internalDFN">valid</a>, an
+    application <em class="rfc2119" title="must">must</em> <span class="delete">check that</span><span class="insert">determine whether</span> all of the
+    constraints of <a href="#constraints" class="sectionRef">section 5. Constraints</a> are
+  satisfied   on 
+  the <a href="#dfn-normal-form" class="internalDFN">normal form</a> of the instance or document.  </li>
+   <li> If producing provenance meant for other applications to
+    use, the application <em class="rfc2119" title="should">should</em> produce <a href="#dfn-valid" class="internalDFN">valid</a> provenance, as specified in <a href="#normalization-validity-equivalence" class="sectionRef">section 6. Normalization, Validity, and Equivalence</a>. </li>
+    <li>If determining whether two PROV instances or documents are
   <a href="#dfn-equivalent" class="internalDFN">equivalent</a>, an application <em class="rfc2119" title="must">must</em> determine whether their
-  normal forms are equal, as specified in <a href="#normalization-validity-equivalence" class="sectionRef">section <span class="delete">4.</span><span class="insert">6. Normalization, Validity, and</span> Equivalence</a>.
-    
-  </li><span class="delete">When determining whether</span></ol>
-
-  <p><span class="insert">Compliant applications are not required to explicitly compute
-  normal forms; however, if checking validity or equivalence, the
+  normal forms are equal, as specified in <a href="#normalization-validity-equivalence" class="sectionRef">section 6. Normalization, Validity, and Equivalence</a>.
+  </li></ol>
+
+  <p><span class="delete">Compliant </span><span class="insert">This specification defines validity and equivalence procedurally
+  via reduction to normal forms.  If checking validity or equivalence, the
+  results </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be the same as would be obtained by computing normal
+  forms as defined in this specification.  Applications that explicitly compute
+  normal forms, following the implementation strategy suggested by
+  this specification, are by definition compliant.  However,
+  </span>applications <span class="delete">are not required to</span><span class="insert">can also comply by checking validity and equivalence in any
+  other way that yields the same answers without</span> explicitly <span class="delete">compute
+  </span><span class="insert">applying
+  definitions, inferences, and constraints or constructing </span>normal <span class="delete">forms; however, if checking validity or equivalence, the
   results should be the same as would be obtained by computing normal
-  forms as defined in this specification.</span></p>
-
-  <p><span class="insert">
+  forms as defined in this specification.</span><span class="insert">forms.</span></p>
+
+  <p>
   All figures are for illustration purposes
-  only.  Information in tables is normative if it appears in</span> a<span class="delete"> PROV instance</span><span class="insert">
-  normative section; specifically, </span><a href="#expandable-parameters-fig"><span class="insert">Table 3</span></a> is <span class="delete">valid</span><span class="delete">, an
-    application </span><span class="delete">must</span><span class="delete"> check that all of the
-    constraints of </span><span class="delete">section 5. Validity Constraints</span><span class="delete"> are
-  satisfied</span><span class="insert">normative.</span>  <span class="delete">on the </span><span class="delete">normal form</span><span class="delete"> of the instance.</span>
-    <span class="delete"> When producing provenance meant for other applications to
-    use, the application </span><span class="delete">should</span><span class="delete"> produce </span><span class="delete">valid</span><span class="delete"> provenance. </span>
-  
-  <span class="delete">
-    Should we specify</span><span class="insert">Text in appendices and
+  only.  Information in tables is normative if it appears in a
+  normative section; specifically, <a href="#expandable-parameters-fig">Table 3</a> is normative.  Text in appendices and
 in boxes labeled "Remark" is informative.  Where there is any apparent
-  ambiguity between the descriptive text and the formal text in</span> a<span class="delete"> way for PROV instances to say whether they
-    are meant to be validated</span><span class="insert">
-  "definition", "inference"</span> or <span class="delete">not?  Seems outside the scope of this
-    document, may require changes to PROV-N.
-  </span><span class="insert">"constraint" box, the formal text takes
+  ambiguity between the descriptive text and the formal text in a
+  "definition", "inference" or "constraint" box, the formal text takes
 priority.  
-  </span></p>
+  </p>
 
 
 
 </div>
-  
-
-
-
-
-
 
  
 
 <div id="inferences" class="section">
-<h2><span class="secno"><span class="delete">3. </span><span class="insert">4. </span></span><span class="insert">Definitions and </span>Inferences<span class="delete"> and Definitions</span></h2>
-
-
+<h2><span class="secno">4. </span>Definitions and Inferences</h2>
 <p>
-<span class="delete">In this section, we describe</span><span class="insert">This section  describes </span><a title="definition" href="#definition" class="internalDFN"><span class="insert">definitions</span></a><span class="insert"> and</span> <a title="inference" href="#inference" class="internalDFN">inferences<span class="delete"> and </span><span class="delete">definitions</span></a> that <em class="rfc2119" title="may">may</em> be used on
-  provenance data, and <span class="insert">preserve </span><a><span class="insert">equivalence</span></a><span class="insert"> on </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert">
-PROV instances (as detailed in </span><a href="#normalization-validity-equivalence" class="sectionRef"><span class="insert">section 6. Normalization, Validity, and Equivalence</span></a><span class="insert">).
-A </span><dfn id="definition"><span class="insert">definition</span></dfn><span class="insert"> is </span>a <span class="delete">notion of </span><span class="delete">equivalence</span><span class="delete"> on </span><span class="insert">rule that can be applied to
-  </span>PROV <span class="delete">instances.  
-</span><span class="insert">instances to replace defined expressions with definitions. </span>An  <dfn id="inference">inference</dfn> is a rule that can be applied
-  to PROV instances to add new PROV statements.  A definition<span class="insert"> states that a
-  provenance statement</span> is <span class="insert">equivalent to some other statements, whereas
+This section  describes <a title="definition" href="#definition" class="internalDFN">definitions</a> and <a title="inference" href="#inference" class="internalDFN">inferences</a> that <em class="rfc2119" title="may">may</em> be used on
+  provenance data, and preserve <a>equivalence</a> on <a href="#dfn-valid" class="internalDFN">valid</a>
+PROV instances (as detailed in <a href="#normalization-validity-equivalence" class="sectionRef">section 6. Normalization, Validity, and Equivalence</a>).
+A <dfn id="definition">definition</dfn> is a rule that can be applied to
+  PROV instances to replace defined expressions with definitions. An  <dfn id="inference">inference</dfn> is a rule that can be applied
+  to PROV instances to add new PROV statements.  A definition states that a
+  provenance statement is equivalent to some other statements, whereas
   an inference only states one direction of an implication; thus,
   defined provenance statements can be replaced by their definitions.
-</span></p>
-
-
-<p><span class="insert"> Definitions have the following general form:</span></p>
-
-<div class="definition-example" id="definition-example"><div class="ruleTitle"><a class="internalDFN" href="#definition-example"><span class="insert">Definition-example NNN (definition-example)</span></a></div>
+</p>
+
+
+<p> Definitions have the following general form:</p>
+
+<div class="definition-example" id="definition-example"><div class="ruleTitle"><a class="internalDFN" href="#definition-example">Definition-example NNN (definition-example)</a></div>
 <p>
-  <span class="name"><span class="insert">defined_stmt</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span><span class="insert">
-  there exists </span><span class="name">a<span class="delete"> rule</span><sub><span class="insert">1</span></sub></span><span class="insert">,..., </span><span class="name"><span class="insert">a</span><sub><span class="insert">m</span></sub></span><span class="insert"> such</span> that <span class="delete">states</span><span class="name"><span class="insert">defining_stmt</span><sub><span class="insert">1</span></sub></span><span class="insert"> and  ... and </span><span class="name"><span class="insert">defining_stmt</span><sub><span class="insert">n</span></sub></span><span class="insert">.</span></p>
+  <span class="name">defined_stmt</span> <span class="conditional">IF AND ONLY IF</span>
+  there exists <span class="name">a<sub>1</sub></span>,..., <span class="name">a<sub>m</sub></span> such that <span class="name">defining_stmt<sub>1</sub></span> and  ... and <span class="name">defining_stmt<sub>n</sub></span>.</p>
   </div>
  
-  <p><span class="insert">
-  A definition can be applied to a PROV instance, since its </span><span class="name"><span class="insert">defined_stmt</span></span><span class="insert"> is defined in
+  <p>
+  A definition can be applied to a PROV instance, since its <span class="name">defined_stmt</span> is defined in
   terms of other statements.  Applying a
-  definition to an instance means</span> that <span class="insert">if an occurrence of </span>a<span class="insert"> defined</span>
-  provenance <span class="delete">expression</span><span class="insert">statement  </span><span class="name"><span class="insert">defined_stmt</span></span><span class="insert">
+  definition to an instance means that if an occurrence of a defined
+  provenance statement  <span class="name">defined_stmt</span>
   can be found in a PROV instance, then we can remove it and add all of the statements
-</span><span class="name"><span class="insert">defining_stmt</span><sub><span class="insert">1</span></sub></span><span class="insert"> ... </span><span class="name"><span class="insert">defining_stmt</span><sub><span class="insert">n</span></sub></span><span class="insert"> to the instance, possibly after generating fresh
-  identifiers </span><span class="name"><span class="insert">a</span><sub><span class="insert">1</span></sub></span><span class="insert">,...,</span><span class="name"><span class="insert">a</span><sub><span class="insert">m</span></sub></span><span class="insert"> for existential variables.  In
-  other words, it</span> is <span class="delete">equivalent</span><span class="insert">safe</span> to <span class="insert">replace
+<span class="name">defining_stmt<sub>1</sub></span> ... <span class="name">defining_stmt<sub>n</sub></span> to the instance, possibly after generating fresh
+  identifiers <span class="name">a<sub>1</sub></span>,...,<span class="name">a<sub>m</sub></span> for existential variables.  In
+  other words, it is safe to replace
   a defined statement with
   its definition.  
-</span></p>
-
-
-  <p><span class="insert"> Inferences have the following general form:</span></p>
-<div class="inference-example" id="inference-example"><div class="ruleTitle"><a class="internalDFN" href="#inference-example"><span class="insert">Inference-example NNN (inference-example)</span></a></div>
+</p>
+
+
+  
+
+  <div class="remark"><span class="insert">
+    We use definitions primarily to expand the compact, concrete
+    PROV-N syntax, including short forms and optional parameters to the abstract syntax
+    implicitly used in PROV-DM.
+  </span></div>
+
+  <p> Inferences have the following general form:</p>
+<div class="inference-example" id="inference-example"><div class="ruleTitle"><a class="internalDFN" href="#inference-example">Inference-example NNN (inference-example)</a></div>
 <p>
-  <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">hyp</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and
-</span><span class="name"><span class="insert">hyp</span><sub><span class="insert">k</span></sub></span> <span class="conditional"><span class="insert">THEN</span></span><span class="insert">
-  there exists </span><span class="name"><span class="insert">a</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and </span><span class="name"><span class="insert">a</span><sub><span class="insert">m</span></sub></span><span class="insert"> such that </span><span class="name"><span class="insert">concl</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and </span><span class="name"><span class="insert">concl</span><sub><span class="insert">n</span></sub></span><span class="insert">.</span></p>
+  <span class="conditional">IF</span> <span class="name">hyp<sub>1</sub></span> and ... and
+<span class="name">hyp<sub>k</sub></span> <span class="conditional">THEN</span>
+  there exists <span class="name">a<sub>1</sub></span> and ... and <span class="name">a<sub>m</sub></span> such that <span class="name">concl<sub>1</sub></span> and ... and <span class="name">concl<sub>n</sub></span>.</p>
   </div>
  
-<p><span class="insert"> Inferences can be applied to PROV instances.  Applying an inference to an instance means that if all of the provenance statements matching
-  </span><span class="name"><span class="insert">hyp</span><sub><span class="insert">1</span></sub></span><span class="insert">... </span><span class="name"><span class="insert">hyp</span><sub><span class="insert">k</span></sub></span><span class="insert">
+<p> Inferences can be applied to PROV instances.  Applying an inference to an instance means that if all of the provenance statements matching
+  <span class="name">hyp<sub>1</sub></span>... <span class="name">hyp<sub>k</sub></span>
   can be found in the instance, then we check whether the conclusion 
-  </span><span class="name"><span class="insert">concl</span><sub><span class="insert">1</span></sub></span><span class="insert"> ... </span><span class="name"><span class="insert">concl</span><sub><span class="insert">n</span></sub></span><span class="insert"> is satisfied for </span>some <span class="delete">other expressions; thus,
-  defined provenance expressions can</span><span class="insert">values
+  <span class="name">concl<sub>1</sub></span> ... <span class="name">concl<sub>n</sub></span> is satisfied for some values
   of existential variables.  If so, application of the inference has
   no effect on the instance.  If not, then a copy the
-  conclusion should</span> be <span class="delete">replaced by their definitions,
-and vice versa.
-</span><span class="insert">added to the instance, after
-  generating fresh identifiers </span><span class="name"><span class="insert">a</span><sub><span class="insert">1</span></sub></span><span class="insert">,...,</span><span class="name"><span class="insert">a</span><sub><span class="insert">m</span></sub></span><span class="insert"> for the existential variables.  These fresh
+  conclusion should be added to the instance, after
+  generating fresh identifiers <span class="name">a<sub>1</sub></span>,...,<span class="name">a<sub>m</sub></span> for the existential variables.  These fresh
   identifiers might later be found to be equal to known identifiers;
   they play a similar role in PROV constraints to existential
   variables in logic, to "labeled nulls" in database theory
-  [</span><cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS"><span class="insert">DBCONSTRAINTS</span></a></cite><span class="insert">],  or to blank nodes in [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RDF"><span class="insert">RDF</span></a></cite><span class="insert">].  In general, omitted optional parameters to
-  [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N"><span class="insert">PROV-N</span></a></cite><span class="insert">] statements, or explicit </span><span class="name"><span class="insert">-</span></span><span class="insert">
+  [<cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS">DBCONSTRAINTS</a></cite><span class="delete">],  or</span><span class="insert">].
+  
+  In general, omitted optional parameters</span> to<span class="delete"> blank nodes in </span>
+  [<cite><span class="delete">RDF</span><a class="bibref" rel="biblioentry" href="#bib-PROV-N"><span class="insert">PROV-N</span></a></cite><span class="insert">] statements, or explicit </span><span class="name"><span class="insert">-</span></span><span class="insert">
   markers, are placeholders for existentially quantified variables;
   that is, they denote unknown values.  There are a few exceptions to
   this general rule, which are specified in </span><a class="rule-ref" href="#optional-placeholders"><span><span class="insert">Definition 4 (optional-placeholders)</span></span></a><span class="insert">.</span></p>
 
-<p> <span class="delete">Inferences</span><span class="insert">Definitions and inferences can be viewed as logical formulas;
+<p><span class="insert"> Definitions and inferences can be viewed as logical formulas;
   similar formalisms are often used in rule-based reasoning [</span><cite><a class="bibref" rel="biblioentry" href="#bib-CHR"><span class="insert">CHR</span></a></cite><span class="insert">]
-  and in databases [</span><cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS"><span class="insert">DBCONSTRAINTS</span></a></cite><span class="insert">].  In particular, the identifiers
-  </span><span class="name"><span class="insert">a</span><sub><span class="insert">1</span></sub></span><span class="insert"> ...  </span><span class="name"><span class="insert">a</span><sub><span class="insert">n</span></sub></span><span class="insert">
+  and in databases [</span><cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS"><span class="insert">DBCONSTRAINTS</span></a></cite>].  In <span class="delete">general, omitted optional parameters to
+  [</span><span class="delete">PROV-N</span><span class="delete">] statements, or explicit </span><span class="delete">-</span><span class="delete">
+  markers, are placeholders for existentially quantified variables;
+  that is, they denote unknown values.  There are a few exceptions to
+  this general rule, which are specified in </span><span class="delete">Definition 4 (optional-placeholders)</span><span class="delete">.</span>
+
+<span class="delete"> Definitions and inferences can be viewed as logical formulas;
+  similar formalisms are often used in rule-based reasoning [</span><span class="delete">CHR</span><span class="delete">]
+  and in databases [</span><span class="delete">DBCONSTRAINTS</span><span class="delete">].  In </span>particular, the identifiers
+  <span class="name">a<sub>1</sub></span> ...  <span class="name">a<sub>n</sub></span>
   should be viewed as existentially quantified variables, meaning that
   through subsequent reasoning steps they may turn out to be equal to
   other identifiers that are already known, or to other existentially
-  quantified variables.  Their treatment is analogous to that of blank
-  nodes in RDF.  In contrast, distinct URIs or literal values in PROV
+  quantified variables.<span class="delete">  Their treatment is analogous to that of blank
+  nodes in RDF.  </span>
+  
+  In contrast, distinct URIs or literal values in PROV
   are assumed to be distinct for the purpose of checking validity or
-  inferences.  This issue is discussed in more detail under </span><a href="#uniqueness-constraints"><span class="insert">Uniqueness Constraints</span></a><span class="insert">.
-  </span></p>
+  inferences.  This issue is discussed in more detail under <a href="#uniqueness-constraints">Uniqueness Constraints</a>.
+  </p>
   
-<p><span class="insert">In a [definition|inference], term symbols such as </span><span class="name"><span class="insert">id</span></span><span class="insert">, 
-	</span><span class="name"><span class="insert">start</span></span><span class="insert">, </span><span class="name"><span class="insert">end</span></span><span class="insert">, </span><span class="name"><span class="insert">e</span></span><span class="insert">, 
-	</span><span class="name"><span class="insert">a</span></span><span class="insert">, </span><span class="name"><span class="insert">attrs</span></span><span class="insert">,
+<p>In a [definition|inference], term symbols such as <span class="name">id</span>, 
+	<span class="name">start</span>, <span class="name">end</span>, <span class="name">e</span>, 
+	<span class="name">a</span>, <span class="name">attrs</span>,
 	are assumed to be variables unless otherwise specified.  These variables are scoped at 
 	the [definition|inference|constraint] level, so the rule is equivalent to any one-for-one 
 	renaming of the variable names.  When several rules are collected within a [definition|inference] 
 	as an ordered list, the scope of the variables in each rule is at the level of list elements, and so reuse of 
 	variable names in different rules does not affect the meaning.
-</span></p>
+</p>
 <div id="optional-identifiers-and-attributes" class="section">
-  <h3><span class="secno"><span class="insert">4.1 </span></span><span class="insert">Optional Identifiers and Attributes</span></h3>
-
-  <p><span class="insert">Many PROV relation statements</span> have <span class="insert">an identifier, identifying a
+  <h3><span class="secno">4.1 </span>Optional Identifiers and Attributes</h3>
+
+  <p>Many PROV relation statements have an identifier, identifying a
   link between two or more related objects.  Identifiers can sometimes
-  be omitted in [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-O"><span class="insert">PROV-O</span></a></cite><span class="insert">] notation.  For the purpose of inference and
+  be omitted in [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-O">PROV-O</a></cite>] notation.  For the purpose of inference and
   validity checking, we generate special identifiers called
-  </span><dfn id="dfn-existential-variables"><span class="insert">existential variables</span></dfn><span class="insert"> denoting the unknown values.
-</span></p>
-<p><span class="insert">
-Existential variables can be </span><a title="substitution" href="#dfn-substitution" class="internalDFN"><span class="insert">substituted</span></a><span class="insert">
+  <dfn id="dfn-existential-variables">existential variables</dfn> denoting the unknown values.
+</p>
+<p>
+Existential variables can be <a title="substitution" href="#dfn-substitution" class="internalDFN">substituted</a>
   with other terms.  Specifically, a
-  </span><dfn id="dfn-substitution"><span class="insert">substitution</span></dfn><span class="insert"> is a function from a set of existential
-  variables to identifiers, literals, the placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">,
-  or other </span><a href="#dfn-existential-variables" class="internalDFN"><span class="insert">existential variables</span></a><span class="insert">.  A substitution </span><span class="math"><span class="insert">S</span></span><span class="insert"> can be
-  applied to an instance </span><span class="math"><span class="insert">I</span></span><span class="insert"> by replacing all occurrences of existential
-  variables </span><span class="math"><span class="insert">x</span></span><span class="insert"> in the instance with </span><span class="math"><span class="insert">S(x)</span></span><span class="insert">.  
-</span></p>
+  <dfn id="dfn-substitution">substitution</dfn> is a function from a set of existential
+  variables to identifiers, literals, the placeholder <span class="name">-</span>,
+  or other <a href="#dfn-existential-variables" class="internalDFN">existential variables</a>.  A substitution <span class="math">S</span> can be
+  applied to an instance <span class="math">I</span> by replacing all occurrences of existential
+  variables <span class="math">x</span> in the instance with <span class="math">S(x)</span>.  
+</p>
 
 
 <p>
-<a class="rule-ref" href="#optional-identifiers"><span><span class="insert">Definition 1 (optional-identifiers)</span></span></a><span class="insert">,
-</span><a class="rule-ref" href="#optional-attributes"><span><span class="insert">Definition 2 (optional-attributes)</span></span></a><span class="insert">, and
-</span><a class="rule-ref" href="#definition-short-forms"><span><span class="insert">Definition 3 (definition-short-forms)</span></span></a><span class="insert">,
+<a class="rule-ref" href="#optional-identifiers"><span>Definition 1 (optional-identifiers)</span></a>,
+<a class="rule-ref" href="#optional-attributes"><span>Definition 2 (optional-attributes)</span></a>, and
+<a class="rule-ref" href="#definition-short-forms"><span>Definition 3 (definition-short-forms)</span></a>,
  explain how to expand the compact forms of PROV-N notation into a
-  normal form.  </span><a class="rule-ref" href="#optional-placeholders"><span><span class="insert">Definition 4 (optional-placeholders)</span></span></a><span class="insert"> indicates when
-  other optional parameters can be replaced by </span><a href="#dfn-existential-variables" class="internalDFN"><span class="insert">existential
-  variables</span></a><span class="insert">.  
-</span></p>
-
-  <div class="definition" id="optional-identifiers"><div class="ruleTitle"><a class="internalDFN" href="#optional-identifiers"><span class="insert">Definition 1 (optional-identifiers)</span></a></div>
-<p><span class="insert">For each  </span><span class="name"><span class="insert">r</span></span><span class="insert"> in { 
-</span><span class="name"><span class="insert">used</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasGeneratedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInvalidatedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInfluencedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasStartedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasEndedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInformedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasDerivedFrom</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasAttributedTo</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasAssociatedWith</span></span><span class="insert">,
-</span><span class="name"><span class="insert">actedOnBehalfOf</span></span><span class="insert">}, </span>the following<span class="delete"> general form:</span><span class="insert">
-    definitional rules hold:</span></p>
-
-  
+  normal form.  <a class="rule-ref" href="#optional-placeholders"><span>Definition 4 (optional-placeholders)</span></a> indicates when
+  other optional parameters can be replaced by <a href="#dfn-existential-variables" class="internalDFN">existential
+  variables</a>.  
+</p>
+
+  <div class="definition" id="optional-identifiers"><div class="ruleTitle"><a class="internalDFN" href="#optional-identifiers">Definition 1 (optional-identifiers)</a></div>
+<p>For each  <span class="name">r</span> in { 
+<span class="name">used</span>,
+<span class="name">wasGeneratedBy</span>,
+<span class="name">wasInvalidatedBy</span>,
+<span class="name">wasInfluencedBy</span>,
+<span class="name">wasStartedBy</span>,
+<span class="name">wasEndedBy</span>,
+<span class="name">wasInformedBy</span>,
+<span class="name">wasDerivedFrom</span>,
+<span class="name">wasAttributedTo</span>,
+<span class="name">wasAssociatedWith</span>,
+<span class="name">actedOnBehalfOf</span>}, the following
+    definitional rules hold:</p>
     <ol>     <li>
-    <span class="name"><span class="insert">r(a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">) </span></span> <span class="conditional">IF <span class="delete">hyp_1</span><span class="delete"> and ... and
-</span><span class="delete">hyp_k</span><span class="insert"> AND ONLY IF</span></span><span class="insert">
-  there exists </span><span class="name"><span class="insert">id</span></span><span class="insert"> such that  </span><span class="name"><span class="insert">r(id; a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span><span class="insert">.</span></li>
-     <li> <span class="name"><span class="insert">r(-; a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">) </span></span> <span class="conditional"><span class="delete">THEN</span><span class="insert">IF AND ONLY IF</span></span>
-  there exists <span class="name"><span class="delete">a_1</span><span class="delete"> and ... and </span><span class="delete">a_m</span><span class="insert">id</span></span> such that <span class="delete">conclusion_1</span><span class="delete"> and ... and </span><span class="delete">conclusion_n</span>  <span class="name"><span class="insert">r(id; a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span>.
-  </li>
+    <span class="name">r(a<sub>1</sub>,...,a<sub>n</sub>) </span> <span class="conditional">IF AND ONLY IF</span>
+  there exists <span class="name">id</span> such that  <span class="name">r(id; a<sub>1</sub>,...,a<sub>n</sub>)</span>.</li>
+     <li> <span class="name">r(-; a<sub>1</sub>,...,a<sub>n</sub>) </span> <span class="conditional">IF AND ONLY IF</span>
+  there exists <span class="name">id</span> such that  <span class="name">r(id; a<sub>1</sub>,...,a<sub>n</sub>)</span>.</li>
      </ol>
     </div>
- 
-
-
-    <p><span class="delete">
-  This means</span><span class="insert">Likewise, many PROV-N statements allow for an optional attribute
+
+    <p>Likewise, many PROV-N statements allow for an optional attribute
    list.  If it is omitted, this is the same as specifying an empty
-   attribute list:</span></p>
-   <div class="definition" id="optional-attributes"><div class="ruleTitle"><a class="internalDFN" href="#optional-attributes"><span class="insert">Definition 2 (optional-attributes)</span></a></div>
+   attribute list:</p>
+   <div class="definition" id="optional-attributes"><div class="ruleTitle"><a class="internalDFN" href="#optional-attributes">Definition 2 (optional-attributes)</a></div>
 <ol>
-  <li><span class="insert">
-  For each  </span><span class="name"><span class="insert">p</span></span><span class="insert"> in {</span><span class="name"><span class="insert">entity</span></span><span class="insert">, </span><span class="name"><span class="insert">activity</span></span><span class="insert">,
-   </span><span class="name"><span class="insert">agent</span></span><span class="insert">}, if </span><span class="name"><span class="insert">a</span><sub><span class="insert">n</span></sub></span><span class="insert"> is not an attribute
+  <li>
+  For each  <span class="name">p</span> in {<span class="name">entity</span>, <span class="name">activity</span>,
+   <span class="name">agent</span>}, if <span class="name">a<sub>n</sub></span> is not an attribute
    list parameter then the following definitional rule holds:
-  </span><p><span class="name"><span class="insert">p(a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span> 
-   <span class="conditional"><span class="insert">IF AND ONLY IF</span></span>   <span class="name"><span class="insert">p(a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">,[])</span></span><span class="insert">.
-  </span></p></li>
-  <li><span class="insert">
-     For each </span><span class="name"><span class="insert">r</span></span><span class="insert"> in { 
-</span><span class="name"><span class="insert">used</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasGeneratedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInvalidated</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInfluencedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasStartedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasEndedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInformedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasDerivedFrom</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasAttributedTo</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasAssociatedWith</span></span><span class="insert">,
-</span><span class="name"><span class="insert">actedOnBehalfOf</span></span><span class="insert">}, if </span><span class="name"><span class="insert">a</span><sub><span class="insert">n</span></sub></span><span class="insert"> is not an
+  <p><span class="name">p(a<sub>1</sub>,...,a<sub>n</sub>)</span> 
+   <span class="conditional">IF AND ONLY IF</span>   <span class="name">p(a<sub>1</sub>,...,a<sub>n</sub>,[])</span>.
+  </p></li>
+  <li>
+     For each <span class="name">r</span> in { 
+<span class="name">used</span>,
+<span class="name">wasGeneratedBy</span>,
+<span class="name">wasInvalidated</span>,
+<span class="name">wasInfluencedBy</span>,
+<span class="name">wasStartedBy</span>,
+<span class="name">wasEndedBy</span>,
+<span class="name">wasInformedBy</span>,
+<span class="name">wasDerivedFrom</span>,
+<span class="name">wasAttributedTo</span>,
+<span class="name">wasAssociatedWith</span>,
+<span class="name">actedOnBehalfOf</span>}, if <span class="name">a<sub>n</sub></span> is not an
    attribute list parameter then the following definition holds:
    
-  </span><p> <span class="name"><span class="insert">r(id; a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span> 
-   <span class="conditional"><span class="insert">IF AND ONLY IF</span></span>   <span class="name"><span class="insert">r(id; a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">,[])</span></span><span class="insert">.</span></p></li></ol>
+  <p> <span class="name">r(id; a<sub>1</sub>,...,a<sub>n</sub>)</span> 
+   <span class="conditional">IF AND ONLY IF</span>   <span class="name">r(id; a<sub>1</sub>,...,a<sub>n</sub>,[])</span>.</p></li></ol>
     </div>   
 
 
  <div class="remark">
-  <p><span class="insert">Definitions  </span><a class="rule-ref" href="#optional-identifiers"><span><span class="insert">Definition 1 (optional-identifiers)</span></span></a><span class="insert"> and </span><a class="rule-ref" href="#optional-attributes"><span><span class="insert">Definition 2 (optional-attributes)</span></span></a><span class="insert">.  
-do not apply to </span><span class="name"><span class="insert">alternateOf</span></span><span class="insert">, </span><span class="name"><span class="insert">specializationOf</span></span><span class="insert">, and </span><span class="name"><span class="insert">mentionOf</span></span><span class="insert">, which do not have identifiers and attributes.
-</span></p>
+  <p>Definitions  <a class="rule-ref" href="#optional-identifiers"><span>Definition 1 (optional-identifiers)</span></a> and <a class="rule-ref" href="#optional-attributes"><span>Definition 2 (optional-attributes)</span></a>.  
+do not apply to <span class="name">alternateOf</span>, <span class="name">specializationOf</span>, and <span class="name">mentionOf</span>, which do not have identifiers and attributes.
+</p>
  </div>
 
 
-    <p><span class="insert">  Finally, many PROV
-  statements have other optional arguments or short forms</span> that <span class="insert">can be
-  used </span>if <span class="delete">all</span><span class="insert">none</span> of the <span class="delete">provenance expressions matching </span><span class="delete">hyp_1</span><span class="delete">... </span><span class="delete">hyp_k</span><span class="delete">
-  can be found in a PROV instance, we can add all of the expressions
-  </span><span class="delete">concl_1</span><span class="delete"> ... </span><span class="delete">concl_n</span><span class="delete"> to the instance, possibly after generating fresh
-  identifiers </span><span class="delete">a_1</span><span class="delete">,...,</span><span class="delete">a_m</span><span class="delete"> for unknown objects.</span><span class="insert">optional arguments is present.</span>  These <span class="insert">are
-  handled by specific rules listed below.  </span></p>
-
-<div class="definition" id="definition-short-forms"><div class="ruleTitle"><a class="internalDFN" href="#definition-short-forms"><span class="insert">Definition 3 (definition-short-forms)</span></a></div>
+    <p>  Finally, many PROV
+  statements have other optional arguments or short forms that can be
+  used if none of the optional arguments is present.  These are
+  handled by specific rules listed below.  </p>
+
+<div class="definition" id="definition-short-forms"><div class="ruleTitle"><a class="internalDFN" href="#definition-short-forms">Definition 3 (definition-short-forms)</a></div>
  <p>
   
   </p><ol>
-    <li> <span class="name"><span class="insert">activity(id,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span> <span class="name"><span class="insert">activity(id,-,-,attrs)</span></span><span class="insert">.
-    </span></li>
-    <li><span class="name"><span class="insert">wasGeneratedBy(id; e,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span> <span class="name"><span class="insert">wasGeneratedBy(id; e,-,-,attrs)</span></span><span class="insert">.
-    </span></li>
-    <li><span class="name"><span class="insert">used(id; a,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span> <span class="name"><span class="insert">used(id; a,-,-,attrs)</span></span><span class="insert">.
-   </span></li>
-   <li><span class="name"><span class="insert">wasStartedBy(id; a,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span> <span class="name"><span class="insert">wasStartedBy(id; a,-,-,-,attrs)</span></span><span class="insert">.
-   </span></li>
-    <li><span class="name"><span class="insert">wasEndedBy(id; a,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span> <span class="name"><span class="insert">wasEndedBy(id; a,-,-,-,attrs)</span></span><span class="insert">.
-   </span></li>
-    <li><span class="name"><span class="insert">wasInvalidatedBy(id; e,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span> <span class="name"><span class="insert">wasInvalidatedBy(id; e,-,-,attrs)</span></span><span class="insert">.
-   </span></li>
-    <li><span class="name"><span class="insert">wasDerivedFrom(id; e2,e1,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span> <span class="name"><span class="insert">wasDerivedFrom(id; e2,e1,-,-,-,attrs)</span></span><span class="insert">.
-   </span></li>
-    <li><span class="name"><span class="insert">wasAssociatedWith(id; e,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span> <span class="name"><span class="insert">wasAssociatedWith(id; e,-,-,attrs)</span></span><span class="insert">.
-   </span></li>
-    <li><span class="name"><span class="insert">actedOnBehalfOf(id; a2,a1,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span> <span class="name"><span class="insert">actedOnBehalfOf(id; a2,a1,-,attrs)</span></span><span class="insert">.
-   </span></li>
+    <li> <span class="name">activity(id,attrs)</span> <span class="conditional">IF AND ONLY IF</span> <span class="name">activity(id,-,-,attrs)</span>.
+    </li>
+    <li><span class="name">wasGeneratedBy(id; e,attrs)</span> <span class="conditional">IF AND ONLY IF</span> <span class="name">wasGeneratedBy(id; e,-,-,attrs)</span>.
+    </li>
+    <li><span class="name">used(id; a,attrs)</span> <span class="conditional">IF AND ONLY IF</span> <span class="name">used(id; a,-,-,attrs)</span>.
+   </li>
+   <li><span class="name">wasStartedBy(id; a,attrs)</span> <span class="conditional">IF AND ONLY IF</span> <span class="name">wasStartedBy(id; a,-,-,-,attrs)</span>.
+   </li>
+    <li><span class="name">wasEndedBy(id; a,attrs)</span> <span class="conditional">IF AND ONLY IF</span> <span class="name">wasEndedBy(id; a,-,-,-,attrs)</span>.
+   </li>
+    <li><span class="name">wasInvalidatedBy(id; e,attrs)</span> <span class="conditional">IF AND ONLY IF</span> <span class="name">wasInvalidatedBy(id; e,-,-,attrs)</span>.
+   </li>
+    <li><span class="name">wasDerivedFrom(id; e2,e1,attrs)</span> <span class="conditional">IF AND ONLY IF</span> <span class="name">wasDerivedFrom(id; e2,e1,-,-,-,attrs)</span>.
+   </li>
+    <li><span class="name">wasAssociatedWith(id; e,attrs)</span> <span class="conditional">IF AND ONLY IF</span> <span class="name">wasAssociatedWith(id; e,-,-,attrs)</span>.
+   </li>
+    <li><span class="name">actedOnBehalfOf(id; a2,a1,attrs)</span> <span class="conditional">IF AND ONLY IF</span> <span class="name">actedOnBehalfOf(id; a2,a1,-,attrs)</span>.
+   </li>
   </ol>
  </div>
 
  <div class="remark">
 
 
-  <p><span class="insert">
+  <p>
 There are no expansion rules for entity, agent, communication,
  attribution, influence, alternate, specialization, or mention
    relations, because these
  have no optional parameters aside from the identifier and attributes,
- which are expanded by the rules in </span><a class="rule-ref" href="#optional-identifiers"><span><span class="insert">Definition 1 (optional-identifiers)</span></span></a><span class="insert"> and </span><a class="rule-ref" href="#optional-attributes"><span><span class="insert">Definition 2 (optional-attributes)</span></span></a><span class="insert">.  </span></p>
+ which are expanded by the rules in <a class="rule-ref" href="#optional-identifiers"><span>Definition 1 (optional-identifiers)</span></a> and <a class="rule-ref" href="#optional-attributes"><span>Definition 2 (optional-attributes)</span></a>.  </p>
    </div>
 
 
-<p id="optional-placeholders_text"><span class="insert">Finally,  most optional parameters (written </span><span class="name"><span class="insert">-</span></span><span class="insert">) are, for the purpose of this document,
-  considered to be distinct, </span>fresh
-  <span class="insert"> existential variables.  Optional parameters are defined in  [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM"><span class="insert">PROV-DM</span></a></cite><span class="insert">] and in [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N"><span class="insert">PROV-N</span></a></cite><span class="insert">] for each type of PROV statement.
+<p id="optional-placeholders_text">Finally,  most optional parameters (written <span class="name">-</span>) are, for the purpose of this document,
+  considered to be distinct, fresh existential variables.  Optional parameters are defined in  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] and in [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N">PROV-N</a></cite>] for each type of PROV statement.
   Thus,
   before proceeding to apply other definitions or inferences, most
-  occurrences of </span><span class="name"><span class="insert">-</span></span><span class="insert"> are to be replaced
+  occurrences of <span class="name">-</span> are to be replaced
  by fresh existential variables, distinct from any others occurring in
   the instance.
-  The only exceptions to this general rule, where  </span><span class="name"><span class="insert">-</span></span><span class="insert"> are to be left
-  in place, are the </span><a href="http://www.w3.org/TR/prov-dm/#derivation.activity"><span class="insert">activity</span></a><span class="insert">, </span><a href="http://www.w3.org/TR/prov-dm/#derivation.generation"><span class="insert">generation</span></a><span class="insert">, and </span><a href="http://www.w3.org/TR/prov-dm/#derivation.usage"><span class="insert">usage</span></a><span class="insert"> parameters in </span><span class="name"><span class="insert">wasDerivedFrom</span></span><span class="insert"> and
-  the </span><a href="http://www.w3.org/TR/prov-dm/#association.plan"><span class="insert">plan</span></a><span class="insert">
-  parameter in </span><span class="name"><span class="insert">wasAssociatedWith</span></span><span class="insert">.  This is
+  The only exceptions to this general rule, where  <span class="name">-</span> are to be left
+  in place, are the <a href="http://www.w3.org/TR/prov-dm/#derivation.activity">activity</a>, <a href="http://www.w3.org/TR/prov-dm/#derivation.generation">generation</a>, and <a href="http://www.w3.org/TR/prov-dm/#derivation.usage">usage</a> parameters in <span class="name">wasDerivedFrom</span> and
+  the <a href="http://www.w3.org/TR/prov-dm/#association.plan">plan</a>
+  parameter in <span class="name">wasAssociatedWith</span>.  This is
   further explained in remarks below.
-  </span></p>
-
-   <p><span class="insert">The treatment of optional parameters is specified formally using
-   the auxiliary concept of </span><dfn id="dfn-expandable-parameter"><span class="insert">expandable parameter</span></dfn><span class="insert">.  An
+  </p>
+
+   <p>The treatment of optional parameters is specified formally using
+   the auxiliary concept of <dfn id="dfn-expandable-parameter">expandable parameter</dfn>.  An
    expandable parameter is one that can be omitted using the
-   placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">, and if so, it is
+   placeholder <span class="name">-</span>, and if so, it is
    to be replaced by a fresh existential identifier.
-  </span><a href="#expandable-parameters-fig"><span class="insert">Table 3</span></a><span class="insert"> defines the </span><a href="#dfn-expandable-parameter" class="internalDFN"><span class="insert">expandable
-    parameter</span></a><span class="insert">s of the properties of PROV, needed in </span><a class="rule-ref" href="#optional-placeholders"><span><span class="insert">Definition 4 (optional-placeholders)</span></span></a><span class="insert">.  For emphasis, the four optional parameters
-    that are not </span><a title="expandable parameter" href="#dfn-expandable-parameter" class="internalDFN"><span class="insert">expandable</span></a><span class="insert"> are
-    also listed.  Parameters that cannot have value </span><span class="name"><span class="insert">-</span></span><span class="insert">, and </span>identifiers <span class="delete">might later be found to be equal to known identifiers;
-  these fresh identifiers play </span><span class="insert">that are 
-   expanded by </span><a class="rule-ref" href="#optional-identifiers"><span><span class="insert">Definition 1 (optional-identifiers)</span></span></a><span class="insert">, are not listed.</span></p>
+  <a href="#expandable-parameters-fig">Table 3</a> defines the <a href="#dfn-expandable-parameter" class="internalDFN">expandable
+    parameter</a>s of the properties of PROV, needed in <a class="rule-ref" href="#optional-placeholders"><span>Definition 4 (optional-placeholders)</span></a>.  For emphasis, the four optional parameters
+    that are not <a title="expandable parameter" href="#dfn-expandable-parameter" class="internalDFN">expandable</a> are
+    also listed.  Parameters that cannot have value <span class="name">-</span>, and identifiers that are 
+   expanded by <a class="rule-ref" href="#optional-identifiers"><span>Definition 1 (optional-identifiers)</span></a>, are not listed.</p>
   <div id="expandable-parameters-fig">
     <table id="expandable-parameters_table" border="1" class="thinborder" style="margin-left: auto; margin-right: auto; border-color: black;">
-<caption id="expandable-parameters"><span class="insert">Table 3: Expandable and
-    Non-Expandable Parameters</span></caption>
+<caption id="expandable-parameters">Table 3: Expandable and
+    Non-Expandable Parameters</caption>
 <tbody><tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
       <tr>
-	<th><span class="insert">Relation</span></th>
-	<th><span class="insert">Expandable </span></th>
-	<th><span class="insert">Non-expandable</span></th>
+	<th>Relation</th>
+	<th>Expandable </th>
+	<th>Non-expandable</th>
       </tr>
      <tr>
-	<td class="name"><span class="insert">used(id; a,e,t,attrs)</span></td>
-	<td class="name"><span class="insert">e,t</span></td>
+	<td class="name">used(id; a,e,t,attrs)</td>
+	<td class="name">e,t</td>
 	<td></td>
       </tr>
       <tr>
-	<td class="name"><span class="insert">wasGeneratedBy(id; e,a,t,attrs)</span></td>
-	<td class="name"><span class="insert">a,t</span></td>
+	<td class="name">wasGeneratedBy(id; e,a,t,attrs)</td>
+	<td class="name">a,t</td>
 	<td></td>
     </tr>
 
       <tr>
-	<td class="name"><span class="insert">wasStartedBy(id; a2,e,a1,t,attrs)</span></td>
-	<td class="name"><span class="insert">e,a1,t</span></td>
-	<td></td>
-      </tr>
-      <tr>
-	<td class="name"><span class="insert">wasEndedBy(id; a2,e,a1,t,attrs)</span></td>
-	<td class="name"><span class="insert">e,a1,t</span></td>
-	<td></td>
-      </tr>
-      <tr>
-	<td class="name"><span class="insert">wasInvalidatedBy(id; e,a,t,attrs)</span></td>
-	<td class="name"><span class="insert">a,t</span></td>
+	<td class="name">wasStartedBy(id; a2,e,a1,t,attrs)</td>
+	<td class="name">e,a1,t</td>
 	<td></td>
       </tr>
       <tr>
-	<td class="name"><span class="insert">wasDerivedFrom(id; e2,e1,-,g,u,attrs)</span></td>
+	<td class="name">wasEndedBy(id; a2,e,a1,t,attrs)</td>
+	<td class="name">e,a1,t</td>
+	<td></td>
+      </tr>
+      <tr>
+	<td class="name">wasInvalidatedBy(id; e,a,t,attrs)</td>
+	<td class="name">a,t</td>
+	<td></td>
+      </tr>
+      <tr>
+	<td class="name">wasDerivedFrom(id; e2,e1,-,g,u,attrs)</td>
 	<td class="name"></td>
-	<td class="name"><span class="insert">g,u</span></td>
+	<td class="name">g,u</td>
       </tr>      <tr>
-	<td class="name"><span class="insert">wasDerivedFrom(id; e2,e1,a,g,u,attrs)</span><br><span class="insert">(where </span><span class="name">a<span class="delete"> similar role in PROV constraints to existential variables in logic.
-</span>
-<span class="delete">
-  TODO: Is this re-inventing blank nodes in PROV-DM, and do we want to
-  do this?  A lot of the inferences have existentially quantified
-  conclusions (and there</span></span> is <span class="delete">some theory that supports this).
-
-  TODO: Make sure conjunctive reading of conclusion is clear.
-  </span><span class="insert">not placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">)</span></td>
-	<td class="name"><span class="insert">g,u</span></td>
-	<td class="name"><span class="insert">a</span></td>
+	<td class="name">wasDerivedFrom(id; e2,e1,a,g,u,attrs)<br>(where <span class="name">a</span> is not placeholder <span class="name">-</span>)</td>
+	<td class="name">g,u</td>
+	<td class="name">a</td>
       </tr>
       
 
 
       <tr>
-	<td class="name"><span class="insert">wasAssociatedWith(id; a,ag,pl,attrs)</span></td>
-	<td class="name"><span class="insert">ag</span></td> 
-	<td class="name"><span class="insert">pl</span></td>
+	<td class="name">wasAssociatedWith(id; a,ag,pl,attrs)</td>
+	<td class="name">ag</td> 
+	<td class="name">pl</td>
      </tr>
       <tr>
-	<td class="name"><span class="insert">actedOnBehalfOf(id; ag2,ag1,a,attrs)</span></td>
-	<td class="name"><span class="insert">a</span></td> 
+	<td class="name">actedOnBehalfOf(id; ag2,ag1,a,attrs)</td>
+	<td class="name">a</td> 
 	<td></td>
      </tr>
 
    </tbody></table>
     </div>
 
-<p> <span class="delete">Definitions</span><a class="rule-ref" href="#optional-placeholders"><span><span class="insert">Definition 4 (optional-placeholders)</span></span></a><span class="insert"> states how parameters are to be expanded,
-    using the expandable parameters defined in   </span><a href="#expandable-parameters-fig"><span class="insert">Table 3</span></a><span class="insert">.  The last two parts, 4 and 5,
+<p> <a class="rule-ref" href="#optional-placeholders"><span>Definition 4 (optional-placeholders)</span></a> states how parameters are to be expanded,
+    using the expandable parameters defined in   <a href="#expandable-parameters-fig">Table 3</a>.  The last two parts, 4 and 5,
   indicate how to handle expansion of parameters for
-  </span><span class="name"><span class="insert">wasDerivedFrom</span></span><span class="insert"> expansion, which is only allowed for the
+  <span class="name">wasDerivedFrom</span> expansion, which is only allowed for the
   generation and use parameters when the activity is specified.
   Essentially, the definitions state that parameters  
-</span><span class="name"><span class="insert">g,u</span></span><span class="insert"> are expandable only if the activity is specified, i.e., if parameter </span><span class="name"><span class="insert">a</span></span><span class="insert"> is provided.
-
-The rationale for this is that when a is provided, then there</span> have <span class="insert">to be two events, namely </span><span class="name"><span class="insert">u</span></span><span class="insert"> and </span><span class="name"><span class="insert">g</span></span><span class="insert">, which account for the usage of </span><span class="name"><span class="insert">e1</span></span><span class="insert"> and the generation of </span><span class="name"><span class="insert">e2</span></span><span class="insert">, respectively, by </span><span class="name"><span class="insert">a</span></span><span class="insert">. Conversely, if </span><span class="name"><span class="insert">a</span></span><span class="insert"> is not provided, then one cannot tell whether one or more activities are involved in the derivation, and the explicit introduction of such events, which correspond to a single acitivity, would therefore not be justified.  </span></p>
-
-
-<p><span class="insert">  A  later constraint, </span><a class="rule-ref" href="#impossible-unspecified-derivation-generation-use"><span><span class="insert">Constraint 53 (impossible-unspecified-derivation-generation-use)</span></span></a><span class="insert">,
+<span class="name">g,u</span> are expandable only if the activity is specified, i.e., if parameter <span class="name">a</span> is provided.
+
+The rationale for this is that when a is provided, then there have to be two events, namely <span class="name">u</span> and <span class="name">g</span>, which account for the usage of <span class="name">e1</span> and the generation of <span class="name">e2</span>, respectively, by <span class="name">a</span>. Conversely, if <span class="name">a</span> is not provided, then one cannot tell whether one or more activities are involved in the derivation, and the explicit introduction of such events, which correspond to a single <span class="delete">acitivity,</span><span class="insert">activity,</span> would therefore not be justified.  </p>
+
+
+<p>  A  later constraint, <a class="rule-ref" href="#impossible-unspecified-derivation-generation-use"><span>Constraint 53 (impossible-unspecified-derivation-generation-use)</span></a>,
   forbids specifying generation and use parameters when the activity
-  is unspecified.</span></p>
+  is unspecified.</p>
     
-  <div class="definition" id="optional-placeholders"><div class="ruleTitle"><a class="internalDFN" href="#optional-placeholders"><span class="insert">Definition 4 (optional-placeholders)</span></a></div>
+  <div class="definition" id="optional-placeholders"><div class="ruleTitle"><a class="internalDFN" href="#optional-placeholders">Definition 4 (optional-placeholders)</a></div>
     <ol><li>
-      <span class="name"><span class="insert">activity(id,-,t2,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY
-   IF</span></span><span class="insert"> there exists </span><span class="name"><span class="insert">t1</span></span><span class="insert"> such that </span><span class="name"><span class="insert">activity(id,t1,t2,attrs)</span></span><span class="insert">. Here, </span><span class="name"><span class="insert">t2</span></span> <em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> be a placeholder.
-  </span></li>
-<li>  <span class="name"><span class="insert">activity(id,t1,-,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY
-   IF</span></span><span class="insert"> there exists </span><span class="name"><span class="insert">t2</span></span><span class="insert"> such that </span><span class="name"><span class="insert">activity(id,t1,t2,attrs)</span></span><span class="insert">. Here, </span><span class="name"><span class="insert">t1</span></span> <em class="rfc2119" title="must not"><span class="insert">must not</span></em><span class="insert"> be a placeholder.
-</span></li>
-
-    <li><span class="insert">For each  </span><span class="name"><span class="insert">r</span></span><span class="insert"> in { 
-</span><span class="name"><span class="insert">used</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasGeneratedBy</span></span><span class="insert">,
-
-</span><span class="name"><span class="insert">wasStartedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasEndedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInvalidatedBy</span></span><span class="insert">,
-
-
-</span><span class="name"><span class="insert">wasAssociatedWith</span></span><span class="insert">,
-</span><span class="name"><span class="insert">actedOnBehalfOf</span></span><span class="insert">
+      <span class="name">activity(id,-,t2,attrs)</span> <span class="conditional">IF AND ONLY
+   IF</span> there exists <span class="name">t1</span> such that <span class="name">activity(id,t1,t2,attrs)</span>. Here, <span class="name">t2</span> <em class="rfc2119" title="may">may</em> be a placeholder.
+  </li>
+<li>  <span class="name">activity(id,t1,-,attrs)</span> <span class="conditional">IF AND ONLY
+   IF</span> there exists <span class="name">t2</span> such that <span class="name">activity(id,t1,t2,attrs)</span>. Here, <span class="name">t1</span> <em class="rfc2119" title="must not">must not</em> be a placeholder.
+</li>
+
+    <li>For each  <span class="name">r</span> in { 
+<span class="name">used</span>,
+<span class="name">wasGeneratedBy</span>,
+
+<span class="name">wasStartedBy</span>,
+<span class="name">wasEndedBy</span>,
+<span class="name">wasInvalidatedBy</span>,
+
+
+<span class="name">wasAssociatedWith</span>,
+<span class="name">actedOnBehalfOf</span>
    
-    }, if the </span><span class="name"><span class="insert">i</span></span><span class="insert">th parameter
-    of </span><span class="name"><span class="insert">r</span></span><span class="insert"> is an </span><a href="#dfn-expandable-parameter" class="internalDFN"><span class="insert">expandable parameter</span></a><span class="insert">
-    of </span><span class="name"><span class="insert">r</span></span><span class="insert">
-    as specified in </span><a href="#expandable-parameters-fig"><span class="insert">Table 3</span></a><span class="insert">
-then </span>the following <span class="delete">general form:</span><span class="insert">definition holds:
-    </span><p> <span class="name"><span class="insert">r(a</span><sub><span class="insert">0</span></sub><span class="insert">;...,a</span><sub><span class="insert">i-1</span></sub><span class="insert">, -, a</span><sub><span class="insert">i+1</span></sub><span class="insert">, ...,a</span><sub><span class="insert">n</span></sub><span class="insert">) </span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span><span class="insert"> there exists </span><span class="name"><span class="insert">a'</span></span><span class="insert">
-    such that </span><span class="name"><span class="insert">r(a</span><sub><span class="insert">0</span></sub><span class="insert">;...,a</span><sub><span class="insert">i-1</span></sub><span class="insert">,a',a</span><sub><span class="insert">i+1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span><span class="insert">.
-    </span></p></li>
-  <li><span class="insert">If </span><span class="name"><span class="insert">a</span></span><span class="insert"> is not the placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">, and </span><span class="name"><span class="insert">u</span></span><span class="insert"> is any term, then the following definition holds:
-   </span><p> <span class="name"><span class="insert">wasDerivedFrom(id;e2,e1,a,-,u,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span><span class="insert"> there exists </span><span class="name"><span class="insert">g</span></span><span class="insert">
-    such that </span><span class="name"><span class="insert">wasDerivedFrom(id; e2,e1,a,g,u,attrs)</span></span><span class="insert">.</span></p></li>
-  <li><span class="insert">If </span><span class="name"><span class="insert">a</span></span><span class="insert"> is not the placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">, and </span><span class="name"><span class="insert">g</span></span><span class="insert"> is any term,
+    }, if the <span class="name">i</span>th parameter
+    of <span class="name">r</span> is an <a href="#dfn-expandable-parameter" class="internalDFN">expandable parameter</a>
+    of <span class="name">r</span>
+    as specified in <a href="#expandable-parameters-fig">Table 3</a>
+then the following definition holds:
+    <p> <span class="name">r(a<sub>0</sub>;...,a<sub>i-1</sub>, -, a<sub>i+1</sub>, ...,a<sub>n</sub>) </span> <span class="conditional">IF AND ONLY IF</span> there exists <span class="name">a'</span>
+    such that <span class="name">r(a<sub>0</sub>;...,a<sub>i-1</sub>,a',a<sub>i+1</sub>,...,a<sub>n</sub>)</span>.
+    </p></li>
+  <li>If <span class="name">a</span> is not the placeholder <span class="name">-</span>, and <span class="name">u</span> is any term, then the following definition holds:
+   <p> <span class="name">wasDerivedFrom(id;e2,e1,a,-,u,attrs)</span> <span class="conditional">IF AND ONLY IF</span> there exists <span class="name">g</span>
+    such that <span class="name">wasDerivedFrom(id; e2,e1,a,g,u,attrs)</span>.</p></li>
+  <li>If <span class="name">a</span> is not the placeholder <span class="name">-</span>, and <span class="name">g</span> is any term,
     then the following definition holds:
-   </span><p> <span class="name"><span class="insert">wasDerivedFrom(id;e2,e1,a,g,-,attrs)</span></span> <span class="conditional"><span class="insert">IF AND ONLY IF</span></span><span class="insert"> there exists </span><span class="name"><span class="insert">u</span></span><span class="insert">
-    such that </span><span class="name"><span class="insert">wasDerivedFrom(id; e2,e1,a,g,u,attrs)</span></span><span class="insert">.</span></p></li></ol>
+   <p> <span class="name">wasDerivedFrom(id;e2,e1,a,g,-,attrs)</span> <span class="conditional">IF AND ONLY IF</span> there exists <span class="name">u</span>
+    such that <span class="name">wasDerivedFrom(id; e2,e1,a,g,u,attrs)</span>.</p></li></ol>
     </div>
 
   <div class="remark">
-<p><span class="insert">In an association of the form
-  </span><span class="name"><span class="insert">wasAssociatedWith(id; a,ag,-,attr)</span></span><span class="insert">, the
+<p>In an association of the form
+  <span class="name">wasAssociatedWith(id; a,ag,-,attr)</span>, the
   absence of a plan means: either no plan exists, or a plan exists but
-  it is not identified.  Thus, it is not equivalent to </span><span class="name"><span class="insert">wasAssociatedWith(id; a,ag,p,attr)</span></span><span class="insert"> where a
-  plan </span><span class="name"><span class="insert">p</span></span><span class="insert"> is given.</span></p>
+  it is not identified.  Thus, it is not equivalent to <span class="name">wasAssociatedWith(id; a,ag,p,attr)</span> where a
+  plan <span class="name">p</span> is given.</p>
 </div>
   <div class="remark">
-<p><span class="insert"> A derivation  </span><span class="name"><span class="insert">wasDerivedFrom(id; e2,e1,a,gen,use,attrs)</span></span><span class="insert"> that
-  specifies an activity explicitly indicates that  this activity achieved the derivation, with a usage </span><span class="name"><span class="insert">use</span></span><span class="insert"> of entity </span><span class="name"><span class="insert">e1</span></span><span class="insert">, and a generation </span><span class="name"><span class="insert">gen</span></span><span class="insert"> of entity </span><span class="name"><span class="insert">e2</span></span><span class="insert">.
+<p> A derivation  <span class="name">wasDerivedFrom(id; e2,e1,a,gen,use,attrs)</span> that
+  specifies an activity explicitly indicates that  this activity achieved the derivation, with a usage <span class="name">use</span> of entity <span class="name">e1</span>, and a generation <span class="name">gen</span> of entity <span class="name">e2</span>.
   It differs from a derivation of the form
-   </span><span class="name"><span class="insert">wasDerivedFrom(id; e2,e1,-,-,-,attrs)</span></span><span class="insert"> with 
+   <span class="name">wasDerivedFrom(id; e2,e1,-,-,-,attrs)</span> with 
   missing activity, generation, and usage. In the latter form, it is not specified
-  if one or more activities are involved in the derivation. </span></p>
-
- <p><span class="insert">Let us consider a system, in which a derivation is underpinned by multiple activities. Conceptually, one could also model such a system with a new activity that encompasses the two original activities and underpins the derivation.   The inferences defined in this specification do not allow the latter modelling to be inferred from the former. Hence, the two  modellings of the same system are regarded as different in the context of this specification.</span></p>
+  if one or more activities are involved in the derivation. </p>
+
+ <p>Let us consider a system, in which a derivation is underpinned by multiple activities. Conceptually, one could also model such a system with a new activity that encompasses the two original activities and underpins the derivation.   The inferences defined in this specification do not allow the latter modelling to be inferred from the former. Hence, the two  modellings of the same system are regarded as different in the context of this specification.</p>
     </div>
 </div>
     
 <div id="entities-and-activities" class="section">
-  <h3><span class="secno"><span class="insert">4.2 </span></span><span class="insert">Entities and Activities</span></h3>
+  <h3><span class="secno">4.2 </span>Entities and Activities</h3>
 
 
   
 
-<p id="communication-generation-use-inference_text"><span class="insert">Communication between activities </span><a title="definition" href="#definition" class="internalDFN"><span class="insert">implies</span></a><span class="insert"> the existence of an underlying
-entity generated by one activity and used by the other, and vice versa.</span></p>
-
-
-  <span class="delete">defined_exp</span><span class="delete"> holds </span><div class="inference" id="communication-generation-use-inference"><div class="ruleTitle"><a class="internalDFN" href="#communication-generation-use-inference"><span class="insert">Inference 5 (communication-generation-use-inference)</span></a></div>
+<p id="communication-generation-use-inference_text">Communication between activities <a title="definition" href="#definition" class="internalDFN">implies</a> the existence of an underlying
+entity generated by one activity and used by the other, and vice versa.</p>
+
+<div class="inference" id="communication-generation-use-inference"><div class="ruleTitle"><a class="internalDFN" href="#communication-generation-use-inference">Inference 5 (communication-generation-use-inference)</a></div>
 <p>
-<span class="conditional">IF<span class="delete"> AND ONLY IF </span>
-  </span> 
-<span class="name"><span class="insert">wasInformedBy(_id; a2,a1,_attrs)</span></span>
-<span class="conditional"><span class="insert">THEN</span></span>
- there <span class="delete">exists </span><span class="delete">a_1</span><span class="delete">,..., </span><span class="delete">a_m</span><span class="delete"> such that </span><span class="delete">defining_exp_1</span><span class="delete"> and</span><span class="insert">exist </span><span class="name"><span class="insert">e</span></span><span class="insert">,</span>  <span class="delete">... and </span><span class="delete">defining_exp_n</span><span class="delete">.
-  </span>
- 
-  <span class="delete">
-  This means that a provenance expression defined_exp is defined in
-  terms of other expressions.  This can be viewed as a two-way
-  inference:  If </span><span class="delete">defined_exp</span><span class="delete">
-  can be found in a PROV instance, we can add all of the expressions
-</span><span class="delete">defining_exp_1</span><span class="delete"> ... </span><span class="delete">defining_exp_n</span><span class="delete"> to the instance, possibly after generating fresh
-  identifiers </span><span class="delete">a_1</span><span class="delete">,...,</span><span class="delete">a_m</span><span class="delete"> for unknown objects.  Conversely, if there
-  exist identifiers </span><span class="delete">a_1</span><span class="delete">...</span><span class="delete">a_m</span><span class="delete"> such that </span><span class="delete">defining_exp_1</span><span class="delete">
-  and ... and </span><span class="delete">defining_exp_n</span><span class="delete"> hold in the instance, we can add the defined
-  expression </span><span class="delete">def_exp</span><span class="delete">.  When an expression is defined in terms of
-  others, it is in a sense redundant; it is safe to replace it with
-  its definition.
-</span>
-  
-
-
-
-  <span class="delete">3.1 </span><span class="delete">Component 1: Entities and Activities</span>
-  
-
-<span class="delete">Communication between activities is </span><span class="delete">defined</span><span class="delete"> in terms
-as the existence of an underlying entity generated by one activity and used by the
-other.</span>
-
-<span class="delete">Given two activities identified by </span><span class="delete">a1</span><span class="delete"> and </span><span class="delete">a2</span><span class="name"><span class="insert">_gen</span></span><span class="insert">, </span><span class="name"><span class="insert">_t1</span></span><span class="insert">, </span><span class="name"><span class="insert">_use</span></span><span class="insert">, and </span><span class="name"><span class="insert">_t2</span></span>, 
-<span class="delete">wasInformedBy(a2,a1)</span><span class="delete">
-holds </span><span class="insert">such that </span><span class="name"><span class="insert">wasGeneratedBy(_gen; e,a1,_t1,[])</span></span><span class="insert"> and </span><span class="name"><span class="insert">used(_use; a2,e,_t2,[])</span></span><span class="insert"> hold.</span></p>
+<span class="conditional">IF</span> 
+<span class="name">wasInformedBy(_id; a2,a1,_attrs)</span>
+<span class="conditional">THEN</span>
+ there exist <span class="name">e</span>,  <span class="name">_gen</span>, <span class="name">_t1</span>, <span class="name">_use</span>, and <span class="name">_t2</span>, 
+such that <span class="name">wasGeneratedBy(_gen; e,a1,_t1,[])</span> and <span class="name">used(_use; a2,e,_t2,[])</span> hold.</p>
 </div>
 
 
 <p id="generation-use-communication-inference_text">
 
- </p><div class="inference" id="generation-use-communication-inference"><div class="ruleTitle"><a class="internalDFN" href="#generation-use-communication-inference"><span class="insert">Inference 6 (generation-use-communication-inference)</span></a></div>
+ </p><div class="inference" id="generation-use-communication-inference"><div class="ruleTitle"><a class="internalDFN" href="#generation-use-communication-inference">Inference 6 (generation-use-communication-inference)</a></div>
 <p>
-<span class="conditional">IF<span class="delete"> AND ONLY IF</span></span>  <span class="name"><span class="insert">wasGeneratedBy(_gen; e,a1,_t1,_attrs1)</span></span><span class="insert">
-   and </span><span class="name"><span class="insert">used(_id2; a2,e,_t2,_attrs2)</span></span><span class="insert"> hold
-   </span><span class="conditional"><span class="insert">THEN</span></span>
- there <span class="delete">is an entity  with some identifier </span><span class="delete">e</span><span class="delete"> and some sets of attribute-value pairs </span><span class="delete">attrs1</span><span class="delete"> and </span><span class="delete">attrs2</span><span class="delete">,</span><span class="insert">exists </span><span class="name"><span class="insert">_id</span></span>
-such that <span class="name"><span class="delete">wasGeneratedBy(-,e,a1,-,attrs1)</span><span class="delete"> and </span><span class="delete">used(-,a2,e,-,attrs2)</span><span class="delete"> hold.
-</span><span class="insert">wasInformedBy(_id; a2,a1,[])</span></span>
+<span class="conditional">IF</span>  <span class="name">wasGeneratedBy(_gen; e,a1,_t1,_attrs1)</span>
+   and <span class="name">used(_id2; a2,e,_t2,_attrs2)</span> hold
+   <span class="conditional">THEN</span>
+ there exists <span class="name">_id</span>
+such that <span class="name">wasInformedBy(_id; a2,a1,[])</span>
 </p></div>
-
-
  
 
   <div class="remark">
 <p>The relationship <span class="name">wasInformedBy</span> is not
-<span class="delete">transitive.</span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert">.</span> Indeed, consider the following statements.</p>
+<a href="#dfn-transitive" class="internalDFN">transitive</a>. Indeed, consider the following statements.</p>
 <pre class="codeexample">wasInformedBy(a2,a1)
 wasInformedBy(a3,a2)
 </pre>
-<p> We cannot infer <span class="name">wasInformedBy(a3,a1)</span> 
-    from these <span class="delete">expressions.</span><span class="insert">statements alone.</span> Indeed, 
+<p> We cannot infer <span class="name">wasInformedBy(a3,a1)</span>
+    from these statements alone. Indeed, 
 from 
 <span class="name">wasInformedBy(a2,a1)</span>, we know that there exists <span class="name">e1</span> such that <span class="name">e1</span> was generated by <span class="name">a1</span>
-and used by <span class="name">a2</span>. Likewise, from <span class="name">wasInformedBy(a3,a2)</span>, we know that there exists  <span class="name">e2</span> such that <span class="name">e2</span> was generated by <span class="name">a2</span> 
-and used by <span class="name">a3</span>. The following illustration 
-shows a <span class="delete">case for which transitivity cannot hold.</span><span class="insert">counterexample to  transitivity.</span> The
+and used by <span class="name">a2</span>. Likewise, from <span class="name">wasInformedBy(a3,a2)</span>, we know that there exists  <span class="name">e2</span> such that <span class="name">e2</span> was generated by <span class="name">a2</span>
+and used by <span class="name">a3</span>. The following illustration
+shows a counterexample to  transitivity. The
 horizontal axis represents the event line. We see that <span class="name">e1</span> was generated after <span class="name">e2</span> was used. Furthermore, the illustration also shows that
-<span class="name">a3</span> completes before <span class="name">a1</span><span class="delete">.</span><span class="insert"> started.</span>  So <span class="insert">in this example (with no other
-    information) </span>it is impossible for <span class="name">a3</span> to have used an entity generated by <span class="name">a1</span><span class="insert">. This is illustrated in </span><a href="#counterexample-wasInformedBy"><span class="insert">Figure 2</span></a>.</p>
+<span class="name">a3</span> completes before <span class="name">a1</span> started.  So in this example (with no other
+    information) it is impossible for <span class="name">a3</span> to have used an entity generated by <span class="name">a1</span>. This is illustrated in <a href="#counterexample-wasInformedBy">Figure 2</a>.</p>
 
 <div style="text-align: center;">
-
-
 <span class="figure">
 <img src="images/constraints/informedByNonTransitive.png" alt="non transitivity of wasInformedBy">
 <br>
-<span class="figcaption" id="counterexample-wasInformedBy"><span class="insert">Figure 2</span><sup><a class="internalDFN" href="#counterexample-wasInformedBy"><span class="diamond"><span class="insert"> ◊:</span></span></a></sup> Counter-example for transitivity of wasInformedBy</span>
+<span class="figcaption" id="counterexample-wasInformedBy">Figure 2<sup><a class="internalDFN" href="#counterexample-wasInformedBy"><span class="diamond"> ◊:</span></a></sup> Counter-example for transitivity of wasInformedBy</span>
 </span> 
 </div>
 </div>
 
 
-
  
 <hr>
 
 
 
-<p id="entity-generation-invalidation-inference_text"><span class="insert">
+<p id="entity-generation-invalidation-inference_text">
 From an entity statement, we can infer the existence of
 generation and invalidation events.
-</span></p>
-<div class="inference" id="entity-generation-invalidation-inference"><div class="ruleTitle"><a class="internalDFN" href="#entity-generation-invalidation-inference"><span class="insert">Inference 7 (entity-generation-invalidation-inference)</span></a></div>
+</p>
+<div class="inference" id="entity-generation-invalidation-inference"><div class="ruleTitle"><a class="internalDFN" href="#entity-generation-invalidation-inference">Inference 7 (entity-generation-invalidation-inference)</a></div>
 <p>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">entity(e,_attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span><span class="insert"> there exist 
-</span><span class="name"><span class="insert">_gen</span></span><span class="insert">, </span><span class="name"><span class="insert">_a1</span></span><span class="insert">, </span><span class="name"><span class="insert">_t1</span></span><span class="insert">,
-</span><span class="name"><span class="insert">_inv</span></span><span class="insert">, </span><span class="name"><span class="insert">_a2</span></span><span class="insert">, and </span><span class="name"><span class="insert">_t2</span></span><span class="insert"> such that
-  </span><span class="name"><span class="insert">wasGeneratedBy(_gen; e,_a1,_t1,[])</span></span><span class="insert"> and </span><span class="name"><span class="insert">wasInvalidatedBy(_inv; e,_a2,_t2,[])</span></span><span class="insert">.
-</span></p></div> 
+<span class="conditional">IF</span> <span class="name">entity(e,_attrs)</span> <span class="conditional">THEN</span> there exist 
+<span class="name">_gen</span>, <span class="name">_a1</span>, <span class="name">_t1</span>,
+<span class="name">_inv</span>, <span class="name">_a2</span>, and <span class="name">_t2</span> such that
+  <span class="name">wasGeneratedBy(_gen; e,_a1,_t1,[])</span> and <span class="name">wasInvalidatedBy(_inv; e,_a2,_t2,[])</span>.
+</p></div> 
 
 
 <hr>
 
 
-<p id="activity-start-end-inference_text"><span class="insert">
+<p id="activity-start-end-inference_text">
 From an activity statement, we can infer 
 start and end events whose times match the start and end times of
 the activity, respectively.
-</span></p>
-<div class="inference" id="activity-start-end-inference"><div class="ruleTitle"><a class="internalDFN" href="#activity-start-end-inference"><span class="insert">Inference 8 (activity-start-end-inference)</span></a></div>
-<p><span class="delete">Start</span>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">activity(a,t1,t2,_attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span><span class="insert"> there exist </span><span class="name"><span class="insert">_start</span></span><span class="insert">, </span><span class="name"><span class="insert">_e1</span></span><span class="insert">, </span><span class="name"><span class="insert">_a1</span></span><span class="insert">, </span><span class="name"><span class="insert">_end</span></span><span class="insert">, </span><span class="name"><span class="insert">_a2</span></span><span class="insert">, 
-  and </span><span class="name"><span class="insert">_e2</span></span><span class="insert"> such that
-  </span><span class="name"><span class="insert">wasStartedBy(_start; a,_e1,_a1,t1,[])</span></span><span class="insert"> and </span><span class="name"><span class="insert">wasEndedBy(_end; a,_e2,_a2,t2,[])</span></span><span class="insert">.
-</span></p></div> 
+</p>
+<div class="inference" id="activity-start-end-inference"><div class="ruleTitle"><a class="internalDFN" href="#activity-start-end-inference">Inference 8 (activity-start-end-inference)</a></div>
+<p>
+<span class="conditional">IF</span> <span class="name">activity(a,t1,t2,_attrs)</span> <span class="conditional">THEN</span> there exist <span class="name">_start</span>, <span class="name">_e1</span>, <span class="name">_a1</span>, <span class="name">_end</span>, <span class="name">_a2</span>, 
+  and <span class="name">_e2</span> such that
+  <span class="name">wasStartedBy(_start; a,_e1,_a1,t1,[])</span> and <span class="name">wasEndedBy(_end; a,_e2,_a2,t2,[])</span>.
+</p></div> 
 
 
 <hr>
 
   
-<p id="wasStartedBy-inference_text"><span class="insert">The start</span> of <span class="delete">a2</span><span class="insert">an activity </span><span class="name"><span class="insert">a</span></span><span class="insert"> triggered</span> by <span class="insert">entity </span><span class="name"><span class="insert">e1</span></span><span class="insert">
+<p id="wasStartedBy-inference_text">The start of an activity <span class="name">a</span> triggered by entity <span class="name">e1</span>
 implies that 
-</span><span class="name"><span class="insert">e1</span></span><span class="insert"> was generated by the starting </span>activity <span class="name">a1</span><span class="delete"> is </span><span class="delete">defined</span><span class="delete"> as follows.</span><span class="insert">.</span></p>
-
-<span class="delete">Given two activities with identifiers </span><span class="delete">a1</span><span class="delete"> and </span><span class="delete">a2</span><span class="delete">, 
- </span><span class="delete">wasStartedByActivity(a2,a1)</span><span class="delete">
-holds </span><div class="inference" id="wasStartedBy-inference"><div class="ruleTitle"><a class="internalDFN" href="#wasStartedBy-inference"><span class="insert">Inference 9 (wasStartedBy-inference)</span></a></div>
-<p><span class="conditional">IF<span class="delete"> AND ONLY </span></span>
- <span class="name"><span class="insert">wasStartedBy(_id; a,e1,a1,_t,_attrs)</span></span><span class="insert">,
-</span><span class="conditional"><span class="insert">THEN</span></span><span class="insert"> there exist </span><span class="name"><span class="insert">_gen</span></span><span class="insert"> and  </span><span class="name"><span class="insert">_t1</span></span><span class="insert">
+<span class="name">e1</span> was generated by the starting activity <span class="name">a1</span>.</p>
+
+<div class="inference" id="wasStartedBy-inference"><div class="ruleTitle"><a class="internalDFN" href="#wasStartedBy-inference">Inference 9 (wasStartedBy-inference)</a></div>
+<p><span class="conditional">IF</span>
+ <span class="name">wasStartedBy(_id; a,e1,a1,_t,_attrs)</span>,
+<span class="conditional">THEN</span> there exist <span class="name">_gen</span> and  <span class="name">_t1</span>
 such that 
- </span><span class="name"><span class="insert">wasGeneratedBy(_gen; e1,a1,_t1,[])</span></span><span class="insert">.</span></p>
+ <span class="name">wasGeneratedBy(_gen; e1,a1,_t1,[])</span>.</p>
 </div>
 <p>
 
 </p><hr>
 
-<p id="wasEndedBy-inference_text"><span class="insert">Likewise,
-the ending of activity </span><span class="name"><span class="insert">a</span></span><span class="insert"> by triggering entity </span><span class="name"><span class="insert">e1</span></span><span class="insert"> implies that 
-</span><span class="name"><span class="insert">e1</span></span><span class="insert"> was generated by the ending activity </span><span class="name"><span class="insert">a1</span></span><span class="insert">.
-</span></p>
-
-<div class="inference" id="wasEndedBy-inference"><div class="ruleTitle"><a class="internalDFN" href="#wasEndedBy-inference"><span class="insert">Inference 10 (wasEndedBy-inference)</span></a></div>
+<p id="wasEndedBy-inference_text">Likewise,
+the ending of activity <span class="name">a</span> by triggering entity <span class="name">e1</span> implies that 
+<span class="name">e1</span> was generated by the ending activity <span class="name">a1</span>.
+</p>
+
+<div class="inference" id="wasEndedBy-inference"><div class="ruleTitle"><a class="internalDFN" href="#wasEndedBy-inference">Inference 10 (wasEndedBy-inference)</a></div>
 <p><span class="conditional">IF</span>
- <span class="name"><span class="insert">wasEndedBy(_id; a,e1,a1,_t,_attrs)</span></span><span class="insert">,
-</span><span class="conditional"><span class="insert">THEN</span></span> there <span class="delete">exists an entity </span><span class="delete">e</span> 
-<span class="insert">exist </span><span class="name"><span class="insert">_gen</span></span><span class="insert"> and </span><span class="name"><span class="insert">_t1</span></span> such that
- <span class="delete">wasGeneratedBy(-,e,a1,-,-)</span> 
- <span class="delete">and </span><span class="delete">wasStartedBy(-,a2,e,-,-)</span><span class="delete"> hold.</span><span class="name"><span class="insert">wasGeneratedBy(_gen; e1,a1,_t1,[])</span></span><span class="insert">.</span></p>
+ <span class="name">wasEndedBy(_id; a,e1,a1,_t,_attrs)</span>,
+<span class="conditional">THEN</span> there exist <span class="name">_gen</span> and <span class="name">_t1</span> such that 
+ <span class="name">wasGeneratedBy(_gen; e1,a1,_t1,[])</span>.</p>
 </div>
 
 
@@ -2904,24 +2955,21 @@
 
 </div>
 
-
-
-
  <div id="derivations" class="section"> 
-<h3><span class="secno"><span class="delete">3.2 </span><span class="delete">Component 2: </span><span class="insert">4.3 </span></span><span class="insert">Derivations</span></h3>
+<h3><span class="secno">4.3 </span>Derivations</h3>
 
 
 <hr>
-<p id="derivation-generation-use-inference_text"><span class="insert">Derivations with explicit
-activity, generation, and usage admit the  following inference: </span></p>
-
-<div class="inference" id="derivation-generation-use-inference"><div class="ruleTitle"><a class="internalDFN" href="#derivation-generation-use-inference"><span class="insert">Inference 11 (derivation-generation-use-inference)</span></a></div>
-<p><span class="insert"> In this inference, none of </span><span class="name"><span class="insert">a</span></span><span class="insert">, </span><span class="name"><span class="insert">gen2</span></span><span class="insert"> or </span><span class="name"><span class="insert">use1</span></span><span class="insert"> can be
-  placeholders </span><span class="name"><span class="insert">-</span></span><span class="insert">.
-  </span></p><p>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasDerivedFrom(_id; e2,e1,a,gen2,use1,_attrs)</span></span><span class="insert">,
-  </span><span class="conditional"><span class="insert">THEN</span></span><span class="insert"> there exists  </span><span class="name"><span class="insert">_t1</span></span><span class="insert"> and </span><span class="name"><span class="insert">_t2</span></span><span class="insert"> such that  </span><span class="name"><span class="insert">used(use1; a,e1,_t1,[])</span></span><span class="insert"> and </span><span class="name"><span class="insert">wasGeneratedBy(gen2; e2,a,_t2,[])</span></span><span class="insert">.
-</span></p>
+<p id="derivation-generation-use-inference_text">Derivations with explicit
+activity, generation, and usage admit the  following inference: </p>
+
+<div class="inference" id="derivation-generation-use-inference"><div class="ruleTitle"><a class="internalDFN" href="#derivation-generation-use-inference">Inference 11 (derivation-generation-use-inference)</a></div>
+<p> In this inference, none of <span class="name">a</span>, <span class="name">gen2</span> or <span class="name">use1</span> can be
+  placeholders <span class="name">-</span>.
+  </p><p>
+<span class="conditional">IF</span> <span class="name">wasDerivedFrom(_id; e2,e1,a,gen2,use1,_attrs)</span>,
+  <span class="conditional">THEN</span> there exists  <span class="name">_t1</span> and <span class="name">_t2</span> such that  <span class="name">used(use1; a,e1,_t1,[])</span> and <span class="name">wasGeneratedBy(gen2; e2,a,_t2,[])</span>.
+</p>
 </div>
 <p>
 
@@ -2929,315 +2977,165 @@
 
   
 </p><hr>
-<p id="revision-is-alternate-inference_text"><span class="insert">A revision admits the following inference, stating that  the two entities
-linked  by a revision are also alternates.</span></p>
+<p id="revision-is-alternate-inference_text">A revision admits the following inference, stating that  the two entities
+linked  by a revision are also alternates.</p>
  
-<div class="inference" id="revision-is-alternate-inference"><div class="ruleTitle"><a class="internalDFN" href="#revision-is-alternate-inference"><span class="insert">Inference 12 (revision-is-alternate-inference)</span></a></div>
-  <p><span class="insert">In this inference, any of </span><span class="name"><span class="insert">_a</span></span><span class="insert">, </span><span class="name"><span class="insert">_g</span></span><span class="insert"> or </span><span class="name"><span class="insert">_u</span></span> <em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> be placeholders.</span></p>
+<div class="inference" id="revision-is-alternate-inference"><div class="ruleTitle"><a class="internalDFN" href="#revision-is-alternate-inference">Inference 12 (revision-is-alternate-inference)</a></div>
+  <p>In this inference, any of <span class="name">_a</span>, <span class="name">_g</span> or <span class="name">_u</span> <em class="rfc2119" title="may">may</em> be placeholders.</p>
 <p>
-  <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasDerivedFrom(_id; e2,e1,_a,_g,_u,[prov:type='prov:Revision'])</span></span><span class="insert">, </span><span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">alternateOf(e2,e1)</span></span><span class="insert">.  
-</span></p>
+  <span class="conditional">IF</span> <span class="name">wasDerivedFrom(_id; e2,e1,_a,_g,_u,[prov:type='prov:Revision'])</span>, <span class="conditional">THEN</span> <span class="name">alternateOf(e2,e1)</span>.  
+</p>
 
 </div>
 
 
 
 
-<div class="remark"><span class="insert">
-  There is no inference stating that </span><span class="name"><span class="insert">wasDerivedFrom</span></span><span class="insert"> is
+<div class="remark">
+  There is no inference stating that <span class="name">wasDerivedFrom</span> is
   transitive.  
-  </span></div>
+  </div>
 </div>
 
 
 <div id="agents" class="section">
-<h3><span class="secno"><span class="insert">4.4 </span></span>Agents</h3>
-
-<p id="attribution-inference_text"> Attribution <span class="delete">identifies</span><span class="insert">is the ascribing of</span> an <span class="delete">agent as responsible for</span><span class="insert">entity to</span> an <span class="delete">entity.</span><span class="insert">agent.</span>  An
-<span class="insert">entity can only be ascribed to an </span>agent <span class="delete">can only be responsible for an entity </span>if <span class="delete">it</span><span class="insert">the agent</span> was associated with
-an activity that generated the entity.  If the activity, generation
- 
+<h3><span class="secno">4.4 </span>Agents</h3>
+
+<p id="attribution-inference_text"> Attribution is the ascribing of an entity to an agent.  An
+entity can only be ascribed to an agent if the agent was associated with
+an activity that generated the entity.  If the activity, generation 
 and association events are not explicit in the instance, they can
-be inferred.
-</p>
-
-<div class="inference" id="attribution-inference"><div class="ruleTitle"><a class="internalDFN" href="#attribution-inference"><span class="insert">Inference 13 (attribution-inference)</span></a></div>
+be inferred.</p>
+
+<div class="inference" id="attribution-inference"><div class="ruleTitle"><a class="internalDFN" href="#attribution-inference">Inference 13 (attribution-inference)</a></div>
 <p>
 <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasAttributedTo(e,ag)</span><span class="delete"> holds for some identifiers
-</span><span class="delete">e</span><span class="delete"> and </span><span class="delete">ag</span><span class="delete">,  
-</span><span class="insert">wasAttributedTo(_att; e,ag,_attrs)</span></span>
+<span class="name">wasAttributedTo(_att; e,ag,_attrs)</span>
   
-<span class="conditional">THEN</span> there <span class="delete">exists an activity with some identifier </span><span class="insert">exist
-  </span><span class="name">a</span> <span class="insert">,
- </span><span class="name"><span class="insert">_t</span></span><span class="insert">,
-</span><span class="name"><span class="insert">_gen</span></span><span class="insert">,
-</span><span class="name"><span class="insert">_assoc</span></span><span class="insert">,
-  </span><span class="name"><span class="insert">_pl</span></span><span class="insert">,
-</span>such that<span class="delete"> the following statements hold:
-</span><span class="delete">activity(a, -, -,-)
-wasGeneratedBy(-,e, a, -,_)
-wasAssociatedWith(-,a, ag, -, -)
-</span> 
-<span class="name"><span class="insert">wasGeneratedBy(_gen; e,a,_t,[])</span></span><span class="insert"> and 
-</span><span class="name"><span class="insert">wasAssociatedWith(_assoc; a,ag,_pl,[])</span></span><span class="insert">.
-</span></p>
+<span class="conditional">THEN</span> there exist
+  <span class="name">a</span>,
+ <span class="name">_t</span>,
+<span class="name">_gen</span>,
+<span class="name">_assoc</span>,
+  <span class="name">_pl</span>,
+such that 
+<span class="name">wasGeneratedBy(_gen; e,a,_t,[])</span> and 
+<span class="name">wasAssociatedWith(_assoc; a,ag,_pl,[])</span>.
+</p>
 </div>
 
-<span class="delete"> Responsibility</span><div class="remark"><span class="insert">
-  In the above inference, </span><span class="name"><span class="insert">_pl</span></span><span class="insert"> is an
-  existential variable, so it can be
-  merged with a constant identifier, another existential variable, or a
-  placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">, as explained
-  in the definition of </span><a href="#dfn-merging" class="internalDFN"><span class="insert">merging</span></a><span class="insert">.
-  </span></div>
+<div class="remark">
+  In the above inference, <span class="name">_pl</span> is an
+  existential variable, so it can be<span class="delete">
+  merged </span><span class="insert"> unified
+</span>with a constant identifier, another existential variable, or a
+  placeholder <span class="name">-</span>, as explained
+  in the definition of <span class="delete">merging</span><a href="#dfn-unification" class="internalDFN"><span class="insert">unification</span></a>.
+  </div>
 <hr>
-<p id="delegation-inference_text"><span class="insert"> Delegation</span> relates agents where one agent acts on behalf of
+<p id="delegation-inference_text"> Delegation relates agents where one agent acts on behalf of
 another, in the context of some activity.  The supervising agent
 delegates some responsibility for part of the activity to the
 subordinate agent, while retaining some responsibility for the overall
-activity.  <span class="insert">Both agents are associated with this activity.</span></p>
-
-
-<span class="delete">
-  @@TODO: Could this be an inference? Does it imply</span><div class="inference" id="delegation-inference"><div class="ruleTitle"><a class="internalDFN" href="#delegation-inference"><span class="insert">Inference 14 (delegation-inference)</span></a></div>
+activity.  Both agents are associated with this activity.</p>
+
+
+<div class="inference" id="delegation-inference"><div class="ruleTitle"><a class="internalDFN" href="#delegation-inference">Inference 14 (delegation-inference)</a></div>
 <p>
-<span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">actedOnBehalfOf(_id; ag1, ag2, a, _attrs)</span></span>
-<span class="conditional"><span class="insert">THEN</span></span><span class="insert"> there exist  </span><span class="name"><span class="insert">_id1</span></span><span class="insert">, </span><span class="name"><span class="insert">_pl1</span></span><span class="insert">, </span><span class="name"><span class="insert">_id2</span></span><span class="insert">, and  </span><span class="name"><span class="insert">_pl2</span></span><span class="insert"> such</span> that<span class="delete">
-  a1 is associated with all activities a2 is associated with?
-  </span> <span class="name"><span class="insert">wasAssociatedWith(_id1; a, ag1, _pl1, [])</span></span><span class="insert">
-  and </span><span class="name"><span class="insert">wasAssociatedWith(_id2; a, ag2, _pl2,
-  [])</span></span><span class="insert">.
-</span></p>
+<span class="conditional">IF</span>
+<span class="name">actedOnBehalfOf(_id; ag1, ag2, a, _attrs)</span>
+<span class="conditional">THEN</span> there exist  <span class="name">_id1</span>, <span class="name">_pl1</span>, <span class="name">_id2</span>, and  <span class="name">_pl2</span> such that <span class="name">wasAssociatedWith(_id1; a, ag1, _pl1, [])</span>
+  and <span class="name">wasAssociatedWith(_id2; a, ag2, _pl2,
+  [])</span>.
+</p>
 </div>
 
 
-<div class="remark"><span class="insert">
+<div class="remark">
   The two associations between the agents and the activity
   may have different identifiers, different plans, and different
   attributes.  In particular, the plans of the two agents need not be
-  the same, and one, both, or neither can be the placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">
+  the same, and one, both, or neither can be the placeholder <span class="name">-</span>
   indicating that there is no plan, because the existential variables
-  </span><span class="name"><span class="insert">_pl1</span></span><span class="insert"> and </span><span class="name"><span class="insert">_pl2</span></span><span class="insert">
+  <span class="name">_pl1</span> and <span class="name">_pl2</span>
   can be replaced with constant identifiers, existential variables, or
-  placeholders </span><span class="name"><span class="insert">-</span></span><span class="insert"> independently, as explained
-  in the definition of </span><a href="#dfn-merging" class="internalDFN"><span class="insert">merging</span></a><span class="insert">.
-  </span></div>
-
- 
+  placeholders <span class="name">-</span> independently, as explained
+  in the definition of <span class="delete">merging</span><a href="#dfn-unification" class="internalDFN"><span class="insert">unification</span></a>.
+  </div>
 
 <hr>
-<p id="influence-inference_text"><span class="insert">
-The </span><span class="name"><span class="insert">wasInfluencedBy</span></span><span class="insert"> relation is implied by other relations, including
+<p id="influence-inference_text">
+The <span class="name">wasInfluencedBy</span> relation is implied by other relations, including
 usage, start, end, generation, invalidation, communication,
 derivation, attribution, association, and delegation.  To capture this
 explicitly, we allow the following inferences:
-</span></p>
-<div class="inference" id="influence-inference"><div class="ruleTitle"><a class="internalDFN" href="#influence-inference"><span class="insert">Inference 15 (influence-inference)</span></a></div>
+</p>
+<div class="inference" id="influence-inference"><div class="ruleTitle"><a class="internalDFN" href="#influence-inference">Inference 15 (influence-inference)</a></div>
 <p>
   </p><ol>
   <li>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasGeneratedBy(id; e,a,_t,attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">wasInfluencedBy(id;  e, a, attrs)</span></span><span class="insert">.
-  </span></li>
-  <li>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">used(id; a,e,_t,attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">wasInfluencedBy(id;  a, e, attrs)</span></span><span class="insert">.
-  </span></li>
-  <li>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasInformedBy(id; a2,a1,attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">wasInfluencedBy(id;  a2, a1, attrs)</span></span><span class="insert">.
-  </span></li>
- <li>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasStartedBy(id; a2,e,a1,_t,attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">wasInfluencedBy(id;  a2, e, attrs)</span></span><span class="insert">.
-  </span></li>
-  <li>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasEndedBy(id; a2,e,_a1,_t,attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">wasInfluencedBy(id;  a2, e, attrs)</span></span><span class="insert">.
-  </span></li>
+    <span class="conditional">IF</span> <span class="name">wasGeneratedBy(id; e,a,_t,attrs)</span> <span class="conditional">THEN</span> <span class="name">wasInfluencedBy(id;  e, a, attrs)</span>.
+  </li>
   <li>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasInvalidatedBy(id; e,a,_t,attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">wasInfluencedBy(id;  e, a, attrs)</span></span><span class="insert">.
-  </span></li>
+    <span class="conditional">IF</span> <span class="name">used(id; a,e,_t,attrs)</span> <span class="conditional">THEN</span> <span class="name">wasInfluencedBy(id;  a, e, attrs)</span>.
+  </li>
+  <li>
+    <span class="conditional">IF</span> <span class="name">wasInformedBy(id; a2,a1,attrs)</span> <span class="conditional">THEN</span> <span class="name">wasInfluencedBy(id;  a2, a1, attrs)</span>.
+  </li>
  <li>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasDerivedFrom(id;  e2, e1, a, g, u, attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">wasInfluencedBy(id;  e2, e1, attrs)</span></span><span class="insert">.  Here,
-  </span><span class="name"><span class="insert">a</span></span><span class="insert">, </span><span class="name"><span class="insert">g</span></span><span class="insert">, </span><span class="name"><span class="insert">u</span></span> <em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> be placeholders </span><span class="name"><span class="insert">-</span></span><span class="insert">.
-  </span></li>
+    <span class="conditional">IF</span> <span class="name">wasStartedBy(id; a2,e,a1,_t,attrs)</span> <span class="conditional">THEN</span> <span class="name">wasInfluencedBy(id;  a2, e, attrs)</span>.
+  </li>
+  <li>
+    <span class="conditional">IF</span> <span class="name">wasEndedBy(id; a2,e,_a1,_t,attrs)</span> <span class="conditional">THEN</span> <span class="name">wasInfluencedBy(id;  a2, e, attrs)</span>.
+  </li>
+  <li>
+    <span class="conditional">IF</span> <span class="name">wasInvalidatedBy(id; e,a,_t,attrs)</span> <span class="conditional">THEN</span> <span class="name">wasInfluencedBy(id;  e, a, attrs)</span>.
+  </li>
+ <li>
+    <span class="conditional">IF</span> <span class="name">wasDerivedFrom(id;  e2, e1, a, g, u, attrs)</span> <span class="conditional">THEN</span> <span class="name">wasInfluencedBy(id;  e2, e1, attrs)</span>.  Here,
+  <span class="name">a</span>, <span class="name">g</span>, <span class="name">u</span> <em class="rfc2119" title="may">may</em> be placeholders <span class="name">-</span>.
+  </li>
 <li>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasAttributedTo(id; e,ag,attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">wasInfluencedBy(id; e, ag, attrs)</span></span><span class="insert">.
-  </span></li>
+    <span class="conditional">IF</span> <span class="name">wasAttributedTo(id; e,ag,attrs)</span> <span class="conditional">THEN</span> <span class="name">wasInfluencedBy(id; e, ag, attrs)</span>.
+  </li>
   <li>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasAssociatedWith(id; a,ag,_pl,attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">wasInfluencedBy(id;  a, ag, attrs)</span></span><span class="insert">.  Here,
-  </span><span class="name"><span class="insert">_pl</span></span> <em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> be a placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">.
-  </span></li>
+    <span class="conditional">IF</span> <span class="name">wasAssociatedWith(id; a,ag,_pl,attrs)</span> <span class="conditional">THEN</span> <span class="name">wasInfluencedBy(id;  a, ag, attrs)</span>.  Here,
+  <span class="name">_pl</span> <em class="rfc2119" title="may">may</em> be a placeholder <span class="name">-</span>.
+  </li>
   <li>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">actedOnBehalfOf(id; ag2,ag1,_a,attrs)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">wasInfluencedBy(id;  ag2, ag1, attrs)</span></span><span class="insert">.
-  </span></li>
+    <span class="conditional">IF</span> <span class="name">actedOnBehalfOf(id; ag2,ag1,_a,attrs)</span> <span class="conditional">THEN</span> <span class="name">wasInfluencedBy(id;  ag2, ag1, attrs)</span>.
+  </li>
 </ol>
 </div>
 
-<div class="remark"><span class="insert">
+<div class="remark">
   The inferences above permit the use of  same identifier for an
   influence relationship and a more
   specific relationship.
-</span></div>
+</div>
 
 </div>
 
 
 
  <div id="alternate-and-specialized-entities" class="section"> 
-<h3><span class="secno"><span class="delete">3.3 </span><span class="delete">Component 3: Derivations</span><span class="insert">4.5 </span></span><span class="insert">Alternate and Specialized Entities</span></h3>
-
-
- 
+<h3><span class="secno">4.5 </span>Alternate and Specialized Entities</h3>
 
 
 
   
 <hr>
-  <p id="alternate-reflexive_text"><span class="insert">The relation </span><span class="name"><span class="insert">alternateOf</span></span><span class="insert"> is an </span><a href="#dfn-equivalence-relation" class="internalDFN"><span class="insert">equivalence relation</span></a><span class="insert">: that is,
-  it is </span><a href="#dfn-reflexive" class="internalDFN"><span class="insert">reflexive</span></a><span class="insert">,
-  </span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert"> and </span><a href="#dfn-symmetric" class="internalDFN"><span class="insert">symmetric</span></a><span class="insert">.  As a consequence, the
-  following inferences can be applied:</span></p>
+  <p id="alternate-reflexive_text">The relation <span class="name">alternateOf</span> is an <a href="#dfn-equivalence-relation" class="internalDFN">equivalence relation</a>: that is,
+  it is <a href="#dfn-reflexive" class="internalDFN">reflexive</a>,
+  <a href="#dfn-transitive" class="internalDFN">transitive</a> and <a href="#dfn-symmetric" class="internalDFN">symmetric</a>.  As a consequence, the
+  following inferences can be applied:</p>
 
  
-<div class="inference" id="alternate-reflexive"><div class="ruleTitle"><a class="internalDFN" href="#alternate-reflexive"><span class="insert">Inference 16 (alternate-reflexive)</span></a></div>
-<p><span class="delete">Derivations with an explicit activity and no usage admit the
-  following inference: </span>
-
-<span class="delete">Given an activity </span><span class="delete">a</span><span class="delete">, entities  denoted by </span><span class="delete">e1</span><span class="delete"> and </span><span class="delete">e2</span><span class="delete">, 
-</span>
-<span class="conditional">IF</span> <span class="delete">wasDerivedFrom(-,e2,e1, a, -)</span><span class="delete"> and </span><span class="delete">wasGeneratedBy(-,e2,a,-,-)</span><span class="delete"> hold,</span>  <span class="name"><span class="insert">entity(e)</span></span> <span class="conditional">THEN</span> <span class="delete">used(-,a,e1,-,-)</span><span class="delete"> also holds.</span>
-<span class="name"><span class="insert">alternateOf(e,e)</span></span><span class="insert">.</span>
+<div class="inference" id="alternate-reflexive"><div class="ruleTitle"><a class="internalDFN" href="#alternate-reflexive">Inference 16 (alternate-reflexive)</a></div>
+<p>
+<span class="conditional">IF</span>  <span class="name">entity(e)</span> <span class="conditional">THEN</span>
+<span class="name">alternateOf(e,e)</span>.
 </p>
-<span class="delete">This inference is justified by the fact that the entity denoted by </span><span class="delete">e2</span><span class="delete"> is generated by at most one activity in a given account
-(see </span><span class="delete">generation-uniqueness</span><span class="delete">). Hence,  this activity is also the one referred to by the usage of </span><span class="delete">e1</span><span class="delete">. 
-</span>
-
-<span class="delete">
-  There is some redundancy in the following discussion.
-  </span>
-
-<span class="delete">The converse inference does not hold.
-From </span><span class="delete">wasDerivedFrom(e2,e1)</span><span class="delete"> and </span><span class="delete">used(a,e1,-)</span><span class="delete">, one cannot
-derive </span><span class="delete">wasGeneratedBy(e2,a,-)</span><span class="delete"> because identifier </span><span class="delete">e1</span><span class="delete"> may occur in usages performed by many activities, which may have not generated the entity denoted by </span><span class="delete">e2</span><span class="delete">.</span>
-
-  <span class="delete">
-Note that derivation cannot in general be inferred from the existence
-of related usage and generation events. Indeed, when a generation </span><span class="delete">wasGeneratedBy(g, e2, a, -, attrs2)</span>
-<span class="delete">precedes</span> <span class="delete">used(u, a, e1, -, attrs1)</span><span class="delete">, for
-some </span><span class="delete">e1</span><span class="delete">, </span><span class="delete">e2</span><span class="delete">, </span><span class="delete">attrs1</span><span class="delete">, </span><span class="delete">attrs2</span><span class="delete">, and </span><span class="delete">a</span><span class="delete">, one
-cannot infer derivation </span><span class="delete">wasDerivedFrom(e2, e1, a, g, u)</span><span class="delete">
-or </span><span class="delete">wasDerivedFrom(e2,e1)</span><span class="delete"> since 
- </span><span class="delete">e2</span><span class="delete"> cannot possibly be derived from
- </span><span class="delete">e1</span><span class="delete">, given the creation of </span><span class="delete">e2</span> <span class="delete">precedes</span><span class="delete"> the use
-of </span><span class="delete">e1</span><span class="delete">.  That is, if </span><span class="delete">e1</span><span class="delete"> is generated
-by an activity before </span><span class="delete">e2</span><span class="delete"> is used, then
-obviously  </span><span class="delete">e2</span><span class="delete"> cannot have been derived from
-</span><span class="delete">e1</span><span class="delete">.  However, even if  </span><span class="delete">e2</span><span class="delete"> happens used before   </span><span class="delete">e1</span><span class="delete">
-is generated, it is not safe to assume that  </span><span class="delete">e2</span><span class="delete"> was derived from  </span><span class="delete">e1</span><span class="delete">.
-</span>
-
-<span class="delete"> Derivation is not defined to be transitive. Domain-specific specializations of derivation may be defined in such a way that the transitivity property
-holds.</span>
-
-  
-
-
-
-<span class="delete">A revision admits the following inference, linking the two entities
-  by a derivation, and stating them to be alternates.</span>
-
-<span class="delete">
-Given two identifiers </span><span class="delete">e1</span><span class="delete"> and </span><span class="delete">e2</span><span class="delete"> identifying two entities, and an identifier </span><span class="delete">ag</span><span class="delete"> identifying an agent,
-</span><span class="delete">IF</span> <span class="delete">wasRevisionOf(-,e2,e1,ag)</span><span class="delete"> holds, </span><span class="delete">THEN</span><span class="delete"> the following 
-hold:
-</span><span class="delete">wasDerivedFrom(-,e2,e1,-)
-alternateOf(e1,e2)
-wasAttributedTo(e2,ag)
-</span>
-
-
-<span class="delete">
-  The following doesn't make sense because wasRevisionOf and
-  wasDerivedFrom have different types.
-  </span>
-<span class="delete">wasRevisionOf</span><span class="delete"> is a strict sub-relation
- of </span><span class="delete">wasDerivedFrom</span><span class="delete"> since two entities </span><span class="delete">e2</span><span class="delete"> and </span><span class="delete">e1</span><span class="delete">
- may satisfy </span><span class="delete">wasDerivedFrom(e2,e1)</span><span class="delete"> without being a variant of
- each other.
-</span>
-
-
-  <span class="delete">
-  Motivation for quotation inference
-  </span>
-
-<span class="delete">IF</span>
-<span class="delete">wasQuotedFrom(e2,e1,ag2,ag1,attrs)</span><span class="delete"> holds for some identifiers
-</span><span class="delete">e2</span><span class="delete">, </span><span class="delete">e1</span><span class="delete">, </span><span class="delete">ag2</span><span class="delete">, </span><span class="delete">ag1</span><span class="delete">, 
-</span><span class="delete">THEN</span><span class="delete"> the following hold:
-</span><span class="delete">wasDerivedFrom(e2,e1)
-wasAttributedTo(e2,ag2)
-wasAttributedTo(e1,ag1)
-</span>
-
-
-
-
-
-
-<span class="delete">Traceability allows an entity to be transitively linked to another entity it is derived from, to an agent it is attributed to, or another agent having some responsibility, or a trigger of an activity that generated it.</span>
-
-<span class="delete">Traceability can be inferred from existing statements, or can be asserted stating that a dependency path exists without its individual steps being expressed. This is captured 
-by the following inferences:
-
-</span><span class="delete">
-Given two identifiers </span><span class="delete">e2</span><span class="delete"> and  </span><span class="delete">e1</span><span class="delete"> for entities, 
-the following statements hold:
-
-</span> 
-<span class="delete">IF</span>  <span class="delete">wasDerivedFrom(e2,e1,a,g2,u1)</span><span class="delete"> holds, for some </span><span class="delete">a</span><span class="delete">, </span><span class="delete">g2</span><span class="delete">, </span><span class="delete">u1</span><span class="delete">, </span><span class="delete">THEN</span>  <span class="delete">tracedTo(e2,e1)</span><span class="delete"> also holds.</span>
-<span class="delete">IF</span>  <span class="delete">wasDerivedFrom(e2,e1)</span><span class="delete"> holds, </span><span class="delete">THEN</span>  <span class="delete">tracedTo(e2,e1)</span><span class="delete"> also
-holds.</span>
-<span class="delete">IF</span>  <span class="delete">wasAttributedTo(e2,ag1,aAttr)</span><span class="delete"> holds, </span><span class="delete">THEN</span>  <span class="delete">tracedTo(e2,ag1)</span><span class="delete"> also holds.
-</span>
-
-<span class="delete">IF</span>  <span class="delete">wasAttributedTo(e2,ag2,aAttr)</span><span class="delete">, </span><span class="delete">wasGeneratedBy(-,e2,a,-,gAttr)</span><span class="delete">,  and </span><span class="delete">actedOnBehalfOf(ag2,ag1,a,rAttr)</span><span class="delete"> hold, for some  </span><span class="delete">a</span><span class="delete">, </span><span class="delete">ag2</span><span class="delete">, </span><span class="delete">ag1</span><span class="delete">, </span><span class="delete">aAttr</span><span class="delete">,  </span><span class="delete">gAttr</span><span class="delete">, and </span><span class="delete">rAttr</span><span class="delete">, </span><span class="delete">THEN</span>  <span class="delete">tracedTo(e2,ag1)</span><span class="delete"> also holds.</span>
-
-<span class="delete">IF</span> <span class="delete">wasGeneratedBy(e2,a,gAttr)</span><span class="delete"> and </span><span class="delete">wasStartedBy(a,e1,sAttr)</span><span class="delete"> hold, for some  </span><span class="delete">a</span><span class="delete">, </span><span class="delete">gAttr</span><span class="delete"> , </span><span class="delete">sAttr</span><span class="delete">  then </span><span class="delete">tracedTo(e2,e1)</span><span class="delete"> holds.</span>
-<span class="delete">IF</span>  <span class="delete">tracedTo(e2,e)</span><span class="delete"> and  </span><span class="delete">tracedTo(e,e1)</span><span class="delete"> hold for some  </span><span class="delete">e</span><span class="delete">, </span><span class="delete">THEN</span>  <span class="delete">tracedTo(e2,e1)</span><span class="delete"> also holds.</span>
-
-
-
-<span class="delete">We note that the inference rule </span><span class="delete">traceability-inference</span><span class="delete"> does not
-allow us to infer anything about the attributes of the related
-entities, agents or events.
-</span>
-
-
-
-
-
-  
-<span class="delete">3.4 </span><span class="delete">Component 4: Alternate Entities</span>
-<span class="delete">TODO: There is currently no consensus what inferences on
-  alternate or specialization should be assumed.  The following
-  section lists possible inferences that may or may not be adopted. Section is under review, pending ISSUE-29.
-</span>
-
-
-  <span class="delete">The relation </span><span class="delete">alternateOf</span><span class="delete"> is an equivalence relation: </span><span class="delete">reflexive</span><span class="delete">,
-  </span><span class="delete">transitive</span><span class="delete"> and </span><span class="delete">symmetric</span><span class="delete">.</span>
-  
-  <span class="delete">
-    For any entity </span><span class="delete">e</span><span class="delete">, we have </span><span class="delete">alternateOf(e,e)</span><span class="delete">.
-    </span>
-
-
-       <span class="delete">
-    For any entities </span><span class="delete">e1</span><span class="delete">, </span><span class="delete">e2</span><span class="delete">, </span><span class="delete">e3</span><span class="delete">, </span><span class="delete">IF</span> <span class="delete">alternateOf(e1,e2)</span><span class="delete"> and
-   </span><span class="delete">alternateOf(e2,e3)</span> <span class="delete">THEN</span> <span class="delete">alternateOf(e1,e3)</span><span class="delete">.
-    </span>
-   <span class="delete">
-    For any entity </span><span class="delete">e1</span><span class="delete">, </span><span class="delete">e2</span><span class="delete">, </span><span class="delete">IF</span>  <span class="delete">alternateOf(e1,e2)</span> <span class="delete">THEN</span> <span class="delete">alternateOf(e2,e1)</span><span class="delete">.</span>
     </div>
 
 <p>
@@ -3245,10 +3143,10 @@
 </p><hr>
   <p id="alternate-transitive_text">
 
-       </p><div class="inference" id="alternate-transitive"><div class="ruleTitle"><a class="internalDFN" href="#alternate-transitive"><span class="insert">Inference 17 (alternate-transitive)</span></a></div>
+       </p><div class="inference" id="alternate-transitive"><div class="ruleTitle"><a class="internalDFN" href="#alternate-transitive">Inference 17 (alternate-transitive)</a></div>
 <p>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">alternateOf(e1,e2)</span></span><span class="insert"> and
-   </span><span class="name"><span class="insert">alternateOf(e2,e3)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">alternateOf(e1,e3)</span></span><span class="insert">.</span></p>
+<span class="conditional">IF</span> <span class="name">alternateOf(e1,e2)</span> and
+   <span class="name">alternateOf(e2,e3)</span> <span class="conditional">THEN</span> <span class="name">alternateOf(e1,e3)</span>.</p>
     </div>
 
 <p>
@@ -3256,9 +3154,9 @@
 </p><hr>
   <p id="alternate-symmetric_text">
 
-   </p><div class="inference" id="alternate-symmetric"><div class="ruleTitle"><a class="internalDFN" href="#alternate-symmetric"><span class="insert">Inference 18 (alternate-symmetric)</span></a></div>
+   </p><div class="inference" id="alternate-symmetric"><div class="ruleTitle"><a class="internalDFN" href="#alternate-symmetric">Inference 18 (alternate-symmetric)</a></div>
 <p>
-<span class="conditional"><span class="insert">IF</span></span>  <span class="name"><span class="insert">alternateOf(e1,e2)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">alternateOf(e2,e1)</span></span><span class="insert">.</span></p>
+<span class="conditional">IF</span>  <span class="name">alternateOf(e1,e2)</span> <span class="conditional">THEN</span> <span class="name">alternateOf(e2,e1)</span>.</p>
     </div>
 
 <p>
@@ -3266,110 +3164,62 @@
 
 </p><hr>
 <p id="specialization-transitive_text">
-Similarly, specialization is a 
-    <a href="#dfn-strict-partial-order" class="internalDFN">strict partial <span class="delete">order:</span><span class="insert">order</span></a><span class="insert">:</span> it is <a href="#dfn-irreflexive" class="internalDFN">irreflexive<span class="delete">,
-    </span><span class="delete">anti-symmetric</span></a> and
-    <a href="#dfn-transitive" class="internalDFN">transitive</a>.<span class="insert">  Irreflexivity is handled later as </span><a class="rule-ref" href="#impossible-specialization-reflexive"><span><span class="insert">Constraint 54 (impossible-specialization-reflexive)</span></span></a>
+Similarly, specialization is a
+    <a href="#dfn-strict-partial-order" class="internalDFN">strict partial order</a>: it is <a href="#dfn-irreflexive" class="internalDFN">irreflexive</a> and
+    <a href="#dfn-transitive" class="internalDFN">transitive</a>.  Irreflexivity is handled later as <a class="rule-ref" href="#impossible-specialization-reflexive"><span>Constraint 54 (impossible-specialization-reflexive)</span></a>
     </p>
-
-        
-       <div class="inference" id="specialization-transitive"><div class="ruleTitle"><a class="internalDFN" href="#specialization-transitive"><span class="insert">Inference 19 (specialization-transitive)</span></a></div>
+       <div class="inference" id="specialization-transitive"><div class="ruleTitle"><a class="internalDFN" href="#specialization-transitive">Inference 19 (specialization-transitive)</a></div>
 <p>
 
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">specializationOf(e1,e2)</span></span>
-    <span class="delete">For any entity </span><span class="delete">e</span><span class="delete">, it is not the case that
-    have </span><span class="delete">specializationOf(e,e)</span><span class="insert">and
-	 </span><span class="name"><span class="insert">specializationOf(e2,e3)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">specializationOf(e1,e3)</span></span>.</p>
+<span class="conditional">IF</span> <span class="name">specializationOf(e1,e2)</span>
+    and
+	 <span class="name">specializationOf(e2,e3)</span> <span class="conditional">THEN</span> <span class="name">specializationOf(e1,e3)</span>.</p>
     </div> 
 
 <p>
 
-<span class="delete">
-  For any
-    entities </span><span class="delete">e1</span><span class="delete">, </span><span class="delete">e2</span><span class="delete">,
-it is not the case that 
-  </span><span class="delete">specializationOf(e1,e2)</span><span class="delete">
-    and
-	 </span><span class="delete">specializationOf(e2,e1)</span><span class="delete">.
-</span> 
-       <span class="delete">
-    For any
-    entities </span><span class="delete">e1</span><span class="delete">, </span><span class="delete">e2</span><span class="delete">, </span><span class="delete">e3</span><span class="delete">, </span><span class="delete">IF</span> <span class="delete">specializationOf(e1,e2)</span><span class="delete">
-    and
-	 </span><span class="delete">specializationOf(e2,e3)</span> <span class="delete">THEN</span> <span class="delete">specializationOf(e1,e3)</span><span class="delete">.
-    </span> 
-
-
-
-    <span class="delete">Finally, if</span></p><hr>
-
-    <p id="specialization-alternate-inference_text"><span class="insert">If</span> one entity specializes another, then they are also
+</p><hr>
+
+    <p id="specialization-alternate-inference_text">If one entity specializes another, then they are also
     alternates:</p>
     
-       <span class="delete">
-    For any entities  </span><span class="delete">e1</span><span class="delete">, </span><span class="delete">e2</span><span class="delete">, </span><div class="inference" id="specialization-alternate-inference"><div class="ruleTitle"><a class="internalDFN" href="#specialization-alternate-inference"><span class="insert">Inference 20 (specialization-alternate-inference)</span></a></div>
+       <div class="inference" id="specialization-alternate-inference"><div class="ruleTitle"><a class="internalDFN" href="#specialization-alternate-inference">Inference 20 (specialization-alternate-inference)</a></div>
 <p>
 
 <span class="conditional">IF</span> <span class="name">specializationOf(e1,e2)</span> <span class="conditional">THEN</span> <span class="name">alternateOf(e1,e2)</span>.</p>
     </div> 
 
-
-    
-
 <hr>
-<p id="specialization-attributes-inference_text"><span class="insert">
+<p id="specialization-attributes-inference_text">
     If one entity specializes another then all attributes of the more
     general entity are also attributes of the more specific one.
-    </span></p>
-<div class="inference" id="specialization-attributes-inference"><div class="ruleTitle"><a class="internalDFN" href="#specialization-attributes-inference"><span class="insert">Inference 21 (specialization-attributes-inference)</span></a></div>
+    </p>
+<div class="inference" id="specialization-attributes-inference"><div class="ruleTitle"><a class="internalDFN" href="#specialization-attributes-inference">Inference 21 (specialization-attributes-inference)</a></div>
   <p>
 
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">entity(e1, attrs)</span></span><span class="insert">  and </span><span class="name"><span class="insert">specializationOf(e2,e1)</span></span><span class="insert">, </span><span class="conditional"><span class="insert">THEN </span></span>
-  <span class="name"><span class="insert">entity(e2, attrs)</span></span><span class="insert">.</span></p>
+<span class="conditional">IF</span> <span class="name">entity(e1, attrs)</span>  and <span class="name">specializationOf(e2,e1)</span>, <span class="conditional">THEN </span>
+  <span class="name">entity(e2, attrs)</span>.</p>
   </div>
 
 
   
   <hr>
 
-  <div class="note"><span class="delete">TODO: Possible inferences about attributes,
-  generation, invalidation?
-  </span>
-<p><span class="insert">Note: The following inference is associated with a feature "</span><a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi"><span class="insert">at risk</span></a><span class="insert">" and may be removed from this specification based on feedback. Please send feedback to public-prov-comments@w3.org.</span></p>
+  <div class="note">
+<p>Note: The following inference is associated with a feature "<a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi">at risk</a>" and may be removed from this specification based on feedback. Please send feedback to public-prov-comments@w3.org.</p>
 </div>
 
 
-  <span class="delete">
-    The following sections are retained from an older version, and are
-    not consistent with the above constraints.  This will be revised
-    once the consensus on ISSUE-29</span>
-
-
-    <p id="mention-specialization-inference_text"><span class="insert">If one entity</span> is <span class="delete">clearer.</span><span class="insert">a mention of another in a bundle, then the former is also a specialization of the latter:</span></p>
+    <p id="mention-specialization-inference_text">If one entity is a mention of another in a bundle, then the former is also a specialization of the latter:</p>
     
-       <div class="inference" id="mention-specialization-inference"><div class="ruleTitle"><a class="internalDFN" href="#mention-specialization-inference"><span class="insert">Inference 22 (mention-specialization-inference)</span></a></div>
+       <div class="inference" id="mention-specialization-inference"><div class="ruleTitle"><a class="internalDFN" href="#mention-specialization-inference">Inference 22 (mention-specialization-inference)</a></div>
 <p>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">mentionOf(e2,e1,b)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">specializationOf(e2,e1)</span></span><span class="insert">.</span></p>
-    </div>
-    
-  
-<span class="delete">3.4.1 </span><span class="delete">Specialization</span>
-
-
-<span class="delete">Specialization is </span><span class="delete">neither symmetric nor anti-symmetric</span><span class="delete">.
-</span>
-
-<span class="delete">
-"Alice's toyota car on fifth Avenue" is a specialization of "Alice's toyota car", but the converse does not hold.
-</span> 
+<span class="conditional">IF</span> <span class="name">mentionOf(e2,e1,b)</span> <span class="conditional">THEN</span> <span class="name">specializationOf(e2,e1)</span>.</p>
+    </div> 
 
 
 </div>
 
-<span class="delete">
-anti-symmetric counter-example???
-</span>
-
 
 
 
@@ -3377,381 +3227,170 @@
 </div>
 
 
-<span class="delete">Specialization is </span><span class="delete">transitive</span><span class="delete">. Indeed if </span><span class="delete">specializationOf(e1,e2)</span><span class="delete"> holds, then there is some
-common thing, say </span><span class="delete">T1-2</span><span class="delete"> they both refer to,
-and  </span><span class="delete">e1</span><span class="delete"> is a more specific aspect of this
-thing than </span><span class="delete">e2</span><span class="delete">. Likewise, if </span><span class="delete">specializationOf(e2,e3)</span><span class="delete"> holds, then there is some
-common thing, say </span><span class="delete">T2-3</span><span class="delete"> they both refer to, and  </span><span class="delete">e2</span><span class="delete"> is a more specific aspect of this
-thing than </span><span class="delete">e3</span><span class="delete">.  The things </span><span class="delete">T1-2</span><span class="delete"> and </span><span class="delete">T2-3</span><span class="delete"> are the
-same since </span><span class="delete">e2</span><span class="delete"> is an aspect of both of them,
-so </span><span class="delete">specializationOf(e1,e3)</span><span class="delete"> follows since </span><span class="delete">e1</span><span class="delete"> and </span><span class="delete">e3</span><span class="delete">
-are aspects fo the same thing and </span><span class="delete">e1</span><span class="delete"> is more specific than </span><span class="delete">e3</span><span class="delete">. </span>
-
-
-<span class="delete">
-A specialization of "this  email message" would be, for example, the "printed version on my desk", which is a specialization of "my thoughts on this email thread".  So, the "printed version on my desk" is also a specialization   "my thoughts on this email thread".
-</span>
-
-
- 
-
-
-<span class="delete">3.4.2 </span><span class="delete">Alternate</span>
- 
-
-
-<span class="delete">Alternate not is </span><span class="delete">reflexive</span><span class="delete">. Indeed, </span><span class="delete">alternate(e,e)</span><span class="delete"> does not hold for any arbitrary entity </span><span class="delete">e</span><span class="delete"> since  </span><span class="delete">e</span><span class="delete"> may not be a specialization of another entity.</span>
-
-
-<span class="delete">Alternate is </span><span class="delete">symmetric</span><span class="delete">. Indeed, if </span><span class="delete">alternate(e1,e2)</span><span class="delete"> holds,
-then there exists an unspecified entity </span><span class="delete">e</span><span class="delete">, such that
-both </span><span class="delete">e1</span><span class="delete"> and </span><span class="delete">e2</span><span class="delete"> are specialization of </span><span class="delete">e</span><span class="delete">.
-Therefore, </span><span class="delete">alternate(e2,e1)</span><span class="delete"> also holds.
-</span>
-
-
-
-<span class="delete">Alternate is </span><span class="delete">not transitive</span><span class="delete">. Indeed, if </span><span class="delete">alternate(e1,e2)</span><span class="delete"> holds,
-then there exists an unspecified entity </span><span class="delete">e1-2</span><span class="delete">, such that
-both </span><span class="delete">e1</span><span class="delete"> and </span><span class="delete">e2</span><span class="delete"> are specialization of </span><span class="delete">e1-2</span><span class="delete">.
-Likewise, if </span><span class="delete">alternate(e2,e3)</span><span class="delete"> holds,
-then there exists an unspecified entity </span><span class="delete">e2-3</span><span class="delete">, such that
-both </span><span class="delete">e2</span><span class="delete"> and </span><span class="delete">e3</span><span class="delete"> are specialization of </span><span class="delete">e2-3</span><span class="delete">.
-It does not imply that there is a common entity </span><span class="delete">e1-3</span><span class="delete">
-that both  </span><span class="delete">e1</span><span class="delete"> and </span><span class="delete">e3</span><span class="delete"> specialize.
-</span>
-
-
-
-<span class="delete">At 6pm, the customer in a chair is a woman in a red dress, who happens to be Alice. After she leaves, another customer arrives at 7pm, a man with glasses, who happens to be Bob.  Transitivity does not hold since the </span><span class="delete">womanInRedDress\</span><span class="delete"> is not alternate of </span><span class="delete">customerInChairAt7pm</span><span class="delete">.
-</span><span class="delete">alternate(womanInRedDress,customerInChairAt6pm)
-specialization(customerInChairAt6pm,Alice)
-specialization(womanInRedDress,Alice)
-
-alternate(manWithGlasses,customerInChairAt7pm)
-specialization(customerInChairAt7pm,Bob)
-specialization(manWithGlasses,Bob)
-
-alternate(customerInChairAt6pm, customerInChairAt7pm)
-specialization(customerInChairAt6pm, customerInChair)
-specialization(customerInChairAt7pm, customerInChair)
-</span>
-
-
-<span class="delete">The above example shows that  </span><span class="delete">customerInChairAt6pm</span><span class="delete"> and </span><span class="delete">customerInChairAt7pm</span><span class="delete"> are two alternate entities that have no overlap, while </span><span class="delete">womanInRedDress</span><span class="delete"> and </span><span class="delete">customerInChairAt6pm</span><span class="delete"> do overlap.
-The following example   illustrates another case of non-overlapping alternate entities.
-</span>
-
-<span class="delete">Two copies of the same book, where copy A was destroyed before copy B was made.</span>
-
-
-
-
-
-
-
-
-  
-<span class="delete">4. </span><span class="delete">Equivalence</span><span class="delete">
-
-
-  For the purpose of checking inferences and constraints, we define a
-notion of </span><span class="delete">equivalence</span><span class="delete"> of PROV s.  Equivalence has the following characteristics:
-
-
-</span>
-  <span class="delete">Missing attributes that are interpreted as omitted values are
-  handled by generating a fresh
-  identifier for the omitted value.
-  </span>
-  <span class="delete"> Redundant expressions are merged according to uniqueness
-  constraints. </span>
-  <span class="delete">
-  The order of provenance expressions is irrelevant to the meaning of
-  a PROV instance.  That is, a
-  PROV instance is equivalent to any other instance obtained by
-  permuting its expressions.
-  </span>
-  <span class="delete">
-  Inference rules and definitions preserve equivalence.  That is, a </span><span class="delete">PROV
-  instance</span><span class="delete"> is equivalent to the instance obtained by applying any
-  inference rule.
-  </span>
-  <span class="delete">Equivalence is reflexive, symmetric, and transitive.</span>
-
-
-  
-  <span class="delete">4.1 </span><span class="delete">Optional Attributes</span>
-  
-<span class="delete">
-  TODO: Clarify how optional attributes are handled; clarify merging.  The following is
-  not very explicit about the difference between "not present" and
-  "omitted but inferred".
-  </span>
-<span class="delete">PROV-DM allows for some attributes to
-  be optionally expressed. Unless otherwise specified, when an
-  optional attribute is not present in a statement, some value
-  </span><span class="delete">should</span><span class="delete"> be assumed to exist for this attribute, though it is not
-  known which.
-
-  The only exceptions are:
-  </span>
-   <span class="delete">Activities also allow for an
-  optional start time attribute.  If both are specified, they </span><span class="delete">must</span><span class="delete"> be
-  the same, as expressed by the following constraint.</span>
-    <span class="delete">Activities also allow for an optional end time attribute.  If both are specified, they </span><span class="delete">must</span><span class="delete"> be the same, as expressed by the following constraint.</span>
-    
-    <span class="delete">In a quotation of the form </span><span class="delete">wasQuotedFrom(e2,e1,-,-,attrs)</span><span class="delete">, the absence of an agent means: either no agent exists, or an agent exists but it is not identified.</span>
-
-<span class="delete">In an association of the form
-  </span><span class="delete">wasAssociatedWith(a, ag, -, attr)</span><span class="delete">, the
-  absence of a plan means: either no plan exists, or a plan exists but
-  it is not identified.</span>
-  <span class="delete">
-In an association of the form </span><span class="delete">wasAssociatedWith(a, -, pl, attr)</span><span class="delete">, an agent exists but it is not identified.</span>
-
-<span class="delete">
-In a a delegation of the form </span><span class="delete">actedOnBehalfOf(a,
-  ag2, ag1, -, attr)</span><span class="delete">, the absence of an activity means that
-  </span><span class="delete">a2</span><span class="delete"> acts on behalf of </span><span class="delete">a1</span><span class="delete"> for all activities with which </span><span class="delete">a2</span><span class="delete"> is
-  associated.
-</span>
-   
-
-
-
-
-
-<span class="delete">4.2 </span><span class="delete">Normalization</span>
-
-
-<span class="delete">
-We define the </span><span class="delete">normal form</span><span class="delete"> of a PROV instance as the set
-of provenance expressions resulting from merging all of the overlapping
-expressions in the instance and applying all possible inference rules
-to this set.  Formally, we say that two PROV  instances are
-</span><span class="delete">equivalent</span><span class="delete"> if they have the same normal form (that is,
-after applying all possible inference rules, the two instances produce
-the same set of PROV-DM expressions.)
-</span>
-
-<span class="delete">
-  We should check that normal forms exist, i.e. that applying rules
-  and definitions eventually terminates.  More clarity is needed about
-  enforcing uniqueness via merging vs. constraint checking.
-  </span>
-
-<span class="delete"> An application that processes PROV-DM data </span><span class="delete">should</span><span class="delete"> handle
-equivalent instances in the same way. (Common exceptions to this rule
-include, for example, pretty printers that seek to preserve the
-original order of statements in a file and avoid expanding
-inferences.)  </span>
-
-
-  
- 
 
 <div id="constraints" class="section">
-<h2><span class="secno">5. </span><span class="delete">Validity </span>Constraints</h2>
+<h2><span class="secno">5. </span>Constraints</h2>
 
 
 
 
 <p>
-This section defines a collection of constraints on PROV instances.<span class="delete">  A PROV instance is </span><span class="delete">valid</span><span class="delete">
-  if, after applying all possible inference and definition rules from
-  </span><span class="delete">Section 2</span><span class="delete">, the resulting instance
-  satisfies all of the constraints specified in this section.
- </span>
-
-   
-There are <span class="delete">two</span><span class="insert">three</span> kinds of constraints:
+This section defines a collection of constraints on PROV instances.
+There are three kinds of constraints:
   </p><ul><li><em>uniqueness constraints</em> that say that a <a>PROV
-  instance</a> can contain at most one <span class="delete">expression or that multiple
-  expressions about</span><span class="insert">statement of each kind with a
+  instance</a> can contain at most one statement of each kind with a
     given identifier. For
-  example, if we describe</span> the same <span class="delete">objects need to</span><span class="insert">generation event twice, then the
-  two statements should</span> have the same <span class="delete">values (for
   example, if we describe the same generation event twice, then the
-  two expressions should have the same times);</span><span class="insert">times;</span>
+  two statements should have the same times;
     </li>
-    <li> <span class="delete">and </span><em>event ordering constraints</em> that say that it
+    <li> <em>event ordering constraints</em> that say that it
   should be possible to arrange the 
   events (generation, usage, invalidation, start, end) described in a
-  PROV instance into a <span class="delete">partial order</span><a href="#dfn-preorder" class="internalDFN"><span class="insert">preorder</span></a> that corresponds to a sensible
+  PROV instance into a <a href="#dfn-preorder" class="internalDFN">preorder</a> that corresponds to a sensible
   "history" (for example, an entity should not be generated after it
-  is <span class="delete">used).</span><span class="insert">used); and</span>
+  is used); and
     </li>
-    <li><em><span class="insert">impossibility constraints</span></em><span class="insert">, which forbid certain
-    patterns of statements in </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert"> PROV instances.
-    </span></li></ul>
-
-
+    <li><em>impossibility constraints</em>, which forbid certain
+    patterns of statements in <a href="#dfn-valid" class="internalDFN">valid</a> PROV instances.
+    </li></ul>
   
-  <p><span class="delete">The PROV data model</span><span class="insert">As in a [definition|inference], term symbols such as </span><span class="name"><span class="insert">id</span></span><span class="insert">, 
-	</span><span class="name"><span class="insert">start</span></span><span class="insert">, </span><span class="name"><span class="insert">end</span></span><span class="insert">, </span><span class="name"><span class="insert">e</span></span><span class="insert">, 
-	</span><span class="name"><span class="insert">a</span></span><span class="insert">, </span><span class="name"><span class="insert">attrs</span></span><span class="insert"> in a constraint,
+  <p>As in a [definition|inference], term symbols such as <span class="name">id</span>, 
+	<span class="name">start</span>, <span class="name">end</span>, <span class="name">e</span>, 
+	<span class="name">a</span>, <span class="name">attrs</span> in a constraint,
 	are assumed to be variables unless otherwise specified.  These variables are scoped at 
-	the constraint level, so the rule</span> is <span class="delete">implicitly based on</span><span class="insert">equivalent to any one-for-one 
-	renaming of the variable names.  When several rules are collected within</span> a <span class="delete">notion</span><span class="insert">constraint
-	as an ordered list, the scope</span> of <span class="delete">instantaneous event</span><span class="delete">s (or just </span><span class="delete">event</span><span class="delete">s), that mark
-transitions</span><span class="insert">the variables</span> in <span class="delete">the world.  Events include generation, usage, or
-invalidation</span><span class="insert">each rule is at the level</span> of <span class="delete">entities, as well as starting or ending</span><span class="insert">list elements, and so reuse</span> of<span class="delete"> activities.  This
-notion of event is</span><span class="insert"> 
-	variable names in different rules does</span> not <span class="delete">first-class in the data model, but it is useful
-for explaining its other concepts and its semantics [</span><span class="delete">PROV-SEM</span><span class="delete">].
-Thus, events help justify  </span><span class="delete">inferences</span><span class="delete"> on provenance as well as
-</span><span class="delete">validity</span><span class="delete"> constraints indicating when provenance is self-consistent. In </span><span class="delete">section 8.4 Events and Time</span><span class="delete"> we
-discuss the motivation for </span><span class="delete">instantaneous events</span><span class="delete">
-and their relationship to time in greater detail.</span><span class="insert">affect the meaning.
-</span></p>
-
-<span class="delete">  PROV-DM
-identifies five kinds of </span><span class="delete">instantaneous events</span><span class="delete">, namely </span><span class="delete">entity generation
-event</span><span class="delete">, </span><span class="delete">entity usage event</span><span class="delete">, </span><span class="delete">entity invalidation event</span><span class="delete">, </span><span class="delete">activity start event</span><span class="delete">
-and </span><span class="delete">activity end event</span><span class="delete">.  PROV-DM adopts Lamport's clock
-assumptions [</span><span class="delete">CLOCK</span><span class="delete">] in the form of a reflexive, transitive partial order </span><span class="delete">follows</span><span class="delete">
-(and its inverse </span><span class="delete">precedes</span><span class="delete">) between </span><span class="delete">instantaneous events</span><span class="delete">.  Furthermore,
-PROV-DM assumes the existence of a mapping from </span><span class="delete">instantaneous events</span><span class="delete"> to time clocks,
-though the actual mapping is not in scope of this specification.</span>
-
-    
-<span class="delete">
-  TODO: More about what it means for constraints to be satisfied;
-  constraint template(s)
-  </span>
-  
-    
-
+	the constraint level, so the rule is equivalent to any one-for-one 
+	renaming of the variable names.  When several rules are collected within a constraint
+	as an ordered list, the scope of the variables in each rule is at the level of list elements, and so reuse of 
+	variable names in different rules does not affect the meaning.
+</p>
   <div id="uniqueness-constraints" class="section">
 
 
  
   <h3><span class="secno">5.1 </span>Uniqueness Constraints</h3>
 
-<span class="delete">
-Attribute</span>
-
 
     
-   <p><span class="insert"> In the absence of existential variables,</span> uniqueness <span class="delete">constraints?
-</span><span class="insert">constraints
+   <p> In the absence of existential variables, uniqueness constraints
     could be checked directly by checking that no identifier appears
     more than once for a given statement.  However, in the presence of
     existential variables, we need to be more careful to combine
     partial information that might be present in multiple compatible
     statements, due to inferences.  Uniqueness constraints are
-    enforced through </span><a href="#dfn-merging" class="internalDFN"><span class="insert">merging</span></a><span class="insert"> pairs of statements subject to
+    enforced through <a href="#dfn-merging" class="internalDFN">merging</a> pairs of statements subject to
     equalities.  For example, suppose we have two activity statements
-    </span><span class="name"><span class="insert">activity(a,2011-11-16T16:00:00,_t1,[a=1])</span></span><span class="insert"> and </span><span class="name"><span class="insert">activity(a,_t2,2011-11-16T18:00:00,[b=2])</span></span><span class="insert">, with existential variables </span><span class="name"><span class="insert">_t1</span></span><span class="insert"> and </span><span class="name"><span class="insert">_t2</span></span><span class="insert">.  The </span><a><span class="insert">merge</span></a><span class="insert"> of
-    these two statements (describing the same activity </span><span class="name"><span class="insert">a</span></span><span class="insert">) is </span><span class="name"><span class="insert">activity(a,2011-11-16T16:00:00,2011-11-16T18:00:00,[a=1,b=2])</span></span><span class="insert">.  </span></p>
-
-    <p> <dfn id="dfn-merging"><span class="insert">Merging</span></dfn><span class="insert"> is an operation that can be applied
-   to a pair of terms, or a pair of attribute lists.
-   The result of merging is either a substitution (mapping
-   existentially quantified variables to terms) or failure, indicating that the merge
-   cannot be performed.  Merging of pairs of terms, attribute lists,
-   or statements is defined as follows.</span></p>
+    <span class="name">activity(a,2011-11-16T16:00:00,_t1,[a=1])</span> and <span class="name">activity(a,_t2,2011-11-16T18:00:00,[b=2])</span>, with existential variables <span class="name">_t1</span> and <span class="name">_t2</span>.  The <a>merge</a> of
+    these two statements (describing the same activity <span class="name">a</span>) is <span class="name">activity(a,2011-11-16T16:00:00,2011-11-16T18:00:00,[a=1,b=2])</span>.  </p>
+
+    <p> <span class="delete">Merging</span><dfn id="dfn-unification"><span class="insert">Unification</span></dfn> is an operation that can be applied
+   to a pair of <span class="delete">terms, or a pair of attribute lists.</span><span class="insert">terms.</span>
+   The result of <span class="delete">merging</span><span class="insert">unification</span> is either a <dfn id="dfn-unifier"><span class="insert">unifier</span></dfn><span class="insert">, that is,
+   a </span>substitution <span class="delete">(mapping</span><span class="math"><span class="insert">S</span></span><span class="insert"> such that </span><span class="math"><span class="insert">S(t)</span>
+   <span class="delete">existentially quantified variables to terms)</span><span class="insert">= S(t')</span></span><span class="insert">,</span> or failure, indicating 
+   that <span class="delete">the merge
+   cannot be performed.  Merging</span><span class="insert">there is no </span><a href="#dfn-unifier" class="internalDFN"><span class="insert">unifier</span></a><span class="insert">. Unification</span> of pairs of <span class="delete">terms, attribute lists,
+   or statements</span><span class="insert">terms</span> is defined as follows.</p>
 
     <ul>
-      <li><span class="insert"> If </span><span class="name"><span class="insert">t</span></span><span class="insert"> and </span><span class="name"><span class="insert">t'</span></span><span class="insert"> are constant identifiers or values
-      (including the placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">), then
-   their </span><a><span class="insert">merge</span></a><span class="insert"> exists only if they are equal, otherwise merging
-fails.  </span></li>
-   <li><span class="insert"> If </span><span class="name"><span class="insert">x</span></span><span class="insert"> is an existential variable
+      <li> If <span class="name">t</span> and <span class="name">t'</span> are constant identifiers or values
+      (including the placeholder <span class="name">-</span>), then
+   <span class="insert">
+      there are two cases.  If </span><span class="name"><span class="insert">t = t'</span></span><span class="insert"> then </span>their <span class="delete">merge</span><span class="delete"> exists only if they are equal,</span><a href="#dfn-unifier" class="internalDFN"><span class="insert">unifier</span></a><span class="insert"> is the
+      empty substitution,</span> otherwise <span class="delete">merging</span><span class="insert">unification</span>
+fails.  </li>
+   <li> If <span class="name">x</span> is an existential variable
       and 
-   </span><span class="name"><span class="insert">t'</span></span><span class="insert"> is any term (identifier, constant,
-      placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">, or
+   <span class="name">t'</span> is any term (identifier, constant,
+      placeholder <span class="name">-</span>, or
       existential variable), then their
-   </span><a><span class="insert">merge</span></a><span class="insert"> is </span><span class="name"><span class="insert">t'</span></span><span class="insert">, and the resulting substitution is
-      </span><span class="name"><span class="insert">[x=t']</span></span><span class="insert">.  In the special case where </span><span class="name"><span class="insert">t'=x</span></span><span class="insert">, the merge is
-      </span><span class="name"><span class="insert">x</span></span><span class="insert"> and the resulting substitution is empty.</span></li>
-         <li><span class="insert"> If </span><span class="name"><span class="insert">t</span></span><span class="insert"> is any term (identifier, constant,
-      placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">, or
+   <span class="delete">merge</span><span class="delete"> is </span><span class="delete">t'</span><span class="delete">, and the resulting substitution</span><a href="#dfn-unifier" class="internalDFN"><span class="insert">unifier</span></a> is
+      <span class="name">[x=t']</span>.  In the special case where 
+      <span class="name">t'=x</span>, the<span class="delete"> merge</span>  <a href="#dfn-unifier" class="internalDFN"><span class="insert">unifier</span></a> is
+      <span class="delete">x</span><span class="delete"> and the resulting substitution is empty.</span><span class="insert"> the empty substitution.</span></li>
+         <li> If <span class="name">t</span> is any term (identifier, constant,
+      placeholder <span class="name">-</span>, or
       existential variable) and
-   </span><span class="name"><span class="insert">x'</span></span><span class="insert"> is an existential variable, then their
-      merge is the same as the merge of </span><span class="name"><span class="insert">x</span></span><span class="insert"> and </span><span class="name"><span class="insert">t</span></span><span class="insert">.</span></li>
-  <li><span class="insert"> The </span><a><span class="insert">merge</span></a><span class="insert"> of two attribute lists  </span><span class="name"><span class="insert">attrs1</span></span><span class="insert"> and  </span><span class="name"><span class="insert">attrs2</span></span><span class="insert">
-   is their union, considered as sets of key-value pairs, written  </span><span class="name"><span class="insert">attrs1 ∪ attrs2</span></span><span class="insert">.  Duplicate keys with
+   <span class="name">x'</span> is an existential variable, then their
+      <span class="delete">merge</span><a href="#dfn-unifier" class="internalDFN"><span class="insert">unifier</span></a> is the same as the <span class="delete">merge</span><a href="#dfn-unifier" class="internalDFN"><span class="insert">unifier</span></a> of <span class="name">x</span> 
+      and <span class="name">t</span>.</li>
+  <span class="delete"> The </span><span class="delete">merge</span><span class="delete"> of two attribute lists  </span><span class="delete">attrs1</span><span class="delete"> and  </span><span class="delete">attrs2</span>
+   
+      </ul>
+      
+
+
+<div class="remark"><span class="insert">Unification </span>is <span class="delete">their union, considered as sets of key-value pairs, written  </span><span class="delete">attrs1 ∪ attrs2</span><span class="delete">.  Duplicate keys</span><span class="insert">analogous to unification in
+  logic programming and theorem proving, restricted to flat terms</span> with<span class="delete">
       different  are
-      allowed, but equal key-value pairs are merged.</span></li>
-</ul>
-
-
-<div class="remark"><span class="insert">Merging for terms is analogous to unification in
+      allowed,</span><span class="insert">
+constants and variables</span> but<span class="delete"> equal key-value pairs are merged.</span>
+
+
+
+<span class="delete">Merging for terms is analogous to unification in
   logic programming and theorem proving, restricted to flat terms with
-  no function symbols.  No occurs check is needed because there are no
-  function symbols.</span></div>
-
-  <p><span class="delete"> We assume </span><span class="insert">
+  </span>   no function symbols.  No occurs check is needed because there are no
+  function symbols.</div>
+
+  <p>
 A typical uniqueness constraint is as follows:
-  </span></p>
-  <div class="constraint-example" id="uniqueness-example"><div class="ruleTitle"><a class="internalDFN" href="#uniqueness-example"><span class="insert">Constraint-example NNN (uniqueness-example)</span></a></div>
-<p>    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">hyp</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and </span><span class="name"><span class="insert">hyp</span><sub><span class="insert">n</span></sub></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">t</span><sub><span class="insert">1</span></sub></span><span class="insert"> = </span><span class="name"><span class="insert">u</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and </span><span class="name"><span class="insert">t</span><sub><span class="insert">n</span></sub></span><span class="insert"> = </span><span class="name"><span class="insert">u</span><sub><span class="insert">n</span></sub></span><span class="insert">.</span></p>
+  </p>
+  <div class="constraint-example" id="uniqueness-example"><div class="ruleTitle"><a class="internalDFN" href="#uniqueness-example">Constraint-example NNN (uniqueness-example)</a></div>
+<p>    <span class="conditional">IF</span> <span class="name">hyp<sub>1</sub></span> and ... and <span class="name">hyp<sub>n</sub></span> <span class="conditional">THEN</span> <span class="name">t<sub>1</sub></span> = <span class="name">u<sub>1</sub></span> and ... and <span class="name">t<sub>n</sub></span> = <span class="name">u<sub>n</sub></span>.</p>
   </div>
 
-  <p><span class="insert"> Such a constraint is enforced as follows:</span></p>
-  <ol> <li><span class="insert">Suppose PROV instance </span><span class="math"><span class="insert">I</span></span><span class="insert"> contains all of the hypotheses
-  </span><span class="name"><span class="insert">hyp</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and </span><span class="name"><span class="insert">hyp</span><sub><span class="insert">n</span></sub></span><span class="insert">.
-    </span></li>
-    <li><span class="insert">Attempt to merge all of the equated terms in the conclusion
-  </span><span class="name"><span class="insert">t</span><sub><span class="insert">1</span></sub></span><span class="insert"> = </span><span class="name"><span class="insert">u</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and </span><span class="name"><span class="insert">t</span><sub><span class="insert">n</span></sub></span><span class="insert"> = </span><span class="name"><span class="insert">u</span><sub><span class="insert">n</span></sub></span><span class="insert">.
-    </span></li>
-    <li><span class="insert">If merging fails, then the constraint
-  is unsatisfiable, so application of the constraint to </span><span class="math"><span class="insert">I</span></span><span class="insert">
-  fails. If this failure occurs during </span><a><span class="insert">normalization</span></a><span class="insert"> prior to
-validation, then </span><span class="math"><span class="insert">I</span></span><span class="insert"> is invalid, as explained in </span><a href="#normalization-validity-equivalence"><span class="insert">Section 6</span></a><span class="insert">.
-    </span></li>
-  <li><span class="insert">If merging succeeds with a substitution </span><span class="math"><span class="insert">S</span></span><span class="insert">, then
-  </span><span class="math"><span class="insert">S</span></span><span class="insert"> is applied to the instance </span><span class="math"><span class="insert">I</span></span><span class="insert">, yielding result </span><span class="math"><span class="insert">S(I)</span></span><span class="insert">.</span></li>
+  <p> Such a constraint is enforced as follows:</p>
+  <ol> <li>Suppose PROV instance <span class="math">I</span> contains all of the hypotheses
+  <span class="name">hyp<sub>1</sub></span> and ... and <span class="name">hyp<sub>n</sub></span>.
+    </li>
+    <li>Attempt to <span class="delete">merge</span><span class="insert">unify</span> all of the equated terms in the conclusion
+  <span class="name">t<sub>1</sub></span> = <span class="name">u<sub>1</sub></span> and ... and <span class="name">t<sub>n</sub></span> = <span class="name">u<sub>n</sub></span>.
+    </li>
+    <li>If <span class="delete">merging</span><span class="insert">unification</span> fails, then the constraint
+  is unsatisfiable, so application of the constraint to <span class="math">I</span>
+  fails. If this failure occurs during <a>normalization</a> prior to
+validation, then <span class="math">I</span> is invalid, as explained in <a href="#normalization-validity-equivalence">Section 6</a>.
+    </li>
+  <li>If <span class="delete">merging</span><span class="insert">unification</span> succeeds with a substitution <span class="math">S</span>, then
+  <span class="math">S</span> is applied to the instance <span class="math">I</span>, yielding result <span class="math">S(I)</span>.</li>
   </ol>
   
-<p>  <em><dfn id="dfn-key-constraints"><span class="insert">Key constraints</span></dfn></em><span class="insert"> are uniqueness constraints
-  </span>that <span class="delete">the various identified objects</span><span class="insert">specify that a particular key field</span> of <span class="delete">PROV-DM have
-  unique statements describing them within </span>a <span class="delete">PROV instance.</span><span class="insert">relation uniquely
-  determines the other parameters.  Key constraints are written as follows:</span>
+<p>  <em><dfn id="dfn-key-constraints">Key constraints</dfn></em> are uniqueness constraints
+  that specify that a particular key field of a relation uniquely
+  determines the other parameters.  Key constraints are written as follows:
   </p>
-  
-<span class="delete">Given an entity identifier </span><span class="delete">e</span><span class="delete">, there is at
-  most one expression 
-</span><span class="delete">entity(e,attrs)</span><span class="delete">, where </span><span class="delete">attrs</span><span class="delete"> is some set of attribute-values.</span>
-    
-  
-<span class="delete">Given an activity identifier </span><span class="delete">a</span><span class="delete">, there is
-  at most one expression 
-</span><span class="delete">activity(a,t1,t2,attrs)</span><span class="delete">, where </span><span class="delete">attrs</span><span class="delete"> is some set of attribute-values.</span>
-    
-
-  <div class="constraint-example" id="key-example"><div class="ruleTitle"><a class="internalDFN" href="#key-example"><span class="insert">Constraint-example NNN (key-example)</span></a></div>
-    <span class="delete">TODO: Same goes</span><p><span class="insert">The </span><span class="name"><span class="insert">a</span><sub><span class="insert">k</span></sub></span><span class="insert"> field is a </span><span class="conditional"><span class="insert">KEY</span></span> for <span class="insert">relation </span><span class="name"><span class="insert">r(a</span><sub><span class="insert">0</span></sub><span class="insert">; a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span><span class="insert">.  </span></p></div>
-
- <p><span class="insert"> Because of the presence of attributes, key constraints do not
+
+  <div class="constraint-example" id="key-example"><div class="ruleTitle"><a class="internalDFN" href="#key-example">Constraint-example NNN (key-example)</a></div>
+    <p>The <span class="name">a<sub>k</sub></span> field is a <span class="conditional">KEY</span> for relation <span class="name">r(a<sub>0</sub>; a<sub>1</sub>,...,a<sub>n</sub>)</span>.  </p></div>
+
+ <p> Because of the presence of attributes, key constraints do not
   reduce directly to uniqueness constraints.  Instead, we enforce key
-  constraints as follows.  </span></p>
+  constraints <span class="delete">as follows.</span><span class="insert">using the following </span><dfn id="dfn-merging"><span class="insert">merging</span></dfn><span class="insert"> process.</span>  </p>
   <ol>
-    <li><span class="insert"> Suppose </span><span class="name"><span class="insert">r(a</span><sub><span class="insert">0</span></sub><span class="insert">; a</span><sub><span class="insert">1</span></sub><span class="insert">,...a</span><sub><span class="insert">n</span></sub><span class="insert">,attrs1)</span></span><span class="insert"> and </span><span class="name"><span class="insert">r(b</span><sub><span class="insert">0</span></sub><span class="insert">; b</span><sub><span class="insert">1</span></sub><span class="insert">,...b</span><sub><span class="insert">n</span></sub><span class="insert">,attrs2)</span></span><span class="insert"> hold in PROV instance </span><span class="math"><span class="insert">I</span></span><span class="insert">, where the key fields </span><span class="name"><span class="insert">a</span><sub><span class="insert">k</span></sub><span class="insert"> = b</span><sub><span class="insert">k</span></sub></span><span class="insert"> are equal.</span></li>
-  <li><span class="insert"> Attempt to merge </span>all <span class="insert">of the corresponding parameters  </span><span class="name"><span class="insert">a</span><sub><span class="insert">0</span></sub><span class="insert"> = b</span><sub><span class="insert">0</span></sub> </span><span class="insert"> and ... and  </span><span class="name"><span class="insert">a</span><sub><span class="insert">n</span></sub><span class="insert"> = b</span><sub><span class="insert">n</span></sub></span><span class="insert">.
-  </span></li>
-  <li><span class="insert">If merging fails, then the constraint is unsatisfiable, so
-  application of the key constraint to </span><span class="math"><span class="insert">I</span></span><span class="insert"> fails.
-  </span></li>
-  <li><span class="insert">If merging succeeds with substitution </span><span class="math"><span class="insert">S</span></span><span class="insert">, then we remove </span><span class="name"><span class="insert">r(a</span><sub><span class="insert">0</span></sub><span class="insert">; a</span><sub><span class="insert">1</span></sub><span class="insert">,...a</span><sub><span class="insert">n</span></sub><span class="insert">,attrs1)</span></span><span class="insert"> and </span><span class="name"><span class="insert">r(b</span><sub><span class="insert">0</span></sub><span class="insert">; b</span><sub><span class="insert">1</span></sub><span class="insert">,...b</span><sub><span class="insert">n</span></sub><span class="insert">,attrs2)</span></span><span class="insert"> from </span><span class="math"><span class="insert">I</span></span><span class="insert">, obtaining
-  instance </span><span class="math"><span class="insert">I'</span></span><span class="insert">, and return instance  </span><span class="name"><span class="insert">{r(S(a</span><sub><span class="insert">0</span></sub><span class="insert">); S(a</span><sub><span class="insert">1</span></sub><span class="insert">),...S(a</span><sub><span class="insert">n</span></sub><span class="insert">),attrs1 ∪
-  attrs2)}</span></span><span class="insert">  ∪ </span><span class="math"><span class="insert">S(I')</span></span><span class="insert">.
-    </span></li></ol>
+    <li> Suppose <span class="name">r(a<sub>0</sub>; a<sub>1</sub>,...a<sub>n</sub>,attrs1)</span> and <span class="name">r(b<sub>0</sub>; b<sub>1</sub>,...b<sub>n</sub>,attrs2)</span> hold in PROV instance <span class="math">I</span>, where the key fields <span class="name">a<sub>k</sub> = b<sub>k</sub></span> are equal.</li>
+  <li> Attempt to <span class="delete">merge</span><span class="insert">unify</span> all of the corresponding parameters  <span class="name">a<sub>0</sub> = b<sub>0</sub> </span> and ... and  <span class="name">a<sub>n</sub> = b<sub>n</sub></span>.
+  </li>
+  <li>If <span class="delete">merging</span><span class="insert">unification</span> fails, then the constraint is unsatisfiable, so
+  application of the key constraint to <span class="math">I</span> fails.
+  </li>
+  <li>If <span class="delete">merging</span><span class="insert">unification</span> succeeds with substitution <span class="math">S</span>, then we remove <span class="name">r(a<sub>0</sub>; a<sub>1</sub>,...a<sub>n</sub>,attrs1)</span> and <span class="name">r(b<sub>0</sub>; b<sub>1</sub>,...b<sub>n</sub>,attrs2)</span> from <span class="math">I</span>, obtaining
+  instance <span class="math">I'</span>, and return instance  <span class="name">{r(S(a<sub>0</sub>); S(a<sub>1</sub>),...S(a<sub>n</sub>),attrs1 ∪
+  attrs2)}</span>  ∪ <span class="math">S(I')</span>.
+    </li></ol>
 
     
-<p><span class="insert">Thus, if a PROV instance contains an apparent violation of a uniqueness
-  constraint or key constraint, merging can be used to determine
+
+
+
+    
+<p>Thus, if a PROV instance contains an apparent violation of a uniqueness
+  constraint or key constraint,<span class="insert"> unification or</span> merging can be used to determine
   whether the constraint can be satisfied by instantiating some existential
-  variables with </span>other <span class="delete">objects:
-  agent, note, generation, usage, invalidation, start, end,
-  communication, start by, attribution, association, responsibility, 
-  derivation, revision, quotation.</span><span class="insert">terms.</span>  <span class="delete">We should find</span><span class="insert">For key constraints, this is the same
+  variables with other terms.  For key constraints, this is the same
   as merging pairs of statements whose keys are equal and whose
   corresponding arguments are compatible, because after
-  merging respective arguments and attribute lists, the two statements
-  become equal and one can be omitted. </span></p>
+  <span class="delete">merging</span><span class="insert">unifying</span> respective arguments and<span class="insert"> combining</span> attribute lists, the two statements
+  become equal and one can be omitted. </p>
   
 
 
@@ -3761,75 +3400,72 @@
 <p>
 </p><hr>
 
-  <p id="key-object_text"><span class="insert">The various identified objects of PROV </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> have
-  unique statements describing them within</span> a<span class="delete">
-  way</span><span class="insert"> valid PROV instance.
+  <p id="key-object_text">The various identified objects of PROV <em class="rfc2119" title="must">must</em> have
+  unique statements describing them within a valid PROV instance.
   This is enforced through
   the following key constraints:
-  </span></p>
-  <div class="constraint" id="key-object"><div class="ruleTitle"><a class="internalDFN" href="#key-object"><span class="insert">Constraint 23 (key-object)</span></a></div>
+  </p>
+  <div class="constraint" id="key-object"><div class="ruleTitle"><a class="internalDFN" href="#key-object">Constraint 23 (key-object)</a></div>
 <p></p><ol>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">e</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">entity(e,attrs)</span></span><span class="insert"> statement.
-  </span></li>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">a</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the  </span><span class="name"><span class="insert">activity(a,t1,t2,attrs)</span></span><span class="insert"> statement.
-   </span></li>
-<li><span class="insert">The identifier field </span><span class="name"><span class="insert">ag</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the  </span><span class="name"><span class="insert">agent(ag,attrs)</span></span><span class="insert"> statement.
-  </span></li>
+  <li>The identifier field <span class="delete">e</span><a href="http://www.w3.org/TR/prov-dm/#entity.id"><span class="name"><span class="insert">id</span></span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name"><span class="delete">entity(e,attrs)</span><span class="insert">entity(id,attrs)</span></span> statement.
+  </li>
+  <li>The identifier field <span class="delete">a</span><a href="http://www.w3.org/TR/prov-dm/#activity.id"><span class="name"><span class="insert">id</span></span></a> is a <span class="conditional">KEY</span> for
+  the  <span class="name"><span class="delete">activity(a,t1,t2,attrs)</span><span class="insert">activity(id,t1,t2,attrs)</span></span> statement.
+   </li>
+<li>The identifier field <span class="delete">ag</span><a href="http://www.w3.org/TR/prov-dm/#agent.id"><span class="name"><span class="insert">id</span></span></a> is a <span class="conditional">KEY</span> for
+  the  <span class="name"><span class="delete">agent(ag,attrs)</span><span class="insert">agent(id,attrs)</span></span> statement.
+  </li>
   </ol>
    </div>
 
    <hr>
-   <p id="key-properties_text"><span class="insert"> Likewise, the statements
+   <p id="key-properties_text"> Likewise, the statements
 in a valid PROV instance must provide consistent information about
    each identified object or relationship. The following key
-   constraints require that all</span> of <span class="delete">saying this once concisely.
-      </span><span class="insert">the information about each identified
+   constraints require that all of the information about each identified
    statement can be merged into a single, consistent statement:
-  </span></p>
-  <div class="constraint" id="key-properties"><div class="ruleTitle"><a class="internalDFN" href="#key-properties"><span class="insert">Constraint 24 (key-properties)</span></a></div>
+  </p>
+  <div class="constraint" id="key-properties"><div class="ruleTitle"><a class="internalDFN" href="#key-properties">Constraint 24 (key-properties)</a></div>
+<p></p><ol>
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#generation.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">wasGeneratedBy(id; e,a,t,attrs)</span> statement.
+  </li>
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#usage.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">used(id; a,e,t,attrs)</span> statement.
+  </li>
+ <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#communication.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">wasInformedBy(id; a2,a1,attrs)</span> statement.
+  </li>
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#start.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">wasStartedBy(id; a2,e,a1,t,attrs)</span> statement.
+  </li>
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#end.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">wasEndedBy(id; a2,e,a1,t,attrs)</span> statement.
+  </li>
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#invalidation.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">wasInvalidatedBy(id; e,a,t,attrs)</span> statement.
+  </li>
+
   
-
-<p><span class="delete">We assume that an</span></p><ol>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">wasGeneratedBy(id; e,a,t,attrs)</span></span><span class="insert"> statement.
-  </span></li>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">used(id; a,e,t,attrs)</span></span><span class="insert"> statement.
-  </span></li>
- <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">wasInformedBy(id; a2,a1,attrs)</span></span><span class="insert"> statement.
-  </span></li>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">wasStartedBy(id; a2,e,a1,t,attrs)</span></span><span class="insert"> statement.
-  </span></li>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">wasEndedBy(id; a2,e,a1,t,attrs)</span></span><span class="insert"> statement.
-  </span></li>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">wasInvalidatedBy(id; e,a,t,attrs)</span></span><span class="insert"> statement.
-  </span></li>
-
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">wasDerivedFrom(id;  e2, e1, a, g2, u1, attrs)</span></span><span class="insert"> statement.
-  </span></li>
- <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">wasAttributedTo(id; e,ag,attr)</span></span><span class="insert"> statement.
-  </span></li>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">wasAssociatedWith(id; a,ag,pl,attrs)</span></span><span class="insert"> statement.
- </span></li>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">wasAssociatedWith(id; a,ag,-,attrs)</span></span><span class="insert"> statement.
-  </span></li>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">actedOnBehalfOf(id; ag2,ag1,a,attrs)</span></span><span class="insert"> statement.
-  </span></li>
-  <li><span class="insert">The identifier field </span><span class="name"><span class="insert">id</span></span><span class="insert"> is a </span><span class="conditional"><span class="insert">KEY</span></span><span class="insert"> for
-  the </span><span class="name"><span class="insert">wasInfluencedBy(id; o2,o1,attrs)</span></span><span class="insert"> statement.
-  </span></li>
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#derivation.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">wasDerivedFrom(id;  e2, e1, a, g2, u1, attrs)</span> statement.
+  </li>
+ <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#attribution.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">wasAttributedTo(id; e,ag,attr)</span> statement.
+  </li>
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#association.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">wasAssociatedWith(id; a,ag,pl,attrs)</span> statement.
+ </li>
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#association.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">wasAssociatedWith(id; a,ag,-,attrs)</span> statement.
+  </li>
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#delegation.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">actedOnBehalfOf(id; ag2,ag1,a,attrs)</span> statement.
+  </li>
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#influence.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
+  the <span class="name">wasInfluencedBy(id; o2,o1,attrs)</span> statement.
+  </li>
 </ol>
    </div>
 
@@ -3839,45 +3475,20 @@
 
 
 <div id="unique-generation_text">
-<p><span class="insert"> Entities may have multiple generation or invalidation events
-  (either or both may, however, be left implicit).  An</span> entity <span class="delete">has exactly</span><span class="insert">can be
-  generated by more than</span> one <span class="insert">activity, with one </span>generation <span class="delete">and
-invalidation </span>event <span class="delete">(either or both may, however,</span><span class="insert">per
-  each entity-activity pair.  These events must</span> be <span class="delete">left implicit).
-So, PROV-DM allows for two distinct </span><span class="delete">generations</span>  <span class="delete">g1</span><span class="delete"> and </span><span class="delete">g2</span><span class="delete"> referencing the same entity provided they occur
-</span><span class="delete">simultaneously</span><span class="insert">simultaneous, as required by </span><a class="rule-ref" href="#generation-generation-ordering"><span><span class="insert">Constraint 41 (generation-generation-ordering)</span></span></a><span class="insert">
-  and </span><a class="rule-ref" href="#invalidation-invalidation-ordering"><span><span class="insert">Constraint 42 (invalidation-invalidation-ordering)</span></span></a>.<span class="delete"> 
-This implies that the two generation events are actually the same and
-caused by the same </span><span class="delete">activity</span><span class="delete">, though  provenance may contain
-several  statements for the same world activity. 
-</span>
+<p> Entities may have multiple generation or invalidation events
+  (either or both may, however, be left implicit).  An entity can be
+  generated by more than one activity, with one generation event per
+  each entity-activity pair.  These events must be simultaneous, as required by <a class="rule-ref" href="#generation-generation-ordering"><span>Constraint 41 (generation-generation-ordering)</span></a>
+  and <a class="rule-ref" href="#invalidation-invalidation-ordering"><span>Constraint 42 (invalidation-invalidation-ordering)</span></a>.
 
 </p>
 </div>
 
 
-<span class="delete">Given an entity denoted by </span><span class="delete">e</span><span class="delete">, two activities denoted by </span><span class="delete">a1</span><span class="delete"> and </span><span class="delete">a2</span><span class="delete">, two time instants  </span><span class="delete">t1</span><span class="delete"> and </span><span class="delete">t2</span><span class="delete">, and two sets of attribute-value pairs </span><span class="delete">attrs1</span><span class="delete"> and </span><span class="delete">attrs2</span><span class="delete">,</span><div class="constraint" id="unique-generation"><div class="ruleTitle"><a class="internalDFN" href="#unique-generation"><span class="insert">Constraint 25 (unique-generation)</span></a></div>
+<div class="constraint" id="unique-generation"><div class="ruleTitle"><a class="internalDFN" href="#unique-generation">Constraint 25 (unique-generation)</a></div>
 <p>
-<span class="conditional">IF</span> <span class="name"><span class="delete">wasGeneratedBy(id1, e, a1, t1, attrs1)</span><span class="delete"> and </span><span class="delete">wasGeneratedBy(id2, e, a2, t2, attrs2)</span><span class="delete"> exist,</span><span class="insert">wasGeneratedBy(gen1; e,a,_t1,_attrs1)</span></span><span class="insert"> and </span><span class="name"><span class="insert">wasGeneratedBy(gen2; e,a,_t2,_attrs2)</span></span><span class="insert">,</span>
-<span class="conditional">THEN</span> <span class="name"><span class="delete">id1</span><span class="insert">gen1</span></span> =<span class="delete">id2</span><span class="delete">, </span><span class="delete">a1</span><span class="delete">=</span><span class="delete">a2</span><span class="delete">, </span><span class="delete">t1</span><span class="delete">=</span><span class="delete">t2</span><span class="delete">  and </span><span class="delete">attrs1</span><span class="delete">=</span><span class="delete">attrs2</span> <span class="name"><span class="insert">gen2</span></span>.
- 
-
-<span class="delete">
-Wouldn't the above constraint violate uniqueness?
-</span>
-
-<span class="delete">
-Invalidation uniqueness?
-</span>
-
-<span class="delete">A generation can be used to indicate a generation time without having to specify the involved activity.  A generation time is unique, as specified by the following constraint.</span></p> 
-<span class="delete">
-Seems redundant given generation-uniqueness
-</span>
-<span class="delete">
-Given an entity denoted by </span><span class="delete">e</span><span class="delete"> and 
-two time instants  </span><span class="delete">t1</span><span class="delete"> and </span><span class="delete">t2</span><span class="delete">,
-</span><span class="delete">IF</span> <span class="delete">wasGeneratedBy(e, -, t1)</span><span class="delete"> and </span><span class="delete">wasGeneratedBy(e, -, t2)</span><span class="delete"> hold, </span><span class="delete">THEN</span> <span class="delete">t1</span><span class="delete">=</span><span class="delete">t2</span><span class="delete">.</span>
+<span class="conditional">IF</span> <span class="name">wasGeneratedBy(gen1; e,a,_t1,_attrs1)</span> and <span class="name">wasGeneratedBy(gen2; e,a,_t2,_attrs2)</span>,
+<span class="conditional">THEN</span> <span class="name">gen1</span> = <span class="name">gen2</span>.</p>
 </div> 
 
 <p>
@@ -3885,34 +3496,34 @@
 </p><hr>
 <p id="unique-invalidation_text">
 
-</p><div class="constraint" id="unique-invalidation"><div class="ruleTitle"><a class="internalDFN" href="#unique-invalidation"><span class="insert">Constraint 26 (unique-invalidation)</span></a></div>
+</p><div class="constraint" id="unique-invalidation"><div class="ruleTitle"><a class="internalDFN" href="#unique-invalidation">Constraint 26 (unique-invalidation)</a></div>
 <p>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasInvalidatedBy(inv1; e,a,_t1,_attrs1)</span></span><span class="insert"> and </span><span class="name"><span class="insert">wasInvalidatedBy(inv2; e,a,_t2,_attrs2)</span></span><span class="insert">,
-</span><span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">inv1</span></span><span class="insert"> = </span><span class="name"><span class="insert">inv2</span></span><span class="insert">.</span></p>
+<span class="conditional">IF</span> <span class="name">wasInvalidatedBy(inv1; e,a,_t1,_attrs1)</span> and <span class="name">wasInvalidatedBy(inv2; e,a,_t2,_attrs2)</span>,
+<span class="conditional">THEN</span> <span class="name">inv1</span> = <span class="name">inv2</span>.</p>
 </div> 
 
 
-<div class="remark"> <p><span class="insert"> It follows from the above uniqueness and key
+<div class="remark"> <p> It follows from the above uniqueness and key
   constraints that the generation and invalidation events linking an
   entity and activity are unique, if specified.  However, because we
   apply the constraints by merging, it is possible for a valid PROV instance
 to contain multiple statements about the same generation or
-  invalidation event, for example:</span></p>
-  <pre><span class="insert">wasGeneratedBy(id1; e,a,-,[prov:location="Paris"])
+  invalidation event, for example:</p>
+  <pre>wasGeneratedBy(id1; e,a,-,[prov:location="Paris"])
 wasGeneratedBy(-; e,a,-,[color="Red"])
-</span></pre>
-<p><span class="insert">  When the uniqueness and key constraints are applied, the instance is
-  </span><a title="normal form" href="#dfn-normal-form" class="internalDFN"><span class="insert">normalized</span></a><span class="insert"> to the following form:</span></p>
-  <pre><span class="insert">wasGeneratedBy(id1; e,a,_t,[prov:location="Paris",color="Red"])
-</span></pre>
-<p><span class="insert">
-  where </span><span class="name"><span class="insert">_t</span></span><span class="insert"> is a new existential variable.
-  </span></p>
+</pre>
+<p>  When the uniqueness and key constraints are applied, the instance is
+  <a title="normal form" href="#dfn-normal-form" class="internalDFN">normalized</a> to the following form:</p>
+  <pre>wasGeneratedBy(id1; e,a,_t,[prov:location="Paris",color="Red"])
+</pre>
+<p>
+  where <span class="name">_t</span> is a new existential variable.
+  </p>
 </div>
 
 
 <hr>
-<p id="unique-wasStartedBy_text"><span class="insert">
+<p id="unique-wasStartedBy_text">
 An activity may have more than one start and
 end event, each having a different activity (either or both may,
 however, be left implicit).  However,
@@ -3920,20 +3531,20 @@
 That is, an activity may be started by
 several other activities, with shared or separate triggering
 entities.  If an activity is started or ended by multiple events, they must all
-be simultaneous, as specified in </span><a class="rule-ref" href="#start-start-ordering"><span><span class="insert">Constraint 33 (start-start-ordering)</span></span></a><span class="insert">
-and </span><a class="rule-ref" href="#end-end-ordering"><span><span class="insert">Constraint 34 (end-end-ordering)</span></span></a><span class="insert">.
-</span></p>
-
-<div class="constraint" id="unique-wasStartedBy"><div class="ruleTitle"><a class="internalDFN" href="#unique-wasStartedBy"><span class="insert">Constraint 27 (unique-wasStartedBy)</span></a></div>
+be simultaneous, as specified in <a class="rule-ref" href="#start-start-ordering"><span>Constraint 33 (start-start-ordering)</span></a>
+and <a class="rule-ref" href="#end-end-ordering"><span>Constraint 34 (end-end-ordering)</span></a>.
+</p>
+
+<div class="constraint" id="unique-wasStartedBy"><div class="ruleTitle"><a class="internalDFN" href="#unique-wasStartedBy">Constraint 27 (unique-wasStartedBy)</a></div>
 <p>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasStartedBy(start1; a,_e1,a0,_t1,_attrs1)</span></span><span class="insert"> and </span><span class="name"><span class="insert">wasStartedBy(start2; a,_e2,a0,_t2,_attrs2)</span></span><span class="insert">,  </span><span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">start1</span></span><span class="insert"> = </span><span class="name"><span class="insert">start2</span></span><span class="insert">.</span></p>
+<span class="conditional">IF</span> <span class="name">wasStartedBy(start1; a,_e1,a0,_t1,_attrs1)</span> and <span class="name">wasStartedBy(start2; a,_e2,a0,_t2,_attrs2)</span>,  <span class="conditional">THEN</span> <span class="name">start1</span> = <span class="name">start2</span>.</p>
 </div> 
 
 <p id="unique-wasEndedBy_text">
 
-</p><div class="constraint" id="unique-wasEndedBy"><div class="ruleTitle"><a class="internalDFN" href="#unique-wasEndedBy"><span class="insert">Constraint 28 (unique-wasEndedBy)</span></a></div>
+</p><div class="constraint" id="unique-wasEndedBy"><div class="ruleTitle"><a class="internalDFN" href="#unique-wasEndedBy">Constraint 28 (unique-wasEndedBy)</a></div>
 <p>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">wasEndedBy(end1; a,_e1,a0,_t1,_attrs1)</span></span><span class="insert"> and </span><span class="name"><span class="insert">wasEndedBy(end2; a,_e2,a0,_t2,_attrs2)</span></span><span class="insert">,  </span><span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">end1</span></span><span class="insert"> = </span><span class="name"><span class="insert">end2</span></span><span class="insert">.</span></p>
+<span class="conditional">IF</span> <span class="name">wasEndedBy(end1; a,_e1,a0,_t1,_attrs1)</span> and <span class="name">wasEndedBy(end2; a,_e2,a0,_t2,_attrs2)</span>,  <span class="conditional">THEN</span> <span class="name">end1</span> = <span class="name">end2</span>.</p>
 </div> 
 
 
@@ -3946,9 +3557,9 @@
  <p id="unique-startTime_text">An <a href="#dfn-start-event" class="internalDFN">activity start event</a> is the <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> that marks the instant an activity starts. It allows for an optional time attribute.  <span id="optional-start-time">Activities also allow for an optional start time attribute.  If both are specified, they <em class="rfc2119" title="must">must</em> be the same, as expressed by the following constraint.</span>
 </p>
 
-<div class="constraint" id="unique-startTime"><div class="ruleTitle"><a class="internalDFN" href="#unique-startTime"><span class="insert">Constraint 29 (unique-startTime)</span></a></div>
+<div class="constraint" id="unique-startTime"><div class="ruleTitle"><a class="internalDFN" href="#unique-startTime">Constraint 29 (unique-startTime)</a></div>
 <p>
-<span class="conditional">IF</span> <span class="name"><span class="delete">activity(a,t1,t2,-)</span><span class="delete"> and </span><span class="delete">wasStartedBy(id,a,e,t,-)</span><span class="insert">activity(a2,t1,_t2,_attrs)</span></span><span class="insert"> and </span><span class="name"><span class="insert">wasStartedBy(_start; a2,_e,_a1,t,_attrs)</span></span>,  <span class="conditional">THEN</span> <span class="name"><span class="insert">t1</span></span><span class="insert">=</span><span class="name">t</span><span class="delete">=</span><span class="delete">t1</span>.</p>
+<span class="conditional">IF</span> <span class="name">activity(a2,t1,_t2,_attrs)</span> and <span class="name">wasStartedBy(_start; a2,_e,_a1,t,_attrs)</span>,  <span class="conditional">THEN</span> <span class="name">t1</span>=<span class="name">t</span>.</p>
 </div> 
 
 <hr>
@@ -3956,9 +3567,9 @@
 <p id="unique-endTime_text">An <a href="#dfn-end-event" class="internalDFN">activity end event</a> is the <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> that marks the instant an activity ends. It allows for an optional time attribute.  <span id="optional-end-time">Activities also allow for an optional end time attribute.  If both are specified, they <em class="rfc2119" title="must">must</em> be the same, as expressed by the following constraint.</span>
 </p>
 
-<div class="constraint" id="unique-endTime"><div class="ruleTitle"><a class="internalDFN" href="#unique-endTime"><span class="insert">Constraint 30 (unique-endTime)</span></a></div>
+<div class="constraint" id="unique-endTime"><div class="ruleTitle"><a class="internalDFN" href="#unique-endTime">Constraint 30 (unique-endTime)</a></div>
 <p>
-<span class="conditional">IF</span> <span class="name"><span class="delete">activity(a,t1,t2,-)</span><span class="delete"> and </span><span class="delete">wasEndedBy(id,a,e,t,-)</span><span class="insert">activity(a2,_t1,t2,_attrs)</span></span><span class="insert"> and </span><span class="name"><span class="insert">wasEndedBy(_end; a2,_e,_a1,t,_attrs1)</span></span>,  <span class="conditional">THEN</span> <span class="name"><span class="insert">t2</span></span><span class="insert"> = </span><span class="name">t</span> <span class="insert">.</span></p>
+<span class="conditional">IF</span> <span class="name">activity(a2,_t1,t2,_attrs)</span> and <span class="name">wasEndedBy(_end; a2,_e,_a1,t,_attrs1)</span>,  <span class="conditional">THEN</span> <span class="name">t2</span> = <span class="name">t</span>.</p>
 </div> 
 
 <p>
@@ -3968,29 +3579,24 @@
 
 
 <div class="note">
-<p><span class="insert">Note: The following constraint is associated with a feature "</span><a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi"><span class="insert">at risk</span></a><span class="insert">" and may be removed from this specification based on feedback. Please send feedback to public-prov-comments@w3.org.</span></p>
+<p>Note: The following constraint is associated with a feature "<a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi">at risk</a>" and may be removed from this specification based on feedback. Please send feedback to public-prov-comments@w3.org.</p>
 </div>
   
 
 <div id="unique-mention_text">
-<p><span class="insert">An entity can be the subject of at most one mention relation.</span></p>
+<p>An entity can be the subject of at most one mention relation.</p>
 </div>
 
 
-<div class="constraint" id="unique-mention"><div class="ruleTitle"><a class="internalDFN" href="#unique-mention"><span class="insert">Constraint 31 (unique-mention)</span></a></div>
+<div class="constraint" id="unique-mention"><div class="ruleTitle"><a class="internalDFN" href="#unique-mention">Constraint 31 (unique-mention)</a></div>
 <p>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">mentionOf(e, e1, b1)</span></span><span class="insert"> and </span><span class="name"><span class="insert">mentionOf(e, e2, b2)</span></span><span class="insert">,
-</span><span class="conditional"><span class="insert">THEN</span></span>  <span class="name"><span class="insert">e1</span></span>= <span class="delete">t2</span><span class="name"><span class="insert">e2</span></span><span class="insert"> and </span><span class="name"><span class="insert">b1</span></span><span class="insert">=</span><span class="name"><span class="insert">b2</span></span>.</p>
+<span class="conditional">IF</span> <span class="name">mentionOf(e, e1, b1)</span> and <span class="name">mentionOf(e, e2, b2)</span>,
+<span class="conditional">THEN</span>  <span class="name">e1</span>=<span class="name">e2</span> and <span class="name">b1</span>=<span class="name">b2</span>.</p>
 </div> 
 
 
 
 
- 
-
-
-
-
 
 </div>  
 
@@ -4000,117 +3606,68 @@
 
 <p>Given that provenance consists of a description of past entities
 and activities, <a href="#dfn-valid" class="internalDFN">valid</a> provenance instances <em class="rfc2119" title="must">must</em>
-satisfy <em>ordering constraints</em> between instantaneous events, which <span class="delete">we introduce</span><span class="insert">are introduced</span> in
+satisfy <em>ordering constraints</em> between instantaneous events, which are introduced in
 this section.  For instance, an entity can only be used after it was
-generated; <span class="delete">hence, we say that</span><span class="insert">in other words,</span> an entity's <a title="entity generation
+generated; in other words, an entity's <a title="entity generation
 event" href="#dfn-generation-event" class="internalDFN">generation event</a> precedes any of this
 entity's <a title="entity usage event" href="#dfn-usage-event" class="internalDFN">usage events</a>.  Should this
 ordering constraint be violated, the associated generation and
-usage <span class="delete">could</span><span class="insert">would</span> not be credible.  The rest of this section defines
+usage would not be credible.  The rest of this section defines
 the <dfn id="dfn-temporal-interpretation">temporal interpretation</dfn> of provenance instances as a
 set of instantaneous event ordering constraints. </p>
 
 
 <p>To allow for minimalistic clock assumptions, like Lamport
-[<cite><a class="bibref" rel="biblioentry" href="#bib-CLOCK">CLOCK</a></cite>], <span class="delete">PROV-DM</span><span class="insert">PROV</span> relies on a notion of relative ordering of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous events</a>,
-without using physical clocks. This specification assumes that a <span class="delete">partial order</span><a href="#dfn-preorder" class="internalDFN"><span class="insert">preorder</span></a> exists between <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous events</a>.
+[<cite><a class="bibref" rel="biblioentry" href="#bib-CLOCK">CLOCK</a></cite>], PROV relies on a notion of relative ordering of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous events</a>,
+without using physical clocks. This specification assumes that a <a href="#dfn-preorder" class="internalDFN">preorder</a> exists between <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous events</a>.
 </p>
 
 
-<p>Specifically, <dfn id="dfn-precedes">precedes</dfn> is a <span class="delete">partial
-order </span><a href="#dfn-preorder" class="internalDFN"><span class="insert">preorder</span></a>
-between <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous events</a>.  <span class="delete">When we say</span><span class="insert">A
-constraint of the form</span>
-<span class="name">e1</span> precedes <span class="name">e2</span><span class="delete">,
-this</span> means that <span class="delete">either the two events are equal</span><span class="name"><span class="insert">e1</span></span><span class="insert">
-happened at the same time as</span> or <span class="delete">e1</span><span class="delete"> happened</span> before <span class="name">e2</span>.
+<p>Specifically, <dfn id="dfn-precedes">precedes</dfn> is a <a href="#dfn-preorder" class="internalDFN">preorder</a>
+between <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous events</a>.  A
+constraint of the form
+<span class="name">e1</span> precedes <span class="name">e2</span> means that <span class="name">e1</span>
+happened at the same time as or before <span class="name">e2</span>.
 For symmetry, <dfn id="dfn-follows">follows</dfn> is defined as the
-inverse of <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>; that is, <span class="delete">when</span><span class="insert">a constraint of
+inverse of <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>; that is, a constraint of
 the form 
-</span><span class="name"><span class="insert">e1</span></span><span class="insert"> follows </span><span class="name"><span class="insert">e2</span></span><span class="insert"> means that </span><span class="name"><span class="insert">e1</span></span><span class="insert"> happened at the same time
-as or after </span><span class="name"><span class="insert">e2</span></span><span class="insert">. Both relations are
-</span><a href="#dfn-preorder" class="internalDFN"><span class="insert">preorder</span></a><span class="insert">s, meaning that they are </span><a href="#dfn-reflexive" class="internalDFN"><span class="insert">reflexive</span></a><span class="insert"> and
-</span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert">.  Moreover,</span> we <span class="insert">sometimes consider </span><em><span class="insert">strict</span></em><span class="insert"> forms of these
-orders: we </span>say
- <span class="name">e1</span> <span class="delete">follows</span><dfn id="dfn-strictly-precedes"><span class="insert">strictly precedes</span></dfn> <span class="name">e2</span><span class="insert"> to indicate that </span><span class="name"><span class="insert">e1</span></span><span class="insert">
-happened before </span><span class="name"><span class="insert">e2</span></span>,<span class="delete">
-this means that either the two events are equal or </span><span class="delete">e1</span><span class="delete"> happened after </span><span class="delete">e2</span><span class="delete">. Both relations are partial orders, meaning
-that they are reflexive, transitive, and antisymmetric.</span><span class="insert"> but not at the same time.  This is a
-</span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert"> relation. </span></p>
-
-<span class="delete"> Do we want</span>
-
-
-<p><span class="insert">PROV also allows for time observations</span> to <span class="delete">allow an event to
-  "precede" itself?  Perhaps precedes should </span>be <span class="delete">strict.
-</span>
-
-<span class="delete">
-  The following discussion is unclear: what is being said here, and why?
-  </span>
-
-<span class="delete">PROV-DM also allows</span><span class="insert">inserted in
-specific provenance statements,</span> for <span class="delete">time observations to be inserted in
-specific provenance statements, for </span>each of the five kinds
- of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous events</a> introduced in 
-this specification.  <span class="insert">Times in provenance records arising from
+<span class="name">e1</span> follows <span class="name">e2</span> means that <span class="name">e1</span> happened at the same time
+as or after <span class="name">e2</span>. Both relations are
+<a href="#dfn-preorder" class="internalDFN">preorder</a>s, meaning that they are <a href="#dfn-reflexive" class="internalDFN">reflexive</a> and
+<a href="#dfn-transitive" class="internalDFN">transitive</a>.  Moreover, we sometimes consider <em>strict</em> forms of these
+orders: we say <span class="name">e1</span> <dfn id="dfn-strictly-precedes">strictly precedes</dfn> <span class="name">e2</span> to indicate that <span class="name">e1</span>
+happened before <span class="name">e2</span>, but not at the same time.  This is a
+<a href="#dfn-transitive" class="internalDFN">transitive</a><span class="insert">, </span><a href="#dfn-irreflexive" class="internalDFN"><span class="insert">irreflexive</span></a> relation. </p>
+
+
+<p>PROV also allows for time observations to be inserted in
+specific provenance statements, for each of the five kinds of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous events</a> introduced in
+this specification.  Times in provenance records arising from
 different sources might be with respect to different timelines
 (e.g. different time zones) leading to apparent inconsistencies.  For
 the purpose of checking ordering constraints, the times associated
 with events are irrelevant; thus, there is no inference that time ordering
-implies event ordering, or vice versa.  However, an application </span><em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> flag time values
+implies event ordering, or vice versa.  However, an application <em class="rfc2119" title="may">may</em> flag time values
 that appear inconsistent with the event ordering as possible
-inconsistencies.  When generating provenance, an application </span><em class="rfc2119" title="should"><span class="insert">should</span></em><span class="insert">
-use a consistent imeline for related PROV statements within an
-instance.</span></p>
-
-
-<p><span class="insert">  A typical ordering constraint is as follows.</span></p>
-
-  <div class="constraint-example" id="ordering-example"><div class="ruleTitle"><a class="internalDFN" href="#ordering-example"><span class="insert">Constraint-example NNN (ordering-example)</span></a></div>
-    <p><span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">hyp</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and </span><span class="name"><span class="insert">hyp</span><sub><span class="insert">n</span></sub></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">evt1</span></span> <a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert">/</span><a href="#dfn-strictly-precedes" class="internalDFN"><span class="insert">strictly precedes</span></a> <span class="name"><span class="insert">evt2</span></span><span class="insert">.  </span></p></div>
+inconsistencies.  When generating provenance, an application <em class="rfc2119" title="should">should</em>
+use a consistent <span class="delete">imeline</span><span class="insert">timeline</span> for related PROV statements within an
+instance.</p>
+
+
+<p>  A typical ordering constraint is as follows.</p>
+
+  <div class="constraint-example" id="ordering-example"><div class="ruleTitle"><a class="internalDFN" href="#ordering-example">Constraint-example NNN (ordering-example)</a></div>
+    <p><span class="conditional">IF</span> <span class="name">hyp<sub>1</sub></span> and ... and <span class="name">hyp<sub>n</sub></span> <span class="conditional">THEN</span> <span class="name">evt1</span> <a href="#dfn-precedes" class="internalDFN">precedes</a>/<a href="#dfn-strictly-precedes" class="internalDFN">strictly precedes</a> <span class="name">evt2</span>.  </p></div>
   <p>
-  The<span class="delete">
-presence</span><span class="insert"> conclusion</span> of <span class="insert">an ordering constraint is either </span><a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert">
-  or </span><a href="#dfn-strictly-precedes" class="internalDFN"><span class="insert">strictly precedes</span></a><span class="insert">.  One way to check
+  The conclusion of an ordering constraint is either <a href="#dfn-precedes" class="internalDFN">precedes</a>
+  or <a href="#dfn-strictly-precedes" class="internalDFN">strictly precedes</a>.  One way to check
   ordering constraints is to 
-  generate all </span><a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert"> and </span><a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">strictly
-  precedes</span></a><span class="insert"> 
-  relationships arising from the ordering constraints to form </span>a <span class="delete">time observation for</span><span class="insert">directed graph, with edges marked </span><a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert"> or
-  </span><a href="#dfn-strictly-precedes" class="internalDFN"><span class="insert">strictly precedes</span></a><span class="insert">, and check that there is no cycle
-  containing</span> a <span class="delete">given </span><span class="delete">instantaneous event</span><span class="delete"> fixes the
-mapping of this </span><span class="delete">instantaneous event</span><span class="delete"> to the timeline. The presence of time
-information in a provenance statement instantiates the ordering constraint with
-that time information. It is expected that such instantiated
-constraints can help corroborate provenance information. We anticipate
-that verification algorithms could be developed, though this
-verification is outside the scope of this specification.
-</span><a href="#dfn-strictly-precedes" class="internalDFN"><span class="insert">strictly precedes</span></a><span class="insert"> edge.
-  </span></p>
-
-<span class="delete">The following figure summarizes the ordering constraints in a
-graphical manner. For each subfigure, an event time line points to the
-right. Activities are represented by rectangles, whereas entities are
-represented by circles. Usage, generation and derivation are
-represented by the corresponding edges between entities and
-activities.  The five kinds of </span><span class="delete">instantaneous events</span><span class="delete"> are represented by vertical
-dotted lines (adjacent to the vertical sides of an activity's
-rectangle, or intersecting usage and generation edges).  The ordering
-constraints are represented by triangles: an occurrence of a triangle between two </span><span class="delete">instantaneous event</span><span class="delete"> vertical dotted lines represents that the event denoted by the left
-line precedes the event denoted by the right line.</span>
-
-
-  
-
-
-<span class="delete">Summary of </span><span class="delete">instantaneous event</span><span class="delete"> ordering constraints for activities</span>
-
-
-
-
-
-
-
+  generate all <a href="#dfn-precedes" class="internalDFN">precedes</a> and <a title="precedes" href="#dfn-precedes" class="internalDFN">strictly
+  precedes</a> 
+  relationships arising from the ordering constraints to form a directed graph, with edges marked <a href="#dfn-precedes" class="internalDFN">precedes</a> or
+  <a href="#dfn-strictly-precedes" class="internalDFN">strictly precedes</a>, and check that there is no cycle
+  containing a <a href="#dfn-strictly-precedes" class="internalDFN">strictly precedes</a> edge.
+  </p>
 
   
 
@@ -4120,35 +3677,33 @@
 <h4><span class="secno">5.2.1 </span>Activity constraints</h4>
 
 <p>
-<span class="delete">In this</span><span class="insert">This</span> section <span class="delete">we discuss</span><span class="insert">specifies ordering</span> constraints from the perspective of
+This section specifies ordering constraints from the perspective of
 the <a href="#lifetime" class="internalDFN">lifetime</a> of an activity.  An activity starts, then during
-its lifetime <span class="delete">uses, generates entities and communicates</span><span class="insert">can use, generate or invalidate entities, communicate
+its lifetime can use, generate or invalidate entities, communicate
   with, start, or end
 other
-activities, or be associated</span> with<span class="delete">  or starts
-other
-activities,</span><span class="insert"> agents,</span> and finally<span class="insert"> it</span> ends.  The following constraints amount to
+activities, or be associated with agents, and finally it ends.  The following constraints amount to
 checking that all of the events associated with an activity take place
 within the activity's lifetime, and the start and end events mark the
 start and endpoints of its lifetime.
 </p>
 
-<p><a href="#ordering-activity"><span class="insert">Figure 3</span></a><span class="insert"> summarizes the ordering
+<p><a href="#ordering-activity">Figure 3</a> summarizes the ordering
   constraints on activities in a
 graphical manner. For this and subsequent figures, an event time line points to the
 right. Activities are represented by rectangles, whereas entities are
 represented by circles. Usage, generation and invalidation are
 represented by the corresponding edges between entities and
-activities.  The five kinds of </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous events</span></a><span class="insert"> are represented by vertical
+activities.  The five kinds of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous events</a> are represented by vertical
 dotted lines (adjacent to the vertical sides of an activity's
 rectangle, or intersecting usage and generation edges).  The ordering
-constraints are represented by triangles: an occurrence of a triangle between two </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous event</span></a><span class="insert"> vertical dotted lines represents that the event denoted by the left
-line precedes the event denoted by the right line.</span></p>
-  <div class="note"><span class="insert"> Miscellaneous suggestions about figures
+constraints are represented by triangles: an occurrence of a triangle between two <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> vertical dotted lines represents that the event denoted by the left
+line precedes the event denoted by the right line.</p>
+  <div class="note"> Miscellaneous suggestions about figures
   (originally from Tim Lebo):
-</span><ul>
-  <li><span class="insert">
-    I think it would help if the "corresponding edges between entities and activities" where the same visual style as the vertical line marking the time the Usage, generation and derivation occurred. A matching visual style provides a Gestalt that matches the concept. I am looking at subfigures b and c in 5.2. </span></li></ul>
+<ul>
+  <li>
+    I think it would help if the "corresponding edges between entities and activities" where the same visual style as the vertical line marking the time the Usage, generation and derivation occurred. A matching visual style provides a Gestalt that matches the concept. I am looking at subfigures b and c in 5.2. </li></ul>
   </div>
 
   <div style="text-align: center;">
@@ -4156,7 +3711,7 @@
 <span class="figure" id="ordering-activity">
 <img src="images/constraints/ordering-activity.png" alt="constraints between events">
 <br>
-<span class="figcaption" id="ordering-activity-fig"><span class="insert">Figure 3</span><sup><a class="internalDFN" href="#ordering-activity-fig"><span class="diamond"><span class="insert"> ◊:</span></span></a></sup><span class="insert"> Summary of </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous event</span></a><span class="insert"> ordering constraints for activities</span></span> 
+<span class="figcaption" id="ordering-activity-fig">Figure 3<sup><a class="internalDFN" href="#ordering-activity-fig"><span class="diamond"> ◊:</span></a></sup> Summary of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> ordering constraints for activities</span> 
 </span>
 </div>
 
@@ -4165,87 +3720,82 @@
 <hr>
 
 <p id="start-precedes-end_text">
-The existence of an activity implies that the <a href="#dfn-start-event" class="internalDFN">activity start 
+The existence of an activity implies that the <a href="#dfn-start-event" class="internalDFN">activity start
 event</a> always <a href="#dfn-precedes" class="internalDFN">precedes</a> the corresponding <a href="#dfn-end-event" class="internalDFN">activity end
-event</a>.  This is
- illustrated by<span class="delete"> Subfigure </span><span class="delete">ordering-activity-fig</span> 
-<a href="#ordering-activity"><span class="insert">Figure 3</span></a>
-(a) and   expressed by <span class="delete">constraint </span><span class="delete">start-precedes-end</span><a class="rule-ref" href="#start-precedes-end"><span><span class="insert">Constraint 32 (start-precedes-end)</span></span></a>.</p> 
-
-
-<div class="constraint" id="start-precedes-end"><div class="ruleTitle"><a class="internalDFN" href="#start-precedes-end"><span class="insert">Constraint 32 (start-precedes-end)</span></a></div>
+event</a>.  This is illustrated by
+<a href="#ordering-activity">Figure 3</a>
+(a) and expressed by <a class="rule-ref" href="#start-precedes-end"><span>Constraint 32 (start-precedes-end)</span></a>.</p>
+
+<div class="constraint" id="start-precedes-end"><div class="ruleTitle"><a class="internalDFN" href="#start-precedes-end">Constraint 32 (start-precedes-end)</a></div>
 <p>
 <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasStartedBy(start,a,-,-)</span><span class="insert">wasStartedBy(start; a,_e1,_a1,_t1,_attrs1)</span></span> 
+<span class="name">wasStartedBy(start; a,_e1,_a1,_t1,_attrs1)</span> 
 and
-<span class="name"><span class="delete">wasEndedBy(end,a,-,-)</span><span class="insert">wasEndedBy(end; a,_e2,_a2,_t2,_attrs2)</span></span> 
+<span class="name">wasEndedBy(end; a,_e2,_a2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
 <span class="name">start</span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">end</span></span><span class="insert">.
-</span></p>
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">end</span>.
+</p>
 </div>
 <p>
 
 </p><hr>
 
-<p id="start-start-ordering_text"><span class="insert">
+<p id="start-start-ordering_text">
 If an activity is started by more than one activity, the events must all
 be simultaneous.  The following constraint requires that if there are two start
-events that start the same activity, then one </span><a href="#dfn-precedes" class="internalDFN">precedes</a>
-<span class="delete">end</span><span class="insert"> the
+events that start the same activity, then one <a href="#dfn-precedes" class="internalDFN">precedes</a> the
 other.  Using this constraint in both directions means that each event
-</span><a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert"> the other.
-</span></p>
-<div class="constraint" id="start-start-ordering"><div class="ruleTitle"><a class="internalDFN" href="#start-start-ordering"><span class="insert">Constraint 33 (start-start-ordering)</span></a></div>
+<a href="#dfn-precedes" class="internalDFN">precedes</a> the other.
+</p>
+<div class="constraint" id="start-start-ordering"><div class="ruleTitle"><a class="internalDFN" href="#start-start-ordering">Constraint 33 (start-start-ordering)</a></div>
  <p>
-    <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasStartedBy(start1; a,_e1,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+    <span class="conditional">IF</span>
+<span class="name">wasStartedBy(start1; a,_e1,_a1,_t1,_attrs1)</span> 
 and
-</span><span class="name"><span class="insert">wasStartedBy(start2; a,_e2,_a2,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">start1</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">start2</span></span>.
+<span class="name">wasStartedBy(start2; a,_e2,_a2,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">start1</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">start2</span>.
   </p>
 </div>
 
 <hr>
 
-<p id="end-end-ordering_text"><span class="insert">
+<p id="end-end-ordering_text">
 If an activity is ended by more than one activity, the events must all
 be simultaneous.  The following constraint requires that if there are two end
-events that end the same activity, then one </span><a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert"> the
+events that end the same activity, then one <a href="#dfn-precedes" class="internalDFN">precedes</a> the
 other.  Using this constraint in both directions means that each event
-</span><a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert"> the other, that is, they are simultaneous.
-</span></p>
-<div class="constraint" id="end-end-ordering"><div class="ruleTitle"><a class="internalDFN" href="#end-end-ordering"><span class="insert">Constraint 34 (end-end-ordering)</span></a></div>
+<a href="#dfn-precedes" class="internalDFN">precedes</a> the other, that is, they are simultaneous.
+</p>
+<div class="constraint" id="end-end-ordering"><div class="ruleTitle"><a class="internalDFN" href="#end-end-ordering">Constraint 34 (end-end-ordering)</a></div>
  <p>
-    <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasEndedBy(end1; a,_e2,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+    <span class="conditional">IF</span>
+<span class="name">wasEndedBy(end1; a,_e1,_a1,_t1,_attrs1)</span> 
 and
-</span><span class="name"><span class="insert">wasEndedBy(end2; a,_e2,_a2,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">end1</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">end2</span></span><span class="insert">.
-  </span></p>
+<span class="name">wasEndedBy(end2; a,_e2,_a2,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">end1</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">end2</span>.
+  </p>
 </div>
 
 <hr>
 
 <p id="usage-within-activity_text">A usage implies ordering of <a title="instantaneous event" href="#dfn-event" class="internalDFN">events</a>, since the <a title="entity usage event" href="#dfn-usage-event" class="internalDFN">usage event</a> had to occur during the associated activity. This is
-illustrated by <span class="delete">Subfigure </span><span class="delete">ordering-activity-fig</span><a href="#ordering-activity"><span class="insert">Figure 3</span></a> (b) and  expressed by <span class="delete">constraint </span><span class="delete">usage-within-activity</span><a class="rule-ref" href="#usage-within-activity"><span><span class="insert">Constraint 35 (usage-within-activity)</span></span></a>.</p>
-
-<div class="constraint" id="usage-within-activity"><div class="ruleTitle"><a class="internalDFN" href="#usage-within-activity"><span class="insert">Constraint 35 (usage-within-activity)</span></a></div>
+illustrated by <a href="#ordering-activity">Figure 3</a> (b) and  expressed by <a class="rule-ref" href="#usage-within-activity"><span>Constraint 35 (usage-within-activity)</span></a>.</p>
+
+<div class="constraint" id="usage-within-activity"><div class="ruleTitle"><a class="internalDFN" href="#usage-within-activity">Constraint 35 (usage-within-activity)</a></div>
 <ol>
     <li>
   <span class="conditional">IF</span>
-<span class="name"><span class="delete">used(use,a,e,-,-)</span><span class="delete"> 
-and
-</span><span class="delete">wasStartedBy(start,a,-,-)</span><span class="insert">wasStartedBy(start; a,_e1,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+<span class="name">wasStartedBy(start; a,_e1,_a1,_t1,_attrs1)</span> 
  and
-</span><span class="name"><span class="insert">used(use; a,_e2,_t2,_attrs2)</span></span> 
+<span class="name">used(use; a,_e2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
 <span class="name">start</span> 
 <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
@@ -4253,9 +3803,9 @@
   </li>
   <li>
   <span class="conditional">IF</span>
-<span class="name"><span class="delete">used(use,a,e,-,-)</span><span class="insert">used(use; a,_e1,_t1,_attrs1)</span></span> 
+<span class="name">used(use; a,_e1,_t1,_attrs1)</span> 
 and
-<span class="name"><span class="delete">wasEndedBy(end,a,-,-)</span><span class="insert">wasEndedBy(end; a,_e2,_a2,_t2,_attrs2)</span></span> 
+<span class="name">wasEndedBy(end; a,_e2,_a2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
 <span class="name">use</span> 
 <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
@@ -4269,61 +3819,61 @@
 </p><hr>
 
 
-<p id="generation-within-activity_text"><span class="insert">A generation implies ordering of </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">events</span></a><span class="insert">, since the </span><a title="entity generation event" href="#dfn-generation-event" class="internalDFN"><span class="insert">generation event</span></a><span class="insert"> had to occur during the associated activity. This is
-illustrated by </span><a href="#ordering-activity"><span class="insert">Figure 3</span></a><span class="insert"> (c) and  expressed by </span><a class="rule-ref" href="#generation-within-activity"><span><span class="insert">Constraint 36 (generation-within-activity)</span></span></a><span class="insert">.</span></p> 
-
-<div class="constraint" id="generation-within-activity"><div class="ruleTitle"><a class="internalDFN" href="#generation-within-activity"><span class="insert">Constraint 36 (generation-within-activity)</span></a></div>
+<p id="generation-within-activity_text">A generation implies ordering of <a title="instantaneous event" href="#dfn-event" class="internalDFN">events</a>, since the <a title="entity generation event" href="#dfn-generation-event" class="internalDFN">generation event</a> had to occur during the associated activity. This is
+illustrated by <a href="#ordering-activity">Figure 3</a> (c) and  expressed by <a class="rule-ref" href="#generation-within-activity"><span>Constraint 36 (generation-within-activity)</span></a>.</p> 
+
+<div class="constraint" id="generation-within-activity"><div class="ruleTitle"><a class="internalDFN" href="#generation-within-activity">Constraint 36 (generation-within-activity)</a></div>
    <ol>
     <li>
-  <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasStartedBy(start; a,_e1,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+  <span class="conditional">IF</span>
+<span class="name">wasStartedBy(start; a,_e1,_a1,_t1,_attrs1)</span> 
  and
-</span><span class="name"><span class="insert">wasGeneratedBy(gen; _e2,a,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">start</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">gen</span></span><span class="insert">.
-  </span></li>
+<span class="name">wasGeneratedBy(gen; _e2,a,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">start</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">gen</span>.
+  </li>
   <li>
-  <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasGeneratedBy(gen; _e,a,_t,_attrs)</span></span><span class="insert"> 
+  <span class="conditional">IF</span>
+<span class="name">wasGeneratedBy(gen; _e,a,_t,_attrs)</span> 
 and
-</span><span class="name"><span class="insert">wasEndedBy(end; a,_e1,_a1,_t1,_attrs1)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">gen</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">end</span></span><span class="insert">.
-  </span></li>
+<span class="name">wasEndedBy(end; a,_e1,_a1,_t1,_attrs1)</span> 
+<span class="conditional">THEN</span>
+<span class="name">gen</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">end</span>.
+  </li>
   </ol>
 </div> 
 
 <p>
 
 </p><hr>
-<p id="wasInformedBy-ordering_text"><span class="insert">
-Communication between two activities </span><span class="name"><span class="insert">a1</span></span><span class="insert">
-and </span><span class="name"><span class="insert">a2</span></span><span class="insert"> also implies ordering
-of </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">events</span></a><span class="insert">, since some entity must
+<p id="wasInformedBy-ordering_text">
+Communication between two activities <span class="name">a1</span>
+and <span class="name">a2</span> also implies ordering
+of <a title="instantaneous event" href="#dfn-event" class="internalDFN">events</a>, since some entity must
 have been generated by the former and used by the latter, which
-implies that the start event of </span><span class="name"><span class="insert">a1</span></span><span class="insert"> cannot
-follow the end event of </span><span class="name"><span class="insert">a2</span></span><span class="insert">. This is
+implies that the start event of <span class="name">a1</span> cannot
+follow the end event of <span class="name">a2</span>. This is
 illustrated by
-</span><a href="#ordering-activity"><span class="insert">Figure 3</span></a><span class="insert">
-(d) and expressed by </span><a class="rule-ref" href="#wasInformedBy-ordering"><span><span class="insert">Constraint 37 (wasInformedBy-ordering)</span></span></a><span class="insert">.</span></p>
-
-<div class="constraint" id="wasInformedBy-ordering"><div class="ruleTitle"><a class="internalDFN" href="#wasInformedBy-ordering"><span class="insert">Constraint 37 (wasInformedBy-ordering)</span></a></div>
+<a href="#ordering-activity">Figure 3</a>
+(d) and expressed by <a class="rule-ref" href="#wasInformedBy-ordering"><span>Constraint 37 (wasInformedBy-ordering)</span></a>.</p>
+
+<div class="constraint" id="wasInformedBy-ordering"><div class="ruleTitle"><a class="internalDFN" href="#wasInformedBy-ordering">Constraint 37 (wasInformedBy-ordering)</a></div>
 <p>
-  <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasInformedBy(_id; a2,a1,_attrs)</span></span><span class="insert"> 
+  <span class="conditional">IF</span>
+<span class="name">wasInformedBy(_id; a2,a1,_attrs)</span> 
 and
-</span><span class="name"><span class="insert">wasStartedBy(start; a1,_e1,_a1',_t1,_attrs1)</span></span><span class="insert"> 
+<span class="name">wasStartedBy(start; a1,_e1,_a1',_t1,_attrs1)</span> 
 and
-</span><span class="name"><span class="insert">wasEndedBy(end; a2,_e2,_a2',_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">start</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">end</span></span><span class="insert">.
-</span></p>
+<span class="name">wasEndedBy(end; a2,_e2,_a2',_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">start</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">end</span>.
+</p>
 </div>
 <p>
 
@@ -4332,18 +3882,18 @@
 </p></div>
 
 <div id="entity-constraints" class="section">
-<h4><span class="secno"><span class="insert">5.2.2 </span></span><span class="insert"> Entity constraints</span></h4>
-
-
-<div class="note"><span class="insert">The figure(s) in this section should have vertical lines with visual styles that match the diagonal arrow that they go with. </span></div>
-
-<p><span class="insert">
+<h4><span class="secno">5.2.2 </span> Entity constraints</h4>
+
+
+<div class="note">The figure(s) in this section should have vertical lines with visual styles that match the diagonal arrow that they go with. </div>
+
+<p>
 As with activities, entities have lifetimes: they are generated, then
 can be used, other entities can be derived from them, and finally they
 can be invalidated. The constraints on these events are
-illustrated graphically in </span><a href="#ordering-entity"><span class="insert">Figure 4</span></a><span class="insert"> and
-</span><a href="#ordering-entity-trigger"><span class="insert">Figure 5</span></a><span class="insert">.
-</span></p>
+illustrated graphically in <a href="#ordering-entity">Figure 4</a> and
+<a href="#ordering-entity-trigger">Figure 5</a>.
+</p>
 
 
   
@@ -4351,30 +3901,30 @@
 <span class="figure" id="ordering-entity">
 <img src="images/constraints/ordering-entity.png" alt="ordering constraints for entities">
 <br>
-<span class="figcaption" id="ordering-entity-fig"><span class="insert">Figure 4</span><sup><a class="internalDFN" href="#ordering-entity-fig"><span class="diamond"><span class="insert"> ◊:</span></span></a></sup><span class="insert"> Summary of </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous event</span></a><span class="insert"> ordering constraints for entities</span></span></span>  
+<span class="figcaption" id="ordering-entity-fig">Figure 4<sup><a class="internalDFN" href="#ordering-entity-fig"><span class="diamond"> ◊:</span></a></sup> Summary of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> ordering constraints for entities</span></span>  
 </div>
 
 <p>
 
 </p><hr>
 
-<p id="generation-precedes-invalidation_text"><span class="insert">
+<p id="generation-precedes-invalidation_text">
 Generation of an entity precedes its invalidation. (This
 follows from other constraints if the entity is used, but it is stated
 explicitly here to cover the case of an entity that is generated and
-invalidated without being used.)</span></p>
-
-<div class="constraint" id="generation-precedes-invalidation"><div class="ruleTitle"><a class="internalDFN" href="#generation-precedes-invalidation"><span class="insert">Constraint 38 (generation-precedes-invalidation)</span></a></div>
+invalidated without being used.)</p>
+
+<div class="constraint" id="generation-precedes-invalidation"><div class="ruleTitle"><a class="internalDFN" href="#generation-precedes-invalidation">Constraint 38 (generation-precedes-invalidation)</a></div>
 <p>
- <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasGeneratedBy(gen; e,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+ <span class="conditional">IF</span>
+<span class="name">wasGeneratedBy(gen; e,_a1,_t1,_attrs1)</span> 
 and
-</span><span class="name"><span class="insert">wasInvalidatedBy(inv; e,_a2,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">gen</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">inv</span></span><span class="insert">. 
-</span></p>
+<span class="name">wasInvalidatedBy(inv; e,_a2,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">gen</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">inv</span>. 
+</p>
 </div>
 
 
@@ -4382,38 +3932,38 @@
 
 <hr>
 
-<p id="generation-precedes-usage_text"><span class="insert"> 
-A usage and a generation for a given entity implies ordering of </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">events</span></a><span class="insert">, since the </span><a title="entity generation
-event" href="#dfn-generation-event" class="internalDFN"><span class="insert">generation event</span></a><span class="insert"> had to precede the </span><a title="entity usage event" href="#dfn-usage-event" class="internalDFN"><span class="insert">usage event</span></a><span class="insert">. This is
-illustrated by </span><a href="#ordering-entity"><span class="insert">Figure 4</span></a><span class="insert">(a) and  expressed by </span><a class="rule-ref" href="#generation-precedes-usage"><span><span class="insert">Constraint 39 (generation-precedes-usage)</span></span></a><span class="insert">.</span></p>
-
-<div class="constraint" id="generation-precedes-usage"><div class="ruleTitle"><a class="internalDFN" href="#generation-precedes-usage"><span class="insert">Constraint 39 (generation-precedes-usage)</span></a></div>
-<p>  <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasGeneratedBy(gen; e,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+<p id="generation-precedes-usage_text"> 
+A usage and a generation for a given entity implies ordering of <a title="instantaneous event" href="#dfn-event" class="internalDFN">events</a>, since the <a title="entity generation
+event" href="#dfn-generation-event" class="internalDFN">generation event</a> had to precede the <a title="entity usage event" href="#dfn-usage-event" class="internalDFN">usage event</a>. This is
+illustrated by <a href="#ordering-entity">Figure 4</a>(a) and  expressed by <a class="rule-ref" href="#generation-precedes-usage"><span>Constraint 39 (generation-precedes-usage)</span></a>.</p>
+
+<div class="constraint" id="generation-precedes-usage"><div class="ruleTitle"><a class="internalDFN" href="#generation-precedes-usage">Constraint 39 (generation-precedes-usage)</a></div>
+<p>  <span class="conditional">IF</span>
+<span class="name">wasGeneratedBy(gen; e,_a1,_t1,_attrs1)</span> 
 and
-</span><span class="name"><span class="insert">used(use; _a2,e,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">gen</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">use</span></span><span class="insert">.  
-</span></p>
+<span class="name">used(use; _a2,e,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">gen</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">use</span>.  
+</p>
 </div>
 
 
 <hr>
 
-<p id="usage-precedes-invalidation_text"><span class="insert">All usages of an entity precede its invalidation, which is captured by </span><a class="rule-ref" href="#usage-precedes-invalidation"><span><span class="insert">Constraint 40 (usage-precedes-invalidation)</span></span></a><span class="insert"> (without any explicit graphical representation).</span></p> 
-
-<div class="constraint" id="usage-precedes-invalidation"><div class="ruleTitle"><a class="internalDFN" href="#usage-precedes-invalidation"><span class="insert">Constraint 40 (usage-precedes-invalidation)</span></a></div>
+<p id="usage-precedes-invalidation_text">All usages of an entity precede its invalidation, which is captured by <a class="rule-ref" href="#usage-precedes-invalidation"><span>Constraint 40 (usage-precedes-invalidation)</span></a> (without any explicit graphical representation).</p> 
+
+<div class="constraint" id="usage-precedes-invalidation"><div class="ruleTitle"><a class="internalDFN" href="#usage-precedes-invalidation">Constraint 40 (usage-precedes-invalidation)</a></div>
 <p>
-<span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">used(use; _a1,e,_t1,_attrs1)</span></span><span class="insert"> 
+<span class="conditional">IF</span>
+<span class="name">used(use; _a1,e,_t1,_attrs1)</span> 
 and
-</span><span class="name"><span class="insert">wasInvalidatedBy(inv; e,_a2,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">use</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">inv</span></span><span class="insert">.</span></p>
+<span class="name">wasInvalidatedBy(inv; e,_a2,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">use</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">inv</span>.</p>
 </div>
 
 <hr>
@@ -4421,288 +3971,134 @@
 
 <hr>
 
-<p id="generation-generation-ordering_text"><span class="insert">
+<p id="generation-generation-ordering_text">
 If an entity is generated by more than one activity, the events must all
 be simultaneous.  The following constraint requires that if there are two generation
-events that generate the same entity, then one </span><a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert"> the
+events that generate the same entity, then one <a href="#dfn-precedes" class="internalDFN">precedes</a> the
 other.  Using this constraint in both directions means that each event
-</span><a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert"> the other.
-</span></p>
-<div class="constraint" id="generation-generation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#generation-generation-ordering"><span class="insert">Constraint 41 (generation-generation-ordering)</span></a></div>
- <p><span class="delete">A generation implies ordering of </span><span class="delete">events</span><span class="delete">, since the </span><span class="delete">generation event</span><span class="delete"> had to occur during the associated activity. This is
-illustrated by Subfigure </span><span class="delete">ordering-activity-fig</span><span class="delete"> (c) and  expressed by constraint </span><span class="delete">generation-within-activity</span><span class="delete">.</span> 
-
-
-   
-    
-  <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasGeneratedBy(gen,a,e,-,-)</span><span class="insert">wasGeneratedBy(gen1; e,_a1,_t1,_attrs1)</span></span> 
-and
-<span class="name"><span class="delete">wasStartedBy(start,a,-,-)</span><span class="insert">wasGeneratedBy(gen2; a,_a2,_t2,_attrs2)</span></span> 
-<span class="conditional">THEN</span>
-<span class="name"><span class="delete">start</span><span class="insert">gen1</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
-<span class="name"><span class="delete">gen</span><span class="insert">gen2</span></span>.
-  
-  
-  <span class="delete">IF</span>
-<span class="delete">wasGeneratedBy(gen,a,e,-,-)</span><span class="delete"> 
+<a href="#dfn-precedes" class="internalDFN">precedes</a> the other.
+</p>
+<div class="constraint" id="generation-generation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#generation-generation-ordering">Constraint 41 (generation-generation-ordering)</a></div>
+ <p>
+    <span class="conditional">IF</span>
+<span class="name">wasGeneratedBy(gen1; e,_a1,_t1,_attrs1)</span> 
 and
-</span><span class="delete">wasEndedBy(end,a,-,-)</span> 
-<span class="delete">THEN</span>
-<span class="delete">gen</span> 
-<span class="delete">precedes</span>
-<span class="delete">end</span><span class="delete">.
-  </span>
-  
- 
-
-
-
-<span class="delete">Communication between two activities </span><span class="delete">a1</span><span class="delete"> and </span><span class="delete">a2</span><span class="delete"> also implies ordering of </span><span class="delete">events</span><span class="delete">, since some entity must have been generated by the former and used by the latter, which implies that the start event of  </span><span class="delete">a1</span><span class="delete">
-cannot follow the end event of  </span><span class="delete">a2</span><span class="delete">. This is
-illustrated by Subfigure </span><span class="delete">ordering-activity-fig</span><span class="delete"> (d) and  expressed by constraint </span><span class="delete">wasInformedBy-ordering</span><span class="delete">.</span></p>
-
-
- <span class="delete">IF</span>
-<span class="delete">wasInformedBy(a2,a1)</span><span class="delete"> 
-and
-</span><span class="delete">wasStartedBy(start,a1,-,-)</span><span class="delete"> 
-and
-</span><span class="delete">wasEndedBy(end,a2,-,-)</span> 
-<span class="delete">THEN</span>
-<span class="delete">start</span> 
-<span class="delete">precedes</span>
-<span class="delete">end</span><span class="delete">.
-
-</span>
+<span class="name">wasGeneratedBy(gen2; e,_a2,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">gen1</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">gen2</span>.
+  </p>
 </div>
 
 <hr>
 
-<p id="invalidation-invalidation-ordering_text"><span class="insert">
+<p id="invalidation-invalidation-ordering_text">
 If an entity is invalidated by more than one activity, the events must all
 be simultaneous.  The following constraint requires that if there are two invalidation
-events that invalidate the same entity, then one </span><a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert"> the
+events that invalidate the same entity, then one <a href="#dfn-precedes" class="internalDFN">precedes</a> the
 other.  Using this constraint in both directions means that each event
-</span><a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a><span class="insert"> the other, that is, they are simultaneous.
-</span></p>
-<div class="constraint" id="invalidation-invalidation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#invalidation-invalidation-ordering"><span class="insert">Constraint 42 (invalidation-invalidation-ordering)</span></a></div>
- <p><span class="delete">Start</span>
-    <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasInvalidatedBy(inv1; a,_e2,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+<a href="#dfn-precedes" class="internalDFN">precedes</a> the other, that is, they are simultaneous.
+</p>
+<div class="constraint" id="invalidation-invalidation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#invalidation-invalidation-ordering">Constraint 42 (invalidation-invalidation-ordering)</a></div>
+ <p>
+    <span class="conditional">IF</span>
+<span class="name">wasInvalidatedBy(inv1; e,_a1,_t1,_attrs1)</span> 
 and
-</span><span class="name"><span class="insert">wasInvalidatedBy(inv2; a,_e2,_a2,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">inv1</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">inv2</span></span><span class="insert">.
-  </span></p>
+<span class="name">wasInvalidatedBy(inv2; e,_a2,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">inv1</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">inv2</span>.
+  </p>
 </div>
 
 
 
-<p id="derivation-usage-generation-ordering_text"><span class="insert">If there is a
-derivation relationship linking </span><span class="name"><span class="insert">e2</span></span><span class="insert"> and </span><span class="name"><span class="insert">e1</span></span><span class="insert">, then 
-this means that the entity </span><span class="name"><span class="insert">e1</span></span><span class="insert"> had some influence on the entity </span><span class="name"><span class="insert">e2</span></span><span class="insert">; for this to be possible, some event ordering must be satisfied.
-First, we consider derivations, where the activity and usage are known. In that case, the </span><a title="entity usage event" href="#dfn-usage-event" class="internalDFN"><span class="insert">usage</span></a> of <span class="name"><span class="delete">a2</span><span class="insert">e1</span></span><span class="insert"> has to precede the </span><a title="entity generation
-event" href="#dfn-generation-event" class="internalDFN"><span class="insert">generation</span></a><span class="insert"> of </span><span class="name"><span class="insert">e2</span></span><span class="insert">.
+<p id="derivation-usage-generation-ordering_text">If there is a
+derivation relationship linking <span class="name">e2</span> and <span class="name">e1</span>, then 
+this means that the entity <span class="name">e1</span> had some influence on the entity <span class="name">e2</span>; for this to be possible, some event ordering must be satisfied.
+First, we consider derivations, where the activity and usage are known. In that case, the <a title="entity usage event" href="#dfn-usage-event" class="internalDFN">usage</a> of <span class="name">e1</span> has to precede the <a title="entity generation
+event" href="#dfn-generation-event" class="internalDFN">generation</a> of <span class="name">e2</span>.
 This is
-illustrated</span> by <span class="delete">activity </span><span class="delete">a1</span><span class="delete"> also implies ordering of </span><span class="delete">events</span><span class="delete">, since  </span><span class="delete">a1</span><span class="delete"> must have been active before   </span><span class="delete">a2</span><span class="delete"> started. This is
-illustrated by Subfigure </span><span class="delete">ordering-activity-fig</span><span class="delete"> (e)</span><a href="#ordering-entity-fig"><span class="insert">Figure 4</span></a><span class="insert"> (b)</span> and  expressed by<span class="delete"> constraint </span><span class="delete">wasStartedByActivity-ordering</span>  <a class="rule-ref" href="#derivation-usage-generation-ordering"><span><span class="insert">Constraint 43 (derivation-usage-generation-ordering)</span></span></a>.</p>
-
-
-
-   <div class="constraint" id="derivation-usage-generation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#derivation-usage-generation-ordering"><span class="insert">Constraint 43 (derivation-usage-generation-ordering)</span></a></div>
-  <p><span class="insert">
-  In this constraint, </span><span class="name"><span class="insert">_a</span></span><span class="insert">, </span><span class="name"><span class="insert">gen2</span></span><span class="insert">, </span><span class="name"><span class="insert">use1</span></span> <em class="rfc2119" title="must not"><span class="insert">must not</span></em><span class="insert"> be placeholders.</span></p>
+illustrated by <a href="#ordering-entity-fig">Figure 4</a> (b) and  expressed by  <a class="rule-ref" href="#derivation-usage-generation-ordering"><span>Constraint 43 (derivation-usage-generation-ordering)</span></a>.</p>
+
+
+<div class="constraint" id="derivation-usage-generation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#derivation-usage-generation-ordering">Constraint 43 (derivation-usage-generation-ordering)</a></div>
+  <p>
+  In this constraint, <span class="name">_a</span>, <span class="name">gen2</span>, <span class="name">use1</span> <em class="rfc2119" title="must not">must not</em> be placeholders.</p>
 <p>
       <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasStartedByActivity(a2,a1)</span><span class="delete"> 
-and
-</span><span class="delete">wasStartedBy(start1,a1,-,-)</span><span class="delete"> 
-and
-</span><span class="delete">wasStartedBy(start2,a2,-,-)</span><span class="insert">wasDerivedFrom(_d; _e2,_e1,_a,gen2,use1,_attrs)</span></span> 
+<span class="name">wasDerivedFrom(_d; _e2,_e1,_a,gen2,use1,_attrs)</span> 
 <span class="conditional">THEN</span>
-<span class="name"><span class="delete">start1</span><span class="insert">use1</span></span> 
+<span class="name">use1</span> 
 <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
-<span class="name"><span class="delete">start2</span><span class="insert">gen2</span></span>.
-
-  
+<span class="name">gen2</span>.  
 </p>
 </div>
-
-
-
-
-<span class="delete">5.2.2 </span><span class="delete"> Entity constraints</span>
-
-
 <p>
-<span class="delete">As with activities, entities have lifetimes: they are generated, then
-can be used, revised, or other entities can be derived from them, and
-finally are invalidated.
-</span></p>
-
-
-  
-
-
-<span class="delete">Summary of </span><span class="delete">instantaneous event</span><span class="delete"> ordering constraints for entities</span>
-
-
-
-
-
-<hr>
-
-<span class="delete">Generation of an entity precedes</span><p id="derivation-generation-generation-ordering_text"><span class="insert">
-When the activity, generation or usage is unknown, a similar constraint exists, except that the constraint refers to</span> its<span class="delete"> invalidation. (This
-follows from other constraints if the entity is used, but we state it
-explicitly to cover the case of an entity that is generated and
-invalidated without being used.)</span><span class="insert">
+</p><hr>
+
+<p id="derivation-generation-generation-ordering_text">
+When the activity, generation or usage is unknown, a similar constraint exists, except that the constraint refers to its
 generation event, as
-illustrated by </span><a href="#ordering-entity-fig"><span class="insert">Figure 4</span></a><span class="insert"> (c) and  expressed by </span><a class="rule-ref" href="#derivation-generation-generation-ordering"><span><span class="insert">Constraint 44 (derivation-generation-generation-ordering)</span></span></a><span class="insert">.</span></p>
-
-<div class="constraint" id="derivation-generation-generation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#derivation-generation-generation-ordering"><span class="insert">Constraint 44 (derivation-generation-generation-ordering)</span></a></div>
-  <p><span class="insert">
-In this constraint, any </span><span class="name"><span class="insert">_a</span></span><span class="insert">, </span><span class="name"><span class="insert">_g</span></span><span class="insert">, </span><span class="name"><span class="insert">_u</span></span> <em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> be placeholders.</span></p>
+illustrated by <a href="#ordering-entity-fig">Figure 4</a> (c) and  expressed by <a class="rule-ref" href="#derivation-generation-generation-ordering"><span>Constraint 44 (derivation-generation-generation-ordering)</span></a>.</p>
+
+<div class="constraint" id="derivation-generation-generation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#derivation-generation-generation-ordering">Constraint 44 (derivation-generation-generation-ordering)</a></div>
+  <p>
+In this constraint, any <span class="name">_a</span>, <span class="name">_g</span>, <span class="name">_u</span> <em class="rfc2119" title="may">may</em> be placeholders.</p>
 <p>
  <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasGeneratedBy(gen,e,_,_)</span><span class="delete"> 
-and
-</span><span class="delete">wasInvalidatedBy(inv,e,-,-)</span> 
-<span class="insert">wasDerivedFrom(_d; e2,e1,_a,_g,_u,attrs)</span></span><span class="insert">
+<span class="name">wasDerivedFrom(_d; e2,e1,_a,_g,_u,attrs)</span>
   and
-</span><span class="name"><span class="insert">wasGeneratedBy(gen1; e1,_a1,_t1,_attrs1)</span></span><span class="insert">
+<span class="name">wasGeneratedBy(gen1; e1,_a1,_t1,_attrs1)</span>
   and
-</span><span class="name"><span class="insert">wasGeneratedBy(gen2; e2,_a2,_t2,_attrs2)</span></span>
+<span class="name">wasGeneratedBy(gen2; e2,_a2,_t2,_attrs2)</span>
 <span class="conditional">THEN</span>
-<span class="name"><span class="delete">gen</span><span class="insert">gen1</span></span> 
-<a href="#dfn-strictly-precedes" class="internalDFN"><span class="insert">strictly </span>precedes</a>
-<span class="name"><span class="delete">inv</span><span class="delete">. 
-</span>
-
-
-<span class="delete"> A usage and a generation for a given entity implies ordering of </span><span class="delete">events</span><span class="delete">, since the </span><span class="delete">generation event</span><span class="delete"> had to precede the </span><span class="delete">usage event</span><span class="delete">. This is
-illustrated by Subfigure </span><span class="delete">ordering-entity-fig</span><span class="delete"> (a) and  expressed by constraint </span><span class="delete">generation-precedes-usage</span><span class="delete">.</span>
-
-
-  <span class="delete">IF</span>
-<span class="delete">wasGeneratedBy(gen,e,_,_)</span><span class="delete"> 
-and
-</span><span class="delete">used(use,_,e,-)</span> 
-<span class="delete">THEN</span>
-<span class="delete">gen</span> 
-<span class="delete">precedes</span>
-<span class="delete">use</span><span class="insert">gen2</span></span>.  
+<span class="name">gen1</span> 
+<a href="#dfn-strictly-precedes" class="internalDFN">strictly precedes</a>
+<span class="name">gen2</span>.  
 </p>
   </div>
 
 <div class="remark">
-  <p><span class="insert">This constraint requires the derived
+  <p>This constraint requires the derived
     entity to be generated strictly following the generation of the
-    original entity. This follows from the [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM"><span class="insert">PROV-DM</span></a></cite><span class="insert">] definition of
-    derivation: </span><em><span class="insert">A derivation is a transformation of an entity into
+    original entity. This follows from the [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] definition of
+    derivation: <em>A derivation 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></em><span class="insert">, thus
-    the derived entity must be newer than the original entity.</span></p>
-  <p><span class="insert">The event ordering is between generations of </span><span class="name"><span class="insert">e1</span></span><span class="insert">
-and </span><span class="name"><span class="insert">e2</span></span><span class="insert">, as opposed to derivation where usage is known,
-which implies ordering between the usage of </span><span class="name"><span class="insert">e1</span></span><span class="insert"> and
-generation of </span><span class="name"><span class="insert">e2</span></span><span class="insert">.  </span></p>
+    construction of a new entity based on a pre-existing entity</em>, thus
+    the derived entity must be newer than the original entity.</p>
+  <p>The event ordering is between generations of <span class="name">e1</span>
+and <span class="name">e2</span>, as opposed to derivation where usage is known,
+which implies ordering between the usage of <span class="name">e1</span> and
+generation of <span class="name">e2</span>.  </p>
 </div>
 
 <hr>
 
-<span class="delete">All usages</span><p id="wasStartedBy-ordering_text"><span class="insert">
-The entity that triggered the start</span> of an <span class="delete">entity precede its invalidation, which</span><span class="insert">activity must exist before the activity starts.
-This</span> is<span class="delete"> captured</span><span class="insert">
-illustrated</span> by <span class="delete">constraint </span><span class="delete">usage-precedes-invalidation</span><span class="delete"> (without any explicit graphical representation).</span> 
-
-
-    <span class="delete">IF</span>
-<span class="delete">used(use,_,e,-)</span><span class="delete"> 
-and
-</span><span class="delete">wasInvalidatedBy(inv,e,_,_)</span> 
-<span class="delete">THEN</span>
-<span class="delete">use</span> 
-<span class="delete">precedes</span>
-<span class="delete">inv</span><span class="delete">.  
-</span>
-
-
-
-
-
-
-
-
-
-
-<span class="delete">If there is a derivation between </span><span class="delete">e2</span><span class="delete"> and </span><span class="delete">e1</span><span class="delete">, then 
-this means that the entity </span><span class="delete">e1</span><span class="delete"> had some form of influence on the entity </span><span class="delete">e2</span><span class="delete">; for this to be possible, some event ordering must be satisfied.
-First, we consider derivations, where the activity and usage are known. In that case, the </span><span class="delete">usage</span><span class="delete"> of </span><span class="delete">e1</span><span class="delete"> has to precede the </span><span class="delete">generation</span><span class="delete"> of </span><span class="delete">e2</span><span class="delete">.
+<p id="wasStartedBy-ordering_text">
+The entity that triggered the start of an activity must exist before the activity starts.
 This is
-illustrated by Subfigure </span><span class="delete">ordering-entity-fig</span><span class="delete"> (b)</span><a href="#ordering-entity-trigger"><span class="insert">Figure 5</span></a><span class="insert">(a)</span> and  expressed by <span class="delete">constraint </span><span class="delete">derivation-usage-generation-ordering</span><span class="delete">.</span>
-
-
-
-      <span class="delete">IF</span>
-<span class="delete">wasDerivedFrom(d,e2,e1,a,g2,u1,-)</span> 
-<span class="delete">THEN</span>
-<span class="delete">u1</span> 
-<span class="delete">precedes</span>
-<span class="delete">g2</span><span class="delete">.  
-
-</span>
-
-
-<span class="delete">When the usage is unknown, a similar constraint exists, except that the constraint refers to its
-generation event, as
-illustrated by Subfigure </span><span class="delete">ordering-entity-fig</span><span class="delete"> (c) and  expressed by constraint </span><span class="delete">derivation-generation-generation-ordering</span><span class="delete">.</span>
-
-
- <span class="delete">IF</span>
-<span class="delete">wasDerivedFrom(e2,e1,attrs)</span><span class="delete">
-  and
-</span><span class="delete">wasGeneratedBy(gen1,e1,_,_)</span><span class="delete">
-  and
-</span><span class="delete">wasGeneratedBy(gen2,e2,_,_)</span>
-<span class="delete">THEN</span>
-<span class="delete">gen1</span> 
-<span class="delete">precedes</span>
-<span class="delete">gen2</span><span class="delete">.  
-  </span>
-
-<span class="delete">Note that event ordering is between generations of </span><span class="delete">e1</span><span class="delete">
-and </span><span class="delete">e2</span><span class="delete">, as opposed to derivation where usage is known,
-which implies ordering ordering between the usage of </span><span class="delete">e1</span><span class="delete"> and
-generation of </span><span class="delete">e2</span><span class="delete">.  </span>
-
-
-
-<span class="delete">The entity that triggered the start of an activity must exist before the activity starts.
-This is
-illustrated by Subfigure </span><span class="delete">ordering-entity-trigger-fig</span><span class="delete"> (a) and  expressed by constraint </span><span class="delete">wasStartedBy-ordering</span><a class="rule-ref" href="#wasStartedBy-ordering"><span><span class="insert">Constraint 45 (wasStartedBy-ordering)</span></span></a>.</p>
-
-
-<div class="constraint" id="wasStartedBy-ordering"><div class="ruleTitle"><a class="internalDFN" href="#wasStartedBy-ordering"><span class="insert">Constraint 45 (wasStartedBy-ordering)</span></a></div>
+illustrated by <a href="#ordering-entity-trigger">Figure 5</a>(a) and  expressed by <a class="rule-ref" href="#wasStartedBy-ordering"><span>Constraint 45 (wasStartedBy-ordering)</span></a>.</p>
+
+
+<div class="constraint" id="wasStartedBy-ordering"><div class="ruleTitle"><a class="internalDFN" href="#wasStartedBy-ordering">Constraint 45 (wasStartedBy-ordering)</a></div>
  <ol>
     <li>
     <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasStartedBy(start,a,e,-)</span><span class="insert">wasGeneratedBy(gen; e,_a1,_t1,_attrs1)</span></span> 
+<span class="name">wasGeneratedBy(gen; e,_a1,_t1,_attrs1)</span> 
 and
-<span class="name"><span class="delete">wasGeneratedBy(gen,e,-,-)</span><span class="insert">wasStartedBy(start; _a,e,_a2,_t2,_attrs2)</span></span> 
+<span class="name">wasStartedBy(start; _a,e,_a2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
 <span class="name">gen</span> 
 <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
 <span class="name">start</span>.
   </li><li>
     <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasStartedBy(start,a,e,-)</span><span class="insert">wasStartedBy(start; _a,e,_a1,_t1,_attrs1)</span></span> 
+<span class="name">wasStartedBy(start; _a,e,_a1,_t1,_attrs1)</span> 
 and
-<span class="name"><span class="delete">wasInvalidatedBy(inv,e,-,-)</span><span class="insert">wasInvalidatedBy(inv; e,_a2,_t2,_attrs2)</span></span> 
+<span class="name">wasInvalidatedBy(inv; e,_a2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
 <span class="name">start</span> 
 <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
@@ -4711,40 +4107,35 @@
   </ol>
 </div>
 
-
 <hr>
 
-<p id="wasEndedBy-ordering_text"> Similarly,   the entity that triggered 
-the end of an activity must exist before the activity ends, as 
-illustrated by<span class="delete"> Subfigure </span><span class="delete">ordering-entity-trigger-fig</span> 
-<a href="#ordering-entity-trigger"><span class="insert">Figure 5</span></a>(b).</p> 
-
-
-
-
-
-<div class="constraint" id="wasEndedBy-ordering"><div class="ruleTitle"><a class="internalDFN" href="#wasEndedBy-ordering"><span class="insert">Constraint 46 (wasEndedBy-ordering)</span></a></div>
+<p id="wasEndedBy-ordering_text"> Similarly, the entity that triggered
+the end of an activity must exist before the activity ends, as
+illustrated by
+<a href="#ordering-entity-trigger">Figure 5</a>(b).</p>
+
+
+<div class="constraint" id="wasEndedBy-ordering"><div class="ruleTitle"><a class="internalDFN" href="#wasEndedBy-ordering">Constraint 46 (wasEndedBy-ordering)</a></div>
  <ol>
       <li>
     <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasEndedBy(end,a,e,-)</span><span class="insert">wasGeneratedBy(gen; e,_a1,_t1,_attrs1)</span></span> 
+<span class="name">wasGeneratedBy(gen; e,_a1,_t1,_attrs1)</span> 
 and
-<span class="delete">wasGeneratedBy(gen,e,-,-)</span>
-   <span class="name"><span class="insert">wasEndedBy(end; _a,e,_a2,_t2,_attrs2)</span></span> 
+   <span class="name">wasEndedBy(end; _a,e,_a2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
 <span class="name">gen</span> 
 <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
 <span class="name">end</span>.
   </li><li>
     <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasEndedBy(end,a,e,-)</span><span class="insert">wasEndedBy(end; _a,e,_a1,_t1,_attrs1)</span></span> 
+<span class="name">wasEndedBy(end; _a,e,_a1,_t1,_attrs1)</span> 
 and
-<span class="name"><span class="delete">wasInvalidatedBy(inv,e,-,-)</span><span class="insert">wasInvalidatedBy(inv; e,_a2,_t2,_attrs2)</span></span> 
+<span class="name">wasInvalidatedBy(inv; e,_a2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
 <span class="name">end</span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">inv</span></span><span class="insert">.
-  </span></li>
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">inv</span>.
+  </li>
   </ol>
 </div>
 
@@ -4752,176 +4143,123 @@
 <span class="figure" id="ordering-entity-trigger">
 <img src="images/constraints/ordering-entity-trigger.png" alt="ordering constraints for trigger entities">
 <br>
-<span class="figcaption" id="ordering-entity-trigger-fig"><span class="insert">Figure 5</span><sup><a class="internalDFN" href="#ordering-entity-trigger-fig"><span class="diamond"><span class="insert"> ◊:</span></span></a></sup><span class="insert"> Summary of </span><a title="instantaneous event" href="#dfn-event" class="internalDFN"><span class="insert">instantaneous event</span></a><span class="insert"> ordering constraints for trigger entities</span></span>  
+<span class="figcaption" id="ordering-entity-trigger-fig">Figure 5<sup><a class="internalDFN" href="#ordering-entity-trigger-fig"><span class="diamond"> ◊:</span></a></sup> Summary of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> ordering constraints for trigger entities</span>  
 </span>
 </div>
 
 <hr>
-<p id="specialization-generation-ordering_text"><span class="insert">
+<p id="specialization-generation-ordering_text">
 If an entity is a specialization of another, then the more
 specific entity must have been generated after the
 less specific entity was generated.
-</span></p>
-<div class="constraint" id="specialization-generation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#specialization-generation-ordering"><span class="insert">Constraint 47 (specialization-generation-ordering)</span></a></div>
+</p>
+<div class="constraint" id="specialization-generation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#specialization-generation-ordering">Constraint 47 (specialization-generation-ordering)</a></div>
   <p>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">specializationOf(e2,e1)</span></span><span class="insert"> and </span><span class="name"><span class="insert">wasGeneratedBy(gen1; e1,_a1,_t1,_attrs1)</span></span><span class="insert"> and
-  </span><span class="name"><span class="insert">wasGeneratedBy(gen2; e2,_a2,_t2,_attrs2)</span></span>
-  <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">gen1</span></span> <a href="#dfn-precedes" class="internalDFN">precedes</a>
-<span class="delete">inv</span> <span class="name"><span class="insert">gen2</span></span>.
-  
-  
-  
+<span class="conditional">IF</span> <span class="name">specializationOf(e2,e1)</span> and <span class="name">wasGeneratedBy(gen1; e1,_a1,_t1,_attrs1)</span> and
+  <span class="name">wasGeneratedBy(gen2; e2,_a2,_t2,_attrs2)</span>
+  <span class="conditional">THEN</span> <span class="name">gen1</span> <a href="#dfn-precedes" class="internalDFN">precedes</a> <span class="name">gen2</span>.  
 </p></div>
 
-
-
-<span class="delete">Summary</span><p>
+<p>
 
 </p><hr>
-<p id="specialization-invalidation-ordering_text"><span class="insert">
-Similarly, if an entity is a specialization</span> of <span class="delete">instantaneous</span><span class="insert">another entity, and
+<p id="specialization-invalidation-ordering_text">
+Similarly, if an entity is a specialization of another entity, and
 then
-the invalidation</span> event<span class="delete"> ordering constraints for trigger entities</span><span class="insert"> of the more specific entity precedes that of
+the invalidation event of the more specific entity precedes that of
 the less specific entity.
-</span></p><div class="constraint" id="specialization-invalidation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#specialization-invalidation-ordering"><span class="insert">Constraint 48 (specialization-invalidation-ordering)</span></a></div>
-
-
+</p><div class="constraint" id="specialization-invalidation-ordering"><div class="ruleTitle"><a class="internalDFN" href="#specialization-invalidation-ordering">Constraint 48 (specialization-invalidation-ordering)</a></div>
   <p>
-<span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">specializationOf(e1,e2)</span></span><span class="insert"> and
- </span><span class="name"><span class="insert">wasInvalidatedBy(inv1; e1,_a1,_t1,_attrs1)</span></span><span class="insert"> and 
- </span><span class="name"><span class="insert">wasInvalidatedBy(inv2; e2,_a2,_t2,_attrs2)</span></span>
-  <span class="conditional"><span class="insert">THEN</span></span> <span class="name"><span class="insert">inv1</span></span> <a href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a> <span class="name"><span class="insert">inv2</span></span><span class="insert">.
-</span></p>
+<span class="conditional">IF</span> <span class="name">specializationOf(e1,e2)</span> and
+ <span class="name">wasInvalidatedBy(inv1; e1,_a1,_t1,_attrs1)</span> and 
+ <span class="name">wasInvalidatedBy(inv2; e2,_a2,_t2,_attrs2)</span>
+  <span class="conditional">THEN</span> <span class="name">inv1</span> <a href="#dfn-precedes" class="internalDFN">precedes</a> <span class="name">inv2</span>.
+</p>
   </div>
 
-
-
-
-
 </div>
 
 <div id="agent-constraints" class="section">
 <h4><span class="secno">5.2.3 </span> Agent constraints</h4>
 
-<p>
- Like entities and activities, agents have lifetimes that follow a
-familiar <span class="delete">pattern:</span><span class="insert">pattern.  An agent that is also</span> an <span class="insert">entity can be generated
-and invalidated; an </span>agent <span class="insert">that </span>is <span class="delete">generated,</span><span class="insert">also an activity</span> can <span class="insert">be started or
-ended.  During its lifetime, an agent can </span>participate in
- interactions 
-such as <span class="delete">starting,</span><span class="insert">starting or</span> ending <span class="insert">other activities, association with an
-activity, attribution, </span>or <span class="delete">association with an
-activity, attribution, or delegation, and finally the agent is invalidated.
-</span><span class="insert">delegation.
+<p> Like entities and activities, agents have lifetimes that follow a
+familiar pattern.  An agent that is also an entity can be generated
+and invalidated; an agent that is also an activity can be started or
+ended.  During its lifetime, an agent can participate in interactions
+such as starting or ending other activities, association with an
+activity, attribution, or delegation.
   
-</span></p>
- <p>Further constraints associated with agents appear in <a href="#ordering-agents">Figure <span class="delete">ordering-agents</span><span class="insert">6</span></a> and are discussed below.</p>
+</p> <p>Further constraints associated with agents appear in <a href="#ordering-agents">Figure 6</a> and are discussed below.</p>
 
 <div style="text-align: center;">
-
 <span class="figure" id="ordering-agents-fig">
 <img src="images/constraints/ordering-agents.png" alt="ordering constraints for agents">
 <br>
-<span class="figcaption" id="ordering-agents"><span class="insert">Figure 6</span><sup><a class="internalDFN" href="#ordering-agents"><span class="diamond"><span class="insert"> ◊:</span></span></a></sup> Summary of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> ordering 
-  constraints <span class="delete">(continued)</span>
-
-<span class="insert">for agents</span></span> 
+<span class="figcaption" id="ordering-agents">Figure 6<sup><a class="internalDFN" href="#ordering-agents"><span class="diamond"> ◊:</span></a></sup> Summary of <a title="instantaneous event" href="#dfn-event" class="internalDFN">instantaneous event</a> ordering
+  constraints for agents</span> 
 </span>
 </div>
 
 <hr>
 
 
-<p id="wasAssociatedWith-ordering_text">An activity that was 
-associated with an agent must have some overlap with the agent. The 
-agent <em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> have been generated (or started), or </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> have become
-associated with the activity, after the activity start: so, the agent </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> exist before the activity end. Likewise, the agent </span>may be <span class="delete">generated,</span><span class="insert">destructed (or ended),</span> or may <span class="delete">only become associated</span><span class="insert">terminate its association</span> with the activity, <span class="insert">before the activity end: hence, the agent invalidation (or end) is required to happen </span>after the activity <span class="delete">start: so, the agent</span><span class="insert">start.
-This</span> is <span class="delete">required to exist before the activity end. Likewise, the agent may be destructed, or may terminate its association with the activity, before the activity end: hence, the agent invalidation is required to happen after the activity start.
-This is
-</span>illustrated by <span class="delete">Subfigure </span><a href="#ordering-agents"><span class="delete">ordering-agents</span><span class="insert">Figure 6</span></a> (a) and  expressed by <span class="delete">constraint </span><span class="delete">wasAssociatedWith-ordering</span><a class="rule-ref" href="#wasAssociatedWith-ordering"><span><span class="insert">Constraint 49 (wasAssociatedWith-ordering)</span></span></a>.</p>
-
-
-
-
-
-
-<div class="constraint" id="wasAssociatedWith-ordering">
-  <div class="ruleTitle"><a class="internalDFN" href="#wasAssociatedWith-ordering"><span class="insert">Constraint 49 (wasAssociatedWith-ordering)</span></a></div>
-  <p><span class="insert">
-In the following inferences, </span><span class="name"><span class="insert">_pl</span></span> <em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> be
- a placeholder </span><span class="name"><span class="insert">-</span></span><span class="insert">.
-  </span></p><ol>    <li>
+<p id="wasAssociatedWith-ordering_text">An activity that was
+associated with an agent must have some overlap with the agent. The
+agent <em class="rfc2119" title="must">must</em> have been generated (or started), or <em class="rfc2119" title="must">must</em> have become
+associated with the activity, after the activity start: so, the agent <em class="rfc2119" title="must">must</em> exist before the activity end. Likewise, the agent may be destructed (or ended), or may terminate its association with the activity, before the activity end: hence, the agent invalidation (or end) is required to happen after the activity start.
+This is illustrated by <a href="#ordering-agents">Figure 6</a> (a) and  expressed by <a class="rule-ref" href="#wasAssociatedWith-ordering"><span>Constraint 49 (wasAssociatedWith-ordering)</span></a>.</p>
+
+
+
+<div class="constraint" id="wasAssociatedWith-ordering"><div class="ruleTitle"><a class="internalDFN" href="#wasAssociatedWith-ordering">Constraint 49 (wasAssociatedWith-ordering)</a></div>
+  <p>
+In the following inferences, <span class="name">_pl</span> <em class="rfc2119" title="may">may</em> be
+ a placeholder <span class="name">-</span>.
+  </p><ol>    <li>
     <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasAssociatedWith(a,ag)</span><span class="insert">wasAssociatedWith(_assoc; a,ag,_pl,_attrs)</span></span> 
-and
-<span class="name"><span class="delete">wasStartedBy(start,a,-,-)</span><span class="insert">wasStartedBy(start1; a,_e1,_a1,_t1,_attrs1)</span></span> 
+<span class="name">wasAssociatedWith(_assoc; a,ag,_pl,_attrs)</span> 
 and
-<span class="name"><span class="delete">wasInvalidatedBy(inv,ag,-,-)</span><span class="insert">wasInvalidatedBy(inv2; ag,_a2,_t2,_attrs2)</span></span> 
+<span class="name">wasStartedBy(start1; a,_e1,_a1,_t1,_attrs1)</span> 
+and
+<span class="name">wasInvalidatedBy(inv2; ag,_a2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
-<span class="name"><span class="delete">start</span><span class="insert">start1</span></span> 
+<span class="name">start1</span> 
 <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
-<span class="name"><span class="delete">inv</span><span class="insert">inv2</span></span>.
+<span class="name">inv2</span>.
   </li><li>
     <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasAssociatedWith(a,ag)</span><span class="insert">wasAssociatedWith(_assoc; a,ag,_pl,_attrs)</span></span> 
+<span class="name">wasAssociatedWith(_assoc; a,ag,_pl,_attrs)</span> 
 and
-<span class="name"><span class="delete">wasGeneratedBy(gen,ag,-,-)</span><span class="insert">wasGeneratedBy(gen1; ag,_a1,_t1,_attrs1)</span></span> 
+<span class="name">wasGeneratedBy(gen1; ag,_a1,_t1,_attrs1)</span> 
 and
-<span class="name"><span class="delete">wasEndedBy(end,a,-,-)</span><span class="insert">wasEndedBy(end2; a,_e2,_a2,_t2,_attrs2)</span></span> 
+<span class="name">wasEndedBy(end2; a,_e2,_a2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
-<span class="name"><span class="delete">gen</span><span class="insert">gen1</span></span> 
+<span class="name">gen1</span> 
 <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
-<span class="name"><span class="delete">end</span><span class="delete">.
-  </span>
-  
-
-
-
-
-<span class="delete">An entity that was attributed to an agent must have some overlap
-with the agent. The agent is required to exist before the entity
-invalidation. Likewise, the entity generation must precede the agent destruction.
-This is
-illustrated by Subfigure </span><span class="delete">ordering-agents</span><span class="delete"> (b) and  expressed by constraint </span><span class="delete">wasAttributedTo-ordering</span><span class="delete">.</span>
-
-
-
- 
-
-       
-    <span class="delete">IF</span>
-<span class="delete">wasAttributedTo(e,ag)</span><span class="delete"> 
-and
-</span><span class="delete">wasGeneratedBy(gen,e,-,-)</span><span class="delete"> 
-and
-</span><span class="delete">wasInvalidatedBy(inv,ag,-,-)</span> 
-<span class="delete">THEN</span>
-<span class="delete">gen</span> 
-<span class="delete">precedes</span>
-<span class="delete">inv</span><span class="insert">end2</span></span>.
+<span class="name">end2</span>.
   </li><li>
     <span class="conditional">IF</span>
-<span class="name"><span class="delete">wasAttributedTo(e,ag)</span><span class="insert">wasAssociatedWith(_assoc; a,ag,_pl,_attrs)</span></span> 
+<span class="name">wasAssociatedWith(_assoc; a,ag,_pl,_attrs)</span> 
 and
-<span class="name"><span class="delete">wasGeneratedBy(gen,ag,-,-)</span><span class="insert">wasStartedBy(start1; a,_e1,_a1,_t1,_attrs1)</span></span> 
+<span class="name">wasStartedBy(start1; a,_e1,_a1,_t1,_attrs1)</span> 
 and
-<span class="name"><span class="delete">wasInvalidatedBy(inv,e,-,-)</span><span class="insert">wasEndedBy(end2; ag,_e2,_a2,_t2,_attrs2)</span></span> 
+<span class="name">wasEndedBy(end2; ag,_e2,_a2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
-<span class="name"><span class="delete">gen</span><span class="insert">start1</span></span> 
+<span class="name">start1</span> 
 <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
-<span class="name"><span class="delete">inv</span><span class="insert">end2</span></span><span class="insert">.
-  </span></li><li>
-    <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasAssociatedWith(_assoc; a,ag,_pl,_attrs)</span></span><span class="insert"> 
+<span class="name">end2</span>.
+  </li><li>
+    <span class="conditional">IF</span>
+<span class="name">wasAssociatedWith(_assoc; a,ag,_pl,_attrs)</span> 
 and
-</span><span class="name"><span class="insert">wasStartedBy(start1; ag,_e1,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+<span class="name">wasStartedBy(start1; ag,_e1,_a1,_t1,_attrs1)</span> 
 and
-</span><span class="name"><span class="insert">wasEndedBy(end2; a,_e2,_a2,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">start1</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">end2</span></span><span class="insert">.
-  </span></li>
+<span class="name">wasEndedBy(end2; a,_e2,_a2,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">start1</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">end2</span>.
+  </li>
   </ol>
 </div>
 
@@ -4930,36 +4268,36 @@
 
 </p><hr>
 
-<p id="wasAttributedTo-ordering_text"><span class="insert">An agent to which an entity was attributed, </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> exist before this entity was generated.
+<p id="wasAttributedTo-ordering_text">An agent to which an entity was attributed, <em class="rfc2119" title="must">must</em> exist before this entity was generated.
 This is
-illustrated by </span><a href="#ordering-agents"><span class="insert">Figure 6</span></a><span class="insert"> (b) and  expressed by  </span><a class="rule-ref" href="#wasAttributedTo-ordering"><span><span class="insert">Constraint 50 (wasAttributedTo-ordering)</span></span></a><span class="insert">.</span></p>
+illustrated by <a href="#ordering-agents">Figure 6</a> (b) and  expressed by  <a class="rule-ref" href="#wasAttributedTo-ordering"><span>Constraint 50 (wasAttributedTo-ordering)</span></a>.</p>
 
 
 
  
-<div class="constraint" id="wasAttributedTo-ordering"><div class="ruleTitle"><a class="internalDFN" href="#wasAttributedTo-ordering"><span class="insert">Constraint 50 (wasAttributedTo-ordering)</span></a></div>
+<div class="constraint" id="wasAttributedTo-ordering"><div class="ruleTitle"><a class="internalDFN" href="#wasAttributedTo-ordering">Constraint 50 (wasAttributedTo-ordering)</a></div>
       <ol> <li>
-    <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasAttributedTo(_at; e,ag,_attrs)</span></span><span class="insert"> 
-and
-</span><span class="name"><span class="insert">wasGeneratedBy(gen1; ag,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+    <span class="conditional">IF</span>
+<span class="name">wasAttributedTo(_at; e,ag,_attrs)</span> 
 and
-</span><span class="name"><span class="insert">wasGeneratedBy(gen2; e,_a2,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">gen1</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">gen2</span></span><span class="insert">.
-  </span></li><li>
-    <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">wasAttributedTo(_at; e,ag,_attrs)</span></span><span class="insert"> 
+<span class="name">wasGeneratedBy(gen1; ag,_a1,_t1,_attrs1)</span> 
 and
-</span><span class="name"><span class="insert">wasStartedBy(start1; ag,_e1,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+<span class="name">wasGeneratedBy(gen2; e,_a2,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">gen1</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">gen2</span>.
+  </li><li>
+    <span class="conditional">IF</span>
+<span class="name">wasAttributedTo(_at; e,ag,_attrs)</span> 
 and
-</span><span class="name"><span class="insert">wasGeneratedBy(gen2; e,_a2,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">start1</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">gen2</span></span>.
+<span class="name">wasStartedBy(start1; ag,_e1,_a1,_t1,_attrs1)</span> 
+and
+<span class="name">wasGeneratedBy(gen2; e,_a2,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">start1</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">gen2</span>.
   </li>
   </ol>
 </div>
@@ -4967,34 +4305,33 @@
 <p>
 </p><hr>
 
-<p id="actedOnBehalfOf-ordering_text">For <span class="delete">responsibility,</span><span class="insert">delegation,</span> two agents need to have some overlap in their lifetime.</p>
-
-
-<div class="constraint" id="actedOnBehalfOf-ordering">
-  <div class="ruleTitle"><a class="internalDFN" href="#actedOnBehalfOf-ordering"><span class="insert">Constraint 51 (actedOnBehalfOf-ordering)</span></a></div>
+<p id="actedOnBehalfOf-ordering_text">For delegation, <span class="delete">two agents need</span><span class="insert">the responsible agent has</span> to <span class="insert">precede or </span>have some overlap <span class="delete">in their lifetime.</span><span class="insert">with the subordinate agent.</span></p>
+
+
+<div class="constraint" id="actedOnBehalfOf-ordering"><div class="ruleTitle"><a class="internalDFN" href="#actedOnBehalfOf-ordering">Constraint 51 (actedOnBehalfOf-ordering)</a></div>
  <ol> <li>
 	 <span class="conditional">IF</span>
-<span class="name"><span class="delete">actedOnBehalfOf(ag2,ag1)</span><span class="insert">actedOnBehalfOf(_del; ag2,ag1,_a,_attrs)</span></span> 
-and
-<span class="name"><span class="delete">wasGeneratedBy(gen,ag1,-,-)</span><span class="insert">wasGeneratedBy(gen1; ag1,_a1,_t1,_attrs1)</span></span> 
+<span class="name">actedOnBehalfOf(_del; ag2,ag1,_a,_attrs)</span> 
 and
-<span class="name"><span class="delete">wasInvalidatedBy(inv,ag2,-,-)</span><span class="insert">wasInvalidatedBy(inv2; ag2,_a2,_t2,_attrs2)</span></span> 
+<span class="name">wasGeneratedBy(gen1; ag1,_a1,_t1,_attrs1)</span> 
+and
+<span class="name">wasInvalidatedBy(inv2; ag2,_a2,_t2,_attrs2)</span> 
 <span class="conditional">THEN</span>
-<span class="name"><span class="delete">gen</span><span class="insert">gen1</span></span> 
+<span class="name">gen1</span> 
 <a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
-<span class="name"><span class="delete">inv</span><span class="insert">inv2</span></span>.
+<span class="name">inv2</span>.
   </li><li>
-	 <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">actedOnBehalfOf(_del; ag2,ag1,_a,_attrs)</span></span><span class="insert"> 
-and
-</span><span class="name"><span class="insert">wasStartedBy(start1; ag1,_e1,_a1,_t1,_attrs1)</span></span><span class="insert"> 
+	 <span class="conditional">IF</span>
+<span class="name">actedOnBehalfOf(_del; ag2,ag1,_a,_attrs)</span> 
 and
-</span><span class="name"><span class="insert">wasEndedBy(end2; ag2,_e2,_a2,_t2,_attrs2)</span></span> 
-<span class="conditional"><span class="insert">THEN</span></span>
-<span class="name"><span class="insert">start1</span></span> 
-<a title="precedes" href="#dfn-precedes" class="internalDFN"><span class="insert">precedes</span></a>
-<span class="name"><span class="insert">end2</span></span><span class="insert">.
-  </span></li>
+<span class="name">wasStartedBy(start1; ag1,_e1,_a1,_t1,_attrs1)</span> 
+and
+<span class="name">wasEndedBy(end2; ag2,_e2,_a2,_t2,_attrs2)</span> 
+<span class="conditional">THEN</span>
+<span class="name">start1</span> 
+<a title="precedes" href="#dfn-precedes" class="internalDFN">precedes</a>
+<span class="name">end2</span>.
+  </li>
   </ol>
 
 </div>
@@ -5003,267 +4340,265 @@
 
 </div>  
 
-  
-
 
 
 <div id="type-constraints" class="section">
-<h3><span class="secno"><span class="insert">5.3 </span></span><span class="insert">Type Constraints</span></h3>
-
-<p id="typing_text"><span class="insert">The following rule  establishes types denoted by identifiers from their use within expressions. 
-The function </span><span class="name"><span class="insert">typeOf</span></span><span class="insert"> gives the set of types denoted by an identifier.
-That is,  </span><span class="name"><span class="insert">typeOf(e)</span></span><span class="insert"> returns the set of types associated with identifier  </span><span class="name"><span class="insert">e</span></span><span class="insert">. The function </span><span class="name"><span class="insert">typeOf</span></span><span class="insert"> is not a term of PROV, but a construct introduced to validate PROV statements. 
-</span></p>
-
-
-
-
-<p><span class="insert">
- For any identifier  </span><span class="name"><span class="insert">id</span></span><span class="insert">,  </span><span class="name"><span class="insert">typeOf(id)</span></span><span class="insert">  is a subset of {</span><span class="name"><span class="insert">'entity'</span></span><span class="insert">, </span><span class="name"><span class="insert">'activity'</span></span><span class="insert">, </span><span class="name"><span class="insert">'agent'</span></span><span class="insert">, </span><span class="name"><span class="insert">'prov:Collection'</span></span><span class="insert">, </span><span class="name"><span class="insert">'prov:EmptyCollection'</span></span><span class="insert">}.
-For identifiers that do not have a type,  </span><span class="name"><span class="insert">typeOf</span></span><span class="insert"> gives the empty set.
+<h3><span class="secno">5.3 </span>Type Constraints</h3>
+
+<p id="typing_text">The following rule  establishes types denoted by identifiers from their use within expressions. 
+The function <span class="name">typeOf</span> gives the set of types denoted by an identifier.
+That is,  <span class="name">typeOf(e)</span> returns the set of types associated with identifier  <span class="name">e</span>. The function <span class="name">typeOf</span> is not a term of PROV, but a construct introduced to validate PROV statements. 
+</p>
+
+
+
+
+<p>
+ For any identifier  <span class="name">id</span>,  <span class="name">typeOf(id)</span>  is a subset of {<span class="name">'entity'</span>, <span class="name">'activity'</span>, <span class="name">'agent'</span>, <span class="name">'prov:Collection'</span>, <span class="name">'prov:EmptyCollection'</span>}.
+For identifiers that do not have a type,  <span class="name">typeOf</span> gives the empty set.
   Identifiers can have more than one type, because of subtyping
- (e.g. </span><span class="name"><span class="insert">'prov:EmptyCollection'</span></span><span class="insert"> is a subtype of </span><span class="name"><span class="insert">'prov:Collection'</span></span><span class="insert">) or because certain types are not
- disjoint (such as </span><span class="name"><span class="insert">'agent'</span></span><span class="insert"> and </span><span class="name"><span class="insert">'entity'</span></span><span class="insert">). The set of types
+ (e.g. <span class="name">'prov:EmptyCollection'</span> is a subtype of <span class="name">'prov:Collection'</span>) or because certain types are not
+ disjoint (such as <span class="name">'agent'</span> and <span class="name">'entity'</span>). The set of types
  does not reflect all of the distinctions among objects, only those
- relevant for checking validity.  In particular, subtypes such as </span><span class="name"><span class="insert">'plan'</span></span><span class="insert"> and </span><span class="name"><span class="insert">'bundle'</span></span><span class="insert"> are omitted, and statements such as </span><span class="name"><span class="insert">wasAssociatedWith</span></span><span class="insert"> and </span><span class="name"><span class="insert">mentionOf</span></span><span class="insert"> that have plan or bundle parameters only check that these parameters are entities.
-</span></p>
-
-<p><span class="insert">To check if a PROV instance satisfies type constraints, one obtains the types of identifiers by application of
-</span><a class="rule-ref" href="#typing"><span><span class="insert">Constraint 52 (typing)</span></span></a><span class="insert">
+ relevant for checking validity.  In particular, subtypes such as <span class="name">'plan'</span> and <span class="name">'bundle'</span> are omitted, and statements such as <span class="name">wasAssociatedWith</span> and <span class="name">mentionOf</span> that have plan or bundle parameters only check that these parameters are entities.
+</p>
+
+<p>To check if a PROV instance satisfies type constraints, one obtains the types of identifiers by application of
+<a class="rule-ref" href="#typing"><span>Constraint 52 (typing)</span></a>
 and check that none of the impossibility constraints 
-</span><a class="rule-ref" href="#entity-activity-disjoint"><span><span class="insert">Constraint 57 (entity-activity-disjoint)</span></span></a><span class="insert"> and
-</span><a class="rule-ref" href="#membership-empty-collection"><span><span class="insert">Constraint 58 (membership-empty-collection)</span></span></a><span class="insert"> are
-  violated as a result.</span></p>
-
-
-<div class="constraint" id="typing"><div class="ruleTitle"><a class="internalDFN" href="#typing"><span class="insert">Constraint 52 (typing)</span></a></div>
+<a class="rule-ref" href="#entity-activity-disjoint"><span>Constraint 57 (entity-activity-disjoint)</span></a> and
+<a class="rule-ref" href="#membership-empty-collection"><span>Constraint 58 (membership-empty-collection)</span></a> are
+  violated as a result.</p>
+
+
+<div class="constraint" id="typing"><div class="ruleTitle"><a class="internalDFN" href="#typing">Constraint 52 (typing)</a></div>
 
 
 <ol>
 <li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">entity(e,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'entity' ∈ typeOf(e)</span></span><span class="insert">.
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">agent(ag,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'agent' ∈ typeOf(ag)</span></span><span class="insert">.
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">activity(a,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'activity' ∈ typeOf(a)</span></span><span class="insert">.
-
-
-</span></li><li>
-
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">used(u; a,e,t,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'activity' ∈ typeOf(a)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(e)</span></span><span class="insert">.
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">wasGeneratedBy(gen; e,a,t,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'entity' ∈ typeOf(e)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'activity' ∈ typeOf(a)</span></span><span class="insert">.
-
-</span></li><li>
-
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">wasInformedBy(id; a2,a1,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'activity' ∈ typeOf(a2)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'activity' ∈ typeOf(a1)</span></span><span class="insert">.
-
-</span></li><li>
-
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">wasStartedBy(id; a2,e,a1,t,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'activity' ∈ typeOf(a2)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(e)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'activity' ∈ typeOf(a1)</span></span><span class="insert">.
-
-
-
-</span></li><li>
-
-
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">wasEndedBy(id; a2,e,a1,t,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'activity' ∈ typeOf(a2)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(e)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'activity' ∈ typeOf(a1)</span></span><span class="insert">.
-
-
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">wasInvalidatedBy(id; e,a,t,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'entity' ∈ typeOf(e)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'activity' ∈ typeOf(a)</span></span><span class="insert">.
-
-
-
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">wasDerivedFrom(id;  e2, e1, a, g2, u1, attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'entity' ∈ typeOf(e2)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(e1)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'activity' ∈ typeOf(a)</span></span><span class="insert">.
-   In this constraint, </span><span class="name"><span class="insert">a</span></span><span class="insert">, </span><span class="name"><span class="insert">g2</span></span><span class="insert">, and </span><span class="name"><span class="insert">u1</span></span> <em class="rfc2119" title="must not"><span class="insert">must not</span></em><span class="insert"> be placeholders.
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">wasDerivedFrom(id;  e2, e1, -, -, -, attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'entity' ∈ typeOf(e2)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(e1)</span></span><span class="insert">.
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">wasAttributedTo(id; e,ag,attr)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'entity' ∈ typeOf(e)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'agent' ∈ typeOf(ag)</span></span><span class="insert">.
-
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">wasAssociatedWith(id; a,ag,pl,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'activity' ∈ typeOf(a)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'agent' ∈ typeOf(ag)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(pl)</span></span><span class="insert">.  In this
-constraint, </span><span class="name"><span class="insert">pl</span></span> <em class="rfc2119" title="must not"><span class="insert">must not</span></em><span class="insert"> be a placeholder.
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">wasAssociatedWith(id; a,ag,-,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'activity' ∈ typeOf(a)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'agent' ∈ typeOf(ag)</span></span><span class="insert">.
-
-
-
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">actedOnBehalfOf(id; ag2,ag1,a,attrs)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'agent' ∈ typeOf(ag2)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'agent' ∈ typeOf(ag1)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'activity' ∈ typeOf(a)</span></span><span class="insert">.
-
-
-
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">alternateOf(e2, e1)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'entity' ∈ typeOf(e2)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(e1)</span></span><span class="insert">.
-
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">specializationOf(e2, e1)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'entity' ∈ typeOf(e2)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(e1)</span></span><span class="insert">.
-
-
-</span></li><li>
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">mentionOf(e2,e1,b)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'entity' ∈ typeOf(e2)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(e1)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(b)</span></span><span class="insert">.
-
-
-</span></li><li>
-
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">hadMember(c,e)</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'prov:Collection' ∈ typeOf(c)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(c)</span></span><span class="insert"> AND
-</span><span class="name"><span class="insert">'entity' ∈ typeOf(e)</span></span><span class="insert">.
-
-
-</span></li><li>
-
-<span class="conditional"><span class="insert">IF</span></span> 
-   <span class="name"><span class="insert">entity(c,[prov:type='prov:EmptyCollection'])</span></span>  
-<span class="conditional"><span class="insert">THEN</span></span> 
-<span class="name"><span class="insert">'entity' ∈ typeOf(c)</span></span><span class="insert">  AND
-</span><span class="name"><span class="insert">'prov:Collection' ∈ typeOf(c)</span></span><span class="insert">AND
-</span><span class="name"><span class="insert">'prov:EmptyCollection' ∈ typeOf(c)</span></span><span class="insert">.
-
-</span></li></ol>
+<span class="conditional">IF</span> 
+   <span class="name">entity(e,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'entity' ∈ typeOf(e)</span>.
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">agent(ag,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'agent' ∈ typeOf(ag)</span>.
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">activity(a,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'activity' ∈ typeOf(a)</span>.
+
+
+</li><li>
+
+<span class="conditional">IF</span> 
+   <span class="name">used(u; a,e,t,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'activity' ∈ typeOf(a)</span> AND
+<span class="name">'entity' ∈ typeOf(e)</span>.
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">wasGeneratedBy(gen; e,a,t,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'entity' ∈ typeOf(e)</span> AND
+<span class="name">'activity' ∈ typeOf(a)</span>.
+
+</li><li>
+
+<span class="conditional">IF</span> 
+   <span class="name">wasInformedBy(id; a2,a1,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'activity' ∈ typeOf(a2)</span> AND
+<span class="name">'activity' ∈ typeOf(a1)</span>.
+
+</li><li>
+
+<span class="conditional">IF</span> 
+   <span class="name">wasStartedBy(id; a2,e,a1,t,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'activity' ∈ typeOf(a2)</span> AND
+<span class="name">'entity' ∈ typeOf(e)</span> AND
+<span class="name">'activity' ∈ typeOf(a1)</span>.
+
+
+
+</li><li>
+
+
+<span class="conditional">IF</span> 
+   <span class="name">wasEndedBy(id; a2,e,a1,t,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'activity' ∈ typeOf(a2)</span> AND
+<span class="name">'entity' ∈ typeOf(e)</span> AND
+<span class="name">'activity' ∈ typeOf(a1)</span>.
+
+
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">wasInvalidatedBy(id; e,a,t,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'entity' ∈ typeOf(e)</span> AND
+<span class="name">'activity' ∈ typeOf(a)</span>.
+
+
+
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">wasDerivedFrom(id;  e2, e1, a, g2, u1, attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'entity' ∈ typeOf(e2)</span> AND
+<span class="name">'entity' ∈ typeOf(e1)</span> AND
+<span class="name">'activity' ∈ typeOf(a)</span>.
+   In this constraint, <span class="name">a</span>, <span class="name">g2</span>, and <span class="name">u1</span> <em class="rfc2119" title="must not">must not</em> be placeholders.
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">wasDerivedFrom(id;  e2, e1, -, -, -, attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'entity' ∈ typeOf(e2)</span> AND
+<span class="name">'entity' ∈ typeOf(e1)</span>.
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">wasAttributedTo(id; e,ag,attr)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'entity' ∈ typeOf(e)</span> AND
+<span class="name">'agent' ∈ typeOf(ag)</span>.
+
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">wasAssociatedWith(id; a,ag,pl,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'activity' ∈ typeOf(a)</span> AND
+<span class="name">'agent' ∈ typeOf(ag)</span> AND
+<span class="name">'entity' ∈ typeOf(pl)</span>.  In this
+constraint, <span class="name">pl</span> <em class="rfc2119" title="must not">must not</em> be a placeholder.
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">wasAssociatedWith(id; a,ag,-,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'activity' ∈ typeOf(a)</span> AND
+<span class="name">'agent' ∈ typeOf(ag)</span>.
+
+
+
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">actedOnBehalfOf(id; ag2,ag1,a,attrs)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'agent' ∈ typeOf(ag2)</span> AND
+<span class="name">'agent' ∈ typeOf(ag1)</span> AND
+<span class="name">'activity' ∈ typeOf(a)</span>.
+
+
+
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">alternateOf(e2, e1)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'entity' ∈ typeOf(e2)</span> AND
+<span class="name">'entity' ∈ typeOf(e1)</span>.
+
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">specializationOf(e2, e1)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'entity' ∈ typeOf(e2)</span> AND
+<span class="name">'entity' ∈ typeOf(e1)</span>.
+
+
+</li><li>
+<span class="conditional">IF</span> 
+   <span class="name">mentionOf(e2,e1,b)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'entity' ∈ typeOf(e2)</span> AND
+<span class="name">'entity' ∈ typeOf(e1)</span> AND
+<span class="name">'entity' ∈ typeOf(b)</span>.
+
+
+</li><li>
+
+<span class="conditional">IF</span> 
+   <span class="name">hadMember(c,e)</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'prov:Collection' ∈ typeOf(c)</span> AND
+<span class="name">'entity' ∈ typeOf(c)</span> AND
+<span class="name">'entity' ∈ typeOf(e)</span>.
+
+
+</li><li>
+
+<span class="conditional">IF</span> 
+   <span class="name">entity(c,[prov:type='prov:EmptyCollection'])</span>  
+<span class="conditional">THEN</span> 
+<span class="name">'entity' ∈ typeOf(c)</span>  AND
+<span class="name">'prov:Collection' ∈ typeOf(c)</span>AND
+<span class="name">'prov:EmptyCollection' ∈ typeOf(c)</span>.
+
+</li></ol>
 </div>
 
 </div> 
 
 <div id="impossibility-constraints" class="section">
-<h3><span class="secno"><span class="insert">5.4 </span></span><span class="insert">Impossibility constraints</span></h3>
-
-<p><span class="insert"> Impossibility constraints require that certain patterns of
-statements never appear in </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert"> PROV instances.  Impossibility
+<h3><span class="secno">5.4 </span>Impossibility constraints</h3>
+
+<p> Impossibility constraints require that certain patterns of
+statements never appear in <a href="#dfn-valid" class="internalDFN">valid</a> PROV instances.  Impossibility
 constraints have the following general form:
-</span></p>
-
-<div class="constraint-example" id="impossible-example"><div class="ruleTitle"><a class="internalDFN" href="#impossible-example"><span class="insert">Constraint-example NNN (impossible-example)</span></a></div>
-  <p><span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">hyp</span><sub><span class="insert">1</span></sub></span><span class="insert"> and ... and  </span><span class="name"><span class="insert">hyp</span><sub><span class="insert">n</span></sub></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="conditional"><span class="insert">INVALID</span></span><span class="insert">.</span></p>
+</p>
+
+<div class="constraint-example" id="impossible-example"><div class="ruleTitle"><a class="internalDFN" href="#impossible-example">Constraint-example NNN (impossible-example)</a></div>
+  <p><span class="conditional">IF</span> <span class="name">hyp<sub>1</sub></span> and ... and  <span class="name">hyp<sub>n</sub></span> <span class="conditional">THEN</span> <span class="conditional">INVALID</span>.</p>
   </div>
 
-<p><span class="insert"> Checking an impossibility constraint on instance </span><span class="math"><span class="insert">I</span></span><span class="insert"> means  checking whether there is
-any way of matching the pattern </span><span class="name"><span class="insert">hyp</span><sub><span class="insert">1</span></sub></span><span class="insert">, ..., </span><span class="name"><span class="insert">hyp</span><sub><span class="insert">n</span></sub></span><span class="insert">.  If there
-is, then checking the constraint on </span><span class="math"><span class="insert">I</span></span><span class="insert"> fails (which implies that
-</span><span class="math"><span class="insert">I</span></span><span class="insert"> is invalid).
-
-
-</span></p><hr>
-
-<p id="impossible-unspecified-derivation-generation-use_text"><span class="insert">
-A derivation with unspecified activity </span><span class="name"><span class="insert">wasDerivedFrom(id;e1,e2,-,g,u,attrs)</span></span><span class="insert"> represents a derivation that
+<p> Checking an impossibility constraint on instance <span class="math">I</span> means  checking whether there is
+any way of matching the pattern <span class="name">hyp<sub>1</sub></span>, ..., <span class="name">hyp<sub>n</sub></span>.  If there
+is, then checking the constraint on <span class="math">I</span> fails (which implies that
+<span class="math">I</span> is invalid).
+
+
+</p><hr>
+
+<p id="impossible-unspecified-derivation-generation-use_text">
+A derivation with unspecified activity <span class="name">wasDerivedFrom(id;e1,e2,-,g,u,attrs)</span> represents a derivation that
     takes one or more steps, whose activity, generation and use events
     are unspecified.  It is forbidden to specify a generation or use
-    event without specifying the activity.</span></p>
-
-        <div class="constraint" id="impossible-unspecified-derivation-generation-use"><div class="ruleTitle"><a class="internalDFN" href="#impossible-unspecified-derivation-generation-use"><span class="insert">Constraint 53 (impossible-unspecified-derivation-generation-use)</span></a></div>
-<p><span class="insert"> In the following rules, </span><span class="name"><span class="insert">g</span></span><span class="insert"> and </span><span class="name"><span class="insert">u</span></span> <em class="rfc2119" title="must not"><span class="insert">must not</span></em><span class="insert"> be </span><span class="name"><span class="insert">-</span></span><span class="insert">.</span></p>
+    event without specifying the activity.</p>
+
+        <div class="constraint" id="impossible-unspecified-derivation-generation-use"><div class="ruleTitle"><a class="internalDFN" href="#impossible-unspecified-derivation-generation-use">Constraint 53 (impossible-unspecified-derivation-generation-use)</a></div>
+<p> In the following rules, <span class="name">g</span> and <span class="name">u</span> <em class="rfc2119" title="must not">must not</em> be <span class="name">-</span>.</p>
 	  <ol>
-  <li> <span class="conditional"><span class="insert">IF</span></span>
-	    <span class="name"><span class="insert">wasDerivedFrom(_id;_e2,_e1,-,g,-,attrs)</span></span>
-	    <span class="conditional"><span class="insert">THEN</span></span> <span class="conditional"><span class="insert">INVALID</span></span><span class="insert">.</span></li>  <li> <span class="conditional"><span class="insert">IF</span></span>
-	    <span class="name"><span class="insert">wasDerivedFrom(_id;_e2,_e1,-,-,u,attrs)</span></span>
-	    <span class="conditional"><span class="insert">THEN</span></span> <span class="conditional"><span class="insert">INVALID</span></span><span class="insert">.</span></li>
-	      <li> <span class="conditional"><span class="insert">IF</span></span>
-	    <span class="name"><span class="insert">wasDerivedFrom(_id;_e2,_e1,-,g,u,attrs)</span></span>
-	    <span class="conditional"><span class="insert">THEN</span></span> <span class="conditional"><span class="insert">INVALID</span></span><span class="insert">.</span></li>
+  <li> <span class="conditional">IF</span>
+	    <span class="name">wasDerivedFrom(_id;_e2,_e1,-,g,-,attrs)</span>
+	    <span class="conditional">THEN</span> <span class="conditional">INVALID</span>.</li>  <li> <span class="conditional">IF</span>
+	    <span class="name">wasDerivedFrom(_id;_e2,_e1,-,-,u,attrs)</span>
+	    <span class="conditional">THEN</span> <span class="conditional">INVALID</span>.</li>
+	      <li> <span class="conditional">IF</span>
+	    <span class="name">wasDerivedFrom(_id;_e2,_e1,-,g,u,attrs)</span>
+	    <span class="conditional">THEN</span> <span class="conditional">INVALID</span>.</li>
 	    </ol>
     </div>   
 <hr>
 
-<p id="impossible-specialization-reflexive_text"><span class="insert">As noted previously, specialization is a
-    </span><a href="#dfn-strict-partial-order" class="internalDFN"><span class="insert">strict partial order</span></a><span class="insert">: it is </span><a href="#dfn-irreflexive" class="internalDFN"><span class="insert">irreflexive</span></a><span class="insert"> and
-    </span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert">.</span></p>
-
-        <div class="constraint" id="impossible-specialization-reflexive"><div class="ruleTitle"><a class="internalDFN" href="#impossible-specialization-reflexive"><span class="insert">Constraint 54 (impossible-specialization-reflexive)</span></a></div>
-
-	  <p> <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">specializationOf(e,e)</span></span> <span class="conditional"><span class="insert">THEN</span></span> <span class="conditional"><span class="insert">INVALID</span></span><span class="insert">.</span></p>
+<p id="impossible-specialization-reflexive_text">As noted previously, specialization is a
+    <a href="#dfn-strict-partial-order" class="internalDFN">strict partial order</a>: it is <a href="#dfn-irreflexive" class="internalDFN">irreflexive</a> and
+    <a href="#dfn-transitive" class="internalDFN">transitive</a>.</p>
+
+        <div class="constraint" id="impossible-specialization-reflexive"><div class="ruleTitle"><a class="internalDFN" href="#impossible-specialization-reflexive">Constraint 54 (impossible-specialization-reflexive)</a></div>
+
+	  <p> <span class="conditional">IF</span> <span class="name">specializationOf(e,e)</span> <span class="conditional">THEN</span> <span class="conditional">INVALID</span>.</p>
     </div>
 
 
@@ -5273,111 +4608,111 @@
   <hr>
 
 
-   <p id="impossible-property-overlap_text"><span class="insert"> Furthermore,  identifiers
+   <p id="impossible-property-overlap_text"> Furthermore,  identifiers
    of basic relationships are disjoint.
-  </span></p>
-  <div class="constraint" id="impossible-property-overlap"><div class="ruleTitle"><a class="internalDFN" href="#impossible-property-overlap"><span class="insert">Constraint 55 (impossible-property-overlap)</span></a></div>
-  <p><span class="insert">
-For each </span><span class="name"><span class="insert">r</span></span><span class="insert"> and </span><span class="name"><span class="insert">s</span></span><span class="insert">
+  </p>
+  <div class="constraint" id="impossible-property-overlap"><div class="ruleTitle"><a class="internalDFN" href="#impossible-property-overlap">Constraint 55 (impossible-property-overlap)</a></div>
+  <p>
+For each <span class="name">r</span> and <span class="name">s</span>
    in { 
-</span><span class="name"><span class="insert">used</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasGeneratedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInvalidatedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasStartedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasEndedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInformedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasAttributedTo</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasAssociatedWith</span></span><span class="insert">,
-</span><span class="name"><span class="insert">actedOnBehalfOf</span></span><span class="insert">} such that </span><span class="name"><span class="insert">r</span></span><span class="insert"> and </span><span class="name"><span class="insert">s</span></span><span class="insert">
+<span class="name">used</span>,
+<span class="name">wasGeneratedBy</span>,
+<span class="name">wasInvalidatedBy</span>,
+<span class="name">wasStartedBy</span>,
+<span class="name">wasEndedBy</span>,
+<span class="name">wasInformedBy</span>,
+<span class="name">wasAttributedTo</span>,
+<span class="name">wasAssociatedWith</span>,
+<span class="name">actedOnBehalfOf</span>} such that <span class="name">r</span> and <span class="name">s</span>
    are different relation names, the
   following constraint holds:
-</span></p>
+</p>
     <p>
-    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">r(id; a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span><span class="insert"> and </span><span class="name"><span class="insert">s(id; b</span><sub><span class="insert">1</span></sub><span class="insert">,...,b</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span> <span class="conditional"><span class="insert">THEN INVALID</span></span><span class="insert">.
-  </span></p>
+    <span class="conditional">IF</span> <span class="name">r(id; a<sub>1</sub>,...,a<sub>m</sub>)</span> and <span class="name">s(id; b<sub>1</sub>,...,b<sub>n</sub>)</span> <span class="conditional">THEN INVALID</span>.
+  </p>
   </div>
 
   <div class="remark">
-    <p><span class="insert">Since </span><span class="name"><span class="insert">wasInfluencedBy</span></span><span class="insert"> is a superproperty of many other
+    <p>Since <span class="name">wasInfluencedBy</span> is a superproperty of many other
     properties, it is excluded from the set of properties whose
     identifiers are required to be pairwise disjoint.  The following
     example illustrates this observation:
-    </span></p><pre><span class="insert">wasInfluencedBy(id;e2,e1)
+    </p><pre>wasInfluencedBy(id;e2,e1)
 wasDerivedFrom(id;e2,e1)
-</span></pre>
-<p><span class="insert">    This satisfies the disjointness constraint.
-    </span></p>
-    <p><span class="insert">There is, however, no
+</pre>
+<p>    This satisfies the disjointness constraint.
+    </p>
+    <p>There is, however, no
     constraint requiring that every influence relationship is
     accompanied by a more specific relationship having the same
     identifier.  The following valid example illustrates this observation:
-    </span></p><pre><span class="insert">wasInfluencedBy(id; e2,e1)
-</span></pre>
-<p><span class="insert">    This is valid; there is no inferrable information about what kind
-    of influence relates </span><span class="name"><span class="insert">e2</span></span><span class="insert"> and </span><span class="name"><span class="insert">e1</span></span><span class="insert">, other than its identity.
-    </span></p>
+    </p><pre>wasInfluencedBy(id; e2,e1)
+</pre>
+<p>    This is valid; there is no inferrable information about what kind
+    of influence relates <span class="name">e2</span> and <span class="name">e1</span>, other than its identity.
+    </p>
   </div>
 
-   <p id="impossible-object-property-overlap_text"><span class="insert"> Identifiers of entities,
+   <p id="impossible-object-property-overlap_text"> Identifiers of entities,
   agents and activities cannot also be identifiers of properties.
-  </span></p>
-  <div class="constraint" id="impossible-object-property-overlap"><div class="ruleTitle"><a class="internalDFN" href="#impossible-object-property-overlap"><span class="insert">Constraint 56 (impossible-object-property-overlap)</span></a></div>
-  <p><span class="insert">
-For each </span><span class="name"><span class="insert">p</span></span><span class="insert"> in {</span><span class="name"><span class="insert">entity</span></span><span class="insert">, </span><span class="name"><span class="insert">activity</span></span><span class="insert">
-   or </span><span class="name"><span class="insert">agent</span></span><span class="insert">} and for each  </span><span class="name"><span class="insert">r</span></span><span class="insert"> in { 
-</span><span class="name"><span class="insert">used</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasGeneratedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInvalidatedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInfluencedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasStartedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasEndedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasInformedBy</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasDerivedFrom</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasAttributedTo</span></span><span class="insert">,
-</span><span class="name"><span class="insert">wasAssociatedWith</span></span><span class="insert">,
-</span><span class="name"><span class="insert">actedOnBehalfOf</span></span><span class="insert">}, the following
-  impossibility constraint holds:</span></p>
-
-<p>    <span class="conditional"><span class="insert">IF</span></span> <span class="name"><span class="insert">p(id,a</span><sub><span class="insert">1</span></sub><span class="insert">,...,a</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span><span class="insert"> and
-  </span><span class="name"><span class="insert">r(id; b</span><sub><span class="insert">1</span></sub><span class="insert">,...,b</span><sub><span class="insert">n</span></sub><span class="insert">)</span></span> <span class="conditional"><span class="insert">THEN INVALID</span></span><span class="insert">.
-  </span></p>
+  </p>
+  <div class="constraint" id="impossible-object-property-overlap"><div class="ruleTitle"><a class="internalDFN" href="#impossible-object-property-overlap">Constraint 56 (impossible-object-property-overlap)</a></div>
+  <p>
+For each <span class="name">p</span> in {<span class="name">entity</span>, <span class="name">activity</span>
+   or <span class="name">agent</span>} and for each  <span class="name">r</span> in { 
+<span class="name">used</span>,
+<span class="name">wasGeneratedBy</span>,
+<span class="name">wasInvalidatedBy</span>,
+<span class="name">wasInfluencedBy</span>,
+<span class="name">wasStartedBy</span>,
+<span class="name">wasEndedBy</span>,
+<span class="name">wasInformedBy</span>,
+<span class="name">wasDerivedFrom</span>,
+<span class="name">wasAttributedTo</span>,
+<span class="name">wasAssociatedWith</span>,
+<span class="name">actedOnBehalfOf</span>}, the following
+  impossibility constraint holds:</p>
+
+<p>    <span class="conditional">IF</span> <span class="name">p(id,a<sub>1</sub>,...,a<sub>n</sub>)</span> and
+  <span class="name">r(id; b<sub>1</sub>,...,b<sub>n</sub>)</span> <span class="conditional">THEN INVALID</span>.
+  </p>
   </div>
 
   
 
 
    <hr>
-   <p id="entity-activity-disjoint_text"><span class="insert">   The set of entities and activities are disjoint, expressed by 
+   <p id="entity-activity-disjoint_text">   The set of entities and activities are disjoint, expressed by 
   the following constraint:
-  </span></p>
-  <div class="constraint" id="entity-activity-disjoint"><div class="ruleTitle"><a class="internalDFN" href="#entity-activity-disjoint"><span class="insert">Constraint 57 (entity-activity-disjoint)</span></a></div>
+  </p>
+  <div class="constraint" id="entity-activity-disjoint"><div class="ruleTitle"><a class="internalDFN" href="#entity-activity-disjoint">Constraint 57 (entity-activity-disjoint)</a></div>
 
     
 <p>
- <span class="conditional"><span class="insert">IF</span></span>
-<span class="name"><span class="insert">'entity' ∈ typeOf(id)</span></span><span class="insert">  AND
-</span><span class="name"><span class="insert">'activity' ∈ typeOf(id)</span></span>
-<span class="conditional"><span class="insert">THEN</span></span> <span class="conditional"><span class="insert">INVALID</span></span><span class="insert">.</span></p>
+ <span class="conditional">IF</span>
+<span class="name">'entity' ∈ typeOf(id)</span>  AND
+<span class="name">'activity' ∈ typeOf(id)</span>
+<span class="conditional">THEN</span> <span class="conditional">INVALID</span>.</p>
  </div>
-	<div class="remark"><span class="insert">
+	<div class="remark">
 	There is no disjointness between entities and agents. This is because one might want to make statements about the provenance of an agent, by making it an entity. 
-	For example, one can assert both </span><span class="name"><span class="insert">entity(a1)</span></span><span class="insert"> and </span><span class="name"><span class="insert">agent(a1)</span></span><span class="insert"> in a valid PROV instance.
+	For example, one can assert both <span class="name">entity(a1)</span> and <span class="name">agent(a1)</span> in a valid PROV instance.
 	  Similarly, there is no disjointness between activities and
- agents, and one can assert both </span><span class="name"><span class="insert">activity(a1)</span></span><span class="insert"> and </span><span class="name"><span class="insert">agent(a1)</span></span><span class="insert"> in a valid PROV instance. 
+ agents, and one can assert both <span class="name">activity(a1)</span> and <span class="name">agent(a1)</span> in a valid PROV instance. 
  However, one should keep in mind that some specific types of agents may not be suitable as activities. 
- For example, asserting statements such as </span><span class="name"><span class="insert">agent(Bob, [type=prov:Person])</span></span><span class="insert"> and </span><span class="name"><span class="insert">activity(Bob)</span></span><span class="insert"> is discouraged. In these cases, disjointness can be ensured by explicitly asserting the agent as both agent and entity, and applying </span><a class="rule-ref" href="#entity-activity-disjoint"><span><span class="insert">Constraint 57 (entity-activity-disjoint)</span></span></a><span class="insert">.
-  </span></div>
+ For example, asserting statements such as <span class="name">agent(Bob, [type=prov:Person])</span> and <span class="name">activity(Bob)</span> is discouraged. In these cases, disjointness can be ensured by explicitly asserting the agent as both agent and entity, and applying <a class="rule-ref" href="#entity-activity-disjoint"><span>Constraint 57 (entity-activity-disjoint)</span></a>.
+  </div>
 
 
    <hr>
-   <p id="membership-empty-collection_text"><span class="insert"> An empty collection cannot contain any member, expressed by
+   <p id="membership-empty-collection_text"> An empty collection cannot contain any member, expressed by
   the following constraint:
-  </span></p>
-  <div class="constraint" id="membership-empty-collection"><div class="ruleTitle"><a class="internalDFN" href="#membership-empty-collection"><span class="insert">Constraint 58 (membership-empty-collection)</span></a></div>
-<p> <span class="conditional"><span class="insert">IF</span></span> 
- <span class="name"><span class="insert">hasMember(c,e)</span></span><span class="insert"> and
-</span><span class="name"><span class="insert">'prov:EmptyCollection' ∈ typeOf(c)</span></span>
-<span class="conditional"><span class="insert">THEN</span></span> <span class="conditional"><span class="insert">INVALID</span></span><span class="insert">.</span></p>
+  </p>
+  <div class="constraint" id="membership-empty-collection"><div class="ruleTitle"><a class="internalDFN" href="#membership-empty-collection">Constraint 58 (membership-empty-collection)</a></div>
+<p> <span class="conditional">IF</span> 
+ <span class="name">hasMember(c,e)</span> and
+<span class="name">'prov:EmptyCollection' ∈ typeOf(c)</span>
+<span class="conditional">THEN</span> <span class="conditional">INVALID</span>.</p>
   </div>
 
 
@@ -5388,845 +4723,229 @@
 </div> 
 
   <div id="normalization-validity-equivalence" class="section">
-<h2><span class="secno">6. </span><span class="delete">Collection Constraints</span><span class="insert">Normalization, Validity, and Equivalence</span></h2>
-<span class="delete">
-  Work on collections and on</span>
-
-
-  <p><span class="insert">We define the notions of </span><a title="normal form" href="#dfn-normal-form" class="internalDFN"><span class="insert">normalization</span></a><span class="insert">, </span><a title="valid" href="#dfn-valid" class="internalDFN"><span class="insert">validity</span></a><span class="insert"> and
-</span><a title="equivalence"><span class="insert">equivalence</span></a><span class="insert"> of PROV documents and instances.  We first define</span> these <span class="delete">constraints is deferred until after
-  the next working draft, so this section may not be stable.
-  </span>
+<h2><span class="secno">6. </span>Normalization, Validity, and Equivalence</h2>
+
+
+  <p>We define the notions of <a title="normal form" href="#dfn-normal-form" class="internalDFN">normalization</a>, <a title="valid" href="#dfn-valid" class="internalDFN">validity</a> and
+<a title="equivalence">equivalence</a> of PROV documents and instances.  We first define these concepts
+for PROV instances and then extend them to PROV documents.</p>
+
+<div id="instance" class="section">
+  <h3><span class="secno">6.1 </span>Instances</h3>
   
-<span class="delete">Membership is a convenience notation, since it can be expressed in terms of an insertion into some collection. The membership definition is formalized by constraint </span><span class="delete">membership-as-insertion</span><span class="delete">.</span><span class="insert">concepts
-for PROV instances and then extend them to PROV documents.</span></p>
-
-
- <span class="delete">memberOf(c, {(k1, v1), ...})</span><span class="delete"> holds
-</span><span class="delete">IF AND ONLY IF</span><span class="delete"> there exists</span><div id="instance" class="section">
-  <h3><span class="secno"><span class="insert">6.1 </span></span><span class="insert">Instances</span></h3>
-  
-<div class="remark"><span class="insert">
+<div class="remark">
   Implementations should decide up front what reasoning about
   co-reference should be applied, and rewrite the instance (by
-  replacing co-referent identifiers with</span> a <span class="delete">collection </span><span class="delete">c0</span><span class="delete">, such</span><span class="insert">single common identifier) to
+  replacing co-referent identifiers with a single common identifier) to
   make this explicit, before doing validation, equivalence checking,
   or normalization.
-  All of the following definitions assume</span> that
-<span class="delete">derivedByInsertionFrom(c, c0, {(k1, v1), ...})</span><span class="delete">.
-</span><span class="insert"> the application has
+  All of the following definitions assume that the application has
   already determined which URIs in the PROV instance are co-referent
-  (e.g. </span><span class="name"><span class="insert">owl:sameAs</span></span><span class="insert"> as a result of OWL
+  (e.g. <span class="name">owl:sameAs</span> as a result of OWL
   reasoning).
-  </span></div>
-
-<p><span class="insert"> We define the </span><dfn id="dfn-normal-form"><span class="insert">normal form</span></dfn><span class="insert"> of a PROV instance as the set
+  </div>
+
+<p> We define the <dfn id="dfn-normal-form">normal form</dfn> of a PROV instance as the set
 of provenance statements resulting from applying all definitions,
-  inferences, and uniqueness constraints.</span></p>
+  inferences, and uniqueness constraints.</p>
 
 
 
   <ol>
-    <li><span class="insert">
-    Apply all definitions to </span><span class="math"><span class="insert">I</span></span><span class="insert"> by replacing each defined statement by its
+    <li>
+    Apply all definitions to <span class="math">I</span> by replacing each defined statement by its
     definition (possibly introducing fresh existential variables in
-    the process), yielding an instance </span><span class="math"><span class="insert">I</span><sub><span class="insert">1</span></sub></span><span class="insert">.
-    </span></li>
-  <li><span class="insert">
-    Apply all inferences to </span><span class="math"><span class="insert">I</span><sub><span class="insert">1</span></sub></span><span class="insert"> by adding the conclusion of each inference
+    the process), yielding an instance <span class="math">I<sub>1</sub></span>.
+    </li>
+  <li>
+    Apply all inferences to <span class="math">I<sub>1</sub></span> by adding the conclusion of each inference
     whose hypotheses are satisfied and whose entire conclusion does not
     already hold (again, possibly introducing fresh existential
-    variables), yielding an instance </span><span class="math"><span class="insert">I</span><sub><span class="insert">2</span></sub></span><span class="insert">.
-    </span></li>
-  <li><span class="insert">
-    Apply all uniqueness constraints to </span><span class="math"><span class="insert">I</span><sub><span class="insert">2</span></sub></span><span class="insert"> by merging terms or statements
+    variables), yielding an instance <span class="math">I<sub>2</sub></span>.
+    </li>
+  <li>
+    Apply all uniqueness constraints to <span class="math">I<sub>2</sub></span> by <span class="insert">unifying terms or </span>merging<span class="delete"> terms or</span> statements
     and applying the resulting substitution to the instance, yielding
-    an instance </span><span class="math"><span class="insert">I</span><sub><span class="insert">3</span></sub></span><span class="insert">.  If some uniqueness constraint cannot be
+    an instance <span class="math">I<sub>3</sub></span>.  If some uniqueness constraint cannot be
     applied, then normalization fails.
-    </span></li>
-    <li><span class="insert">If no definitions, inferences, or uniqueness constraints can be applied to instance </span><span class="math"><span class="insert">I</span><sub><span class="insert">3</span></sub></span><span class="insert">, then </span><span class="math"><span class="insert">I</span><sub><span class="insert">3</span></sub></span><span class="insert"> is the
-    normal form of </span><span class="math"><span class="insert">I</span></span><span class="insert">.</span></li>
-    <li><span class="insert">Otherwise, the normal form of </span><span class="math"><span class="insert">I</span></span><span class="insert"> is the same as the normal form
-    of </span><span class="math"><span class="insert">I</span><sub><span class="insert">3</span></sub></span><span class="insert"> (that is, proceed by recursively normalizing </span><span class="math"><span class="insert">I</span><sub><span class="insert">3</span></sub></span><span class="insert">).
- </span></li></ol>
+    </li>
+    <li>If no definitions, inferences, or uniqueness constraints can be applied to instance <span class="math">I<sub>3</sub></span>, then <span class="math">I<sub>3</sub></span> is the
+    normal form of <span class="math">I</span>.</li>
+    <li>Otherwise, the normal form of <span class="math">I</span> is the same as the normal form
+    of <span class="math">I<sub>3</sub></span> (that is, proceed by recursively normalizing <span class="math">I<sub>3</sub></span>).
+ </li></ol>
  
-<p><span class="insert">Because of the potential interaction among definitions, inferences, and
+<p>Because of the potential interaction among definitions, inferences, and
   constraints, the above algorithm is recursive.  Nevertheless,
-  all of our constraints fall into a class of </span><a><span class="insert">tuple-generating
-  dependencies</span></a><span class="insert"> and </span><a><span class="insert">equality-generating dependencies</span></a><span class="insert"> that
-  satisfy a termination condition called </span><a><span class="insert">weak acyclicity</span></a><span class="insert"> that
+  all of our constraints fall into a class of <a>tuple-generating
+  dependencies</a> and <a>equality-generating dependencies</a> that
+  satisfy a termination condition called <a>weak acyclicity</a> that
   has been studied in the context of relational databases
-  [</span><cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS"><span class="insert">DBCONSTRAINTS</span></a></cite><span class="insert">].  Therefore, the above algorithm terminates, independently
+  [<cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS">DBCONSTRAINTS</a></cite>].  Therefore, the above algorithm terminates, independently
   of the order in which inferences and constraints are applied.
-  </span><a href="#termination"><span class="insert">Appendix C</span></a><span class="insert"> gives a proof that normalization terminates and produces
+  <a href="#termination">Appendix C</a> gives a proof that normalization terminates and produces
   a unique (up to isomorphism) normal form.
-</span></p>
+</p>
   
  <p>
- A <span class="delete">collection may</span><span class="insert">PROV instance is </span><dfn id="dfn-valid"><span class="insert">valid</span></dfn><span class="insert">
-if its normal form exists and satisfies all of
-  the validity constraints; this implies that the instance satisfies
+ A PROV instance is <dfn id="dfn-valid">valid</dfn>
+if its normal form exists and <span class="delete">satisfies </span>all of
+  the validity <span class="delete">constraints; this implies that the instance satisfies
   all of the definitions, inferences, and constraints.  
-  The following algorithm can</span> be <span class="insert">used to test
-  validity:</span></p>
+  </span><span class="insert">constraints succeed on the normal form.
+  </span>The following algorithm can be used to test
+  validity:</p>
 
 <ol>
-  <li><span class="insert">Normalize the instance </span><span class="math"><span class="insert">I</span></span><span class="insert">, obtaining normalized instance </span><span class="math"><span class="insert">I'</span></span><span class="insert">.  If
-  normalization fails, then </span><span class="math"><span class="insert">I</span></span><span class="insert"> is not </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert">.
-  </span></li>
-  <li><span class="insert">Apply all event ordering constraints to </span><span class="math"><span class="insert">I'</span></span><span class="insert"> to build a graph </span><span class="math"><span class="insert">G</span></span><span class="insert"> whose nodes
+  <li>Normalize the instance <span class="math">I</span>, obtaining normalized instance <span class="math">I'</span>.  If
+  normalization fails, then <span class="math">I</span> is not <a href="#dfn-valid" class="internalDFN">valid</a>.
+  </li>
+  <li>Apply all event ordering constraints to <span class="math">I'</span> to build a graph <span class="math">G</span> whose nodes
   are event identifiers and edges
   are labeled by "precedes" 
-  and "strictly precedes" relationships among events induced by the constraints.</span></li>
-  <li><span class="insert"> Determine whether there is a cycle in </span><span class="math"><span class="insert">G</span></span><span class="insert"> that contains a
-  "strictly precedes" edge.  If so, then </span><span class="math"><span class="insert">I</span></span><span class="insert"> is not </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert">.  
-  </span></li>
-  <li><span class="insert">Apply the type constraints </span><a href="#type-constraints"><span class="insert">(section
-  5.3)</span></a><span class="insert"> to determine whether there are any violations of
-  disjointness.  If so, then </span><span class="math"><span class="insert">I</span></span><span class="insert"> is not </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert">.  
-  </span></li><li><span class="insert">
-  Check that none of the impossibility constraints </span><a href="#impossibility-constraints"><span class="insert">(section 5.4)</span></a><span class="insert">  are
-  violated.  If any are violated, then </span><span class="math"><span class="insert">I</span></span><span class="insert"> is
-  not </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert">.  Otherwise, </span><span class="math"><span class="insert">I</span></span><span class="insert"> is </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a>
+  and "strictly precedes" relationships among events induced by the constraints.</li>
+  <li> Determine whether there is a cycle in <span class="math">G</span> that contains a
+  "strictly precedes" edge.  If so, then <span class="math">I</span> is not <a href="#dfn-valid" class="internalDFN">valid</a>.  
+  </li>
+  <li>Apply the type constraints <a href="#type-constraints">(section
+  5.3)</a> to determine whether there are any violations of
+  disjointness.  If so, then <span class="math">I</span> is not <a href="#dfn-valid" class="internalDFN">valid</a>.  
+  </li><li>
+  Check that none of the impossibility constraints <a href="#impossibility-constraints">(section 5.4)</a>  are
+  violated.  If any are violated, then <span class="math">I</span> is
+  not <a href="#dfn-valid" class="internalDFN">valid</a>.  Otherwise, <span class="math">I</span> is <a href="#dfn-valid" class="internalDFN">valid</a><span class="insert">.</span>
   </li>
   </ol>
 
-<p><span class="insert">A normal form of a PROV instance does not exist when a uniqueness constraint fails due to merging failure. </span></p>
-
-
-  <p><span class="insert">Two PROV instances are </span><dfn id="dfn-equivalent"><span class="insert">equivalent</span></dfn><span class="insert"> if they have isomorphic normal forms (that is, after applying all possible inference
+<p>A normal form of a PROV instance does not exist when a uniqueness 
+  constraint fails due to<span class="insert"> unification or</span> merging failure. </p>
+
+
+  <p>Two PROV instances <span class="math"><span class="insert">I</span></span><span class="insert"> and </span><span class="math"><span class="insert">I'</span></span><span class="insert"> are </span><dfn id="dfn-isomorphic"><span class="insert">isomorphic</span></dfn><span class="insert"> if
+  there exists an invertible substitution </span><span class="math"><span class="insert">S</span></span><span class="insert"> that maps each
+  variable of </span><span class="math"><span class="insert">I</span></span><span class="insert"> to a distinct variable of </span><span class="math"><span class="insert">I'</span></span><span class="insert"> and such that
+  </span><span class="math"><span class="insert">S(I) = I'</span></span><span class="insert">.</span></p>
+
+<p><span class="insert">  Two </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert"> PROV instances </span>are <dfn id="dfn-equivalent">equivalent</dfn> if they 
+  have <a href="#dfn-isomorphic" class="internalDFN">isomorphic</a> normal <span class="delete">forms (that</span><span class="insert">forms.  That</span> is, after applying all possible inference
 rules, the two instances produce the same set of PROV statements,
 up to reordering of statements and attributes within attribute lists,
-  and renaming of existential variables).
-Equivalence has the following characteristics: </span></p>
+  and renaming of existential <span class="delete">variables).
+</span><span class="insert">variables.  
+</span></p>
+  <p>Equivalence <span class="insert">can also be checked over pairs of PROV instances that
+  are not necessarily valid, subject to the following rules:
+  </span></p><ul>
+    <li><span class="insert">If both are valid, then equivalence is
+  defined above.</span></li>
+    <li><span class="insert">If both are invalid, then equivalence can be
+  implemented in any way provided it is </span><a href="#dfn-reflexive" class="internalDFN"><span class="insert">reflexive</span></a><span class="insert">, </span><a href="#dfn-symmetric" class="internalDFN"><span class="insert">symmetric</span></a><span class="insert">, and </span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert">.
+  </span></li>
+  <li><span class="insert">If one instance is valid and the other is invalid, then the two
+  instances are not equivalent.</span></li>
+  </ul>
+  <p><span class="insert">
+Equivalence </span>has the following <span class="delete">characteristics:</span><span class="insert">characteristics over valid instances:</span> </p>
 
 <ul>
-  <li><span class="insert">
+  <li>
   The order of provenance statements is irrelevant to the meaning of
   a PROV instance.  That is, a
-  PROV instance is equivalent to any other instance </span>obtained by<span class="delete"> insertion</span><span class="insert">
+  PROV instance is equivalent to any other instance obtained by
 reordering its statements.
-  </span></li>
-  <li><span class="insert">The order of attribute-value pairs in attribute lists is
+  </li>
+  <li>The order of attribute-value pairs in attribute lists is
   irrelevant to the meaning of a PROV statement.  That is, a PROV
   statement carrying attributes is equivalent to any other statement
   obtained by reordering attribute-value pairs and eliminating
   duplicate pairs.
-  </span></li>
-  <li><span class="insert">The particular choices of names of existential variables are irrelevant to the meaning
+  </li>
+  <li>The particular choices of names of existential variables are irrelevant to the meaning
   of an instance; that is, the names can be renamed without changing
   the meaning, as long as different names are always replaced with
   different names.  (Replacing two different names with equal names,
   however, can
-  change the meaning, so does not preserve equivalence.)</span></li>
-  <li><span class="insert">
-  Applying inference rules, definitions, and uniqueness constraints preserves equivalence.  That is, a </span><a><span class="insert">PROV
-  instance</span></a><span class="insert"> is equivalent to the instance obtained by applying any
-  inference rule</span> or <span class="delete">removal,</span><span class="insert">definition,</span> or <span class="delete">said</span><span class="insert">by </span><a href="#dfn-merging" class="internalDFN"><span class="insert">merging</span></a><span class="insert"> two statements</span> to<span class="delete"> satisfy the membership relation.
-To provide an interpretation</span><span class="insert">
+  change the meaning, so does not preserve equivalence.)</li>
+  <li>
+  Applying inference rules, definitions, and uniqueness constraints preserves equivalence.  That is, a <a>PROV
+  instance</a> is equivalent to the instance obtained by applying any
+  inference rule or definition, or by <a title="unification" href="#dfn-unification" class="internalDFN"><span class="insert">unifying</span></a><span class="insert"> two terms or </span><a href="#dfn-merging" class="internalDFN">merging</a> two statements to
   enforce a uniqueness constraint.
-  </span></li>
-  <li><span class="insert">Equivalence is </span><a href="#dfn-reflexive" class="internalDFN"><span class="insert">reflexive</span></a><span class="insert">, </span><a href="#dfn-symmetric" class="internalDFN"><span class="insert">symmetric</span></a><span class="insert">, and </span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert">.</span></li>
+  </li>
+  <li>Equivalence is <a href="#dfn-reflexive" class="internalDFN">reflexive</a>, <a href="#dfn-symmetric" class="internalDFN">symmetric</a>, and 
+  <a href="#dfn-transitive" class="internalDFN">transitive</a>.<span class="insert">  (This is because a valid instance has a unique
+  normal form up to isomorphism [</span><cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS"><span class="insert">DBCONSTRAINTS</span></a></cite><span class="insert">]). </span></li>
 </ul>
 
-<p><span class="insert"> An application that processes PROV data </span><em class="rfc2119" title="should"><span class="insert">should</span></em><span class="insert"> handle
-equivalent instances in the same way. (Common exceptions to this rule
-include, for example, pretty-printers that seek to preserve the
-original order</span> of <span class="delete">collections, PROV-DM 
- restricts one collection to be involved</span><span class="insert">statements</span> in a <span class="delete">single derivation by insertion or removal, or to one membership relation.
-PROV-DM does not provide an interpretation for statements that consist of two (or more) insertion, removal, membership relations that result in the same collection.</span><span class="insert">file and avoid expanding
-inferences.)  </span></p>
-
-
-
-<span class="delete">The following constraint ensures unique derivation.</span>
-
-
-<span class="delete"> The following constraint is unclear.</span>
-<span class="delete">
-A collection </span><span class="delete">must not</span><span class="delete"> be derived through multiple insertions, removal,
-  or membership relations. 
-</span>
+<p> An application that processes PROV data <em class="rfc2119" title="should">should</em> handle
+equivalent instances in the same way.<span class="delete"> (Common</span><span class="insert">  This guideline is necessarily
+imprecise because "in the same way" is application-specific.
+Common</span> exceptions to this <span class="delete">rule</span><span class="insert">guideline</span>
+include, for example, <span class="delete">pretty-printers</span><span class="insert">applications</span> that <span class="delete">seek to preserve the
+original</span><span class="insert">pretty-print or digitally sign
+provenance, where the</span> order <span class="insert">and syntactic form </span>of statements <span class="delete">in a file and avoid expanding
+inferences.)</span><span class="insert">matters.</span>  </p>
 
 </div>
 
-<span class="delete">
-Consider the following statements about three collections.
-  </span><span class="delete">entity(c1, [prov:type="prov:Collection"  %% xsd:QName])
-entity(c2, [prov:type="prov:Collection"  %% xsd:QName])
-entity(c3, [prov:type="prov:Collection"  %% xsd:QName])
-
-
-derivedByInsertionFrom(c3, c1, {("k1", e1), ("k2", e2)})
-derivedByInsertionFrom(c3, c2, {("k3", e3)})
-</span>
-<span class="delete">There is no interpretation for such statements since </span><span class="delete">c3</span><span class="delete"> is derived multiple times by insertion.</span>
-
-
-
-
-<span class="delete">As a particular case, collection </span><span class="delete">c</span><span class="delete"> is derived multiple times from the same </span><span class="delete">c1</span><span class="delete">. </span>
-<span class="delete">derivedByInsertionFrom(id1, c, c1, {("k1", e1), ("k2", e2)})
-derivedByInsertionFrom(id2, c, c1, {("k3", e3), ("k4", e4)})
-</span>
-<span class="delete">The interpretation of such statements is also unspecified. </span>
-<span class="delete">To describe the insertion of the 4 key-entity pairs, one would instead write:</span>
-<span class="delete">derivedByInsertionFrom(id1, c, c1, {("k1", e1), ("k2", e2), ("k3", e3), ("k4", e4)})
-</span>  
-<span class="delete">
-
-The same is true for any combination of insertions, removals, and membership relations:
-</span>
-<span class="delete">The following statements</span>
-<span class="delete">derivedByInsertionFrom(c, c1, {("k1", e1)})
-derivedByRemovalFrom(c, c2, {"k2"})
-</span><span class="delete">
-have no interpretation.
-Nor have the following:
-</span><span class="delete">derivedByInsertionFrom(c, c1, {("k1", e1)})
-memberOf(c, {"k2"}).
-</span>
-
-
-
-
-
-<span class="delete">6.1 </span><span class="delete">Collection branching</span><span class="delete">
-
-It is allowed to have multiple derivations from a single root collection, as long as the resulting entities are distinct, as shown in the following example.
-
-</span>
-<span class="delete">entity(c0, [prov:type="prov:EmptyCollection" %% xsd:QName])    // c0 is an empty collection
-entity(c1, [prov:type="prov:Collection" %% xsd:QName])
-entity(c2, [prov:type="prov:Collection" %% xsd:QName])
-entity(c3, [prov:type="prov:Collection" %% xsd:QName])
-entity(e1)
-entity(e2)
-entity(e3)
-
-derivedByInsertionFrom(c1, c0, {("k1", e1)})      
-derivedByInsertionFrom(c2, c0, {("k2", e2)})       
-derivedByInsertionFrom(c3, c1, {("k3", e3)})       
-</span><span class="delete">
-From this set of statements, we conclude:
-</span><span class="delete">  c1 = { ("k1", e1) }
-  c2 = { ("k2", e2) }
-  c3 = { ("k1", e1), ("k3", e3)}
-</span>
-
-
-
-
-  
-
-
-
-  
 <div id="bundle-constraints" class="section">
-<h3><span class="secno">6.2 </span><span class="delete">Collections and Weaker Derivation Relation</span><span class="insert">Bundles and Documents</span></h3>
-
-
-
-
-<p>The <span class="delete">state</span><span class="insert">definitions, inferences, and constraints, and
-the resulting notions</span> of <span class="insert">normalization, validity and equivalence,
-assume </span>a <span class="delete">collection</span><span class="insert">PROV document that consists only of a </span><a><span class="insert">toplevel
-instance</span></a><span class="insert">, containing all PROV statements in the top level of the
-document (that is, not enclosed in a named </span><a><span class="insert">bundle</span></a><span class="insert">).  In this
+<h3><span class="secno">6.2 </span>Bundles and Documents</h3>
+
+
+<p>The definitions, inferences, and constraints, and
+the resulting notions of normalization, validity and equivalence,
+assume a PROV document that consists only of a <a>toplevel
+instance</a>, containing all PROV statements in the top level of the
+document (that is, not enclosed in a named <a>bundle</a>).  In this
 section, we describe how to deal with general PROV
-documents, possibly including multiple named bundles.  Briefly, each bundle</span> is<span class="delete"> only known to the extent that a chain
-</span><span class="insert">
+documents, possibly including multiple named bundles.  Briefly, each bundle is
 handled independently; there is no interaction between bundles from
-the perspective </span>of <span class="delete">derivations starting from an empty collection can be found. Since a
-set of statements regarding a collection's evolution may be
-incomplete, so is the reconstructed state obtained by querying those
-statements. In general, all statements reflect partial knowledge regarding a sequence of data transformation events. In the particular case of collection evolution, in which some of the state changes may have been missed, the more generic  derivation relation should be used to signal that some updates may have occurred, which cannot be expressed as insertions</span><span class="insert">applying definitions, inferences,</span> or <span class="delete">removals. The following  example illustrates this.</span>
-
-
- 
- <span class="delete">
-In the example, the state of </span><span class="delete">c2</span><span class="delete"> is only partially known because the collection is constructed from partially known other collections.
- </span><span class="delete">entity(c0, [prov:type="prov:EmptyCollection" %% xsd:QName])    // c0 is an empty collection
-entity(c1, [prov:type="prov:Collection" %% xsd:QName])    
-entity(c2, [prov:type="prov:Collection" %% xsd:QName])    
-entity(c3, [prov:type="prov:Collection" %% xsd:QName])    
-entity(e1)
-entity(e2)
-
-derivedByInsertionFrom(c1, c0, {("k1", e1)})       
-wasDerivedFrom(c2, c1)                       
-derivedByInsertionFrom(c3, c2, {("k2", e2)})       
- </span><span class="delete">
-From this set of statements, we conclude:
-</span>
-    <span class="delete">c1 = { ("k1", e1) }</span>
-    <span class="delete">c2</span><span class="delete"> is somehow derived from </span><span class="delete">c1</span><span class="delete">, but the precise sequence of updates is unknown
-</span>    <span class="delete">c3</span><span class="delete">  includes  </span><span class="delete">("k2", e2)</span><span class="delete"> but the earlier "gap" leaves uncertainty regarding  </span><span class="delete">("k1", e1)</span><span class="delete">  (it may have been removed)</span><span class="insert">constraints,
-computing normal forms,</span> or <span class="delete">any other pair that may have been added as part of the derivation activities.
-</span>
- 
-
-
-
-
-<span class="delete">
-  Do the insertion/removal derivation steps imply wasDerivedFrom,
-  wasVersionOf, alternateOf?
-  </span>
- 
- 
-
-
-<span class="delete">7. </span><span class="delete">Account Constraints</span>
-
-<span class="delete">
-Work on accounts has been deferred until after the next working draft,
-so this section is very unstable
-</span>
-
-<span class="delete">PROV-DM allows for multiple descriptions of entities (and in general any identifiable object) to be expressed. </span>
-
-
-<span class="delete">Let us consider two statements about the same entity, which we have taken from two different contexts. A working draft published by the </span><span class="delete">w3:Consortium</span><span class="delete">:</span>
-<span class="delete">entity(tr:WD-prov-dm-20111215, [ prov:type="pr:RecsWD" %% xsd:QName ])
-</span><span class="delete">
-The second version of a document edited by some authors:
-</span><span class="delete">entity(tr:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
-</span>
-<span class="delete">Both statements are about the same entity identified  by
-</span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete">, but they contain different attributes, describing the situation</span><span class="insert">checking validity</span> or <span class="delete">partial state of the these entities according to the context in which they occur.
-</span>
-
-
-
-
-<span class="delete">Two different statements about the same entity cannot co-exist in PROV instance
- as formalized in </span><span class="delete">entity-unique</span><span class="delete">.</span>
-
-
-
-
-
-<span class="delete">In some cases, there may be a requirement  for two different
-  statements concerning the same entity to be included in the same account. To satisfy the constraint </span><span class="delete">entity-unique</span><span class="delete">, we can adopt a different identifier for one of them, and relate the two statements with the </span><span class="delete">alternateOf</span><span class="delete"> relation. </span>
-
-
-<span class="delete">We now reconsider the same two statements of a same entity, but we change the identifier for one of them:</span>
-<span class="delete">entity(tr:WD-prov-dm-20111215, [ prov:type="pr:RecsWD" %% xsd:QName ])
-entity(ex:alternate-20111215, [ prov:type="document", ex:version="2" ])
-alternateOf(tr:WD-prov-dm-20111215,ex:alternate-20111215)
-</span>
-
-
-
-<span class="delete">
-  Since we are not specifying ways to take the union of two accounts,
-  we may drop this discussion
-  </span>
-<span class="delete"> Taking the union of two accounts is another account, 
-formed by the union of the statements they respectively contain.  We note that the resulting union may or may not invalidate some constraints:
-</span>
-<span class="delete"> Two entity statements with the same identifier but different sets of attributes exist in each PROV instance may invalidate </span><span class="delete">entity-unique</span><span class="delete"> in the union, unless some form of statement merging or renaming (as per </span><span class="delete">Example</span><span class="delete">) occurs.
-</span><span class="delete"> Structurally well-formed
-accounts are not
-closed under union because the
-constraint </span><span class="delete">generation-uniqueness</span><span class="delete"> may no
-longer be satisfied in the resulting union.  </span>
-
-<span class="delete">How to reconcile such accounts is beyond the scope of this specification.</span>
-
-
-<span class="delete">
-  Material transplanted from old structural well-formedness constraints section.
-  
-  This example isn't very clear, since the sub-workflow-ness isn't
-  represented in the data.  According to what was written above, we
-  should conclude that a0 and a2 are equal!
-  </span>
-
-<span class="delete">
-In the following statements, a workflow execution  </span><span class="delete">a0</span><span class="delete"> consists of two sub-workflow executions  </span><span class="delete">a1</span><span class="delete"> and </span><span class="delete">a2</span><span class="delete">.
-Sub-workflow execution </span><span class="delete">a2</span><span class="delete"> generates entity </span><span class="delete">e</span><span class="delete">, so does </span><span class="delete">a0</span><span class="delete">.</span>
-<span class="delete">activity(a0, [prov:type="workflow execution"])
-activity(a1, [prov:type="workflow execution"])
-activity(a2, [prov:type="workflow execution"])
-wasInformedBy(a2,a1)
-
-wasGeneratedBy(e,a0)
-wasGeneratedBy(e,a2)
-</span>
-<span class="delete">So, we have two different </span><span class="delete">generations</span><span class="delete"> for entity </span><span class="delete">e</span><span class="delete">.  Such an example is permitted in PROV-DM if the two activities denoted by </span><span class="delete">a0</span><span class="delete"> and </span><span class="delete">a2</span><span class="delete"> are a single thing happening  in the world
-but described from different perspectives.</span>
-
-
-<span class="delete">While this example is permitted in PROV-DM, it does not make the inter-relation between activities explicit, and  it mixes statements expressed from different perspectives together. 
-While this may acceptable in some specific applications, it becomes challenging for inter-operability. Indeed, PROV-DM does not offer any relation describing the structure of activities.
-  Such instances are said not to be structurally well-formed.</span><span class="insert">equivalence.</span></p>
-
-<p><span class="delete">Structurally well-formed provenance can</span><span class="insert"> We model a general PROV document, containing </span><span class="name"><span class="insert">n</span></span><span class="insert"> named bundles
-</span><span class="name"><span class="insert">b</span><sub><span class="insert">1</span></sub><span class="insert">...b</span><sub><span class="insert">n</span></sub></span><span class="insert">, as a tuple
-</span><span class="name"><span class="insert">(B</span><sub><span class="insert">0</span></sub><span class="insert">,[b</span><sub><span class="insert">1</span></sub><span class="insert">=B</span><sub><span class="insert">1</span></sub><span class="insert">,...,b</span><sub><span class="insert">n</span></sub><span class="insert">=B</span><sub><span class="insert">n</span></sub><span class="insert">])</span></span><span class="insert">
-where </span><span class="name"><span class="insert">B</span><sub><span class="insert">0</span></sub></span><span class="insert"> is the set of
-statements of the </span><a><span class="insert">toplevel instance</span></a><span class="insert">, and for each </span><span class="name"><span class="insert">i</span></span><span class="insert">, </span><span class="name"><span class="insert">B</span><sub><span class="insert">i</span></sub></span><span class="insert"> is the set of
-statements of bundle </span><span class="name"><span class="insert">b</span><sub><span class="insert">i</span></sub></span><span class="insert">.  Names </span><span class="name"><span class="insert">b</span><sub><span class="insert">1</span></sub><span class="insert">...b</span><sub><span class="insert">n</span></sub></span><span class="insert"> are assumed to</span> be <span class="delete">obtained by partitioning the generations into different accounts. </span><span class="insert">distinct.  </span>This <span class="delete">makes it clear that these generations provide alternative
-descriptions of the same real-world generation event, rather than describing two distinct generation events</span><span class="insert">notation is shorthand</span> for the<span class="delete"> same entity. When accounts are used, the example can be encoded as follows.</span><span class="insert">
-following PROV-N syntax:</span></p>
-
-
-
-<span class="delete">
-The same example is now revisited, with the following statements that are structurally well-formed. Two accounts are introduced, and there is a single generation for entity </span><span class="delete">e</span><span class="delete"> per account.</span>
-<pre><span class="insert">B</span><sub><span class="insert">0</span></sub><span class="insert">
-bundle b</span><sub><span class="insert">1</span></sub><span class="insert">
-  B</span><sub><span class="insert">1</span></sub><span class="insert">
-endBundle
-...
-bundle b</span><sub><span class="insert">n</span></sub><span class="insert">
-  B</span><sub><span class="insert">n</span></sub><span class="insert">
-endBundle
-</span></pre>
-
-<p><span class="delete">In</span><span class="insert"> The </span><a href="#dfn-normal-form" class="internalDFN"><span class="insert">normal form</span></a><span class="insert"> of</span> a <span class="delete">first account, entitled "summary", we find:</span>
-<span class="delete">activity(a0,t1,t2,[prov:type="workflow execution"])
-wasGeneratedBy(e,a0,-)
-</span>
-<span class="delete">In a second account, entitled "detail", we find:</span>
-<span class="delete">activity(a1,t1,t3,[prov:type="workflow execution"])
-activity(a2,t3,t2,[prov:type="workflow execution"])
-wasInformedBy(a2,a1)
-wasGeneratedBy(e,a2,-)
-</span>
-
-
-
- 
-<span class="delete">Structurally well-formed provenance satisfies some constraints, which force the structure</span><span class="insert">PROV document
-</span><span class="name"><span class="insert">(B</span><sub><span class="insert">0</span></sub><span class="insert">,[b</span><sub><span class="insert">1</span></sub><span class="insert">=B</span><sub><span class="insert">1</span></sub><span class="insert">,...,[b</span><sub><span class="insert">n</span></sub><span class="insert">=B</span><sub><span class="insert">n</span></sub><span class="insert">])</span></span><span class="insert"> is </span><span class="name"><span class="insert">(B'</span><sub><span class="insert">0</span></sub><span class="insert">,[b</span><sub><span class="insert">1</span></sub><span class="insert">=B'</span><sub><span class="insert">1</span></sub><span class="insert">,...,b</span><sub><span class="insert">n</span></sub><span class="insert">=B'</span><sub><span class="insert">n</span></sub><span class="insert">])</span></span><span class="insert">
-where </span><span class="name"><span class="insert">B'</span><sub><span class="insert">i</span></sub></span><span class="insert"> is the normal
-form</span> of <span class="delete">statements to be exposed by means of accounts. With these constraints satisfied, further
-inferences can be made about structurally well-formed statements.
-The uniqueness of generations in accounts is formulated as follows.
-</span>
-
-
-
-  
- 
-
-
-
-
-
-
-
-
-  
-<span class="delete">8. </span><span class="delete">Rationale</span><span class="name"><span class="insert">B</span><sub><span class="insert">i</span></sub></span> for <span class="delete">inferences and constraints</span><span class="delete">This section is non-normative.</span>
-
-<span class="delete"> This section collects all of the explanatory
-  material that I was not certain how to interpret as an unambiguous
-  inference or constraint.  Some of these observations may need to be folded
-  into the explanatory text in respective sections (for example for
-  events, 
-  accounts or collections).
-
-  Editing is also needed to decrease redundancy.
-  </span>
-
-     
-<span class="delete">8.1 </span><span class="delete">Entities and Attributes</span>
-
-<span class="delete">When we talk about things in the world in natural language and even when we assign identifiers, we are often imprecise in ways that make it difficult to clearly and unambiguously report
-provenance: a resource with a URL may be understood as referring to a report available at that URL, the version of the report available there today, the report independent of where it is
-hosted over time, etc.
-However, to write precise descriptions of the provenance of things
-that change over time, we need ways of disambiguating which versions
-of things we are talking about.  
-</span>
-
-<span class="delete">
-To describe the provenance of things that can change over
-time, PROV-DM uses the concept of </span><span class="delete">entities</span><span class="delete"> with fixed
-attributes.  From a provenance viewpoint, it is important to identify
-a partial state of something, i.e. something with some aspects that
-have been fixed, so that it becomes possible to express its provenance
-(i.e. what caused the thing with these specific aspects).  An entity
-encompasses a part of a thing's history during which some of the
-attributes are fixed.  An entity can thus be thought of as a part of a
-thing with some associated partial state.
-Attributes in PROV-DM are used to fix certain aspects of entities.</span>
-
-
-<span class="delete">
-An </span><span class="delete">entity</span><span class="delete"> is a thing one wants to provide provenance for
-and whose situation in the world is described by some fixed
-attributes. An entity has a </span><span class="delete">characterization interval</span><span class="delete">,
-or </span><span class="delete">lifetime</span><span class="delete">,
-defined as the period
-</span><span class="insert">each </span><span class="name"><span class="insert">i</span></span> between <span class="delete">its </span><span class="delete">generation event</span><span class="delete">
-and its </span><span class="delete">invalidation event</span><span class="insert">0 and </span><span class="name"><span class="insert">n</span></span>.<span class="delete">
-An entity's attributes are established when the entity is
-created and describe the entity's situation and (partial) state
-during an entity's lifetime.</span>
-
-<span class="delete">
-A different entity (perhaps representing a different user or
-system perspective) may fix other aspects of the same thing, and its provenance
-may be different.  Different entities that are aspects of the same
-thing are called </span><span class="delete">alternate</span><span class="delete">, and the PROV-DM relations of
-specialization and alternate can be used to link such entities.</span>
-
-
-
-
-
-
-<span class="delete">
-Different users may take different perspectives on a resource with
-a URL. A provenance record might use one (or more)  different
-  entities to talk about different perspectives, such as:
-</span>
-<span class="delete">a report available at a URL: fixes the nature of the thing, i.e. a document, and its location; </span>
-<span class="delete">the version of the report available there today: fixes its version number, contents, and its date;</span>
-<span class="delete">the report independent of where it is hosted and of its content over time: fixes the nature of the thing as a conceptual artifact.</span><span class="delete">
-The provenance of these three entities may differ, and may be along the following lines: 
-</span>
-<span class="delete">the provenance of a report available at a URL may include: the act of publishing it and making it available at a given location, possibly under some license and access control;</span>
-<span class="delete">the provenance of the version of the report available there today may include: the authorship of the specific content, and reference to imported content;</span>
-<span class="delete">the provenance of the report independent of where it is hosted over time may include: the motivation for writing the report, the overall methodology for producing it, and the broad team
-involved in it.</span>
-
-<span class="delete">We do not assume that any entity is a better or worse description of
-reality than any other.  That is, we do not assume an absolute ground truth with
-respect to which we can judge correctness or completeness of
-descriptions.  In fact, it is possible to describe the processing that occurred for the report to be commissioned, for
-individual versions to be created, for those versions to be published at the given URL, etc., each via a different entity with attribute-value pairs that fix some aspects of the report appropriately.</span>
-
-
-
-<span class="delete">Besides entities, a variety of other PROV-DM objects have
-attributes, including activity, generation, usage, start, end,
-communication, attribution, association, responsibility, and
-derivation. Each object has an associated duration interval (which may
-be a single time point), and attribute-value pairs for a given object
-are expected to be descriptions that hold for the object's duration.
-</span>
-<span class="delete">
-However, the attributes of entities have special meaning because they
-are considered to be fixed aspects
-of underlying, changing things.  This motivates constraints on
-</span><span class="delete">alternateOf</span><span class="delete"> and </span><span class="delete">specializationOf</span><span class="delete"> relating the attribute values of
-different entities.
-</span>
-<span class="delete">
-  TODO:
-Constraints on alternateOf/specializationOf for this?
-  </span>
-
-  <span class="delete">
-TODO: Further discussion of entities moved from the old "Definitional
-    constraints" section.  Should merge with the surrounding
-    discussion to avoid repetition.
-    </span>
-<span class="delete">
-An </span><span class="delete">entity</span><span class="delete"> is a thing one wants to provide provenance for
-and whose situation in the world is described by some attribute-value
-pairs. An entity's attribute-value pairs are established as part of
-the entity statement and their values remain unchanged for the
-lifetime of the entity. An entity's attribute-value pairs are expected
-to describe the entity's situation and (partial) state  during an
-entity's </span><span class="delete">characterization interval</span><span class="delete">.</span>
-
-<span class="delete">If an entity's situation or state changes, this may result in its statement being invalid, because one or more attribute-value pairs no longer hold.  In that case, from the PROV viewpoint, there exists a new entity, which needs to be given a distinct identifier, and associated with the attribute-value pairs that reflect its new situation or state.</span><span class="delete">
-
-
-
-Further considerations:
-</span>
-<span class="delete">In order to describe the provenance of something during an  interval over which
-  relevant attributes of the thing are not fixed, it is required to
-  create multiple entities, each with its own identifier, </span><span class="delete">characterization interval</span><span class="delete">, and
-  fixed attributes, and express 
-  dependencies between the various entities using events.
-  For example, if we want to describe the provenance of several
-  versions of a document, involving attributes such as authorship that
-  change over time, we need different entities for the versions linked
-  by appropriate generation, usage, revision, and invalidation events.
-</span>
-
-<span class="delete">There is no assumption that the set of attributes is complete, nor
-that the attributes are independent or orthogonal of each other.</span>
-<span class="delete">There is no assumption that the attributes of an entity uniquely
-identify it.  Two different entities that are aspects of different
-things can have the same attributes.</span>
-<span class="delete">A </span><span class="delete">characterization interval</span><span class="delete"> may collapse into a single instant.</span>
-
-  
-
-
-
-<span class="delete">8.2 </span><span class="delete">Activities</span>
-
-<span class="delete">
-  TODO: Further discussion of activities moved from old "Definitional
-  constraints and inferences" section.  Edit to avoid repeating information.
-</span>
-  
-
-<span class="delete">An activity is delimited by its </span><span class="delete">start</span><span class="delete"> and its </span><span class="delete">end</span><span class="delete"> events; hence, it occurs over
-an interval delimited by two </span><span class="delete">instantaneous
-events</span><span class="delete">. However, an activity record need not mention start or end time information, because they may not be known.
-An activity's attribute-value pairs are expected to describe the activity's situation during its interval, i.e. an interval between two instantaneous events, namely its </span><span class="delete">start</span><span class="delete"> event and its </span><span class="delete">end</span><span class="delete"> event.
-</span>
-
-
-<span class="delete">Further considerations:</span>
-
-<span class="delete">An activity is not an entity.
-Indeed,  an entity exists in full at
-any point in its lifetime, persists during this
-interval, and preserves the characteristics that makes it
-identifiable.  In contrast, an activity is something that occurs, happens,
-unfolds, or develops through time, but is typically not identifiable by
-the characteristics it exhibits at any point during its duration. 
-This distinction is similar to the distinction between 
-'continuant' and 'occurrent' in logic [</span><span class="delete">Logic</span><span class="delete">].</span>
-
-
-
-
-
-
-
-     
-<span class="delete">8.3 </span><span class="delete">Description, Assertion, and Inference</span>
-
-<span class="delete">
-PROV-DM is a provenance data model designed to express </span><span class="delete">descriptions</span><span class="delete"> of the world. 
-</span>
-
-<span class="delete">
-A file at some point during its lifecycle, which includes multiple edits by multiple people, can be described by its type, its location in the file system, a creator, and content.  
-</span>
-
-
-<span class="delete">The data model is designed to capture activities that happened in the past, as opposed to activities
-that may or will happen. 
-However, this distinction is not formally enforced.
-Therefore, PROV-DM descriptions are intended to be interpreted as what
-has happened, as opposed to what may or will happen.</span>
-
-
-
-<span class="delete"> 
-This specification does not prescribe the means by which descriptions can be arrived at; for example, descriptions can be composed on the basis of observations, reasoning, or any other means. 
-</span>
-
-
-<span class="delete">
-Sometimes, inferences about the world can be made from descriptions
-conformant to the PROV-DM data model. This
-specification defines some such inferences, allowing new descriptions
-to be inferred from existing ones. Hence, descriptions of the world
-can result either from direct assertion or from inference 
-by application of inference rules defined by this specification.
-</span>
-
-
-
-
-
-
-
-
-     
-<span class="delete">8.4 </span><span class="delete">Events and Time</span>
-
-  
-
-
-<span class="delete">Time is critical in the context of provenance, since it can help corroborate provenance claims. For instance, if an entity is claimed to be obtained by transforming another, then the
-latter must have existed before the former. If it is not the case, then there is something wrong with such a provenance claim. </span>
-
-<span class="delete"> Although time is critical, we should also recognize that
-provenance can be used in many different contexts within individual
-systems and across the Web. Different systems may use different clocks
-which may not be precisely synchronized, so when provenance records
-are combined by different systems, we may not be able to align the
-times involved to a single global timeline.  Hence, PROV-DM is
-designed to minimize assumptions about time.  </span>
-
-
-
-<span class="delete">Hence, to talk about the constraints on valid PROV-DM data, we
-refer to </span><span class="delete">instantaneous events</span><span class="delete"> that correspond to interactions
-between activities and entities.  
-The term "event" is commonly used in process algebra with a similar meaning. For instance, in CSP [</span><span class="delete">CSP</span><span class="delete">], events represent communications or interactions; they are assumed to be atomic and
-instantaneous.</span>
-
-
-
-
-
-
-<span class="delete">8.4.1 </span><span class="delete">Event Ordering</span>
-
-
-
-<span class="delete">
- The following paragraphs are unclear and need to be revised, to
- address review concerns: if
- we aren't saying anything about how events and time relate, and time
- is the only concrete information about event ordering in PROV-DM,
- then how can implementations check that event ordering constraints
- are satisfied?
-  </span>  
-<span class="delete"> How the </span><span class="delete">precedes</span><span class="delete"> partial order is implemented in practice is beyond the scope
-of this specification.  This specification only assumes that
-each </span><span class="delete">instantaneous event</span><span class="delete"> can be mapped to an instant in some form of
-timeline. The actual mapping is not in scope of this
-specification. Likewise, whether this timeline is formed of a single
-global timeline or whether it consists of multiple Lamport-style
-clocks is also beyond this specification.  The </span><span class="delete">follows</span><span class="delete"> and
-</span><span class="delete">precedes</span><span class="delete"> orderings of events should be consistent with the
-ordering of their associated times
-over these timelines.
-</span>
-
-
-<span class="delete">This specification defines </span><span class="delete">event ordering constraints</span><span class="delete">
-between  </span><span class="delete">instantaneous events</span><span class="delete"> associated with 
-provenance descriptions.  PROV-DM data </span><span class="delete">must</span><span class="delete"> satisfy such constraints.</span>  </p>
-
-<p><span class="delete">PROV-DM also allows for time observations to be inserted in
-specific statements, for</span><span class="insert">A PROV document is </span><a href="#dfn-valid" class="internalDFN"><span class="insert">valid</span></a><span class="insert"> if</span> each <span class="delete">recognized </span><span class="delete">instantaneous event</span><span class="delete"> introduced in this
-specification.  The presence </span>of <span class="delete">a time observation for a given </span><span class="delete">instantaneous event</span><span class="delete"> fixes the mapping</span><span class="insert">the bundles </span><span class="name"><span class="insert">B</span><sub><span class="insert">0</span></sub></span><span class="insert">,
-..., </span><span class="name"><span class="insert">B</span><sub><span class="insert">n</span></sub></span><span class="insert"> are valid and none</span> of <span class="delete">this </span><span class="delete">instantaneous event</span><span class="delete"> to the timeline. It can also
-help with the verification of associated ordering constraints (though,
-again, this verification is outside the scope of this specification).
-</span>
-
-
-
-
-
-
-<span class="delete">8.4.2 </span><span class="delete">Types of Events</span>
-<span class="delete">Five kinds of </span><span class="delete">instantaneous events</span><span class="insert">the bundle identifiers </span><span class="name"><span class="insert">b</span><sub><span class="insert">i</span></sub></span> are <span class="delete">used
-for the PROV-DM data model. The </span><span class="delete">activity start</span><span class="delete"> and
-</span><span class="delete">activity end</span><span class="delete"> events delimit the beginning and the end
-of activities, respectively. The </span><span class="delete">entity usage</span><span class="delete">,
-</span><span class="delete">entity generation</span><span class="delete">, and </span><span class="delete">entity
-invalidation</span><span class="delete"> events apply to entities, and the generation and
-invalidation events delimit the </span><span class="delete">characterization interval</span><span class="delete"> of
-an entity. More specifically:
-
-</span><span class="insert">repeated.</span></p>
-
-<p><span class="delete">An </span><span class="delete">activity start event</span><span class="insert">Two (valid) PROV documents </span><span class="name"><span class="insert">(B</span><sub><span class="insert">0</span></sub><span class="insert">,[b</span><sub><span class="insert">1</span></sub><span class="insert">=B</span><sub><span class="insert">1</span></sub><span class="insert">,...,b</span><sub><span class="insert">n</span></sub><span class="insert">=B</span><sub><span class="insert">n</span></sub><span class="insert">])</span></span><span class="insert"> and
-</span><span class="name"><span class="insert">(B'</span><sub><span class="insert">0</span></sub><span class="insert">,[b</span><sub><span class="insert">1</span></sub><span class="insert">'=B'</span><sub><span class="insert">1</span></sub><span class="insert">,...,b'</span><sub><span class="insert">m</span></sub><span class="insert">=B'</span><sub><span class="insert">m</span></sub><span class="insert">])</span></span><span class="insert"> are </span><a href="#dfn-equivalent" class="internalDFN"><span class="insert">equivalent</span></a><span class="insert"> if </span><span class="name"><span class="insert">B</span><sub><span class="insert">0</span></sub></span> is<span class="delete"> the </span><span class="delete">instantaneous event</span><span class="insert">
-equivalent to </span><span class="name"><span class="insert">B'</span><sub><span class="insert">0</span></sub></span><span class="insert"> and </span><span class="name"><span class="insert">n = m</span></span><span class="insert"> and
-there exists a permutation </span><span class="name"><span class="insert">P : {1..n} -&gt; {1..n}</span></span><span class="insert"> such</span> that <span class="delete">marks the instant an activity starts.</span>
-
-<span class="delete">An </span><span class="delete">activity end event</span><span class="insert">for each </span><span class="name"><span class="insert">i</span></span><span class="insert">, </span><span class="name"><span class="insert">b</span><sub><span class="insert">i</span></sub><span class="insert"> =
-b'</span><sub><span class="insert">P(i)</span></sub></span><span class="insert"> and </span><span class="name"><span class="insert">B</span><sub><span class="insert">i</span></sub></span> is <span class="delete">the </span><span class="delete">instantaneous event</span><span class="delete"> that marks the instant an activity ends.</span>
-
-<span class="delete">An </span><span class="delete">entity usage event</span><span class="delete"> is the </span><span class="delete">instantaneous event</span><span class="delete"> that marks the first instant of
-an entity's consumption timespan by an activity.  Before this instant
-the entity had not begun</span><span class="insert">equivalent</span> to <span class="delete">be used by the activity.</span>
-
-<span class="delete">An </span><span class="delete">entity generation event</span><span class="delete"> is the </span><span class="delete">instantaneous event</span><span class="delete"> that marks the  final instant of an entity's creation timespan, after which
-it is available for use.  The entity did not exist before this event.</span>
-
-<span class="delete">An </span><span class="delete">entity invalidation event</span><span class="delete">
-is the </span><span class="delete">instantaneous event</span><span class="delete"> that
-marks the  initial instant of the destruction, invalidation, or
-cessation of an entity, after which the entity is  no longer available
-for use.  The entity no longer exists after this event.</span><span class="name"><span class="insert">B'</span><sub><span class="insert">P(i)</span></sub></span><span class="insert">.
-</span></p>
-
+the perspective of applying definitions, inferences, or constraints,
+computing normal forms, or checking validity or equivalence.</p>
+
+<p> We model a general PROV document, containing <span class="name">n</span> named bundles
+<span class="name">b<sub>1</sub>...b<sub>n</sub></span>, as a tuple
+<span class="name">(B<sub>0</sub>,[b<sub>1</sub>=B<sub>1</sub>,...,b<sub>n</sub>=B<sub>n</sub>])</span>
+where <span class="name">B<sub>0</sub></span> is the set of
+statements of the <a>toplevel instance</a>, and for each <span class="name">i</span>, <span class="name">B<sub>i</sub></span> is the set of
+statements of bundle <span class="name">b<sub>i</sub></span>.  Names <span class="name">b<sub>1</sub>...b<sub>n</sub></span> are assumed to be distinct.  This notation is shorthand for the
+following PROV-N syntax:</p>
+
+<div class="name">
+<span class="delete">B</span><span class="insert">document</span><br><span class="insert">
+&nbsp;&nbsp;&nbsp;B</span><sub>0</sub><br>
+<span class="delete">bundle</span><span class="insert">&nbsp;&nbsp;&nbsp;bundle</span> b<sub>1</sub><br>
+<span class="delete">&nbsp;&nbsp;&nbsp;  B</span><span class="insert">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B</span><sub>1</sub><br>
+<span class="delete">endBundle</span><span class="insert">&nbsp;&nbsp;&nbsp;endBundle</span><br>
+<span class="delete">...</span><span class="insert">&nbsp;&nbsp;&nbsp;...</span><br>
+<span class="delete">bundle</span><span class="insert">&nbsp;&nbsp;&nbsp;bundle</span> b<sub>n</sub><br>
+<span class="delete">&nbsp;&nbsp;&nbsp;  B</span><span class="insert">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B</span><sub>n</sub><br>
+<span class="delete">endBundle</span><span class="insert">&nbsp;&nbsp;&nbsp;endBundle</span><br><span class="insert">
+endDocument</span>
 </div>
 
 
- 
-
-
-</div>
-
-
-    
-      <span class="delete">8.5 </span><span class="delete">Account</span>
-
-<span class="delete">
-  Some of this discussion may belong in the account constraint section
-  as motivation, or as formal constraints/inferences.  In particular,
-  the </span><span class="delete">must</span><span class="delete">, </span><span class="delete">may</span><span class="delete">, </span><span class="delete">should</span><span class="delete"> statements should be clarified and put into
-  the normative section.
-  </span>
-
-<span class="delete">It is common for multiple provenance records to co-exist. For
-instance, when emailing a file, there could be a provenance record
-kept by the mail client, and another by the mail server. Such
-provenance records may provide different explanations about something
-happening in the world, because they are created by different parties
-or observed by different witnesses. A given party could also create
-multiple provenance records about an execution, to capture different
-levels of details, targeted at different end-users: the programmer of
-an experiment may be interested in a detailed log of execution, while
-the scientists may focus more on the scientific-level description.
-Given that multiple provenance records can co-exist, it is important
-to have details about their origin, who they are attributed to, how
-they were generated, etc.  In other words, an important requirement is
-to be able to express the provenance of provenance. </span>
-
-<span class="delete">
-  See ISSUE-343.  
-  </span>
-
-  <span class="delete">
-An </span><span class="delete">account</span><span class="delete"> is an entity that contains an instance, or set
-  of PROV statements.
-</span><span class="delete">  PROV-DM does not provide an actual mechanism for creating accounts, i.e. for bundling up provenance descriptions and naming them.  Accounts </span><span class="delete">must</span><span class="delete"> satisfy some properties:
-</span>
-<span class="delete">An account is a bundle of provenance descriptions whose content </span><span class="delete">may</span><span class="delete"> change over time.</span>
-<span class="delete">If an account's  set of statements changes over time, it </span><span class="delete">should</span><span class="delete"> increase monotonically with time. </span>
-<span class="delete">A given description of e.g. an entity in a given account, in terms of its identifier and attribute-value pairs, does not change over time. </span>
-
-
-<span class="delete">
-The last point is important. It indicates that within an account:
-</span>
-<span class="delete">It is always possible to add new provenance statements, e.g. stating that a given entity was used by an activity, or derived from another.  This is very much an open world assumption.
-</span><span class="delete">It is not permitted to add new attributes to a given entity (a
-  form of closed world assumption from the attributes point of view),
-  though it is always permitted to create a new statement describing
-  an entity, which is a "copy" of the original statement extended with novel attributes  (cf Example </span><span class="delete">merge-with-rename</span><span class="delete">).
-</span>
-
-
-<span class="delete">
-There is no construct in PROV-DM to create such bundles of
-statements. Instead, it is assumed that some mechanism, outside
-PROV-DM can create them.  However, from a provenance viewpoint, such
-accounts are things whose provenance we may want to describe. In order to be able to do so, we need to see accounts as entities, whose origin can be described using PROV-DM vocabulary. Thus, PROV-DM introduces the reserved type </span><span class="delete">Account</span><span class="delete">.
-</span>
-
-    
-
-
-
-
-
-
-
- 
-      <span class="delete">A. </span><span class="delete">Acknowledgements</span> 
-      <span class="delete"> 
-        WG membership to be listed here.
-      </span> 
-     
-
- 
+
+
+<p> The <a href="#dfn-normal-form" class="internalDFN">normal form</a> of a PROV document
+<span class="name">(B<sub>0</sub>,[b<sub>1</sub>=B<sub>1</sub>,...,[b<sub>n</sub>=B<sub>n</sub>])</span> is <span class="name">(B'<sub>0</sub>,[b<sub>1</sub>=B'<sub>1</sub>,...,b<sub>n</sub>=B'<sub>n</sub>])</span>
+where <span class="name">B'<sub>i</sub></span> is the normal
+form of <span class="name">B<sub>i</sub></span> for each <span class="name">i</span> between 0 and <span class="name">n</span>.  </p>
+
+<p>A PROV document is <a href="#dfn-valid" class="internalDFN">valid</a> if each of the bundles <span class="name">B<sub>0</sub></span>,
+..., <span class="name">B<sub>n</sub></span> are valid and none of the bundle identifiers <span class="name">b<sub>i</sub></span> are repeated.</p>
+
+<p>Two (valid) PROV documents <span class="name">(B<sub>0</sub>,[b<sub>1</sub>=B<sub>1</sub>,...,b<sub>n</sub>=B<sub>n</sub>])</span> and
+<span class="name">(B'<sub>0</sub>,[b<sub>1</sub>'=B'<sub>1</sub>,...,b'<sub>m</sub>=B'<sub>m</sub>])</span> are <a href="#dfn-equivalent" class="internalDFN">equivalent</a> if <span class="name">B<sub>0</sub></span> is
+equivalent to <span class="name">B'<sub>0</sub></span> and <span class="name">n = m</span> and
+there exists a permutation <span class="name">P : {1..n} -&gt; {1..n}</span> such that for each <span class="name">i</span>, <span class="name">b<sub>i</sub> =
+b'<sub>P(i)</sub></span> and <span class="name">B<sub>i</sub></span> is equivalent to <span class="name">B'<sub>P(i)</sub></span>.
+</p>
+
+</div> 
+
+
+</div> 
 
 
 
@@ -6239,193 +4958,171 @@
 
 
 <div class="glossary section" id="glossary"> 
-      <h2><span class="secno"><span class="delete">B.</span><span class="insert">7.</span> </span>Glossary</h2> 
-      
+      <h2><span class="secno">7. </span>Glossary</h2>
 
       <ul> 
-       <li> <span class="delete">anti-symmetric</span><dfn id="dfn-antisymmetric"><span class="insert">antisymmetric</span></dfn>: A relation <span class="math">R</span> over <span class="math">X</span> is <span class="delete">anti-symmetric</span><a href="#dfn-antisymmetric" class="internalDFN"><span class="insert">antisymmetric</span></a> if
-      for any elements <span class="delete">x, </span><span class="math"><span class="insert">x</span></span><span class="insert">, </span><span class="math">y</span> of <span class="delete">X,</span><span class="math"><span class="insert">X</span></span><span class="insert">,</span> if <span class="math">x R y<span class="delete"> and </span></span><span class="insert"> and </span><span class="math">y R x</span> then <span class="math">x = <span class="delete">y.</span><span class="insert">y</span></span><span class="insert">.</span></li>
-       <li> <dfn id="dfn-asymmetric"><span class="insert">asymmetric</span></dfn><span class="insert">: A relation </span><span class="math"><span class="insert">R</span></span><span class="insert"> over </span><span class="math"><span class="insert">X</span></span><span class="insert"> is </span><a href="#dfn-asymmetric" class="internalDFN"><span class="insert">asymmetric</span></a><span class="insert"> if</span>
-      <span class="delete">Alternatively,</span><span class="math"><span class="insert">x R y</span></span><span class="insert"> and </span><span class="math"><span class="insert">y R x</span></span><span class="insert"> do not hold</span> for <span class="insert">any elements </span><span class="math"><span class="insert">x</span></span><span class="insert">, </span><span class="math"><span class="insert">y</span></span><span class="insert"> of </span><span class="math"><span class="insert">X</span></span><span class="insert">.</span></li>
-        <li><dfn id="dfn-equivalence-relation"><span class="insert">equivalence relation</span></dfn><span class="insert">: An equivalence relation is </span>a <span class="delete">strict partial order anti-symmetry usually</span><span class="insert">relation</span>
-      <span class="delete">means </span>that <span class="insert">is </span><a href="#dfn-reflexive" class="internalDFN"><span class="insert">reflexive</span></a><span class="insert">, </span><a href="#dfn-symmetric" class="internalDFN"><span class="insert">symmetric</span></a><span class="insert">, and
-       </span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert">.</span></li>
-       <li> <dfn id="dfn-irreflexive"><span class="insert">irreflexive</span></dfn><span class="insert">: A relation </span><span class="math"><span class="insert">R</span></span><span class="insert"> over </span><span class="math"><span class="insert">X</span></span><span class="insert"> is </span><a href="#dfn-irreflexive" class="internalDFN"><span class="insert">irreflexive</span></a><span class="insert"> if
-      </span>for <span class="math"><span class="insert">x R x</span></span><span class="insert"> does not hold for </span>any <span class="delete">elements x, y</span><span class="insert">element </span><span class="math"><span class="insert">x</span></span> of <span class="delete">X, it is impossible that
-      both x R
-      y and y R x hold.</span><span class="math"><span class="insert">X</span></span><span class="insert">.</span></li>
+       <li> <dfn id="dfn-antisymmetric">antisymmetric</dfn>: A relation <span class="math">R</span> over <span class="math">X</span> is <a href="#dfn-antisymmetric" class="internalDFN">antisymmetric</a> if
+      for any elements <span class="math">x</span>, <span class="math">y</span> of <span class="math">X</span>, if <span class="math">x R y</span> and <span class="math">y R x</span> then <span class="math">x = y</span>.</li>
+       <li> <dfn id="dfn-asymmetric">asymmetric</dfn>: A relation <span class="math">R</span> over <span class="math">X</span> is <a href="#dfn-asymmetric" class="internalDFN">asymmetric</a> if
+      <span class="math">x R y</span> and <span class="math">y R x</span> do not hold for any elements <span class="math">x</span>, <span class="math">y</span> of <span class="math">X</span>.</li>
+        <li><dfn id="dfn-equivalence-relation">equivalence relation</dfn>: An equivalence relation is a relation
+      that is <a href="#dfn-reflexive" class="internalDFN">reflexive</a>, <a href="#dfn-symmetric" class="internalDFN">symmetric</a>, and
+       <a href="#dfn-transitive" class="internalDFN">transitive</a>.</li>
+       <li> <dfn id="dfn-irreflexive">irreflexive</dfn>: A relation <span class="math">R</span> over <span class="math">X</span> is <a href="#dfn-irreflexive" class="internalDFN">irreflexive</a> if
+      for <span class="math">x R x</span> does not hold for any element <span class="math">x</span> of <span class="math">X</span>.</li>
         <li> <dfn id="dfn-reflexive">reflexive</dfn>: A relation <span class="math">R</span> over <span class="math">X</span> is <a href="#dfn-reflexive" class="internalDFN">reflexive</a> if
-      for any element <span class="math">x</span> of <span class="delete">X,</span><span class="math"><span class="insert">X</span></span><span class="insert">,</span> we have <span class="math">x R <span class="delete">x.</span><span class="insert">x</span></span><span class="insert">.</span></li>
-      <li><dfn id="dfn-partial-order"><span class="insert">partial order</span></dfn><span class="insert">: A partial order is a relation
-      that is </span><a href="#dfn-reflexive" class="internalDFN"><span class="insert">reflexive</span></a><span class="insert">, </span><a href="#dfn-antisymmetric" class="internalDFN"><span class="insert">antisymmetric</span></a><span class="insert">, and </span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert">.</span></li>
-      <li><dfn id="dfn-preorder"><span class="insert">preorder</span></dfn><span class="insert">: A preorder is a relation that is
-      </span><a href="#dfn-reflexive" class="internalDFN"><span class="insert">reflexive</span></a><span class="insert"> and </span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert">.  (It is not necessarily antisymmetric,
-      meaning there can be cycles of distinct elements </span><span class="math"><span class="insert">x</span><sub><span class="insert">1</span></sub><span class="insert"> R x</span><sub><span class="insert">2</span></sub><span class="insert"> R ... R
-      x</span><sub><span class="insert">n</span></sub><span class="insert"> R x</span><sub><span class="insert">1</span></sub><span class="insert">.</span></span></li>
-    <li><dfn id="dfn-strict-partial-order"><span class="insert">strict partial order</span></dfn><span class="insert">: A strict partial order is a
-      relation that is </span><a href="#dfn-irreflexive" class="internalDFN"><span class="insert">irreflexive</span></a><span class="insert">, </span><a href="#dfn-asymmetric" class="internalDFN"><span class="insert">asymmetric</span></a><span class="insert"> and </span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert">.</span></li>
-      <li><dfn id="dfn-strict-preorder"><span class="insert">strict preorder</span></dfn><span class="insert">: A strict preorder is a relation
-      that is </span><a href="#dfn-irreflexive" class="internalDFN"><span class="insert">irreflexive</span></a><span class="insert"> and </span><a href="#dfn-transitive" class="internalDFN"><span class="insert">transitive</span></a><span class="insert">.</span></li>
+      for any element <span class="math">x</span> of <span class="math">X</span>, we have <span class="math">x R x</span>.</li>
+      <li><dfn id="dfn-partial-order">partial order</dfn>: A partial order is a relation
+      that is <a href="#dfn-reflexive" class="internalDFN">reflexive</a>, <a href="#dfn-antisymmetric" class="internalDFN">antisymmetric</a>, and <a href="#dfn-transitive" class="internalDFN">transitive</a>.</li>
+      <li><dfn id="dfn-preorder">preorder</dfn>: A preorder is a relation that is
+      <a href="#dfn-reflexive" class="internalDFN">reflexive</a> and <a href="#dfn-transitive" class="internalDFN">transitive</a>.  (It is not necessarily antisymmetric,
+      meaning there can be cycles of distinct elements <span class="math">x<sub>1</sub> R x<sub>2</sub> R ... R
+      x<sub>n</sub> R x<sub>1</sub>.</span></li>
+    <li><dfn id="dfn-strict-partial-order">strict partial order</dfn>: A strict partial order is a
+      relation that is <a href="#dfn-irreflexive" class="internalDFN">irreflexive</a>, <a href="#dfn-asymmetric" class="internalDFN">asymmetric</a> and <a href="#dfn-transitive" class="internalDFN">transitive</a>.</li>
+      <li><dfn id="dfn-strict-preorder">strict preorder</dfn>: A strict preorder is a relation
+      that is <a href="#dfn-irreflexive" class="internalDFN">irreflexive</a> and <a href="#dfn-transitive" class="internalDFN">transitive</a>.</li>
        <li> <dfn id="dfn-symmetric">symmetric</dfn>: A relation <span class="math">R</span> over <span class="math">X</span> is <a href="#dfn-symmetric" class="internalDFN">symmetric</a> if
-      for any elements <span class="delete">x, </span><span class="math"><span class="insert">x</span></span><span class="insert">, </span><span class="math">y</span> of <span class="delete">X,</span><span class="math"><span class="insert">X</span></span><span class="insert">,</span> if <span class="math">x R y</span> then <span class="math">y R <span class="delete">x.</span><span class="insert">x</span></span><span class="insert">.</span></li>
+      for any elements <span class="math">x</span>, <span class="math">y</span> of <span class="math">X</span>, if <span class="math">x R y</span> then <span class="math">y R x</span>.</li>
         <li> <dfn id="dfn-transitive">transitive</dfn>: A relation <span class="math">R</span> over <span class="math">X</span> is <a href="#dfn-transitive" class="internalDFN">transitive</a> if
-      for any elements <span class="delete">x, y, </span><span class="math"><span class="insert">x</span></span><span class="insert">, </span><span class="math"><span class="insert">y</span></span><span class="insert">, </span><span class="math">z</span> of <span class="delete">X,</span><span class="math"><span class="insert">X</span></span><span class="insert">,</span> if <span class="math">x R y<span class="delete"> and </span></span><span class="insert"> and </span><span class="math">y R z</span> then <span class="math">x R <span class="delete">z.</span><span class="insert">z</span></span><span class="insert">.</span></li>
+      for any elements <span class="math">x</span>, <span class="math">y</span>, <span class="math">z</span> of <span class="math">X</span>, if <span class="math">x R y</span> and <span class="math">y R z</span> then <span class="math">x R z</span>.</li>
      
      
       </ul> 
     </div> 
 
 
- 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 
-
-
       <div class="appendix informative section" id="termination">
-      <h2><span class="secno"><span class="insert">A. </span></span><span class="insert">Termination of normalization</span></h2><p><em><span class="insert">This section is non-normative.</span></em></p>
-
-      <p><span class="insert">
+      <h2><span class="secno">A. </span>Termination of normalization</h2><p><em>This section is non-normative.</em></p>
+
+      <p>
       We will show that normalization terminates, that is, that
       applying definitions, inferences and uniqueness/key constraints
       eventually either fails (due to constraint violation) or
       terminates with a normal form.
-      </span></p>
-      <p><span class="insert">
+      </p>
+      <p>
       First, since the inferences and constraints never introduce new
       defined statements, for the purpose of termination we always expand
       the definitions first and then consider only normalization of
       instances in which there are no remaining defined statements.
-      </span></p>
-      <p><span class="insert">We will prove termination for the simple case where there are no
+      </p>
+      <p>We will prove termination for the simple case where there are no
       attributes.  For the general case, we will show that any
       nontermination arising from an instance that does involve
       attributes would also arise from one with no attributes.
-      </span></p>
-
-      <p><b><span class="insert">Termination for instances without attributes.</span></b><span class="insert">  For
+      </p>
+
+      <p><b>Termination for instances without attributes.</b>  For
       these instances, uniqueness and key constraints can be
-      As shown in [</span><cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS"><span class="insert">DBCONSTRAINTS</span></a></cite><span class="insert">], termination of normalization can be
-      shown by checking that the inference rules are </span><em><span class="insert">weakly
-      acyclic</span></em><span class="insert">.  In addition, weak acyclicity can be checked
+      As shown in [<cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS">DBCONSTRAINTS</a></cite>], termination of normalization can be
+      shown by checking that the inference rules are <em>weakly
+      acyclic</em>.  In addition, weak acyclicity can be checked
       in a modular fashion for our system, because there are only a few possible
       cycles among statements.  The following table summarizes seven
-      </span><em><span class="insert">stages</span></em><span class="insert"> of the inference rules; because there are no
+      <em>stages</em> of the inference rules; because there are no
       cycles among stages, it is sufficient to check weak acyclicity
       of each stage independently.
-      </span></p>
+      </p>
       
       <table border="1">
 	<tbody><tr>
-	  <th><span class="insert">Stage #</span></th>
-	  <th><span class="insert">Inference</span></th>
-	  <th><span class="insert">Hypotheses</span></th>
-	  <th><span class="insert">Conclusions</span></th>
+	  <th>Stage #</th>
+	  <th>Inference</th>
+	  <th>Hypotheses</th>
+	  <th>Conclusions</th>
 	</tr>
 	<tr>
-	  <td><span class="insert">1</span></td>
-	  <td><span class="insert">19, 20, 21, 22</span></td>
-	  <td class="name"><span class="insert">specializationOf, mentionOf</span></td>
-	  <td class="name"><span class="insert">specializationOf, entity</span></td>
+	  <td>1</td>
+	  <td>19, 20, 21, 22</td>
+	  <td class="name">specializationOf, mentionOf</td>
+	  <td class="name">specializationOf, entity</td>
 	</tr>
 	<tr>
-	  <td><span class="insert">2</span></td>
-	  <td><span class="insert">7, 8, 13, 14</span></td>
-	  <td class="name"><span class="insert">entity, activity, wasAttributedTo, actedOnBehalfOf</span></td>
-	  <td class="name"><span class="insert">wasInvalidatedBy, wasStartedBy, wasEndedBy</span></td>
+	  <td>2</td>
+	  <td>7, 8, 13, 14</td>
+	  <td class="name">entity, activity, wasAttributedTo, actedOnBehalfOf</td>
+	  <td class="name">wasInvalidatedBy, wasStartedBy, wasEndedBy</td>
 	</tr>	
 	<tr>
-	  <td><span class="insert">3</span></td>
-	  <td><span class="insert">9, 10</span></td>
-	  <td class="name"><span class="insert">wasStartedBy, wasEndedBy</span></td>
-	  <td class="name"><span class="insert">wasGeneratedBy</span></td>
-	</tr>	
-	<tr>
-	  <td><span class="insert">4</span></td>
-	  <td><span class="insert">11, 12</span></td>
-	  <td class="name"><span class="insert">wasDerivedFrom</span></td>
-	  <td class="name"><span class="insert">wasGeneratedBy, used, alternateOf</span></td>
+	  <td>3</td>
+	  <td>9, 10</td>
+	  <td class="name">wasStartedBy, wasEndedBy</td>
+	  <td class="name">wasGeneratedBy</td>
 	</tr>	
 	<tr>
-	  <td><span class="insert">5</span></td>
-	  <td><span class="insert">16, 17, 18</span></td>
-	  <td class="name"><span class="insert">alternateOf, entity</span></td>
-	  <td class="name"><span class="insert">alternateOf</span></td>
+	  <td>4</td>
+	  <td>11, 12</td>
+	  <td class="name">wasDerivedFrom</td>
+	  <td class="name">wasGeneratedBy, used, alternateOf</td>
 	</tr>	
 	<tr>
-	  <td><span class="insert">6</span></td>
-	  <td><span class="insert">5, 6</span></td>
-	  <td class="name"><span class="insert">wasInformedBy, generated, used</span></td>
-	  <td class="name"><span class="insert">wasInformedBy, generated, used</span></td>
+	  <td>5</td>
+	  <td>16, 17, 18</td>
+	  <td class="name">alternateOf, entity</td>
+	  <td class="name">alternateOf</td>
+	</tr>	
+	<tr>
+	  <td>6</td>
+	  <td>5, 6</td>
+	  <td class="name">wasInformedBy, generated, used</td>
+	  <td class="name">wasInformedBy, generated, used</td>
 	</tr>
 	<tr>
-	  <td><span class="insert">7</span></td>
-	  <td><span class="insert">15</span></td>
-	  <td><span class="insert">many</span></td>
-	  <td class="name"><span class="insert">wasInfluencedBy</span></td>
+	  <td>7</td>
+	  <td>15</td>
+	  <td>many</td>
+	  <td class="name">wasInfluencedBy</td>
 	</tr>	
 
      </tbody></table>
-      <p><span class="insert">
+      <p>
       For each stage, we show that the stage is weakly acyclic.
-     </span></p><ul><li><span class="insert">Stages 1 and 5 have no rules with existential quantifiers,
+     </p><ul><li>Stages 1 and 5 have no rules with existential quantifiers,
       so they are weakly acyclic.
-       </span></li>
-       <li><span class="insert">Stages 2, 3, 4, and 7 have no cycles among the formulas
+       </li>
+       <li>Stages 2, 3, 4, and 7 have no cycles among the formulas
       involved, so they are weakly acyclic.
-       </span></li>
-       <li><span class="insert">For stage 6, we check weak acyclicity using the algorithm
-      in       [</span><cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS"><span class="insert">DBCONSTRAINTS</span></a></cite><span class="insert">], namely:
-       </span><ul><li><span class="insert"> Given a formula </span><span class="math"><span class="insert">φ(x</span><sub><span class="insert">1</span></sub><span class="insert">,...,x</span><sub><span class="insert">n</span></sub><span class="insert">) ⇒
-      ∃y</span><sub><span class="insert">1</span></sub><span class="insert">,...,y</span><sub><span class="insert">m</span></sub><span class="insert">. ψ(x</span><sub><span class="insert">1</span></sub><span class="insert">,...,x</span><sub><span class="insert">n</span></sub><span class="insert">,y</span><sub><span class="insert">1</span></sub><span class="insert">,...,y</span><sub><span class="insert">m</span></sub><span class="insert">)</span></span></li>
-      <li><span class="insert">For every </span><span class="math"><span class="insert">x</span></span><span class="insert"> that occurs in  </span><span class="math"><span class="insert">ψ</span></span><span class="insert">, and for every
-      occurrence of </span><span class="math"><span class="insert">x</span></span><span class="insert"> in </span><span class="math"><span class="insert">φ</span></span><span class="insert"> in position </span><span class="math"><span class="insert">r.i</span></span><span class="insert">:
-      </span><ol><li><span class="insert">For every occurrence of </span><span class="math"><span class="insert">x</span></span><span class="insert"> in position </span><span class="math"><span class="insert">s.j</span></span><span class="insert">, add
-      an edge from </span><span class="math"><span class="insert">r.i</span></span><span class="insert"> to </span><span class="math"><span class="insert">s.j</span></span><span class="insert"> (if it does
-      not already exist).  </span></li>
-    <li><span class="insert">In addition, for every existentially quantified variable </span><span class="math"><span class="insert">y</span></span><span class="insert">
-      and for every occurrence of </span><span class="math"><span class="insert">y</span></span><span class="insert"> in </span><span class="math"><span class="insert">ψ</span></span><span class="insert"> in position
-      </span><span class="math"><span class="insert">t.k</span></span><span class="insert">, add a special edge from </span><span class="math"><span class="insert">r.i</span></span><span class="insert"> to </span><span class="math"><span class="insert">t.k</span></span><span class="insert"> (if it does
+       </li>
+       <li>For stage 6, we check weak acyclicity using the algorithm
+      in       [<cite><a class="bibref" rel="biblioentry" href="#bib-DBCONSTRAINTS">DBCONSTRAINTS</a></cite>], namely:
+       <ul><li> Given a formula <span class="math">φ(x<sub>1</sub>,...,x<sub>n</sub>) ⇒
+      ∃y<sub>1</sub>,...,y<sub>m</sub>. ψ(x<sub>1</sub>,...,x<sub>n</sub>,y<sub>1</sub>,...,y<sub>m</sub>)</span></li>
+      <li>For every <span class="math">x</span> that occurs in  <span class="math">ψ</span>, and for every
+      occurrence of <span class="math">x</span> in <span class="math">φ</span> in position <span class="math">r.i</span>:
+      <ol><li>For every occurrence of <span class="math">x</span> in position <span class="math">s.j</span>, add
+      an edge from <span class="math">r.i</span> to <span class="math">s.j</span> (if it does
+      not already exist).  </li>
+    <li>In addition, for every existentially quantified variable <span class="math">y</span>
+      and for every occurrence of <span class="math">y</span> in <span class="math">ψ</span> in position
+      <span class="math">t.k</span>, add a special edge from <span class="math">r.i</span> to <span class="math">t.k</span> (if it does
       not already exist).
-      </span></li>
+      </li>
       </ol>
       </li>
-      </ul><span class="insert">
+      </ul>
       Weak
       acyclicity means that there is no cycle involving a special
       edge in the resulting graph.  For the two inferences in stage 6,
       the following dependency graph witnesses weak
-      acyclicity.  The nodes </span><span class="name"><span class="insert">wasGeneratedBy.i</span></span><span class="insert">,
-      </span><span class="name"><span class="insert">wasInformedBy.i</span></span><span class="insert">, and </span><span class="name"><span class="insert">used.i</span></span><span class="insert"> denote the </span><span class="math"><span class="insert">i</span></span><span class="insert">th arguments
+      acyclicity.  The nodes <span class="name">wasGeneratedBy.i</span>,
+      <span class="name">wasInformedBy.i</span>, and <span class="name">used.i</span> denote the <span class="math">i</span>th arguments
       of the corresponding predicates.  The solid edges are ordinary
-      edges, and the dashed edges are </span><em><span class="insert">special</span></em><span class="insert"> edges.  
-       </span></li>
+      edges, and the dashed edges are <em>special</em> edges.  
+       </li>
        </ul>
 
        
-       <img src="weak-acyclic-6.svg" alt="Graph illustrating weak
+       <img src="images/constraints/weak-acyclic-6.svg" alt="Graph illustrating weak
        acyclicity of stage 6">
        
-      <p><b><span class="insert">Termination for instances with attributes.</span></b><span class="insert">
+      <p><b>Termination for instances with attributes.</b>
        We can translate an instance with attributes to an alternative,
        purely relational language by introducing a relation
-       </span><span class="name"><span class="insert">attribute(id,a,v)</span></span><span class="insert"> and replacing every statement of the form
-       </span><span class="name"><span class="insert">r(id;a1,...,a</span><sub><span class="insert">n</span></sub><span class="insert">,[(k</span><sub><span class="insert">1</span></sub><span class="insert">,v</span><sub><span class="insert">1</span></sub><span class="insert">),...,(k</span><sub><span class="insert">m</span></sub><span class="insert">,v</span><sub><span class="insert">m</span></sub><span class="insert">)])</span></span><span class="insert"> with
-       </span><span class="name"><span class="insert">r(id;a1,...,a</span><sub><span class="insert">n</span></sub><span class="insert">),attribute(id,k</span><sub><span class="insert">1</span></sub><span class="insert">,v</span><sub><span class="insert">1</span></sub><span class="insert">),...,attribute(id,k</span><sub><span class="insert">m</span></sub><span class="insert">,v</span><sub><span class="insert">m</span></sub><span class="insert">)</span></span><span class="insert">,
-       and similarly for </span><span class="name"><span class="insert">entity</span></span><span class="insert">, </span><span class="name"><span class="insert">activity</span></span><span class="insert"> and </span><span class="name"><span class="insert">agent</span></span><span class="insert">
+       <span class="name">attribute(id,a,v)</span> and replacing every statement of the form
+       <span class="name">r(id;a1,...,a<sub>n</sub>,[(k<sub>1</sub>,v<sub>1</sub>),...,(k<sub>m</sub>,v<sub>m</sub>)])</span> with
+       <span class="name">r(id;a1,...,a<sub>n</sub>),attribute(id,k<sub>1</sub>,v<sub>1</sub>),...,attribute(id,k<sub>m</sub>,v<sub>m</sub>)</span>,
+       and similarly for <span class="name">entity</span>, <span class="name">activity</span> and <span class="name">agent</span>
        attributes.  The inference rules can also be translated so as
        to work on these instances, and a similar argument to
        the above shows that inference is terminating on instances with
@@ -6433,17 +5130,72 @@
        sequence of normalization steps on the original instance would
        lead to an infinite sequence of translated normalization steps
        on instances with explicit attributes.
-       </span></p>
+       </p>
 </div>
 
+<div class="appendix section" id="changes-since-last-version"> 
+      <h2><span class="secno"><span class="insert">B. </span></span><span class="insert">Changes since last version</span></h2> 
+    <p><span class="insert">   Please see the </span><a href="http://www.w3.org/2011/prov/wiki/ResponsesToPublicComments"><span class="insert">
+      Responses to Public Comments on the Last Call Working Draft</span></a><span class="insert">
+      for more details about the justification of these changes.</span></p>
+       
+<ul>
+  <li><span class="insert">Abstract: clarified that term "validity" is analogous to other
+  notions of validity in Web standards. </span></li>
+  <li><span class="insert">Added bullet point linking to PROV-SEM under "How to read the
+  PROV family of specifications"</span></li>
+  <li><span class="insert">Revised sec. 1.2 to clarify terminology (validity), emphasize
+  that any implementation equivalent to the procedural specification
+  is compliant, and clarify that treating "equivalent instances in the
+  same way" is a guideline.</span></li>
+  <li><span class="insert">Added paragraph to sec 2.4 to clarify the purpose of the section.</span></li>
+  <li><span class="insert">Sec 2.4 Unification and Merging: changed "merging" to "unification" for terms</span></li>
+  <li><span class="insert">Sec. 2.4 "Applying definitions, inferences and constraints":
+  Updated merging to unification and added paragraph reinforcing that
+  compliance is algorithm independent</span></li>
+  <li><span class="insert">Sec. 2.4 "Checking ordering, typing and impossibility
+  constraints": Avoided use of the term "satisfies".</span></li>
+  <li><span class="insert">Sec. 2.4 "Equivalence and Isomorphism": Extended equivalence to
+  be defined on all instances, valid or not.  Removed analogy to RDF.</span></li>
+  <li><span class="insert">Sec. 2.4 "From Instances to Bundles and Documents": Revised to
+  avoid giving the impression that toplevel instances must be disjoint
+  from bundles; removed reference to RDF.</span></li>
+  <li><span class="insert">Sec. 3. Clarified and reinforced algorithm independence.</span></li>
+  <li><span class="insert">Sec. 4.  Added clarifying remark about role of definitions.</span></li>
+  <li><span class="insert">Sec. 4. Avoided reference to RDF, minor clarifications to
+  discussion of existential variables. </span></li>
+  <li><span class="insert">Sec. 4.1. Spelling correction.</span></li>
+  <li><span class="insert">Sec. 4.4. Merging -&gt; unification</span></li>
+  <li><span class="insert">Sec. 5. Merging -&gt; unification terminology change.  Added
+  declarative definition of unification.  Clarified
+  procedural definition.  Removed definition of merging of attribute
+  lists.  Updated descriptions of uniqueness and key constraint application.</span></li>
+  <li><span class="insert">Constraint 23.  Renamed e, a, ag to id.</span></li>
+  <li><span class="insert">Sec. 5.2.  Explicitly stated that strictly-precedes is irreflexive.</span></li>
+  <li><span class="insert">Sec. 5.2. Spelling</span></li>
+  <li><span class="insert">Sec. 5.2, just before constraint 51: updated text to accurately
+  describe constraint.</span></li>
+  <li><span class="insert">Sec. 6.  Merging -&gt; unification.  Updated definition of validity
+  to avoid referring to "satisfies".  Explicitly defined isomorphism
+  of instances.  Broadened the definition of equivalence so that it is
+  allowed to test arbitrary instances for equivalence.  Reinforce the
+  intention of the guideline that applications treat equivalent
+  instances "in the same way".</span></li>
+  <li><span class="insert">Dropped RDF as a normative reference.</span></li>
+  <li><span class="insert">Made PROV-DM and PROV-N into normative references.</span></li>
+  <li><span class="insert">Added "document" and "endDocument" to sec. 6.2.</span></li>
+</ul>
+
+</div>
+       
 <div class="appendix section" id="acknowledgements"> 
-      <h2><span class="secno"><span class="insert">B. </span></span><span class="insert">Acknowledgements</span></h2> 
-      <p><span class="insert"> 
-
-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 Ivan Herman (</span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert">/</span><acronym title="European Research Consortium for Informatics and Mathematics"><span class="insert">ERCIM</span></acronym><span class="insert">), Paul Groth, Tim Lebo, Simon Miles, Stian Soiland-Reyes,  for their thorough reviews.
-      </span></p> 
-
-<p><span class="insert">
+      <h2><span class="secno"><span class="delete">B.</span><span class="insert">C.</span> </span>Acknowledgements</h2> 
+      <p> 
+
+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 Ivan Herman (<acronym title="World Wide Web Consortium">W3C</acronym>/<acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym>), Paul Groth, Tim Lebo, Simon Miles, Stian Soiland-Reyes,  for their thorough reviews.
+      </p> 
+
+<p>
 Members of the PROV Working Group at the time of publication of this document were:
 
 Ilkay Altintas (Invited expert),
@@ -6467,9 +5219,9 @@
 Paul Groth (Vrije Universiteit),
 Olaf Hartig (Invited expert),
 David Hau (National Cancer Institute, NCI),
-Sandro Hawke (</span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert">/</span><acronym title="Massachusetts Institute of Technology"><span class="insert">MIT</span></acronym><span class="insert">),
+Sandro Hawke (<acronym title="World Wide Web Consortium">W3C</acronym>/<acronym title="Massachusetts Institute of Technology">MIT</acronym>),
 Jörn Hees (German Research Center for Artificial Intelligence (DFKI) Gmbh),
-Ivan Herman, (</span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert">/</span><acronym title="European Research Consortium for Informatics and Mathematics"><span class="insert">ERCIM</span></acronym><span class="insert">),
+Ivan Herman, (<acronym title="World Wide Web Consortium">W3C</acronym>/<acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym>),
 Ralph Hodgson (TopQuadrant),
 Hook Hua (Invited expert),
 Trung Dong Huynh (University of Southampton),
@@ -6503,7 +5255,7 @@
 Stephan Zednik (Rensselaer Polytechnic Institute),
 Jun Zhao (University of Oxford),
 Yuting Zhao (University of Aberdeen, Computing Science).
-</span></p>
+</p>
     </div> 
 
  
@@ -6529,16 +5281,45 @@
 
 
 
-<div id="references" class="appendix section"><h2><span class="secno">C. </span>References</h2><div id="normative-references" class="section"><h3><span class="secno">C.1 </span>Normative references</h3><dl class="bibliography"><dt id="bib-IRI"><span class="insert">[IRI]</span></dt><dd><span class="insert">M. Duerst, M. Suignard. </span><a href="http://www.ietf.org/rfc/rfc3987.txt"><cite><span class="insert">Internationalized Resource Identifiers (IRI).</span></cite></a><span class="insert"> January 2005. Internet RFC 3987. URL: </span><a href="http://www.ietf.org/rfc/rfc3986.txt"><span class="insert">http://www.ietf.org/rfc/rfc3987.txt</span></a> 
-</dd><dt id="bib-RDF"><span class="insert">[RDF]</span></dt><dd><span class="insert">Graham Klyne and Jeremy J. Carroll (eds.) </span><a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/"><cite><span class="insert">Resource Description Framework (RDF): Concepts and Abstract Syntax</span></cite></a><span class="insert">. 2004, W3C Recommendation. URL: </span><a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210//"><span class="insert">http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/</span></a>
+ 
+
+ 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<div id="references" class="appendix section"><h2><span class="secno"><span class="delete">C.</span><span class="insert">D.</span> </span>References</h2><div id="normative-references" class="section"><h3><span class="secno"><span class="delete">C.1</span><span class="insert">D.1</span> </span>Normative references</h3><dl class="bibliography"><dt id="bib-IRI">[IRI]</dt><dd>M. Duerst, M. Suignard. <a href="http://www.ietf.org/rfc/rfc3987.txt"><cite>Internationalized Resource Identifiers (IRI).</cite></a> January 2005. Internet RFC 3987. URL: <a href="http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3987.txt</a> 
+</dd><span class="delete">[RDF]</span><dt id="bib-PROV-DM"><span class="insert">[PROV-DM]</span></dt><dd><span class="insert">Luc Moreau and Paolo Missier (eds.) Khalid Belhajjame, Reza B'Far, James Cheney, Stephen Cresswell, Yolanda Gil, Paul Groth, </span>Graham <span class="delete">Klyne and Jeremy J. Carroll (eds.) </span><span class="insert">Klyne, Jim McCusker, Simon Miles, James Myers, Satya Sahoo, and Curt Tilmes </span><a href="http://www.w3.org/TR/prov-dm/"><cite><span class="delete">Resource Description Framework (RDF): Concepts and Abstract Syntax</span><span class="insert">PROV-DM: The PROV Data Model</span></cite></a>. <span class="delete">2004, W3C Recommendation.</span><span class="insert">2012, Working Draft.</span> URL: <span class="delete">http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/</span><a href="http://www.w3.org/TR/prov-dm/"><span class="insert">http://www.w3.org/TR/prov-dm/</span></a>
+</dd><dt id="bib-PROV-N"><span class="insert">[PROV-N]</span></dt><dd><span class="insert">Luc Moreau and Paolo Missier (eds.), James Cheney, Stian Soiland-Reyes </span><a href="http://www.w3.org/TR/prov-n/"><cite><span class="insert">PROV-N: The Provenance Notation</span></cite></a><span class="insert">. 2011, Working Draft. URL: </span><a href="http://www.w3.org/TR/prov-n/"><span class="insert">http://www.w3.org/TR/prov-n/</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></dl></div><div id="informative-references" class="section"><h3><span class="secno">C.2 </span>Informative references</h3><dl class="bibliography"><dt id="bib-CHR"><span class="insert">[CHR]</span></dt><dd><span class="insert">Thom Frühwirth </span><a href="http://constraint-handling-rules.org/"><cite><span class="insert">Constraint        Handling Rules</span></cite></a><span class="insert">. Cambridge University Press  URL: </span><a href="http://constraint-handling-rules.org/"><span class="insert">http://constraint-handling-rules.org/</span></a>
-</dd><dt id="bib-CLOCK">[CLOCK]</dt><dd>Lamport, L. <a href="http://research.microsoft.com/users/lamport/pubs/time-clocks.pdf"><cite>Time, clocks, and the ordering of events in a distributed system</cite></a><span class="delete">.Communications</span><span class="insert">. Communications</span> of the ACM 21 (7): 558–565. 1978. URL: <a href="http://research.microsoft.com/users/lamport/pubs/time-clocks.pdf">http://research.microsoft.com/users/lamport/pubs/time-clocks.pdf</a> DOI: doi:10.1145/359545.359563.
-</dd><span class="delete">[CSP]</span><dt id="bib-DBCONSTRAINTS"><span class="insert">[DBCONSTRAINTS]</span></dt><dd><span class="delete">Hoare, C. A. R. </span><span class="insert"> Ronald Fagin, Phokion G. Kolaitis, Renée J. Miller, and Lucian Popa  </span><a href="http://dx.doi.org/10.1016/j.tcs.2004.10.033"><cite><span class="delete">Communicating Sequential Processes</span><span class="insert">Data        exchange: Semantics and query answering</span></cite></a><span class="delete">.Prentice-Hall. 1985URL: </span><span class="delete">http://www.usingcsp.com/cspbook.pdf</span><span class="insert">.  Theoretical computer science 336(1):89-124   Elsevier  URL: </span><a href="http://dx.doi.org/10.1016/j.tcs.2004.10.033"><span class="insert">http://dx.doi.org/10.1016/j.tcs.2004.10.033</span></a>
+</dd></dl></div><div id="informative-references" class="section"><h3><span class="secno"><span class="delete">C.2</span><span class="insert">D.2</span> </span>Informative references</h3><dl class="bibliography"><dt id="bib-CHR">[CHR]</dt><dd>Thom Frühwirth <a href="http://constraint-handling-rules.org/"><cite>Constraint        Handling Rules</cite></a>. Cambridge University Press  URL: <a href="http://constraint-handling-rules.org/">http://constraint-handling-rules.org/</a>
+</dd><dt id="bib-CLOCK">[CLOCK]</dt><dd>Lamport, L. <a href="http://research.microsoft.com/users/lamport/pubs/time-clocks.pdf"><cite>Time, clocks, and the ordering of events in a distributed system</cite></a>. Communications of the ACM 21 (7): 558–565. 1978. URL: <a href="http://research.microsoft.com/users/lamport/pubs/time-clocks.pdf">http://research.microsoft.com/users/lamport/pubs/time-clocks.pdf</a> DOI: doi:10.1145/359545.359563.
+</dd><dt id="bib-DBCONSTRAINTS">[DBCONSTRAINTS]</dt><dd> Ronald Fagin, Phokion G. Kolaitis, Renée J. Miller, and Lucian Popa  <a href="http://dx.doi.org/10.1016/j.tcs.2004.10.033"><cite>Data        exchange: Semantics and query answering</cite></a>.  Theoretical computer science 336(1):89-124   Elsevier  URL: <a href="http://dx.doi.org/10.1016/j.tcs.2004.10.033">http://dx.doi.org/10.1016/j.tcs.2004.10.033</a>
 </dd><dt id="bib-Logic">[Logic]</dt><dd>W. E. Johnson<a href="http://www.ditext.com/johnson/intro-3.html"><cite>Logic: Part III</cite></a>.1924. URL: <a href="http://www.ditext.com/johnson/intro-3.html">http://www.ditext.com/johnson/intro-3.html</a>
-</dd><dt id="bib-PROV-DM">[PROV-DM]</dt><dd>Luc Moreau and Paolo Missier (eds.) Khalid Belhajjame, Reza B'Far, <span class="insert">James Cheney, </span>Stephen Cresswell, Yolanda Gil, Paul Groth, Graham Klyne, Jim McCusker, Simon Miles, James Myers, Satya Sahoo, and Curt Tilmes <a href="http://www.w3.org/TR/prov-dm/"><cite>PROV-DM: The PROV Data Model</cite></a>. 2012, Working Draft. URL: <a href="http://www.w3.org/TR/prov-dm/">http://www.w3.org/TR/prov-dm/</a>
-</dd><dt id="bib-PROV-N"><span class="insert">[PROV-N]</span></dt><dd><span class="insert">Luc Moreau and Paolo Missier (eds.), James Cheney, Stian Soiland-Reyes </span><a href="http://www.w3.org/TR/prov-n/"><cite><span class="insert">PROV-N: The Provenance Notation</span></cite></a><span class="insert">. 2011, Working Draft. URL: </span><a href="http://www.w3.org/TR/prov-n/"><span class="insert">http://www.w3.org/TR/prov-n/</span></a>
-</dd><dt id="bib-PROV-O"><span class="insert">[PROV-O]</span></dt><dd><span class="insert">Timothy Lebo, Satya Sahoo and Deborah McGuinness (eds.) Khalid Belhajjame, James Cheney, David Corsar, Daniel Garijo, Stian Soiland-Reyes, and Stephan Zednik </span><a href="http://www.w3.org/TR/prov-o/"><cite><span class="insert">Provenance Formal Model</span></cite></a><span class="insert">. 2011, Working Draft. URL: </span><a href="http://www.w3.org/TR/prov-o/"><span class="insert">http://www.w3.org/TR/prov-o/</span></a>
+</dd><span class="delete">[PROV-DM]</span><span class="delete">Luc Moreau and Paolo Missier (eds.) Khalid Belhajjame, Reza B'Far, James Cheney, Stephen Cresswell, Yolanda Gil, Paul Groth, Graham Klyne, Jim McCusker, Simon Miles, James Myers, Satya Sahoo, and Curt Tilmes </span><span class="delete">PROV-DM: The PROV Data Model</span><span class="delete">. 2012, Working Draft. URL: </span><span class="delete">http://www.w3.org/TR/prov-dm/</span>
+<span class="delete">[PROV-N]</span><span class="delete">Luc Moreau and Paolo Missier (eds.), James Cheney, Stian Soiland-Reyes </span><span class="delete">PROV-N: The Provenance Notation</span><span class="delete">. 2011, Working Draft. URL: </span><span class="delete">http://www.w3.org/TR/prov-n/</span>
+<dt id="bib-PROV-O">[PROV-O]</dt><dd>Timothy Lebo, Satya Sahoo and Deborah McGuinness (eds.) Khalid Belhajjame, James Cheney, David Corsar, Daniel Garijo, Stian Soiland-Reyes, and Stephan Zednik <a href="http://www.w3.org/TR/prov-o/"><cite>Provenance Formal Model</cite></a>. 2011, Working Draft. URL: <a href="http://www.w3.org/TR/prov-o/">http://www.w3.org/TR/prov-o/</a>
 </dd><dt id="bib-PROV-SEM">[PROV-SEM]</dt><dd>James Cheney <a href="http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman"><cite>Formal Semantics Strawman</cite></a>. 2011, Work in progress. URL: <a href="http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman">http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman</a>
 </dd></dl></div></div></body></html>
 
--- a/model/diff-n.html	Thu Nov 01 13:21:53 2012 -0400
+++ b/model/diff-n.html	Thu Nov 01 13:22:07 2012 -0400
@@ -475,15 +475,13 @@
 	border-width: 1px;
 	padding: 0px;
 	border-style: solid;
-	border-color: gray;<span class="insert">
-	-moz-border-radius: ;</span>
+	border-color: gray;
 }
 table.thinborder td {
 	border-width: 1px;
 	padding: 2px;
 	border-style: solid;
-	border-color: gray;<span class="insert">
-	-moz-border-radius: ;</span>
+	border-color: gray;
 }
 </style>
 
@@ -967,7 +965,7 @@
 pre.sh_sourceCode .sh_attribute { color: #006400; }
 
 </style><link href="./extra.css" rel="stylesheet" type="text/css" charset="utf-8"><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css" charset="utf-8"></head> 
-  <body style="display: inherit; "><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-N: The Provenance Notation</h1><h2 id="subtitle"><a href="diff-n.html"><span class="insert">Diffs</span></a><span class="insert"> since LC Release </span></h2><h2 id="w3c-editor-s-draft-16-october-2012"><acronym title="World Wide Web Consortium">W3C</acronym> <span class="delete">Working</span><span class="insert">Editor's</span> Draft <span class="delete">24 July</span><span class="insert">16 October</span> 2012</h2><dl><dt>This version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-n-20120724/</span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html"><span class="insert">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</span></a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</a></dd><dt>Previous version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-n-20120503/</span><span class="delete">  (</span><span class="delete">color-coded diffs</span><span class="delete">)</span><a href="http://www.w3.org/TR/2012/WD-prov-n-20120724/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-n-20120724/</span></a></dd><dt>Editors:</dt><dd><a href="http://www.ecs.soton.ac.uk/~lavm/">Luc Moreau</a>, University of Southampton</dd>
+  <body style="display: inherit; "><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-N: The Provenance Notation</h1><h2 id="subtitle"><a href="diff-n.html"><span class="insert">Diffs</span></a><span class="insert"> since LC Release </span></h2><h2 id="w3c-editor-s-draft-30-october-2012"><acronym title="World Wide Web Consortium">W3C</acronym> <span class="delete">Working</span><span class="insert">Editor's</span> Draft <span class="delete">24 July</span><span class="insert">30 October</span> 2012</h2><dl><dt>This version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-n-20120724/</span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html"><span class="insert">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</span></a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</a></dd><dt>Previous version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-n-20120503/</span><span class="delete">  (</span><span class="delete">color-coded diffs</span><span class="delete">)</span><a href="http://www.w3.org/TR/2012/WD-prov-n-20120724/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-n-20120724/</span></a></dd><dt>Editors:</dt><dd><a href="http://www.ecs.soton.ac.uk/~lavm/">Luc Moreau</a>, University of Southampton</dd>
 <dd><a href="http://www.cs.ncl.ac.uk/people/Paolo.Missier">Paolo Missier</a>, Newcastle University</dd>
 <dt><span class="delete">Contributors:</span><span class="insert">Authors:</span></dt><dd><a href="http://homepages.inf.ed.ac.uk/jcheney/">James Cheney</a>, University of Edinburgh</dd>
 <dd><a href="http://soiland-reyes.com/stian/">Stian Soiland-Reyes</a>, University of Manchester</dd>
@@ -1336,7 +1334,7 @@
 <h3><span class="secno">2.5 </span>Identifiers and attributes</h3>
 
 <p>Almost all expressions defined in the grammar include an identifier (see <a href="#expression-identifier">Section 3.7.1</a> for the full syntax of identifiers). Most expressions
-can aslo include a set of attribute-value pairs, delimited by square brackets. Identifiers are optional except for Entities, Activites, and Agents. Identifiers are always the first term in any expression.  Optional identifiers <em class="rfc2119" title="must">must</em> be separated using a semi-colon ';', but where the identifiers are required, a regular comma ',' <em class="rfc2119" title="must">must</em> be used. This makes it possible to completely omit an optional identifier with no ambiguity arising. Also, if the set of attribute-value pairs is present, it is always the last term in any expression.</p>
+can aslo include a set of attribute-value pairs, delimited by square brackets. Identifiers are optional except for Entities, Activites, and Agents. Identifiers are always the first term in any expression.  <em>Optional</em> identifiers <em class="rfc2119" title="must">must</em> be separated using a semi-colon ';', but where the identifiers are required, a regular comma ',' <em class="rfc2119" title="must">must</em> be used. This makes it possible to completely omit an optional identifier with no ambiguity arising. Also, if the set of attribute-value pairs is present, it is always the last term in any expression.</p>
 
 <div class="anexample" id="example_9"><div class="anexampleTitle"><a class="internalDFN" href="#example_9">Example 9</a></div>
 <p>Derivation has an optional identifier. In the first expression, the identifier is not available, while it is explicit in the second. The third example shows that one can optionally indicate the missing identifier using the <span class="name">-</span> marker. This is equivalent to the first expression. </p>
@@ -1389,7 +1387,10 @@
 <div id="expression-Entity" class="section"> 
 <h4><span class="secno">3.1.1 </span>Entity</h4>
 
-<div class="withPn">
+
+
+
+
 <p>
 
 
@@ -1428,7 +1429,7 @@
 
 
 
-</div></div> 
+</div> 
 <div id="expression-Activity" class="section"> 
 <h4><span class="secno">3.1.2 </span>Activity</h4>
 
@@ -1483,7 +1484,14 @@
 <h4><span class="secno">3.1.3 </span>Generation</h4>
 
 
-<div class="withPn">
+
+
+
+
+
+
+
+
 
 
 
@@ -1534,7 +1542,7 @@
 
 
 
-</div></div>
+</div>
 
 <div id="expression-Usage" class="section">
 <h4><span class="secno">3.1.4 </span>Usage</h4>
@@ -1759,7 +1767,10 @@
 <h4><span class="secno">3.1.8 </span>Invalidation</h4>
 
 
-<div class="withPn">
+
+
+
+
 
 
 
@@ -1812,7 +1823,7 @@
 
 
 
-</div></div>
+</div>
 
 
 
@@ -1954,7 +1965,9 @@
 </pre>
 <p>Here, the derivation is provided with a <span class="name">prov:type</span> attribute and value <span class="name">prov:PrimarySource</span>.
   
-</p></div>
+
+  </p>
+</div>
 
 
 </div>  
@@ -2248,7 +2261,7 @@
 <p><span class="insert">The following table summarizes how each constituent of a PROV-DM bundle maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-bundle"><span class="insert">Bundle</span></a></b></td><td><b><span class="insert">Non-Terminal</span></b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-bundle-constructor"><span class="insert">Bundle</span></a></b></td><td><b><span class="insert">Non-Terminal</span></b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
 <tr><td><a href="http://www.w3.org/TR/prov-dm/#bundle.constructor.id"><span class="attribute" id="bundle.id"><span class="insert">id</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier"><span class="insert">optionalIdentifier</span></a></code></td></tr>
@@ -2680,7 +2693,7 @@
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-literal" name="prod-literal"></a>[<span class="prodNo">42</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">literal</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-typedLiteral">typedLiteral</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-convenienceNotation">convenienceNotation</a></span></code></td> </tr> </tbody>
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-typedLiteral" name="prod-typedLiteral"></a>[<span class="prodNo">43</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">typedLiteral</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></span> "%%" <span class="prod"><a class="grammarRef" href="#prod-datatype">datatype</a></span></code></td> </tr> </tbody>
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-datatype" name="prod-datatype"></a>[<span class="prodNo">44</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">datatype</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
-<tbody><tr valign="baseline"><td></td><td></td><td></td></tr></tbody>
+
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-convenienceNotation" name="prod-convenienceNotation"></a>[<span class="prodNo">45</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">convenienceNotation</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></span> (<span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rLANGTAG">LANGTAG</a></span>)?<br> | <span class="prod"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME_LITERAL">QUALIFIED_NAME_LITERAL</a></span></code></td> </tr> </tbody>
 <tbody class="term"> <tr valign="baseline"> <td><a id="prod-STRING_LITERAL" name="prod-STRING_LITERAL"></a>[<span class="prodNo"><span class="delete">67</span><span class="insert">60</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">STRING_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL2">STRING_LITERAL2</a></span><br> | <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL_LONG2">STRING_LITERAL_LONG2</a></span></code></td> </tr> </tbody>
 <tbody class="term"> <tr valign="baseline"> <td><a id="prod-INT_LITERAL" name="prod-INT_LITERAL"></a>[<span class="prodNo"><span class="delete">69</span><span class="insert">62</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">INT_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">("-")? (<span class="prod"><a class="grammarRef" href="#prod-DIGIT">DIGIT</a></span>)+</code></td> </tr> </tbody>
@@ -2828,7 +2841,7 @@
 <span class="delete">
 the scope of a namespace declaration directly occurring in a</span> <code><a class="grammarRef" href="#prod-bundle"><span class="delete">toplevel </span>bundle</a></code> <span class="insert">itself.</span></li>
 <li><span class="insert">
-The scope of a namespace declaration directly occurring in a </span><code><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code> is<span class="insert"> the </span><code><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code><span class="insert"> itself, exclunding</span> the <code><a class="grammarRef" href="#prod-bundle"><span class="delete">toplevel bundle</span><span class="delete"> itself, except and </span><span class="delete">namedBundle</span><span class="insert">bundles</span></a></code> it may contain.</li>
+The scope of a namespace declaration directly occurring in a </span><code><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code> is<span class="insert"> the </span><code><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code><span class="insert"> itself, excluding</span> the <code><a class="grammarRef" href="#prod-bundle"><span class="delete">toplevel bundle</span><span class="delete"> itself, except and </span><span class="delete">namedBundle</span><span class="insert">bundles</span></a></code> it may contain.</li>
 </ul>
 
 <p>A set of namespace declarations <code><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></code> <em class="rfc2119" title="must not">must not</em> re-declare the same prefix.</p>
@@ -2881,8 +2894,8 @@
 <div id="semantic-rules-summary" class="section">
 <h4><span class="secno">3.7.5 </span>Summary of additional semantic rules</h4>
 
-Some of the grammar productions allow for expressions that are syntactically correct, and yet according to [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] they are not acceptable, because additional semantic rules are defined for those expressions.
- The following table provides a summary of such expressions along with examples of syntactically correct but unacceptable forms, and the additional semantic rules.<p></p>
+<p>Some of the grammar productions allow for expressions that are syntactically correct, and yet according to [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] they are not acceptable, because additional semantic rules are defined for those expressions.
+ The following table provides a summary of such expressions along with examples of syntactically correct but unacceptable forms, and the additional semantic rules.</p>
 
 <div style="text-align: left;">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
@@ -2899,7 +2912,8 @@
 <tr><td><a class="grammarRef" href="#prod-usageExpression">Usage expression</a></td>
 <td><span class="name">used(a2, -, -)</span><br><span class="name">used(-; a2, -, -)</span></td>
 <td>At least one  of <a href="http://www.w3.org/TR/prov-dm/#usage.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/prov-dm/#usage.entity"><span class="attribute">entity</span></a>, <a href="http://www.w3.org/TR/prov-dm/#usage.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/prov-dm/#usage.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
-</tr><tr>
+</tr>
+<tr>
 <td><a class="grammarRef" href="#prod-startExpression">Start expression</a></td>
 <td> <span class="name">wasStartedBy(e2, -, -, -)</span><br><span class="name">wasStartedBy(-; e2, -, -, -)</span></td>
 <td>At least one  of <a href="http://www.w3.org/TR/prov-dm/#start.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/prov-dm/#start.trigger"><span class="attribute">trigger</span></a>, <a href="http://www.w3.org/TR/prov-dm/#start.starter"><span class="attribute">starter</span></a>, <a href="http://www.w3.org/TR/prov-dm/#start.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/prov-dm/#start.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
@@ -2999,13 +3013,17 @@
 <h2><span class="secno">5. </span>Extensibility</h2>
 
 <p>The PROV data model is extensible by means of attributes <span class="name">prov:type</span> and <span class="name">prov:role</span> allowing subtyping of expressions.  For some applications, novel  syntax may also be convenient. Hence, the normative requirements are as follow.
-</p><ul>
+</p>
+<ul>
 <li> PROV-N compliant parsers <em class="rfc2119" title="must">must</em> be able to parse expressions matching the <code class="content"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></code> production defined below.
 </li><li> As PROV provides no definition for these expressions, PROV compliant implementations 
  <em class="rfc2119" title="may">may</em> ignore these expressions.</li>
 <li> Extensions to PROV and PROV-N <em class="rfc2119" title="may">may</em> specify more specific productions and interpretations for these expressions, which applications <em class="rfc2119" title="may">may</em> adopt to follow. </li>
 </ul>
-<p></p>
+
+
+
+
 
 <table class="grammar">
 
@@ -3024,7 +3042,7 @@
 
 <div class="anexample" id="example_43"><div class="anexampleTitle"><a class="internalDFN" href="#example_43">Example 43</a></div>
 <p>
-<a href="#component6">Collections</a> are sets of entities, whose membership can be expressed using the <span class="name">hadMember</span> relation.  The following example shows how one can express membership for <em><span class="insert">dictionaries</span></em><span class="insert">, </span>an <span class="insert">illustrative </span>extension of <span class="delete">Collections, namely</span><span class="insert">Collections consisting of</span> sets of <span class="delete">key-value pairs.</span><span class="insert">key-entity pairs, where a key is a </span><a class="grammarRef" href="#prod-literal"><span class="insert">literal</span></a><span class="insert">.</span> The notation is a variation of that used for Collections membership, allowing multiple member elements to be declared, and in which the elements are pairs. The name of the relation is qualified with the extension-specific namespace <span class="name">http://example.org/dictionaries</span>.
+<a href="#component6">Collections</a> are sets of entities, whose membership can be expressed using the <span class="name">hadMember</span> relation.  The following example shows how one can express membership for <em><span class="insert">dictionaries</span></em><span class="insert">, </span>an <span class="insert">illustrative </span>extension of <span class="delete">Collections, namely</span><span class="insert">Collections consisting of</span> sets of <span class="delete">key-value pairs.</span><span class="insert">key-entity pairs, where a key is a </span><code><a class="grammarRef" href="#prod-literal"><span class="insert">literal</span></a></code><span class="insert">.</span> The notation is a variation of that used for Collections membership, allowing multiple member elements to be declared, and in which the elements are pairs. The name of the relation is qualified with the extension-specific namespace <span class="name">http://example.org/dictionaries</span>.
 </p>
 <pre class="codeexample">  prefix dictExt &lt;http://example.org/dictionaries&gt;
   dictExt:hadMembers(mId; d, {("k1",e1), ("k2",e2), ("k3",e3)}, []) 
@@ -3076,12 +3094,12 @@
       <dt>Subtype name:</dt> 
       <dd>provenance-notation</dd> 
       <dt>Required parameters:</dt> 
-      <dd>None</dd> 
+      <dd><span class="delete">None</span><kbd><span class="insert">charset</span></kbd><span class="insert"> — the value of </span><kbd><span class="insert">charset</span></kbd> <em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> always be </span><kbd><span class="insert">UTF-8</span></kbd><span class="insert">.</span></dd> 
       <dt>Optional parameters:</dt> 
-      <dd><tt>charset</tt> — this parameter is mandatory. The value of <tt>charset</tt> is always <tt>UTF-8</tt>.</dd> 
-
-      <dt>Encoding considerations:</dt> 
-      <dd>The syntax of PROV-N is expressed over code points in Unicode [<cite><a class="bibref" rel="biblioentry" href="#bib-UNICODE5">UNICODE5</a></cite>]. The encoding is always UTF-8 [<cite><a class="bibref" rel="biblioentry" href="#bib-UTF-8">UTF-8</a></cite>].</dd> 
+      <dd><span class="delete">charset</span><span class="delete"> — this parameter is mandatory. The value of </span><span class="delete">charset</span><span class="delete"> is always </span><span class="delete">UTF-8</span><span class="delete">.</span><span class="insert">None</span></dd> 
+
+      <dt>Encoding considerations:<span class="insert"> 8bit</span></dt> 
+      <dd>The syntax of PROV-N is expressed over code points in Unicode [<cite><span class="delete">UNICODE5</span><a class="bibref" rel="biblioentry" href="#bib-UNICODE"><span class="insert">UNICODE</span></a></cite>]. The encoding is always UTF-8 [<cite><a class="bibref" rel="biblioentry" href="#bib-UTF-8">UTF-8</a></cite>].</dd> 
       <dd>Unicode code points may also be expressed using an \uXXXX (U+0 to U+FFFF) or \UXXXXXXXX syntax (for U+10000 onwards) where X is a hexadecimal digit [0-9A-F]</dd> 
       <dt>Security considerations:</dt> 
       <dd>PROV-N is a general-purpose language for describing the provenance of things; applications may evaluate given data to infer more descriptions or to dereference URIs, invoking the security considerations of the scheme for that URI. Note in particular, the privacy issues in [<cite><a class="bibref" rel="biblioentry" 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> 
@@ -3111,7 +3129,7 @@
       <dd>PROV-N: The Provenance Notation, Moreau, Missier, (eds), Cheney, Soiland-Reyes
       <a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a></dd> 
       <dt>Applications which use this media type:</dt> 
-      <dd>No widely deployed applications are known to use this media type. It may be used by some web services and clients consuming their data.</dd> 
+      <dd><span class="delete">No widely deployed applications are known</span><span class="insert">It may be used by any application for publishing provenance information. This format is designed</span> to <span class="delete">use this media type. It may </span>be <span class="delete">used by some web services and clients consuming their data.</span><span class="insert">a human-readable form of provenance. </span></dd> 
       <dt>Additional information:</dt> 
       <dt>Magic number(s):</dt> 
       <dd>PROV-N documents may have the strings <span class="delete">'bundle'</span><span class="insert">'document'</span> near the beginning of the document.</dd> 
@@ -3122,7 +3140,7 @@
       <dt>Macintosh file type code(s):</dt> 
       <dd>"TEXT"</dd> 
       <dt>Person &amp; email address to contact for further information:</dt> 
-      <dd>public-prov-comments@w3.org</dd> 
+      <dd><span class="delete">public-prov-comments@w3.org</span><span class="insert">Ivan Herman, ivan@w3.org</span></dd> 
       <dt>Intended usage:</dt> 
       <dd>COMMON</dd> 
       <dt>Restrictions on usage:</dt> 
@@ -3143,11 +3161,12 @@
       <h2><span class="secno">A. </span><span class="insert">Changes since last version</span></h2><p><em><span class="insert">This section is non-normative.</span></em></p> 
       <p> 
 </p><ul>
-<p> <a href="http://www.w3.org/2011/prov/track/issues/543"><span class="insert">ISSUE-543</span></a><span class="insert">: uses key-entity pair terminology for example 43.
-</span></p><p> <a href="http://www.w3.org/2011/prov/track/issues/538"><span class="insert">ISSUE-538</span></a><span class="insert">: rephrasing of text in example 10.
-</span></p><p> <a href="http://www.w3.org/2011/prov/track/issues/547"><span class="insert">ISSUE-547</span></a><span class="insert">: aligned terminology and productions with prov-constraints document, renaming 'toplevel bundle' to 'document', and renaming 'named bundle' to 'bundle'.
-</span></p><p> <a href="http://www.w3.org/2011/prov/track/issues/496"><span class="insert">ISSUE-496</span></a><span class="insert">: For each prov-n term, added a cross-reference to corresponding prov-dm term (see table following each production). Rephrased text related to scope of a namespace declaration. Added an informative file with all productions.
-</span></p></ul>
+<li> <a href="http://www.w3.org/2011/prov/track/issues/543"><span class="insert">ISSUE-543</span></a><span class="insert">: Uses key-entity pair terminology for example 43.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/538"><span class="insert">ISSUE-538</span></a><span class="insert">: Rephrasing of text in example 10.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/547"><span class="insert">ISSUE-547</span></a><span class="insert">: Aligned terminology and productions with prov-constraints document, renaming 'toplevel bundle' to 'document', and renaming 'named bundle' to 'bundle'.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/496"><span class="insert">ISSUE-496</span></a><span class="insert">: For each prov-n term, added a cross-reference to corresponding prov-dm term (see table following each production). Rephrased text related to scope of a namespace declaration. Added an informative file with all productions.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/573"><span class="insert">ISSUE-573</span></a><span class="insert">: Updated Media Type section. 
+</span></li></ul>
 </div>
 
 <div class="appendix informative section" id="acknowledgements"> 
@@ -3229,6 +3248,7 @@
 </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</cite></a> January 2001. Internet RFC 3023. 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.</cite></a> January 2005. Internet RFC 3986. 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).</cite></a> January 2005. Internet RFC 3987. URL: <a href="http://www.ietf.org/rfc/rfc3987.txt">http://www.ietf.org/rfc/rfc3987.txt</a> 
+</dd><dt id="bib-UNICODE"><span class="insert">[UNICODE]</span></dt><dd><span class="insert">The Unicode Consortium.  </span><a href="http://www.unicode.org/unicode/standard/versions/enumeratedversions.html"><cite><span class="insert">The Unicode Standard.</span></cite></a><span class="insert">.  Defined by: The Unicode Standard, Version 6.2.0, (Mountain View, CA: The Unicode Consortium, 2012. ISBN 978-1-936213-07-8) , as updated from time to time by the publication of new versions URL: </span><a href="http://www.unicode.org/unicode/standard/versions/enumeratedversions.html"><span class="insert">http://www.unicode.org/unicode/standard/versions/enumeratedversions.html</span></a> 
 </dd><dt id="bib-URI">[URI]</dt><dd>T. Berners-Lee; R. Fielding; L. Masinter. <a href="http://www.ietf.org/rfc/rfc3986.txt"><cite>Uniform Resource Identifiers (URI): generic syntax.</cite></a> January 2005. Internet RFC 3986. URL: <a href="http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3986.txt</a> 
 </dd><dt id="bib-UTF-8">[UTF-8]</dt><dd>F. Yergeau. <a href="http://www.ietf.org/rfc/rfc3629.txt"><cite>UTF-8, a transformation format of ISO 10646</cite></a>. IETF RFC 3629. November 2003. URL: <a href="http://www.ietf.org/rfc/rfc3629.txt">http://www.ietf.org/rfc/rfc3629.txt</a>
 </dd><dt id="bib-XML-NAMES">[XML-NAMES]</dt><dd>Richard Tobin; et al. <a href="http://www.w3.org/TR/2009/REC-xml-names-20091208/"><cite>Namespaces in XML 1.0 (Third Edition).</cite></a> 8 December 2009. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2009/REC-xml-names-20091208/">http://www.w3.org/TR/2009/REC-xml-names-20091208/</a> 
@@ -3240,9 +3260,7 @@
 </dd><dt id="bib-PROV-RDF">[PROV-RDF]</dt><dd>James Cheney<a href="http://www.w3.org/2011/prov/wiki/ProvRDF"><cite>PROV-RDF Mapping </cite></a>2012, Working in Progress. URL: <a href="http://www.w3.org/2011/prov/wiki/ProvRDF">http://www.w3.org/2011/prov/wiki/ProvRDF</a>
 </dd><dt id="bib-PROV-SEM">[PROV-SEM]</dt><dd>James Cheney <a href="http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman"><cite>Formal Semantics Strawman</cite></a>. 2011, Work in progress. URL: <a href="http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman">http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman</a>
 </dd><dt id="bib-PROV-XML">[PROV-XML]</dt><dd>James Cheney <a href="http://www.w3.org/2011/prov/wiki/ProvXML"><cite>PROV-XML Mapping </cite></a>2012, Working in Progress. URL: <a href="http://www.w3.org/2011/prov/wiki/ProvXML">http://www.w3.org/2011/prov/wiki/ProvXML</a>
-</dd><dt id="bib-UNICODE5">[UNICODE5]</dt><dd>The Unicode Consortium. <a href="http://www.unicode.org/versions/Unicode5.1.0/"><cite>The Unicode Standard, Version 5.1.0.</cite></a> Addison-Wesley. 2007. ISBN 0-321-48091-0. URL: <a href="http://www.unicode.org/versions/Unicode5.1.0/">http://www.unicode.org/versions/Unicode5.1.0/</a> 
-</dd><dt id="bib-UNISEC">[UNISEC]</dt><dd> Mark Davis and 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><span class="delete">[UNICODE5]</span><span class="delete">The Unicode Consortium. </span><span class="delete">The Unicode Standard, Version 5.1.0.</span><span class="delete"> Addison-Wesley. 2007. ISBN 0-321-48091-0. URL: </span><span class="delete">http://www.unicode.org/versions/Unicode5.1.0/</span> 
+<dt id="bib-UNISEC">[UNISEC]</dt><dd> Mark Davis and 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></div></div></body></html>
 
-
-
--- a/model/diff.html	Thu Nov 01 13:21:53 2012 -0400
+++ b/model/diff.html	Thu Nov 01 13:22:07 2012 -0400
@@ -1026,7 +1026,7 @@
 pre.sh_sourceCode .sh_attribute { color: #006400; }
 
 </style><link href="./extra-dm.css" rel="stylesheet" type="text/css" charset="utf-8"><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css" charset="utf-8"></head> 
-  <body style="display: inherit; "><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-DM: The PROV Data Model</h1><h2 id="subtitle"><a href="diff.html"><span class="insert">Changes</span></a><span class="insert"> since LC release</span></h2><h2 id="w3c-editor-s-draft-26-october-2012"><acronym title="World Wide Web Consortium">W3C</acronym> <span class="delete">Working</span><span class="insert">Editor's</span> Draft <span class="delete">24 July</span><span class="insert">26 October</span> 2012</h2><dl><dt>This version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-dm-20120724/</span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html"><span class="insert">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html</span></a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/prov-dm/">http://www.w3.org/TR/prov-dm/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html</a></dd><dt>Previous version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-dm-20120503/</span><span class="delete"> (</span><span class="delete">color-coded diffs</span><span class="delete">)</span><a href="http://www.w3.org/TR/2012/WD-prov-dm-20120724/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-dm-20120724/</span></a></dd><dt>Editors:</dt><dd><a href="http://www.ecs.soton.ac.uk/~lavm/">Luc Moreau</a>, University of Southampton</dd>
+  <body style="display: inherit; "><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-DM: The PROV Data Model</h1><h2 id="subtitle"><a href="diff.html"><span class="insert">Changes</span></a><span class="insert"> since LC release</span></h2><h2 id="w3c-editor-s-draft-01-november-2012"><acronym title="World Wide Web Consortium">W3C</acronym> <span class="delete">Working</span><span class="insert">Editor's</span> Draft <span class="delete">24 July</span><span class="insert">01 November</span> 2012</h2><dl><dt>This version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-dm-20120724/</span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html"><span class="insert">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html</span></a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/prov-dm/">http://www.w3.org/TR/prov-dm/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html</a></dd><dt>Previous version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-dm-20120503/</span><span class="delete"> (</span><span class="delete">color-coded diffs</span><span class="delete">)</span><a href="http://www.w3.org/TR/2012/WD-prov-dm-20120724/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-dm-20120724/</span></a></dd><dt>Editors:</dt><dd><a href="http://www.ecs.soton.ac.uk/~lavm/">Luc Moreau</a>, University of Southampton</dd>
 <dd><a href="http://www.cs.ncl.ac.uk/people/Paolo.Missier">Paolo Missier</a>, Newcastle University</dd>
 <dt><span class="delete">Contributors:</span><span class="insert">Authors:</span></dt><dd><a href="http://semanticweb.org/wiki/Khalid_Belhajjame">Khalid Belhajjame</a>, University of Manchester</dd>
 <dd><span>Reza B'Far</span>, Oracle Corporation</dd>
@@ -2253,7 +2253,7 @@
 <p></p><div class="attributes" id="attributes-entity">An <dfn title="dfn-Entity" id="dfn-entity" class="internalDFN">entity</dfn><sup><a class="internalDFN" href="#dfn-entity"><span class="diamond"> ◊</span></a></sup><span class="withPn">, written <span class="pnExpression" id="pn-entity">entity(id, [attr1=val1, ...])</span> in PROV-N, </span> has:
 <ul>
 <li><span class="attribute" id="entity.id">id</span>: an identifier for an entity; </li>
-<li><span class="attribute" id="entity.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set of attribute-value  pairs ((<span class="name">attr1</span>, <span class="name">val1</span>), ...) representing additional information about this entity.</li>
+<li><span class="attribute" id="entity.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set of attribute-value  pairs ((<span class="name">attr1</span>, <span class="name">val1</span>), ...) representing additional information about <span class="insert">the fixed aspects of </span>this entity.</li>
 </ul></div>
 
 <div class="anexample" id="anexample-entity"><div class="anexampleTitle">Example <span class="delete">16</span><span class="insert">17</span><sup><a class="internalDFN" href="#anexample-entity"><span class="diamond"> ◊</span></a></sup></div>
@@ -2744,7 +2744,7 @@
   The implication here is that
      the resulting entity contains substantial content from the
      original.
-Revision is a particular case of <a href="#concept-derivation" class="internalDFN">derivation</a> of an entity into its revised version.
+<span class="delete">Revision</span><span class="insert">A </span><dfn id="dfn-revision" class="internalDFN"><span class="insert">revision</span></dfn><sup><a class="internalDFN" href="#dfn-revision"><span class="diamond"><span class="insert"> ◊</span></span></a></sup><span class="insert"> relation</span> is a particular case of<span class="insert"> a</span> <a href="#concept-derivation" class="internalDFN">derivation</a> <span class="delete">of</span><span class="insert">relation between</span> an entity <span class="delete">into</span><span class="insert">and</span> its revised version.
 The type is of a revision derivation is denoted by:
 <dfn title="dfn-prov:revision" id="dfn-prov:revision" class="internalDFN"><span class="name">prov:Revision</span></dfn><sup><a class="internalDFN" href="#dfn-prov:revision"><span class="diamond"> ◊</span></a></sup>.
 <span class="insert">PROV defines no revision-specific attributes.
@@ -2753,6 +2753,9 @@
 
 
 
+
+
+
 <div class="anexample" id="anexample-revision"><div class="anexampleTitle">Example <span class="delete">30</span><span class="insert">31</span><sup><a class="internalDFN" href="#anexample-revision"><span class="diamond"> ◊</span></a></sup></div>
 <p>
 Revisiting the example of <a href="#section-example-two">Section 4.2</a>,
@@ -2779,11 +2782,11 @@
 </p>
 
 <p>A <dfn id="dfn-quotation" class="internalDFN">quotation</dfn><sup><a class="internalDFN" href="#dfn-quotation"><span class="diamond"> ◊</span></a></sup> relation
- is a particular case of  <a href="#concept-derivation" class="internalDFN">derivation</a> in which an entity is derived from an original entity by copying, or "quoting", some or all of it.
+ is a particular case of<span class="insert"> a</span>  <a href="#concept-derivation" class="internalDFN">derivation</a> <span class="delete">in</span><span class="insert">relation, for</span> which an entity <span class="delete">is</span><span class="insert">was</span> derived from an original entity by copying, or "quoting", some or all of it.
 The type is of a quotation derivation is denoted by:
-<dfn title="dfn-prov:quotation" id="dfn-prov:quotation" class="internalDFN"><span class="name">prov:Quotation</span></dfn><sup><a class="internalDFN" href="#dfn-prov:quotation"><span class="diamond"> ◊</span></a></sup>.
-<span class="insert">PROV defines no quotation-specific attributes.
-</span></p>
+<dfn title="dfn-prov:quotation" id="dfn-prov:quotation" class="internalDFN"><span class="name">prov:Quotation</span></dfn><sup><a class="internalDFN" href="#dfn-prov:quotation"><span class="diamond"> ◊</span></a></sup>.<span class="insert">
+PROV defines no quotation-specific attributes.</span>
+</p>
 
 
 
@@ -2828,15 +2831,19 @@
 investigated.</p>
 
 
-<p>A <dfn id="dfn-primary-source" class="internalDFN">primary source</dfn><sup><a class="internalDFN" href="#dfn-primary-source"><span class="diamond"> ◊</span></a></sup> relation is a particular case of <a href="#concept-derivation" class="internalDFN">derivation</a> of
-secondary materials from their primary sources. It is recognized that
+
+
+<p><span class="insert">It is also important to note that a given entity might be a primary source for one entity but not another. It the reason why Primary Source is defined as a relation as opposed to a subtype of Entity.</span></p>
+
+<p>A <dfn id="dfn-primary-source" class="internalDFN">primary source</dfn><sup><a class="internalDFN" href="#dfn-primary-source"><span class="diamond"> ◊</span></a></sup> relation is a particular case of <span class="insert">a </span><a href="#concept-derivation" class="internalDFN">derivation</a> <span class="delete">of</span><span class="insert">relation from</span>
+secondary materials <span class="delete">from</span><span class="insert">to</span> their primary sources. It is recognized that
 the determination of primary sources can be up to interpretation, and
 should be done according to conventions accepted within the
 application's domain. 
 The type is of a  primary source derivation is denoted by:
-<dfn title="dfn-prov:primary-source" id="dfn-prov:primary-source" class="internalDFN"><span class="name">prov:PrimarySource</span></dfn><sup><a class="internalDFN" href="#dfn-prov:primary-source"><span class="diamond"> ◊</span></a></sup>.
-<span class="insert">PROV defines no attributes specific to primary source.
-</span></p>
+<dfn title="dfn-prov:primary-source" id="dfn-prov:primary-source" class="internalDFN"><span class="name">prov:PrimarySource</span></dfn><sup><a class="internalDFN" href="#dfn-prov:primary-source"><span class="diamond"> ◊</span></a></sup>.<span class="insert">
+PROV defines no attributes specific to primary source.</span>
+</p>
 
 
 
@@ -2880,7 +2887,7 @@
 </span>
 </div>
 
-<p>Component 3 further defines a general notion of <a href="#concept-influence" class="internalDFN">influence</a>, <span class="delete">as </span>a <span class="delete">super-relation of</span><span class="insert">relation implied by</span> all relations defined so far. <a href="#figure-component3b">Figure 8</a> displays one new association class, generalizing previously introduced associations.</p>
+<p>Component 3 further defines a general notion of <a href="#concept-influence" class="internalDFN">influence</a>, <span class="delete">as a super-relation of</span><span class="insert">a relation implied by</span> all relations defined so far. <a href="#figure-component3b">Figure 8</a> displays one new association class, generalizing previously introduced associations.</p>
 
 
 <div style="text-align: center;">
@@ -3703,7 +3710,11 @@
  name</a>. 
 </p>
 
-</div>
+<p><a href="#concept-entity" class="internalDFN"><span class="insert">Entity</span></a><span class="insert">, </span><a href="#concept-activity" class="internalDFN"><span class="insert">Activity</span></a><span class="insert">, and </span><a href="#concept-agent" class="internalDFN"><span class="insert">Agent</span></a><span class="insert"> have a mandatory identifier. Two entities (resp. activities, agents) are equal if they have the same identifier.</span></p>
+
+<p><a href="#concept-generation" class="internalDFN"><span class="insert">Generation</span></a><span class="insert">, </span><a href="#concept-usage" class="internalDFN"><span class="insert">Usage</span></a><span class="insert">, </span><a href="#concept-communication" class="internalDFN"><span class="insert">Communication</span></a><span class="insert">, </span><a href="#concept-start" class="internalDFN"><span class="insert">Start</span></a><span class="insert">, </span><a href="#concept-end" class="internalDFN"><span class="insert">End</span></a><span class="insert">, </span><a href="#concept-invalidation" class="internalDFN"><span class="insert">Invalidation</span></a><span class="insert">, </span><a href="#concept-derivation" class="internalDFN"><span class="insert">Derivation</span></a><span class="insert">, </span><a href="#concept-attribution" class="internalDFN"><span class="insert">Attribution</span></a><span class="insert">, </span><a href="#concept-activityAssociation" class="internalDFN"><span class="insert">Association</span></a><span class="insert">, </span><a href="#concept-delegation" class="internalDFN"><span class="insert">Delegation</span></a><span class="insert">, </span><a href="#concept-influence" class="internalDFN"><span class="insert">Influence</span></a><span class="insert"> have an optional identifier. Two generations (resp. usages, communications, etc.) are equal if they have the same identifier.
+
+</span></p></div>
 
 <div id="term-attribute" class="section">
 <h4><span class="secno">5.7.2 </span>Attribute</h4>
@@ -4359,6 +4370,9 @@
 </span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/502"><span class="insert">ISSUE-502</span></a><span class="insert">: Added sentence in section 2.1.2 explaining that the focus
       of derivation is on connecting a generated entity to a used  entity.
 </span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/526"><span class="insert">ISSUE-526</span></a><span class="insert">: Added sentence clarifying sentence in section 5.5.2.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/462"><span class="insert">ISSUE-462</span></a><span class="insert">: Added clarification regarding entity attributes (with respect to fixed aspects) and role of identifier with respect to equality.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/518"><span class="insert">ISSUE-518</span></a><span class="insert">: Added clarifying sentence of primary source.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/552"><span class="insert">ISSUE-552</span></a><span class="insert">: Clarifying phrasing around a quotation/revision/primary-source relation is a particular case of a derivation relation ...
 </span></li></ul>
 
 </div>
--- a/model/diff/Makefile	Thu Nov 01 13:21:53 2012 -0400
+++ b/model/diff/Makefile	Thu Nov 01 13:22:07 2012 -0400
@@ -19,6 +19,6 @@
 
 c.diff:
 #	htmldiff ../releases/ED-prov-constraints-20120723/prov-constraints.html prov-constraints.html > ../diff-c.html
-	./htmldiff ../releases/WD-prov-constraints-20120503/Overview.html ../releases/WD-prov-constraints-20120911/Overview.html > ../diff-c.html
-	cp ../diff-c.html ../releases/WD-prov-constraints-20120911/
+	./htmldiff ../releases/WD-prov-constraints-20120911/Overview.html prov-constraints.html > ../diff-c.html
+#	cp ../diff-c.html ../releases/WD-prov-constraints-20120911/
 
--- a/model/prov-constraints.html	Thu Nov 01 13:21:53 2012 -0400
+++ b/model/prov-constraints.html	Thu Nov 01 13:22:07 2012 -0400
@@ -318,20 +318,20 @@
 };
       var respecConfig = {
           // specification status (e.g. WD, LCWD, NOTE, etc.). If in doubt use ED.
-          specStatus:           "LC",
+          specStatus:           "ED",
           
           // the specification's short name, as in http://www.w3.org/TR/short-name/
           shortName:            "prov-constraints",
  
           // if your specification has a subtitle that goes below the main
           // formal title, define it here
-//          subtitle   :  "<a href=\"diff-c.html\">Changes</a> since internal release (pre-LC)",
+          subtitle : "<a href=\"diff-c.html\">Changes</a> since Last Call Working Draft  (LC)",
 
 
 
           // if you wish the publication date to be other than today, set this
-        //          publishDate:  "2012-05-03",
-                publishDate:  "2012-09-11",
+        //  FPWD        publishDate:  "2012-05-03",
+         // LC       publishDate:  "2012-09-11",
  
           // if the specification's copyright date is a range of years, specify
           // the start date here:
@@ -424,7 +424,8 @@
 
 
 <p> This document defines a subset of PROV instances called
-<i><a>valid</a></i> PROV instances.  
+<i><a>valid</a></i> PROV instances, by analogy with notions of
+validity for other Web standards.
 The intent of validation is ensure that a PROV instance represents a
 consistent history of objects and their interactions that is safe to
 use for the purpose of logical reasoning and other kinds of analysis.
@@ -448,7 +449,7 @@
 
 <p>This specification identifies  <a
 href="http://www.w3.org/2005/10/Process-20051014/tr#cfi">features at
-risk</a> related to the at-risk Mention feature of [[PROV-DM]]:
+risk</a> related to the at-risk Mention feature of [[!PROV-DM]]:
 <a class="rule-text" href="#mention-specialization-inference"><span>TBD</span></a> and
 <a class="rule-text" href="#unique-mention"><span>TBD</span></a>.
 These might be removed from PROV-CONSTRAINTS.</p>
@@ -479,7 +480,7 @@
 <li>[[PROV-SEM]] provides a mathematical semantics and a collection of
 axioms that provide a (non-normative, but equivalent) declarative specification, aimed
 at readers with a mathematical logic or formal background.  This can
-serve as a starting point for alteranative implementations. </li>
+serve as a starting point for alternative implementations. </li>
 </ul>
 
 </section>
@@ -536,9 +537,14 @@
 PROV instances. A <a>valid</a> PROV instance corresponds to a
 consistent history of objects and interactions to which logical
 reasoning can be safely applied. PROV instances need not
-be <a>valid</a>.  (The term <a>valid</a> is chosen by analogy with
-notions of validity in other W3C specifications; it is unfortunately
-incompatible with the usual meaning of "validity" in logic.)
+be <a>valid</a>.
+</p>
+<p>
+The term <a>valid</a> is chosen by analogy with
+notions of validity in other W3C specifications. Unfortunately, this
+terminology is incompatible with the usual meaning of "validity" in logic;
+our notion of validity of a PROV instance/document is closer to
+logical "consistency".
 </p>
 
 <p> This document specifies <em>definitions</em> of some
@@ -583,11 +589,11 @@
 which are determining whether PROV instances or documents convey the same
 information SHOULD check equivalence as specified here, and SHOULD
 treat equivalent instances or documents in the same way.  This is a
-guideline only, and the meaning of "in the same way" is
+guideline only, because meaning of "in the same way" is
 application-specific.  For example, applications that manipulate the syntax of
 PROV instances in particular representations, such as pretty-printing
-or digital signing, have good reasons to treat different equivalent
-documents differently.
+or digital signing, have good reasons to treat syntactically
+different, but equivalent, documents differently.
 </p>
 </section>
 <section>
@@ -602,7 +608,7 @@
 requirements for compliance with this document, which are specified in
 detail in the rest of the document.  </p>
 
-<p> <a href="#inferences">Section 4</a> presents definitions and inferences.  Definitions allow replacing shorthand notation in [[PROV-N]]
+<p> <a href="#inferences">Section 4</a> presents definitions and inferences.  Definitions allow replacing shorthand notation in [[!PROV-N]]
 with more explicit and complete statements; inferences allow adding
 new facts representing implicit knowledge about the structure of
 provenance.  </p>
@@ -1009,9 +1015,25 @@
   does not attempt to provide a complete introduction to these topics,
   but it is provided in order to aid readers familiar with one or more
   of these topics in understanding the specification, and to clarify
-  some of the motivations for choices in the specification to all readers.
+  some of the motivations for choices in the specification to all
+  readers.
   </p>
 
+    <p>As discussed below, the definitions, inferences and constraints
+can be viewed as pure logical assertions that could be checked in a
+variety of ways.  The rest of this document specifies validity and
+equivalence procedurally, that is, in terms of a reference
+implementation based on normalization.  Although both declarative and
+procedural specification techniques have advantages, a purely
+declarative specification offers much less assistance for
+implementers, while a procedural approach immediately demonstrates
+implementability and provides an adequate (polynomial-time) default implementation.  In
+this section we relate the declarative meaning of formulas to their
+procedural meaning.  [[PROV-SEM]] will provide an alternative,
+declarative characterization of validity and equivalence which could
+be used as a starting point for other implementation strategies.  </p>
+
+
  
  <h4>Constants, Variables and Placeholders</h4>
   <p>
@@ -1258,7 +1280,7 @@
   algorithm.  The logical formulas corresponding to the definitions,
   inferences, and constraints outlined above (and further elaborated
   in [[PROV-SEM]]) provides an equivalent specification, and any
-  implementation that correctly checks validity and equivalence (whether it performs nornalization or not) complies
+  implementation that correctly checks validity and equivalence (whether it performs normalization or not) complies
   with this specification.
   </p>
 
@@ -1430,6 +1452,29 @@
   those obtained by the algorithm in this specification.
   </p>
 
+<p>Equivalence is only explicitly specified for
+valid instances (whose normal forms exist and are unique up to
+isomorphism).  Implementations may test equivalences involving valid
+and invalid documents.  This specification does not constrain the
+behavior of equivalence checking involving invalid instances, provided
+that:
+</p>
+<ul>
+  <li>instance equivalence is <a>reflexive</a>, <a>symmetric</a> and
+  <a>transitive</a> on all instances</li>
+  <li> no valid instance is equivalent to an invalid instance.</li>
+  </ul>
+<p>
+Because of the second constraint, equivalence is essentially the union
+  of two equivalence relations on the disjoint sets of valid and
+  invalid instances.
+  There are two simple implementations of equivalence for invalid
+  documents that are correct:</p>
+  <ol>
+    <li>each invalid instance is equivalent only to itself</li>
+    <li>every pair of invalid instances are equivalent</li>
+  </ol>
+  
 <h4>From Instances to Bundles and Documents</h4>
 
 <p>PROV documents can contain multiple instances: a <a>toplevel
@@ -1767,7 +1812,7 @@
   via reduction to normal forms.  If checking validity or equivalence, the
   results MUST be the same as would be obtained by computing normal
   forms as defined in this specification.  Applications that explicitly compute
-  normal forms, or to follow the implementation strategy suggested by
+  normal forms, following the implementation strategy suggested by
   this specification, are by definition compliant.  However,
   applications can also comply by checking validity and equivalence in any
   other way that yields the same answers without explicitly applying
@@ -1831,6 +1876,11 @@
   its definition.  
 </p>
 
+  <div class="remark">
+    We use definitions primarily to expand the compact, concrete
+    PROV-N syntax, including short forms and optional parameters to the abstract syntax
+    implicitly used in PROV-DM.
+  </div>
 
   <p> Inferences have the following general form:</p>
 <div class='inference-example' id='inference-example'>
@@ -2161,7 +2211,7 @@
   Essentially, the definitions state that parameters  
 <span class="name">g,u</span> are expandable only if the activity is specified, i.e., if parameter <span class="name">a</span> is provided.
 
-The rationale for this is that when a is provided, then there have to be two events, namely <span class="name">u</span> and <span class="name">g</span>, which account for the usage of <span class="name">e1</span> and the generation of <span class="name">e2</span>, respectively, by <span class="name">a</span>. Conversely, if <span class="name">a</span> is not provided, then one cannot tell whether one or more activities are involved in the derivation, and the explicit introduction of such events, which correspond to a single acitivity, would therefore not be justified.  </p>
+The rationale for this is that when a is provided, then there have to be two events, namely <span class="name">u</span> and <span class="name">g</span>, which account for the usage of <span class="name">e1</span> and the generation of <span class="name">e2</span>, respectively, by <span class="name">a</span>. Conversely, if <span class="name">a</span> is not provided, then one cannot tell whether one or more activities are involved in the derivation, and the explicit introduction of such events, which correspond to a single activity, would therefore not be justified.  </p>
 
 
 <p>  A  later constraint, <a class="rule-ref"
@@ -2903,12 +2953,12 @@
       existential variable), then their
    <a>unifier</a> is
       <span class="name">[x=t']</span>.  In the special case where
-      <span class="name">t'=x</span>, the  unifier is the empty substitution.</li>
+      <span class="name">t'=x</span>, the  <a>unifier</a> is the empty substitution.</li>
          <li> If <span class="name">t</span> is any term (identifier, constant,
       placeholder <span class="name">-</span>, or
       existential variable) and
    <span class="name">x'</span> is an existential variable, then their
-      unifier is the same as the unifier of <span class="name">x</span>
+      <a>unifier</a> is the same as the <a>unifier</a> of <span class="name">x</span>
       and <span class="name">t</span>.</li>
       </ul>
       
@@ -3002,13 +3052,13 @@
   </p>
   <div class='constraint' id='key-object'>
 <p><ol>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#entity.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">entity(id,attrs)</span> statement.
   </li>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#activity.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the  <span class="name">activity(id,t1,t2,attrs)</span> statement.
    </li>
-<li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+<li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#agent.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the  <span class="name">agent(id,attrs)</span> statement.
   </li>
   </ol>
@@ -3023,44 +3073,40 @@
   </p>
   <div class='constraint' id='key-properties'>
 <p><ol>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#generation.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">wasGeneratedBy(id; e,a,t,attrs)</span> statement.
   </li>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#usage.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">used(id; a,e,t,attrs)</span> statement.
   </li>
- <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+ <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#communication.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">wasInformedBy(id; a2,a1,attrs)</span> statement.
   </li>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#start.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">wasStartedBy(id; a2,e,a1,t,attrs)</span> statement.
   </li>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#end.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">wasEndedBy(id; a2,e,a1,t,attrs)</span> statement.
   </li>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#invalidation.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">wasInvalidatedBy(id; e,a,t,attrs)</span> statement.
   </li>
-<!--  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
-  the <span class="name">wasDerivedFrom(id;  e2, e1, attrs)</span> statement.
-  </li>
-  -->
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#derivation.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">wasDerivedFrom(id;  e2, e1, a, g2, u1, attrs)</span> statement.
   </li>
- <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+ <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#attribution.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">wasAttributedTo(id; e,ag,attr)</span> statement.
   </li>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#association.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">wasAssociatedWith(id; a,ag,pl,attrs)</span> statement.
  </li>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#association.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">wasAssociatedWith(id; a,ag,-,attrs)</span> statement.
   </li>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#delegation.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">actedOnBehalfOf(id; ag2,ag1,a,attrs)</span> statement.
   </li>
-  <li>The identifier field <span class="name">id</span> is a <span class="conditional">KEY</span> for
+  <li>The identifier field <a href="http://www.w3.org/TR/prov-dm/#influence.id"><span class="name">id</span></a> is a <span class="conditional">KEY</span> for
   the <span class="name">wasInfluencedBy(id; o2,o1,attrs)</span> statement.
   </li>
 </ol>
@@ -3272,7 +3318,7 @@
 implies event ordering, or vice versa.  However, an application MAY flag time values
 that appear inconsistent with the event ordering as possible
 inconsistencies.  When generating provenance, an application SHOULD
-use a consistent imeline for related PROV statements within an
+use a consistent timeline for related PROV statements within an
 instance.</p>
 
 
@@ -4519,7 +4565,7 @@
   <li>
   Check that none of the impossibility constraints <a href="#impossibility-constraints">(section 5.4)</a>  are
   violated.  If any are violated, then <span class="math">I</span> is
-  not <a>valid</a>.  Otherwise, <span class="math">I</span> is <a>valid</a>
+  not <a>valid</a>.  Otherwise, <span class="math">I</span> is <a>valid</a>.
   </li>
   </ol>
 
@@ -4527,11 +4573,30 @@
   constraint fails due to unification or merging failure. </p>
 
 
-  <p>Two PROV instances are <dfn>equivalent</dfn> if they have isomorphic normal forms (that is, after applying all possible inference
+  <p>Two PROV instances <span class="math">I</span> and <span class="math">I'</span> are <dfn>isomorphic</dfn> if
+  there exists an invertible substitution <span class="math">S</span> that maps each
+  variable of <span class="math">I</span> to a distinct variable of <span class="math">I'</span> and such that
+  <span class="math">S(I) = I'</span>.</p>
+
+<p>  Two <a>valid</a> PROV instances are <dfn>equivalent</dfn> if they
+  have <a>isomorphic</a> normal forms.  That is, after applying all possible inference
 rules, the two instances produce the same set of PROV statements,
 up to reordering of statements and attributes within attribute lists,
-  and renaming of existential variables).
-Equivalence has the following characteristics: </p>
+  and renaming of existential variables.  
+</p>
+  <p>Equivalence can also be checked over pairs of PROV instances that
+  are not necessarily valid, subject to the following rules:
+  <ul>
+    <li>If both are valid, then equivalence is
+  defined above.</li>
+    <li>If both are invalid, then equivalence can be
+  implemented in any way provided it is <a>reflexive</a>, <a>symmetric</a>, and <a>transitive</a>.
+  </li>
+  <li>If one instance is valid and the other is invalid, then the two
+  instances are not equivalent.</li>
+  </ul>
+  <p>
+Equivalence has the following characteristics over valid instances: </p>
 
 <ul>
   <li>
@@ -4555,16 +4620,20 @@
   <li>
   Applying inference rules, definitions, and uniqueness constraints preserves equivalence.  That is, a <a>PROV
   instance</a> is equivalent to the instance obtained by applying any
-  inference rule or definition, or by <a>unifying</a> two terms or <a>merging</a> two statements to
+  inference rule or definition, or by <a title="unification">unifying</a> two terms or <a>merging</a> two statements to
   enforce a uniqueness constraint.
   </li>
-  <li>Equivalence is <a>reflexive</a>, <a>symmetric</a>, and <a>transitive</a>.</li>
+  <li>Equivalence is <a>reflexive</a>, <a>symmetric</a>, and
+  <a>transitive</a>.  (This is because a valid instance has a unique
+  normal form up to isomorphism [[DBCONSTRAINTS]]). </li>
 </ul>
 
 <p> An application that processes PROV data SHOULD handle
-equivalent instances in the same way. (Common exceptions to this guideline
+equivalent instances in the same way.  This guideline is necessarily
+imprecise because "in the same way" is application-specific.
+Common exceptions to this guideline
 include, for example, applications that pretty-print or digitally sign
-provenance, where the order of statements matters.)  </p>
+provenance, where the order and syntactic form of statements matters.  </p>
 
 </section>
 
@@ -4593,14 +4662,16 @@
 following PROV-N syntax:</p>
 
 <div class="name">
-B<sub>0</sub><br>
-bundle b<sub>1</sub><br>
-&nbsp;&nbsp;&nbsp;  B<sub>1</sub><br>
-endBundle<br>
-...<br>
-bundle b<sub>n</sub><br>
-&nbsp;&nbsp;&nbsp;  B<sub>n</sub><br>
-endBundle
+document<br />
+&nbsp;&nbsp;&nbsp;B<sub>0</sub><br />
+&nbsp;&nbsp;&nbsp;bundle b<sub>1</sub><br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B<sub>1</sub><br />
+&nbsp;&nbsp;&nbsp;endBundle<br />
+&nbsp;&nbsp;&nbsp;...<br />
+&nbsp;&nbsp;&nbsp;bundle b<sub>n</sub><br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B<sub>n</sub><br />
+&nbsp;&nbsp;&nbsp;endBundle<br />
+endDocument
 </div>
 
 <p> The <a>normal form</a> of a PROV document
@@ -4812,6 +4883,62 @@
 </section>
 
 <section class="appendix"> 
+      <h2>Changes since last version</h2> 
+    <p>   Please see the <a
+      href="http://www.w3.org/2011/prov/wiki/ResponsesToPublicComments">
+      Responses to Public Comments on the Last Call Working Draft</a>
+      for more details about the justification of these changes.</p>
+       
+<ul>
+  <li>Abstract: clarified that term "validity" is analogous to other
+  notions of validity in Web standards. </li>
+  <li>Added bullet point linking to PROV-SEM under "How to read the
+  PROV family of specifications"</li>
+  <li>Revised sec. 1.2 to clarify terminology (validity), emphasize
+  that any implementation equivalent to the procedural specification
+  is compliant, and clarify that treating "equivalent instances in the
+  same way" is a guideline.</li>
+  <li>Added paragraph to sec 2.4 to clarify the purpose of the section.</li>
+  <li>Sec 2.4 Unification and Merging: changed "merging" to "unification" for terms</li>
+  <li>Sec. 2.4 "Applying definitions, inferences and constraints":
+  Updated merging to unification and added paragraph reinforcing that
+  compliance is algorithm independent</li>
+  <li>Sec. 2.4 "Checking ordering, typing and impossibility
+  constraints": Avoided use of the term "satisfies".</li>
+  <li>Sec. 2.4 "Equivalence and Isomorphism": Extended equivalence to
+  be defined on all instances, valid or not.  Removed analogy to RDF.</li>
+  <li>Sec. 2.4 "From Instances to Bundles and Documents": Revised to
+  avoid giving the impression that toplevel instances must be disjoint
+  from bundles; removed reference to RDF.</li>
+  <li>Sec. 3. Clarified and reinforced algorithm independence.</li>
+  <li>Sec. 4.  Added clarifying remark about role of definitions.</li>
+  <li>Sec. 4. Avoided reference to RDF, minor clarifications to
+  discussion of existential variables. </li>
+  <li>Sec. 4.1. Spelling correction.</li>
+  <li>Sec. 4.4. Merging -> unification</li>
+  <li>Sec. 5. Merging -> unification terminology change.  Added
+  declarative definition of unification.  Clarified
+  procedural definition.  Removed definition of merging of attribute
+  lists.  Updated descriptions of uniqueness and key constraint application.</li>
+  <li>Constraint 23.  Renamed e, a, ag to id.</li>
+  <li>Sec. 5.2.  Explicitly stated that strictly-precedes is irreflexive.</li>
+  <li>Sec. 5.2. Spelling</li>
+  <li>Sec. 5.2, just before constraint 51: updated text to accurately
+  describe constraint.</li>
+  <li>Sec. 6.  Merging -> unification.  Updated definition of validity
+  to avoid referring to "satisfies".  Explicitly defined isomorphism
+  of instances.  Broadened the definition of equivalence so that it is
+  allowed to test arbitrary instances for equivalence.  Reinforce the
+  intention of the guideline that applications treat equivalent
+  instances "in the same way".</li>
+  <li>Dropped RDF as a normative reference.</li>
+  <li>Made PROV-DM and PROV-N into normative references.</li>
+  <li>Added "document" and "endDocument" to sec. 6.2.</li>
+</ul>
+
+</section>
+       
+<section class="appendix"> 
       <h2>Acknowledgements</h2> 
       <p> 
 
@@ -4915,13 +5042,19 @@
  -->
 <!--  LocalWords:  wasInvalidated th  nontermination  implementability att evt
  -->
-<!--  LocalWords:  Irreflexivity mentionOf preorder equalities unsatisfiable
+<!--  LocalWords:  Irreflexivity mentionOf preorder equalities unsatisfiable De
  -->
 <!--  LocalWords:  Lebo subfigures pre del irreflexivity superproperty typeOf
  -->
 <!--  LocalWords:  disjointness inferrable subtyping subtype subtypes hadMember
  -->
-<!--  LocalWords:  hasMember toplevel sameAs tuple acyclicity isomorphism
+<!--  LocalWords:  hasMember toplevel sameAs tuple acyclicity isomorphism IRI
  -->
-<!--  LocalWords:  endBundle typeof equational acyclic invertible
+<!--  LocalWords:  endBundle typeof equational acyclic invertible procedurally
  -->
+<!--  LocalWords:  implementers multi unifier ERCIM Groth Stian Soiland Ilkay
+ -->
+<!--  LocalWords:  Altintas Reza B'Far Belhajjame Informatics Coppens IBBT Nies
+ -->
+<!--  LocalWords:  Corsar Cresswell Deus DERI Galway
+ -->
--- a/model/prov-dm.html	Thu Nov 01 13:21:53 2012 -0400
+++ b/model/prov-dm.html	Thu Nov 01 13:22:07 2012 -0400
@@ -1717,7 +1717,7 @@
 <p><div class="attributes" id="attributes-entity">An <dfn title="dfn-Entity" id="dfn-entity">entity</dfn><span class="withPn">, written <span class="pnExpression" id="pn-entity">entity(id, [attr1=val1, ...])</span> in PROV-N, </span> has:
 <ul>
 <li><span class='attribute' id="entity.id">id</span>: an identifier for an entity; </li>
-<li><span class='attribute' id="entity.attributes">attributes</span>: an OPTIONAL set of attribute-value  pairs ((<span class="name">attr1</span>, <span class="name">val1</span>), ...) representing additional information about this entity.</li>
+<li><span class='attribute' id="entity.attributes">attributes</span>: an OPTIONAL set of attribute-value  pairs ((<span class="name">attr1</span>, <span class="name">val1</span>), ...) representing additional information about the fixed aspects of this entity.</li>
 </ul></div>
 
 <div class="anexample" id="anexample-entity">
@@ -2226,24 +2226,12 @@
   The implication here is that
      the resulting entity contains substantial content from the
      original.
-Revision is a particular case of <a>derivation</a> of an entity into its revised version.
+A <dfn>revision</dfn> relation is a particular case of a <a>derivation</a> relation between an entity and its revised version.
 The type is of a revision derivation is denoted by:
 <dfn title="dfn-prov:revision" id="dfn-prov:revision"><span class="name">prov:Revision</span></dfn>.
 PROV defines no revision-specific attributes.
 </p>
 
-<!-- <p> A <dfn title="wasRevisionOf">revision</dfn> relation<span class="withPn">, written <span class="pnExpression">wasRevisionOf(id; e2, e1, a, g2, u1, attrs)</span> in PROV-N,</span> has:</p>
-<ul>
-<li><span class='attribute' id="revision.id">id</span>: an OPTIONAL identifier for the relation;</li> 
-<li><span class='attribute' id="revision.newer">newer</span>: the identifier (<span class="name">e2</span>) of the revised  entity;
-<li><span class='attribute' id="revision.older">older</span>: the identifier (<span class="name">e1</span>) of the older entity;
-<li><span class='attribute' id="revision.activity">activity</span>: an OPTIONAL identifier (<span class="name">a</span>) for the activity using and generating the above entities;</li>
-<li><span class='attribute' id="revision.generation">generation</span>: an OPTIONAL identifier (<span class="name">g2</span>) for the generation involving the generated entity (<span class="name">e2</span>) and activity;</li> 
-<li><span class='attribute' id="revision.usage">usage</span>: an OPTIONAL identifier (<span class="name">u1</span>) for the usage involving the used entity (<span class="name">e1</span>) and activity;</li> 
-<li><span class='attribute' id="revision.attributes">attributes</span>: an OPTIONAL set (<span class="name">attrs</span>) of attribute-value pairs representing additional information about this relation.</li>
-</ul>
--->
-
 
 <div class="anexample" id="anexample-revision">
 <p>
@@ -2272,7 +2260,7 @@
 </p>
 
 <p>A <dfn>quotation</dfn> relation
- is a particular case of  <a>derivation</a> in which an entity is derived from an original entity by copying, or "quoting", some or all of it.
+ is a particular case of a  <a>derivation</a> relation, for which an entity was derived from an original entity by copying, or "quoting", some or all of it.
 The type is of a quotation derivation is denoted by:
 <dfn title="dfn-prov:quotation" id="dfn-prov:quotation"><span class="name">prov:Quotation</span></dfn>.
 PROV defines no quotation-specific attributes.
@@ -2321,9 +2309,10 @@
 from which they were derived, so that their reliability can be
 investigated.</p>
 
-
-<p>A <dfn>primary source</dfn> relation is a particular case of <a>derivation</a> of
-secondary materials from their primary sources. It is recognized that
+<p>It is also important to note that a given entity might be a primary source for one entity but not another. It the reason why Primary Source is defined as a relation as opposed to a subtype of Entity.</p>
+
+<p>A <dfn>primary source</dfn> relation is a particular case of a <a>derivation</a> relation from
+secondary materials to their primary sources. It is recognized that
 the determination of primary sources can be up to interpretation, and
 should be done according to conventions accepted within the
 application's domain. 
@@ -3183,6 +3172,10 @@
  name</a>. 
 </p>
 
+<p><a>Entity</a>, <a>Activity</a>, and <a>Agent</a> have a mandatory identifier. Two entities (resp. activities, agents) are equal if they have the same identifier.</p>
+
+<p><a>Generation</a>, <a>Usage</a>, <a>Communication</a>, <a>Start</a>, <a>End</a>, <a>Invalidation</a>, <a>Derivation</a>, <a>Attribution</a>, <a>Association</a>, <a>Delegation</a>, <a>Influence</a> have an optional identifier. Two generations (resp. usages, communications, etc.) are equal if they have the same identifier.
+
 </section>
 
 <section id="term-attribute">
@@ -3896,7 +3889,7 @@
 
 <section class="appendix"> 
       <h2>Changes since last version</h2> 
-      <p> 
+      <p> Please see the <a href="http://www.w3.org/2011/prov/wiki/ResponsesToPublicComments">Responses to Public Comments on the Last Call Working Draft</a> for more details about the justification of these changes.</p>
 
 <ul>
 <li> <a href="http://www.w3.org/2011/prov/track/issues/506">ISSUE-506</a>: Updated role from author to contributor, in line with text.
@@ -3925,6 +3918,9 @@
 <li> <a href="http://www.w3.org/2011/prov/track/issues/502">ISSUE-502</a>: Added sentence in section 2.1.2 explaining that the focus
       of derivation is on connecting a generated entity to a used  entity.
 <li> <a href="http://www.w3.org/2011/prov/track/issues/526">ISSUE-526</a>: Added sentence clarifying sentence in section 5.5.2.
+<li> <a href="http://www.w3.org/2011/prov/track/issues/462">ISSUE-462</a>: Added clarification regarding entity attributes (with respect to fixed aspects) and role of identifier with respect to equality.
+<li> <a href="http://www.w3.org/2011/prov/track/issues/518">ISSUE-518</a>: Added clarifying sentence of primary source.
+<li> <a href="http://www.w3.org/2011/prov/track/issues/552">ISSUE-552</a>: Clarifying phrasing around a quotation/revision/primary-source relation is a particular case of a derivation relation ...
 </ul>
 
 </section>
--- a/model/prov-n.html	Thu Nov 01 13:21:53 2012 -0400
+++ b/model/prov-n.html	Thu Nov 01 13:22:07 2012 -0400
@@ -216,6 +216,10 @@
           "2011, Working Draft. "+
           "URL: <a href=\"http://www.w3.org/TR/prov-aq/\">http://www.w3.org/TR/prov-aq/</a>",
 
+        "UNICODE" : 
+          "The Unicode Consortium. "+
+          " <a href=\"http://www.unicode.org/unicode/standard/versions/enumeratedversions.html\"><cite>The Unicode Standard.</cite></a>. " +
+          " Defined by: The Unicode Standard, Version 6.2.0, (Mountain View, CA: The Unicode Consortium, 2012. ISBN 978-1-936213-07-8) , as updated from time to time by the publication of new versions URL: <a href=\"http://www.unicode.org/unicode/standard/versions/enumeratedversions.html\">http://www.unicode.org/unicode/standard/versions/enumeratedversions.html</a> ",
         "UNISEC":
        " Mark Davis and Michel Suignard. " +
        "<a href=\"http://www.unicode.org/reports/tr36/\"><cite>Unicode Security Considerations<cite></a>. " +
@@ -2451,12 +2455,12 @@
       <dt>Subtype name:</dt> 
       <dd>provenance-notation</dd> 
       <dt>Required parameters:</dt> 
-      <dd>None</dd> 
+      <dd><kbd>charset</kbd> — the value of <kbd>charset</kbd> MUST always be <kbd>UTF-8</kbd>.</dd> 
       <dt>Optional parameters:</dt> 
-      <dd><kbd>charset</kbd> — this parameter is mandatory. The value of <kbd>charset</kbd> is always <kbd>UTF-8</kbd>.</dd> 
-
-      <dt>Encoding considerations:</dt> 
-      <dd>The syntax of PROV-N is expressed over code points in Unicode [[UNICODE5]]. The encoding is always UTF-8 [[!UTF-8]].</dd> 
+      <dd>None</dd> 
+
+      <dt>Encoding considerations: 8bit</dt> 
+      <dd>The syntax of PROV-N is expressed over code points in Unicode [[!UNICODE]]. The encoding is always UTF-8 [[!UTF-8]].</dd> 
       <dd>Unicode code points may also be expressed using an \uXXXX (U+0 to U+FFFF) or \UXXXXXXXX syntax (for U+10000 onwards) where X is a hexadecimal digit [0-9A-F]</dd> 
       <dt>Security considerations:</dt> 
       <dd>PROV-N is a general-purpose language for describing the provenance of things; applications may evaluate given data to infer more descriptions or to dereference URIs, invoking the security considerations of the scheme for that URI. Note in particular, the privacy issues in [[!RFC3023]] 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> 
@@ -2486,7 +2490,7 @@
       <dd>PROV-N: The Provenance Notation, Moreau, Missier, (eds), Cheney, Soiland-Reyes
       <a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a></dd> 
       <dt>Applications which use this media type:</dt> 
-      <dd>No widely deployed applications are known to use this media type. It may be used by some web services and clients consuming their data.</dd> 
+      <dd>It may be used by any application for publishing provenance information. This format is designed to be a human-readable form of provenance. </dd> 
       <dt>Additional information:</dt> 
       <dt>Magic number(s):</dt> 
       <dd>PROV-N documents may have the strings 'document' near the beginning of the document.</dd> 
@@ -2497,7 +2501,7 @@
       <dt>Macintosh file type code(s):</dt> 
       <dd>&quot;TEXT&quot;</dd> 
       <dt>Person &amp; email address to contact for further information:</dt> 
-      <dd>public-prov-comments@w3.org</dd> 
+      <dd>Ivan Herman, ivan@w3.org</dd> 
       <dt>Intended usage:</dt> 
       <dd>COMMON</dd> 
       <dt>Restrictions on usage:</dt> 
@@ -2524,12 +2528,13 @@
 
 <section class="appendix informative"> 
       <h2>Changes since last version</h2> 
-      <p> 
+<p> Please see the <a href="http://www.w3.org/2011/prov/wiki/ResponsesToPublicComments">Responses to Public Comments on the Last Call Working Draft</a> for more details about the justification of these changes.</p>
 <ul>
-<li> <a href="http://www.w3.org/2011/prov/track/issues/543">ISSUE-543</a>: uses key-entity pair terminology for example 43.
-<li> <a href="http://www.w3.org/2011/prov/track/issues/538">ISSUE-538</a>: rephrasing of text in example 10.
-<li> <a href="http://www.w3.org/2011/prov/track/issues/547">ISSUE-547</a>: aligned terminology and productions with prov-constraints document, renaming 'toplevel bundle' to 'document', and renaming 'named bundle' to 'bundle'.
+<li> <a href="http://www.w3.org/2011/prov/track/issues/543">ISSUE-543</a>: Uses key-entity pair terminology for example 43.
+<li> <a href="http://www.w3.org/2011/prov/track/issues/538">ISSUE-538</a>: Rephrasing of text in example 10.
+<li> <a href="http://www.w3.org/2011/prov/track/issues/547">ISSUE-547</a>: Aligned terminology and productions with prov-constraints document, renaming 'toplevel bundle' to 'document', and renaming 'named bundle' to 'bundle'.
 <li> <a href="http://www.w3.org/2011/prov/track/issues/496">ISSUE-496</a>: For each prov-n term, added a cross-reference to corresponding prov-dm term (see table following each production). Rephrased text related to scope of a namespace declaration. Added an informative file with all productions.
+<li> <a href="http://www.w3.org/2011/prov/track/issues/573">ISSUE-573</a>: Updated Media Type section. 
 </ul>
 </section>
 
Binary file primer/OverviewDiagram.png has changed
--- a/primer/Primer.html	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/Primer.html	Thu Nov 01 13:22:07 2012 -0400
@@ -63,7 +63,7 @@
      "<a href=\"http://www.w3.org/2005/Incubator/prov/XGR-prov/\"><cite>Provenance XG Final Report</cite></a>. "+
      "8 December 2010. "+
      "URL: <a href=\"http://www.w3.org/2005/Incubator/prov/XGR-prov/\">http://www.w3.org/2005/Incubator/prov/XGR-prov/</a>"
-    };
+   };
    
    var respecConfig = {
     // specification status (e.g. WD, LCWD, NOTE, etc.). If in doubt use ED.
@@ -295,13 +295,12 @@
   <p>
    The following diagram provides a high level overview of the structure of PROV records,
    limited to some key PROV concepts discussed in this document.
-   The diagram is the same that appears in the [[PROV-DM]] document.
    Note that because PROV is meant to describe how things were created or delivered, 
    PROV relations are named so they can be used in assertions about the past.  
   </p>
 
   <div style="text-align: center;">
-   <img src="OverviewDiagram.png" alt="PROV-DM overview"/>
+   <img src="images/key-concepts.png" alt="PROV key concepts overview"/>
   </div>
 
   <section>
@@ -402,7 +401,6 @@
     "addition to be made to the document", to generate a further entity in the role of "edited document".
     Roles are application specific, so PROV does not define any particular roles.
    </p>
-   <!--p>Roles are intended as an extension point in the model; it is expected users will define and use custom role taxonomies.  Role interpretation is application specific.</p -->
   </section>
 
   <section>
@@ -556,7 +554,13 @@
    <p>Betty finds the following descriptions of entities in the provenance.</p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:article     a prov:Entity ;
                  dcterms:title "Crime rises in cities" .
@@ -568,9 +572,15 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
-  entity(ex:article, [dcterms:title='Crime rises in cities'])
+  entity(ex:article, [dcterms:title="Crime rises in cities"])
   entity(ex:dataSet1)
   entity(ex:regionList)
   entity(ex:composition)
@@ -604,14 +614,26 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:compile a prov:Activity .
     </pre>
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   activity(ex:compile)
     </pre>
@@ -628,7 +650,13 @@
    </p -->
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:compose    a prov:Activity .
   ex:illustrate a prov:Activity .
@@ -636,7 +664,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   activity(ex:compose)
   activity(ex:illustrate)
@@ -664,7 +698,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:compose      prov:used           ex:dataSet1 ;
                   prov:used           ex:regionList .
@@ -673,12 +713,22 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   used(ex:compose, ex:dataSet1, -)
   used(ex:compose, ex:regionList, -)
   wasGeneratedBy(ex:composition, ex:compose, -)
     </pre>
+    <p>Note that the - argument in the examples above denote unspecified optional
+     information. See the [[PROV-N]] specification for the details of what arguments
+     may be expressed in each PROV-N statement.
+    </p>
    </div>
    <p>
     Similarly, the chart graphic creation activity (<code>ex:illustrate</code>)
@@ -686,7 +736,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:illustrate prov:used           ex:composition .
   ex:chart1     prov:wasGeneratedBy ex:illustrate .
@@ -694,7 +750,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   used(ex:illustrate, ex:composition, -)
   wasGeneratedBy(ex:chart1, ex:illustrate, -)
@@ -717,7 +779,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:compose    prov:wasAssociatedWith ex:derek .
   ex:illustrate prov:wasAssociatedWith ex:derek .
@@ -725,7 +793,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   wasAssociatedWith(ex:compose, ex:derek, -)
   wasAssociatedWith(ex:illustrate, ex:derek, -)
@@ -739,7 +813,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:derek a prov:Agent ;
            a prov:Person ;
@@ -749,11 +829,17 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   agent(ex:derek,
-        [prov:type='prov:Person', foaf:givenName='Derek', 
-         foaf:mbox='&lt;mailto:derek@example.org&gt;'])
+        [prov:type='prov:Person', foaf:givenName="Derek", 
+         foaf:mbox="&lt;mailto:derek@example.org&gt;"])
     </pre>
    </div>
    <p>
@@ -763,7 +849,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:derek prov:actedOnBehalfOf ex:chartgen .
   ex:chartgen a prov:Agent ;
@@ -773,11 +865,17 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   agent(ex:chartgen,
         [prov:type='prov:Organization',
-         foaf:name = 'Chart Generators Inc'])
+         foaf:name="Chart Generators Inc"])
   actedOnBehalfOf(ex:derek, ex:chartgen, ex:compose)
     </pre>
    </div>
@@ -787,14 +885,26 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:chart1 prov:wasAttributedTo ex:derek .
     </pre>
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   wasAttributedTo(ex:chart1, ex:derek)
     </pre>
@@ -828,7 +938,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:dataToCompose        a prov:Role .
   ex:regionsToAggregateBy a prov:Role .
@@ -842,7 +958,13 @@
      as follows.
     </p>
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:compose prov:used ex:dataSet1 .
     </pre>
@@ -861,7 +983,13 @@
      to be composed (<code>ex:dataToCompose</code>).
     </p>
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:compose prov:qualifiedUsage [
                 a prov:Usage ;
@@ -876,7 +1004,13 @@
      expression, with the attribute name <code>prov:role</code>.
     </p>
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   used(ex:compose, ex:dataSet1, -, [prov:role='ex:dataToCompose'])
     </pre>
@@ -887,7 +1021,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:compose prov:qualifiedUsage [
                 a prov:Usage ;
@@ -898,7 +1038,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   used(ex:compose, ex:regionList, -, [prov:role='ex:regionsToAggregateBy'])
     </pre>
@@ -911,7 +1057,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:compose prov:qualifiedAssociation [
                 a  prov:Association ;
@@ -927,7 +1079,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   wasAssociatedWith(ex:compose, ex:derek, -, [prov:role='ex:analyst'])
   wasGeneratedBy(ex:composition, ex:compose, -, [prov:role='ex:composedData'])
@@ -954,7 +1112,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:dataSet2 a prov:Entity ;
               prov:wasRevisionOf ex:dataSet1 .
@@ -962,7 +1126,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   entity(ex:dataSet2)
   wasDerivedFrom(ex:dataSet2, ex:dataSet1, [prov:type='prov:Revision'])
@@ -972,11 +1142,18 @@
     Derek notices that there is a new dataset available and creates a new chart based on the revised data, 
     using another compilation activity. Betty checks the article again at a
     later point, and wants to know if it is based on the old or new GovData.
-    She sees a new description stating that the new chart is derived from the new dataset.
+    She sees a new description stating that the new chart is derived from the new dataset
+    (the same relation could be expressed between the old chart and old dataset).
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:chart2 a prov:Entity ;
             prov:wasDerivedFrom ex:dataSet2 .
@@ -984,7 +1161,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   wasDerivedFrom(ex:chart2, ex:dataSet2)
     </pre>
@@ -993,7 +1176,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:chart2 a prov:Entity ;
             prov:wasRevisionOf ex:chart1 .
@@ -1001,7 +1190,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   entity(ex:chart2)
   wasDerivedFrom(ex:chart2, ex:chart1, [prov:type='prov:Revision'])
@@ -1027,7 +1222,13 @@
     are described.
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:correct      a prov:Activity .
   ex:edith        a prov:Agent, prov:Person .
@@ -1036,7 +1237,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   activity(ex:correct)
   agent(ex:edith, [prov:type='prov:Person'])
@@ -1050,7 +1257,13 @@
      including that she followed the above correction instructions.
     </p>
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:correct prov:qualifiedAssociation [
                  a Association ;
@@ -1065,7 +1278,13 @@
      In PROV-N, the plan is an optional parameter to wasAssociatedWith descriptions.
     </p>
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   wasAssociatedWith(ex:correct, ex:edith, ex:instructions)
   wasGeneratedBy(ex:dataSet2, ex:correct, -)
@@ -1090,7 +1309,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:chart1 prov:generatedAtTime "2012-03-02T10:30:00"^^xsd:dateTime .
   ex:chart2 prov:generatedAtTime "2012-04-01T15:21:00"^^xsd:dateTime .
@@ -1098,7 +1323,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   wasGeneratedBy(ex:chart1, ex:compile,  2012-03-02T10:30:00)
   wasGeneratedBy(ex:chart2, ex:compile2, 2012-04-01T15:21:00)
@@ -1114,7 +1345,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:correct prov:startedAtTime "2012-03-31T09:21:00"^^xsd:dateTime ;
              prov:endedAtTime   "2012-04-01T15:21:00"^^xsd:dateTime .
@@ -1122,7 +1359,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   activity(ex:correct, 2012-03-31T09:21:00, 2012-04-01T15:21:00)
     </pre>
@@ -1144,7 +1387,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:blogEntry a prov:Entity ;
                prov:wasQuotedFrom ex:article .
@@ -1152,7 +1401,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   entity(ex:blogEntry)
   wasDerivedFrom(ex:blogEntry, ex:article, [prov:type='prov:Quotation'])
@@ -1168,7 +1423,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:articleV1 a prov:Entity ;
                prov:specializationOf ex:article .
@@ -1176,7 +1437,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   entity(ex:articleV1)
   specializationOf(ex:articleV1, ex:article)
@@ -1192,7 +1459,13 @@
    </p>
    <div class="turtle example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>Turtle Example</b></span></div>
+     <span class="exampleheader"><b>Turtle Example</b>
+      <a onclick="
+          set_display_by_class('pre','turtle example','none');
+          set_display_by_class('div','turtle example','none');
+          set_display_by_id('hide-turtle-examples','none');
+          set_display_by_id('show-turtle-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   ex:articleV2 prov:specializationOf ex:article .
   ex:articleV2 prov:alternateOf      ex:articleV1 .
@@ -1200,7 +1473,13 @@
    </div>
    <div class="provn example">
     <div class="exampleheader">
-     <span class="exampleheader"><b>PROV-N Example</b></span></div>
+     <span class="exampleheader"><b>PROV-N Example</b>
+      <a onclick="
+            set_display_by_class('pre','provn example','none');
+            set_display_by_class('div','provn example','none');
+            set_display_by_id('hide-provn-examples','none');
+            set_display_by_id('show-provn-examples','');"><u><i>(hide all)</i></u></a>
+     </span></div>
     <pre>
   specializationOf(ex:articleV2, ex:article)
   alternateOf(ex:articleV2, ex:articleV1)
@@ -1220,6 +1499,8 @@
   <section>
    <h3>Complete PROV data</h3>
    <p>
+    The full set of examples shown above are available in <a href="primer-turtle-examples.txt">PROV-O Turtle format</a>
+    or <a href="primer-provn-examples.txt">PROV-N format</a>.
     We visualize the whole example below.
    </p>
    <img src="images/everything.png" alt="Provenance graph for whole example" width="95%"/>
@@ -1238,6 +1519,11 @@
   <ul>
    <li>Corrected mailing list address for public comments.</li>
    <li>Fixed the status to clarify this is a note, not a recommendation.</li>
+   <li>Added note explaining unspecified arguments in PROV-N statements.</li>
+   <li>Clarified derivation example discrepancies for old and new charts/datasets.</li>
+   <li>Added supporting files containing full PROV-O and PROV-N examples.</li>
+   <li>Figures edited so that each CURIEs is on one line rather being split across two.</li>
+   <li>Added buttons to hide all Turtle or PROV-N examples throughout document.</li>
    <li>Fixed minor typos.</li>
   </ul>
  </section>
Binary file primer/images/activities.png has changed
--- a/primer/images/activities.svg	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/images/activities.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -17,12 +17,12 @@
    height="106.33577"
    xml:space="preserve"
    sodipodi:docname="activities.svg"
-   inkscape:export-filename="C:\Work\standards\w3c\prov\primer\images\activities.png"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\activities.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"><metadata
      id="metadata8"><rdf:RDF><cc:Work
          rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
      id="defs6"><linearGradient
        id="linearGradient4511"><stop
          style="stop-color:#d19d00;stop-opacity:1;"
@@ -193,6 +193,7 @@
 
 
 
+
 </g><g
    transform="matrix(1.2454971,0,0,-1,-49.371993,1092.4584)"
    id="g262-0"><path
@@ -215,6 +216,7 @@
 
 
 
+
 </g>
 
 
@@ -239,6 +241,7 @@
      style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:compile</tspan></text>
 
 
+
 <flowRoot
    xml:space="preserve"
    id="flowRoot3032"
@@ -249,4 +252,4 @@
        height="70.82563"
        x="-21.70463"
        y="-21.607307" /></flowRegion><flowPara
-     id="flowPara3038"></flowPara></flowRoot></g></g></svg>
\ No newline at end of file
+     id="flowPara3038" /></flowRoot></g></g></svg>
\ No newline at end of file
Binary file primer/images/agents.png has changed
--- a/primer/images/agents.svg	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/images/agents.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -17,7 +17,7 @@
    height="376.13803"
    xml:space="preserve"
    sodipodi:docname="agents.svg"
-   inkscape:export-filename="C:\Work\standards\w3c\prov\primer\images\agents.png"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\agents.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"><metadata
      id="metadata8"><rdf:RDF><cc:Work
@@ -380,7 +380,7 @@
      inkscape:window-x="-8"
      inkscape:window-y="-8"
      inkscape:window-maximized="1"
-     inkscape:current-layer="g12"
+     inkscape:current-layer="g544-9-6-4-2"
      fit-margin-top="0"
      fit-margin-left="0"
      fit-margin-right="0"
@@ -404,17 +404,15 @@
    transform="matrix(1,0,0,-1,195.9912,804.8)"
    id="g266"><text
    id="text268"
-   transform="translate(-13.23096,5)"><tspan
-     y="0"
-     x="0"
-     id="tspan270"
+   style="font-size:9.60000038px"
+   x="-14.830959"
+   y="11.400001"><tspan
+     id="tspan4509"
+     y="11.400001"
+     x="-14.830959"
      sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:</tspan><tspan
-     id="tspan4509"
-     y="14"
-     x="0"
-     sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">compose</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:compose</tspan></text>
+
 
 
 
@@ -443,18 +441,16 @@
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    id="g544-9-6"
    transform="matrix(1,0,0,-1,24.41479,797.44439)"><text
-   transform="translate(-7.640396,-2)"
-   id="text546-3-0"><tspan
-     id="tspan3196-2"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="0"
-     y="0"
-     sodipodi:role="line">ex:</tspan><tspan
+   id="text546-3-0"
+   style="font-size:9.60000038px"
+   x="-12.440397"
+   y="4.4000001"><tspan
      id="tspan4448-4"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="0"
-     y="13.75"
-     sodipodi:role="line">regionList</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     x="-12.440397"
+     y="4.4000001"
+     sodipodi:role="line">ex:regionList</tspan></text>
+
 
 
 
@@ -473,17 +469,15 @@
    transform="matrix(1,0,0,-1,525.13557,804.552)"
    id="g266-6"><text
    id="text268-18"
-   transform="translate(-13.23096,5)"><tspan
-     y="0"
-     x="0"
-     id="tspan270-4"
+   style="font-size:9.60000038px"
+   x="-14.830959"
+   y="11.400001"><tspan
+     id="tspan4509-9"
+     y="11.400001"
+     x="-14.830959"
      sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:</tspan><tspan
-     id="tspan4509-9"
-     y="14"
-     x="0"
-     sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">illustrate</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:illustrate</tspan></text>
+
 
 
 
@@ -518,6 +512,7 @@
 
 
 
+
 </g><g
    transform="matrix(0.9368205,0,0,-1,-142.39394,1034.7)"
    id="g340"
@@ -560,6 +555,7 @@
 
 
 
+
 </g><g
    transform="matrix(1,0,0,-1,-175.5,1034.7)"
    id="g498"
@@ -636,6 +632,7 @@
 
 
 
+
 </g>
 
 
@@ -648,17 +645,14 @@
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3"
-   transform="translate(-7.640396,-2)"><tspan
+   x="-6.0403962"
+   y="4.4000001"><tspan
      sodipodi:role="line"
-     y="0"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448">dataSet1</tspan></text>
+     y="4.4000001"
+     x="-6.0403962"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448">ex:dataSet1</tspan></text>
+
 
 
 
@@ -705,6 +699,7 @@
 
 
 
+
 </g><g
    transform="matrix(1,0,0,-1,629.04784,802.28001)"
    id="g334-3"
@@ -726,6 +721,7 @@
 
 
 
+
 </g><g
    transform="matrix(1.5826615,0,0,-1,38.212014,965.3546)"
    id="g936-0"
@@ -742,17 +738,15 @@
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-3"
-   transform="translate(-7.640396,-2)"><tspan
+   style="font-size:9.60000038px"
+   x="-13.351429"
+   y="3.4832747"><tspan
      sodipodi:role="line"
-     y="0"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-8">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-9">composition</tspan></text>
+     y="3.4832747"
+     x="-13.351429"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-9">ex:composition</tspan></text>
+
 
 
 
@@ -795,17 +789,15 @@
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-3-3"
-   transform="translate(-7.640396,-2)"><tspan
+   style="font-size:9.60000038px"
+   x="-9.2403965"
+   y="4.1693954"><tspan
      sodipodi:role="line"
-     y="0"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-8-5">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-9-9">chart1</tspan></text>
+     y="4.1693954"
+     x="-9.2403965"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-9-9">ex:chart1</tspan></text>
+
 
 
 
@@ -847,18 +839,15 @@
    id="g544-9-6-4"
    transform="matrix(1,0,0,-1,26.408902,680.37281)"><text
    id="text546-3-0-8"
-   x="-0.32936299"
-   y="-2"><tspan
-     id="tspan3196-2-8"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="-0.32936299"
-     y="-2"
-     sodipodi:role="line">ex:</tspan><tspan
+   x="-3.5293629"
+   y="2.8"
+   style="font-size:9.60000038px"><tspan
      id="tspan4448-4-2"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="-0.32936299"
-     y="11.75"
-     sodipodi:role="line">derek</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     x="-3.5293629"
+     y="2.8"
+     sodipodi:role="line">ex:derek</tspan></text>
+
 
 
 
@@ -882,6 +871,7 @@
 
 
 
+
 <text
    style="font-size:11.99999905px"
    y="-654.78522"
@@ -899,6 +889,7 @@
 
 
 
+
 <path
    style="fill:none;stroke:#000000;stroke-width:0.92126256px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    d="M 506.9356,780.19235 79.473094,677.8999"
@@ -938,6 +929,7 @@
 
 
 
+
 <g
    transform="matrix(1,0,0,-1,-170.83865,906.41306)"
    id="g318-4"
@@ -955,18 +947,15 @@
    id="g544-9-6-4-2"
    transform="matrix(1,0,0,-1,25.138656,595.70772)"><text
    id="text546-3-0-8-4"
-   x="-5.1293631"
-   y="-2"><tspan
-     id="tspan3196-2-8-5"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="-5.1293631"
-     y="-2"
-     sodipodi:role="line">ex:</tspan><tspan
+   x="-9.9293633"
+   y="4.4000001"
+   style="font-size:9.60000038px"><tspan
      id="tspan4448-4-2-5"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="-5.1293631"
-     y="11.75"
-     sodipodi:role="line">chartgen</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     x="-9.9293633"
+     y="4.4000001"
+     sodipodi:role="line">ex:chartgen</tspan></text>
+
 
 
 
@@ -1031,6 +1020,7 @@
 
 
 
+
 <g
    transform="matrix(1.6167515,0,0,0.92048921,-60.257445,-125.07222)"
    id="g558-1-3"
@@ -1060,6 +1050,7 @@
 
 
 
+
 <g
    transform="matrix(0.43309751,0.00230963,0.02385816,1.4614635,60.59143,-253.39309)"
    id="g572-5-1"
@@ -1096,6 +1087,7 @@
 
 
 
+
 </g>
 
 
Binary file primer/images/derivation.png has changed
--- a/primer/images/derivation.svg	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/images/derivation.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -17,7 +17,7 @@
    height="57.177254"
    xml:space="preserve"
    sodipodi:docname="derivation.svg"
-   inkscape:export-filename="C:\Work\standards\w3c\prov\primer\images\derivation.png"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\derivation.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"><metadata
      id="metadata8"><rdf:RDF><cc:Work
@@ -468,7 +468,7 @@
      inkscape:window-x="-8"
      inkscape:window-y="-8"
      inkscape:window-maximized="1"
-     inkscape:current-layer="g12"
+     inkscape:current-layer="g544-9-61-1-3"
      fit-margin-top="0"
      fit-margin-left="0"
      fit-margin-right="0"
@@ -503,17 +503,15 @@
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3"
-   transform="translate(-7.640396,-2)"><tspan
+   style="font-size:9.60000038px"
+   x="-11.295913"
+   y="3.7138791"><tspan
      sodipodi:role="line"
-     y="0"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448">dataSet1</tspan></text>
+     y="3.7138791"
+     x="-11.295913"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448">ex:dataSet1</tspan></text>
+
 
 
 
@@ -546,18 +544,15 @@
      inkscape:connector-curvature="0" /></g><text
    transform="scale(1,-1)"
    id="text546-3-35"
-   x="123.34532"
-   y="-905.05206"><tspan
-     id="tspan3196-9"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="123.34532"
-     y="-905.05206"
-     sodipodi:role="line">ex:</tspan><tspan
+   x="120.14532"
+   y="-898.65216"
+   style="font-size:9.60000038px"><tspan
      id="tspan4448-8"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="123.34532"
-     y="-891.30206"
-     sodipodi:role="line">dataSet2</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     x="120.14532"
+     y="-898.65216"
+     sodipodi:role="line">ex:dataSet2</tspan></text>
+
 
 
 
@@ -579,6 +574,7 @@
 
 
 
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -611,17 +607,15 @@
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-3-3-9"
-   transform="translate(-7.640396,-2)"><tspan
+   style="font-size:9.60000038px"
+   x="-10.840397"
+   y="2.8000002"><tspan
      sodipodi:role="line"
-     y="0"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-8-5-8">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-9-9-8">chart2</tspan></text>
+     y="2.8000002"
+     x="-10.840397"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-9-9-8">ex:chart2</tspan></text>
+
 
 
 
@@ -643,6 +637,7 @@
      sodipodi:role="line"
      id="tspan338-76-4">wasDerivedFrom</tspan></text>
 
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
Binary file primer/images/entities.png has changed
--- a/primer/images/entities.svg	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/images/entities.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -17,7 +17,7 @@
    height="144.10878"
    xml:space="preserve"
    sodipodi:docname="entities.svg"
-   inkscape:export-filename="C:\Work\standards\w3c\prov\primer\images\entities.png"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\entities.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"><metadata
      id="metadata8"><rdf:RDF><cc:Work
@@ -139,7 +139,7 @@
      inkscape:window-x="46"
      inkscape:window-y="1"
      inkscape:window-maximized="0"
-     inkscape:current-layer="g12"
+     inkscape:current-layer="g544-9-61-1"
      fit-margin-top="0"
      fit-margin-left="0"
      fit-margin-right="0"
@@ -166,18 +166,16 @@
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    id="g544-9-6"
    transform="matrix(1,0,0,-1,284.7052,833.33051)"><text
-   transform="translate(-7.640396,-2)"
-   id="text546-3-0"><tspan
-     id="tspan3196-2"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="0"
-     y="0"
-     sodipodi:role="line">ex:</tspan><tspan
+   id="text546-3-0"
+   style="font-size:9.60000038px"
+   x="-12.440397"
+   y="4.4000001"><tspan
      id="tspan4448-4"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="0"
-     y="13.75"
-     sodipodi:role="line">regionList</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     x="-12.440397"
+     y="4.4000001"
+     sodipodi:role="line">ex:regionList</tspan></text>
+
 
 
 
@@ -196,23 +194,21 @@
 
 
 <g
-   transform="matrix(1,0,0,-1,285.13331,901.79626)"
+   transform="matrix(1,0,0,-1,285.13331,900.19626)"
    id="g544-9"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3"
-   transform="translate(-7.640396,-2)"><tspan
+   style="font-size:9.60000038px"
+   x="-10.840397"
+   y="2.8"><tspan
      sodipodi:role="line"
-     y="0"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448">dataSet1</tspan></text>
+     y="2.8"
+     x="-10.840397"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448">ex:dataSet1</tspan></text>
+
 
 
 
@@ -233,17 +229,15 @@
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-3"
-   transform="translate(-7.640396,-2)"><tspan
+   style="font-size:9.60000038px"
+   x="-12.440397"
+   y="4.4000001"><tspan
      sodipodi:role="line"
-     y="0"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-8">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-9">composition</tspan></text>
+     y="4.4000001"
+     x="-12.440397"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-9">ex:composition</tspan></text>
+
 
 
 
@@ -263,17 +257,15 @@
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-3-3"
-   transform="translate(-7.640396,-2)"><tspan
+   style="font-size:9.60000038px"
+   x="-10.840397"
+   y="4.4000001"><tspan
      sodipodi:role="line"
-     y="0"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-8-5">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-9-9">chart1</tspan></text>
+     y="4.4000001"
+     x="-10.840397"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-9-9">ex:chart1</tspan></text>
+
 
 
 
@@ -287,23 +279,20 @@
      style="fill:url(#linearGradient3487);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,376.38119,903.38979)"
+   transform="matrix(1,0,0,-1,376.38119,901.78979)"
    id="g544-9-3"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-2"
-   x="-7.6403961"
-   y="-2"><tspan
+   x="-10.840397"
+   y="2.8"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
-     y="-2"
-     x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-21">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="11.75"
-     x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-6">article</tspan></text>
+     y="2.8"
+     x="-10.840397"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-6">ex:article</tspan></text>
+
 
 </g></g></svg>
\ No newline at end of file
Binary file primer/images/everything.png has changed
--- a/primer/images/everything.svg	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/images/everything.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -17,7 +17,7 @@
    height="766.44946"
    xml:space="preserve"
    sodipodi:docname="everything.svg"
-   inkscape:export-filename="C:\Work\standards\w3c\prov\primer\images\everything.png"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\everything.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"><metadata
      id="metadata8"><rdf:RDF><cc:Work
@@ -468,7 +468,7 @@
      inkscape:window-x="-8"
      inkscape:window-y="-8"
      inkscape:window-maximized="1"
-     inkscape:current-layer="g12"
+     inkscape:current-layer="g266-7-8"
      fit-margin-top="0"
      fit-margin-left="0"
      fit-margin-right="0"
@@ -521,6 +521,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -554,6 +556,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1.2454971,0,0,-1,65.32126,1035.0947)"
    id="g262-0"><path
@@ -581,6 +585,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1,0,0,-1,294.12,802.15)"
    id="g334"
@@ -609,6 +615,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(0.9368205,0,0,-1,-142.39394,1034.7)"
    id="g340"
@@ -653,6 +661,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1,0,0,-1,-175.5,1034.7)"
    id="g498"
@@ -731,6 +741,8 @@
 
 
 
+
+
 </g>
 
 
@@ -761,6 +773,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(0.71351425,0,0,-1,254.12833,1034.83)"
    id="g498-2"
@@ -800,6 +814,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1,0,0,-1,629.04784,802.28001)"
    id="g334-3"
@@ -823,6 +839,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1.5826615,0,0,-1,38.212014,965.3546)"
    id="g936-0"
@@ -856,6 +874,8 @@
 
 
 
+
+
 </g><g
    id="g3270"
    transform="translate(0,-36.8)"><g
@@ -907,6 +927,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1,0,0,-1,-169.56841,991.0782)"
    id="g318"
@@ -956,6 +978,8 @@
 
 
 
+
+
 </g><text
    style="font-size:12px"
    y="-421.20554"
@@ -975,6 +999,8 @@
 
 
 
+
+
 <text
    style="font-size:11.99999905px"
    y="-654.78522"
@@ -994,6 +1020,8 @@
 
 
 
+
+
 <path
    style="fill:none;stroke:#000000;stroke-width:0.92126256px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    d="M 506.9356,780.19235 79.473094,677.8999"
@@ -1035,6 +1063,8 @@
 
 
 
+
+
 <g
    transform="matrix(1,0,0,-1,-170.83865,906.41306)"
    id="g318-4"
@@ -1067,6 +1097,8 @@
 
 
 
+
+
 </g><path
    id="path344-6-9-2-6-1"
    style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
@@ -1114,6 +1146,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1.6167515,0,0,-1,-69.14114,1403.714)"
    id="g558"
@@ -1149,6 +1183,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(0.43309751,-0.00230963,0.02385816,-1.4614635,51.707733,1511.0808)"
    id="g572"
@@ -1203,6 +1239,8 @@
 
 
 
+
+
 <g
    transform="matrix(1.6167515,0,0,0.92048921,-60.257445,-125.07222)"
    id="g558-1-3"
@@ -1234,6 +1272,8 @@
 
 
 
+
+
 <g
    transform="matrix(0.43309751,0.00230963,0.02385816,1.4614635,60.59143,-253.39309)"
    id="g572-5-1"
@@ -1272,6 +1312,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1.4146437,0,0,-0.84786888,92.069991,1075.8453)"
    id="g558-3"
@@ -1307,6 +1349,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(0.29192986,0.32279258,1.7382768,-0.60122387,-303.94221,938.06345)"
    id="g572-2"
@@ -1351,6 +1395,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(-0.6837653,0.41048076,1.4796713,1.9262836,-179.39281,286.98448)"
    id="g572-2-5"
@@ -1395,6 +1441,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(-0.62188296,0.39975874,1.3457576,1.8759678,-168.43478,203.36898)"
    id="g572-2-5-9"
@@ -1439,6 +1487,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(0.00870226,0.28186705,1.6936272,-0.18063826,-164.96914,810.84161)"
    id="g572-2-8"
@@ -1475,6 +1525,8 @@
 
 
 
+
+
 <g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1495,6 +1547,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1535,6 +1589,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1567,6 +1623,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1587,6 +1645,8 @@
 
 
 
+
+
 </g><path
    inkscape:connector-curvature="0"
    inkscape:export-ydpi="79.550438"
@@ -1625,6 +1685,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1.0394571,0,0,-1,502.75321,1071.8623)"
    id="g936-0-2-1"
@@ -1655,6 +1717,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1700,6 +1764,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(0.9376888,0.34747621,0.34747621,-0.9376888,651.76262,989.27394)"
    id="g334-3-1-0"
@@ -1723,6 +1789,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1762,6 +1830,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1.0611643,0,0,-1,-123.33092,1236.364)"
    id="g262-7-3"><path
@@ -1773,7 +1843,10 @@
    id="g266-7-8"><text
    id="text268-2-4"
    transform="translate(-13.23096,5)"
-   style="font-size:9.60000038px"><tspan
+   style="font-size:9.60000038px"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\everything.png"
+   inkscape:export-xdpi="90"
+   inkscape:export-ydpi="90"><tspan
      id="tspan4509-0-9"
      y="0"
      x="0"
@@ -1786,6 +1859,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1822,6 +1897,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1843,6 +1920,8 @@
 
 
 
+
+
 </g><path
    inkscape:connector-curvature="0"
    inkscape:export-ydpi="79.550438"
@@ -1882,6 +1961,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1918,6 +1999,8 @@
 
 
 
+
+
 </g><path
    sodipodi:type="arc"
    style="fill:#151b23;fill-opacity:0.97916667;stroke:#000000;stroke-width:1.20000005;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
@@ -1961,6 +2044,8 @@
 
 
 
+
+
 </g><path
    id="path342-6-0-2"
    style="fill:none;stroke:#000000;stroke-width:1.27020955;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
@@ -1992,6 +2077,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1.4146052,0,0,-0.84786888,359.52897,1054.7903)"
    id="g558-3-4-2"
@@ -2027,6 +2114,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(-0.79741846,0.01415798,0.60418273,1.6898123,522.91277,437.9406)"
    id="g572-2-8-3"
@@ -2071,6 +2160,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(-0.4860202,-0.23750576,-0.18759351,1.1471291,727.3055,719.20578)"
    id="g572-2-8-3-2"
@@ -2125,6 +2216,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(0.0340166,0.0659249,2.399107,-0.03142758,-305.93401,1016.1301)"
    id="g572-2-5-1"
@@ -2169,6 +2262,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -2215,6 +2310,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -2251,6 +2348,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -2286,6 +2385,8 @@
 
 
 
+
+
 <g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -2305,6 +2406,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -2341,6 +2444,8 @@
 
 
 
+
+
 </g><g
    transform="matrix(1.2806619,0,0,-1,201.63694,1272.02)"
    id="g936-4-8-8"
@@ -2371,6 +2476,8 @@
 
 
 
+
+
 </g><path
    id="path344-6-9-0"
    style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
@@ -2412,6 +2519,8 @@
 
 
 
+
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -2437,6 +2546,8 @@
 
 
 
+
+
 <path
    id="path344-6-9-0-5"
    style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
@@ -2498,4 +2609,6 @@
      sodipodi:role="line"
      id="tspan338-5-3-1-2">wasRevisionOf</tspan></text>
 
+
+
 </g></svg>
\ No newline at end of file
Binary file primer/images/key-concepts.png has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/primer/images/key-concepts.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -0,0 +1,431 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   inkscape:export-ydpi="90"
+   inkscape:export-xdpi="90"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\key-concepts.png"
+   sodipodi:docname="key-concepts.svg"
+   inkscape:version="0.48.2 r9819"
+   version="1.1"
+   id="svg3097"
+   height="338.41537"
+   width="546.86414">
+  <defs
+     id="defs3">
+    <linearGradient
+       id="linearGradient5471"
+       osb:paint="solid">
+      <stop
+         style="stop-color:#271a2f;stop-opacity:1;"
+         offset="0"
+         id="stop5473" />
+    </linearGradient>
+    <marker
+       orient="auto"
+       overflow="visible"
+       markerUnits="strokeWidth"
+       id="FilledArrow_Marker_2"
+       viewBox="-1 -3 7 6"
+       markerWidth="7"
+       markerHeight="6"
+       style="color:#000000;overflow:visible">
+      <g
+         id="g20">
+        <path
+           d="M 4.8000002,0 0,-1.8000001 0,1.8000001 z"
+           id="path22"
+           inkscape:connector-curvature="0"
+           style="fill:currentColor;stroke:currentColor;stroke-width:1" />
+      </g>
+    </marker>
+    <marker
+       orient="auto"
+       overflow="visible"
+       markerUnits="strokeWidth"
+       id="marker3049"
+       viewBox="-1 -3 7 6"
+       markerWidth="7"
+       markerHeight="6"
+       style="color:#000000;overflow:visible">
+      <g
+         id="g3051">
+        <path
+           d="M 4.8000002,0 0,-1.8000001 0,1.8000001 z"
+           id="path3053"
+           inkscape:connector-curvature="0"
+           style="fill:currentColor;stroke:currentColor;stroke-width:1" />
+      </g>
+    </marker>
+    <marker
+       orient="auto"
+       overflow="visible"
+       markerUnits="strokeWidth"
+       id="marker3055"
+       viewBox="-1 -3 7 6"
+       markerWidth="7"
+       markerHeight="6"
+       style="color:#000000;overflow:visible">
+      <g
+         id="g3057">
+        <path
+           d="M 4.8000002,0 0,-1.8000001 0,1.8000001 z"
+           id="path3059"
+           inkscape:connector-curvature="0"
+           style="fill:currentColor;stroke:currentColor;stroke-width:1" />
+      </g>
+    </marker>
+    <marker
+       orient="auto"
+       overflow="visible"
+       markerUnits="strokeWidth"
+       id="marker3061"
+       viewBox="-1 -3 7 6"
+       markerWidth="7"
+       markerHeight="6"
+       style="color:#000000;overflow:visible">
+      <g
+         id="g3063">
+        <path
+           d="M 4.8000002,0 0,-1.8000001 0,1.8000001 z"
+           id="path3065"
+           inkscape:connector-curvature="0"
+           style="fill:currentColor;stroke:currentColor;stroke-width:1" />
+      </g>
+    </marker>
+    <marker
+       orient="auto"
+       overflow="visible"
+       markerUnits="strokeWidth"
+       id="marker3067"
+       viewBox="-1 -3 7 6"
+       markerWidth="7"
+       markerHeight="6"
+       style="color:#000000;overflow:visible">
+      <g
+         id="g3069">
+        <path
+           d="M 4.8000002,0 0,-1.8000001 0,1.8000001 z"
+           id="path3071"
+           inkscape:connector-curvature="0"
+           style="fill:currentColor;stroke:currentColor;stroke-width:1" />
+      </g>
+    </marker>
+    <filter
+       id="filter3060"
+       inkscape:menu-tooltip="Draws a black outline around"
+       inkscape:menu="ABCs"
+       inkscape:label="Black outline"
+       color-interpolation-filters="sRGB">
+      <feGaussianBlur
+         id="feGaussianBlur3062"
+         stdDeviation="0.89486725663716815"
+         in="SourceAlpha"
+         result="result0" />
+      <feComposite
+         id="feComposite3064"
+         in2="result0"
+         result="result3"
+         operator="arithmetic"
+         in="SourceGraphic"
+         k2="1"
+         k3="10" />
+      <feComposite
+         id="feComposite3066"
+         in2="result3"
+         k2="1"
+         operator="in"
+         in="result3"
+         result="result4" />
+    </filter>
+    <filter
+       id="filter4011"
+       inkscape:menu-tooltip="Draws a black outline around"
+       inkscape:menu="ABCs"
+       inkscape:label="Black outline"
+       color-interpolation-filters="sRGB">
+      <feGaussianBlur
+         id="feGaussianBlur4013"
+         stdDeviation="0.89486725663716815"
+         in="SourceAlpha"
+         result="result0" />
+      <feComposite
+         id="feComposite4015"
+         in2="result0"
+         result="result3"
+         operator="arithmetic"
+         in="SourceGraphic"
+         k2="1"
+         k3="10" />
+      <feComposite
+         id="feComposite4017"
+         in2="result3"
+         k2="1"
+         operator="in"
+         in="result3"
+         result="result4" />
+    </filter>
+    <filter
+       id="filter4019"
+       inkscape:menu-tooltip="Draws a black outline around"
+       inkscape:menu="ABCs"
+       inkscape:label="Black outline"
+       color-interpolation-filters="sRGB">
+      <feGaussianBlur
+         id="feGaussianBlur4021"
+         stdDeviation="2"
+         in="SourceAlpha"
+         result="result0" />
+      <feComposite
+         id="feComposite4023"
+         in2="result0"
+         result="result3"
+         operator="arithmetic"
+         in="SourceGraphic"
+         k2="1"
+         k3="10" />
+      <feComposite
+         id="feComposite4025"
+         in2="result3"
+         k2="1"
+         operator="in"
+         in="result3"
+         result="result4" />
+    </filter>
+    <filter
+       id="filter5477"
+       inkscape:menu-tooltip="Draws a black outline around"
+       inkscape:menu="ABCs"
+       inkscape:label="Black outline"
+       color-interpolation-filters="sRGB">
+      <feGaussianBlur
+         id="feGaussianBlur5479"
+         stdDeviation="0.01"
+         in="SourceAlpha"
+         result="result0" />
+      <feComposite
+         id="feComposite5481"
+         in2="result0"
+         result="result3"
+         operator="arithmetic"
+         in="SourceGraphic"
+         k2="1"
+         k3="10" />
+      <feComposite
+         id="feComposite5483"
+         in2="result3"
+         k2="1"
+         operator="in"
+         in="result3"
+         result="result4" />
+    </filter>
+  </defs>
+  <sodipodi:namedview
+     inkscape:document-units="mm"
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.98994949"
+     inkscape:cx="419.34488"
+     inkscape:cy="172.87737"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     units="mm"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:window-width="1440"
+     inkscape:window-height="838"
+     inkscape:window-x="-8"
+     inkscape:window-y="-8"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata4">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(-160.85366,-191.72592)">
+    <path
+       style="stroke:#999999;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round"
+       inkscape:connector-curvature="0"
+       d="m 550.61929,275.96272 -79.53125,0 c -17.2589,0 -31.25,13.9911 -31.25,31.25 l 0,5 c 0,17.2589 13.9911,31.25 31.25,31.25 l 79.53125,0 c 17.2589,0 31.25,-13.9911 31.25,-31.25 l 0,-5 c 0,-17.2589 -13.9911,-31.25 -31.25,-31.25 0,0 0,0 0,0 z"
+       id="path117" />
+    <path
+       style="fill:#cfceff;stroke:#271a2f;stroke-opacity:0.46808511000000003;stroke-width:3.12519685000000000;stroke-miterlimit:4;stroke-dasharray:none;filter:url(#filter5477)"
+       inkscape:connector-curvature="0"
+       d="m 578.692,529.60558 -137.10525,0 c -1.38073,0 -2.5,-1.1193 -2.5,-2.5 0,0 0,0 0,0 l 0,-62.5 c 0,-1.38071 1.11927,-2.5 2.5,-2.5 0,0 0,0 0,0 l 137.10525,0 c 1.38071,0 2.5,1.11929 2.5,2.5 l 0,62.5 c 0,1.3807 -1.11929,2.5 -2.5,2.5 0,0 0,0 0,0 z"
+       id="path107" />
+    <text
+       y="460.60779"
+       x="232.23029"
+       id="text55"
+       style="font-size:15px;fill:#000000;stroke:none">
+      <tspan
+         font-size="16"
+         font-weight="500"
+         x="232.50861"
+         y="479.35779"
+         textLength="137.55469"
+         id="tspan57"
+         style="font-size:20px;font-weight:500;fill:#000000;font-family:Georgia">wasAssociatedWith</tspan>
+    </text>
+    <text
+       y="369.4072"
+       x="558.75781"
+       id="text67"
+       style="font-size:15px;fill:#000000;stroke:none">
+      <tspan
+         font-size="16"
+         font-weight="500"
+         x="558.94824"
+         y="388.1572"
+         textLength="118.69531"
+         id="tspan69"
+         style="font-size:20px;font-weight:500;font-family:Georgia">wasGeneratedBy</tspan>
+    </text>
+    <text
+       y="321.3634"
+       x="255.98027"
+       id="text73"
+       style="font-size:15px;fill:#000000;stroke:none">
+      <tspan
+         font-size="16"
+         font-weight="500"
+         x="256.02423"
+         y="340.1134"
+         textLength="118.92969"
+         id="tspan75"
+         style="font-size:20px;font-weight:500;fill:#000000;font-family:Georgia">wasAttributedTo</tspan>
+    </text>
+    <text
+       y="188.09311"
+       x="430.44675"
+       id="text79"
+       style="font-size:15px;fill:#000000;stroke:none">
+      <tspan
+         font-size="16"
+         font-weight="500"
+         x="430.78366"
+         y="206.84311"
+         textLength="121.46094"
+         id="tspan81"
+         style="font-size:20px;font-weight:500;font-family:Georgia">wasDerivedFrom</tspan>
+    </text>
+    <path
+       d="m 516.35192,276.20491 c 5.88835,-15.44838 28.53285,-62.35358 -7.17009,-62.5 -27.57214,-0.11302 -18.48241,27.49619 -10.22656,47.58898"
+       id="path83"
+       inkscape:connector-curvature="0"
+       style="fill:none;stroke:#000000;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;marker-end:url(#FilledArrow_Marker_2)" />
+    <path
+       d="m 493.60224,461.45694 c -8.55595,-17.16563 -26.06963,-31.97443 -25.67041,-51.50203 0.31267,-15.29407 11.61338,-33.48989 20.99266,-51.17687"
+       id="path93"
+       inkscape:connector-curvature="0"
+       style="fill:none;stroke:#000000;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;marker-end:url(#FilledArrow_Marker_2)" />
+    <text
+       y="407.26526"
+       x="418.95306"
+       id="text97"
+       style="font-size:15px;fill:#000000;stroke:none">
+      <tspan
+         font-size="16"
+         font-weight="500"
+         x="419.55365"
+         y="426.01526"
+         textLength="33.039062"
+         id="tspan99"
+         style="font-size:20px;font-weight:500;font-family:Georgia">used</tspan>
+    </text>
+    <path
+       d="m 528.26883,344.26099 c 7.38693,14.39652 22.9914,23.66778 22.163,43.19392 -0.66643,15.70863 -11.96867,38.06188 -21.07137,59.0395"
+       id="path101"
+       inkscape:connector-curvature="0"
+       style="fill:none;stroke:#000000;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;marker-end:url(#FilledArrow_Marker_2)" />
+    <path
+       d="m 439.19857,310.38656 c -23.03475,21.99678 -46.48416,52.43711 -69.11116,65.99691 -17.20447,10.31022 -33.94132,10.8659 -50.74242,12.79203"
+       id="path105"
+       inkscape:connector-curvature="0"
+       style="fill:none;stroke:#000000;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;marker-end:url(#FilledArrow_Marker_2)" />
+    <text
+       y="483.8913"
+       x="460.11111"
+       id="text111"
+       style="font-size:15px;fill:#000000;stroke:none">
+      <tspan
+         font-size="16"
+         font-weight="bold"
+         x="471.49911"
+         y="502.6413"
+         textLength="62.726562"
+         id="tspan113"
+         style="font-size:20px;font-weight:bold;font-family:Georgia">Activity</tspan>
+    </text>
+    <path
+       d="m 550.43183,276.20491 -79.53125,0 c -17.2589,0 -31.25,13.9911 -31.25,31.25 l 0,5 c 0,17.2589 13.9911,31.25 31.25,31.25 l 79.53125,0 c 17.25891,0 31.25,-13.9911 31.25,-31.25 l 0,-5 c 0,-17.2589 -13.99109,-31.25 -31.25,-31.25 0,0 0,0 0,0 z"
+       id="path115"
+       inkscape:connector-curvature="0"
+       style="fill:#fffedf;stroke:none;filter:url(#filter4011)" />
+    <text
+       y="298.0799"
+       x="445.9006"
+       id="text119"
+       style="font-size:15px;fill:#000000;stroke:none">
+      <tspan
+         font-size="16"
+         font-weight="bold"
+         x="479.45041"
+         y="316.8299"
+         textLength="49.945312"
+         id="tspan121"
+         style="font-size:20px;font-weight:bold;font-family:Georgia">Entity</tspan>
+    </text>
+    <path
+       d="m 162.42509,437.45882 0,-45.52447 c 0,-3.04801 1.84464,-5.79286 4.6668,-6.94427 l 63.55263,-25.92891 c 1.81612,-0.74097 3.85027,-0.74097 5.6664,0 l 63.55262,25.92891 c 2.82216,1.15141 4.6668,3.89626 4.6668,6.94427 l 0,45.52447 c 0,4.14213 -3.35786,7.5 -7.5,7.5 l -127.10525,0 c -4.14214,0 -7.5,-3.35787 -7.5,-7.5 z"
+       id="path123"
+       inkscape:connector-curvature="0"
+       style="fill:#faffab;fill-opacity:0.92021275;stroke:none;filter:url(#filter3060);opacity:1"
+       inkscape:export-xdpi="90"
+       inkscape:export-ydpi="90" />
+    <text
+       y="405.43649"
+       x="167.10367"
+       id="text127"
+       style="font-size:15px;fill:#000000;stroke:none">
+      <tspan
+         font-size="16"
+         font-weight="bold"
+         x="201.96489"
+         y="424.18649"
+         textLength="47.90625"
+         id="tspan129"
+         style="font-size:20px;font-weight:bold;font-family:Georgia">Agent</tspan>
+    </text>
+    <path
+       d="M 439.22519,495.30845 C 418.14567,472.61856 398.58716,441.11582 375.98031,427.23196 358.30105,416.37434 338.7492,416.28684 319.52313,414.33597"
+       id="path131"
+       inkscape:connector-curvature="0"
+       style="fill:none;stroke:#000000;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;marker-end:url(#FilledArrow_Marker_2)" />
+  </g>
+</svg>
Binary file primer/images/plans.png has changed
--- a/primer/images/plans.svg	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/images/plans.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -17,7 +17,7 @@
    height="169.59584"
    xml:space="preserve"
    sodipodi:docname="plans.svg"
-   inkscape:export-filename="C:\Work\standards\w3c\prov\primer\images\plans.png"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\plans.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"><metadata
      id="metadata8"><rdf:RDF><cc:Work
@@ -385,23 +385,20 @@
 
 
 <g
-   transform="matrix(1,0,0,-1,-75.9571,910.71014)"
+   transform="matrix(1,0,0,-1,-74.3571,902.71014)"
    id="g544-9"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448">dataSet1</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448">ex:dataSet1</tspan></text>
+
 
 
 
@@ -434,18 +431,15 @@
      inkscape:connector-curvature="0" /></g><text
    transform="scale(1,-1)"
    id="text546-3-35"
-   x="384.71475"
-   y="-960.81244"><tspan
-     id="tspan3196-9"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="384.71475"
-     y="-960.81244"
-     sodipodi:role="line">ex:</tspan><tspan
+   x="381.51474"
+   y="-954.41254"
+   style="font-size:9.60000038px"><tspan
      id="tspan4448-8"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="384.71475"
-     y="-947.06244"
-     sodipodi:role="line">dataSet2</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     x="381.51474"
+     y="-954.41254"
+     sodipodi:role="line">ex:dataSet2</tspan></text>
+
 
 
 
@@ -467,6 +461,7 @@
 
 
 
+
 </g><path
    inkscape:connector-curvature="0"
    inkscape:export-ydpi="79.550438"
@@ -481,20 +476,17 @@
      id="path264-3-4"
      style="fill:url(#linearGradient4503);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 354.703,221.25 44.17639,0 0,37.5 -44.17639,0 0,-37.5 z" /></g><g
-   transform="matrix(1,0,0,-1,271.45542,1006.4641)"
+   transform="matrix(1,0,0,-1,268.25542,1000.0641)"
    id="g266-7-8"><text
    id="text268-2-4"
-   transform="translate(-13.23096,5)"><tspan
+   transform="translate(-13.23096,5)"
+   style="font-size:9.60000038px"><tspan
+     id="tspan4509-0-9"
      y="0"
      x="0"
-     id="tspan270-6-9"
      sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:</tspan><tspan
-     id="tspan4509-0-9"
-     y="14"
-     x="0"
-     sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">correct</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:correct</tspan></text>
+
 
 
 
@@ -532,6 +524,7 @@
 
 
 
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -550,6 +543,7 @@
 
 
 
+
 </g><path
    inkscape:connector-curvature="0"
    inkscape:export-ydpi="79.550438"
@@ -574,18 +568,15 @@
    id="g544-9-6-4-8"
    transform="matrix(1,0,0,-1,-62.980418,1002.3184)"><text
    id="text546-3-0-8-9"
-   x="-0.32936299"
-   y="-2"><tspan
-     id="tspan3196-2-8-0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="-0.32936299"
-     y="-2"
-     sodipodi:role="line">ex:</tspan><tspan
+   x="-6.729363"
+   y="4.4000001"
+   style="font-size:9.60000038px"><tspan
      id="tspan4448-4-2-7"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="-0.32936299"
-     y="11.75"
-     sodipodi:role="line">edith</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     x="-6.729363"
+     y="4.4000001"
+     sodipodi:role="line">ex:edith</tspan></text>
+
 
 
 
@@ -623,6 +614,7 @@
 
 
 
+
 </g><path
    sodipodi:type="arc"
    style="fill:#151b23;fill-opacity:0.97916667;stroke:#000000;stroke-width:1.20000005;stroke-linecap:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
@@ -645,24 +637,21 @@
      style="fill:url(#linearGradient4836);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,-75.368809,957.8994)"
+   transform="matrix(1,0,0,-1,-78.568809,951.4994)"
    id="g544-9-39"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-24"
    x="-7.6403961"
-   y="-2"><tspan
+   y="-2"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="-2"
      x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-6">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="11.75"
-     x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-1">instructions</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-1">ex:instructions</tspan></text>
+
 
 
 
@@ -700,6 +689,7 @@
 
 
 
+
 </g><path
    style="fill:none;stroke:#000000;stroke-width:0.65616947px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    d="m 304.6916,995.61216 71.60192,-29.59491"
Binary file primer/images/roles.png has changed
--- a/primer/images/roles.svg	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/images/roles.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -17,7 +17,7 @@
    height="332.392"
    xml:space="preserve"
    sodipodi:docname="roles.svg"
-   inkscape:export-filename="C:\Work\standards\w3c\prov\primer\images\roles.png"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\roles.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"><metadata
      id="metadata8"><rdf:RDF><cc:Work
@@ -495,20 +495,17 @@
      id="path264"
      style="fill:url(#linearGradient4517);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 354.703,221.25 44.17639,0 0,37.5 -44.17639,0 0,-37.5 z" /></g><g
-   transform="matrix(1,0,0,-1,195.9912,804.8)"
+   transform="matrix(1,0,0,-1,194.3912,798.4)"
    id="g266"><text
    id="text268"
-   transform="translate(-13.23096,5)"><tspan
+   transform="translate(-13.23096,5)"
+   style="font-size:9.60000038px"><tspan
+     id="tspan4509"
      y="0"
      x="0"
-     id="tspan270"
      sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:</tspan><tspan
-     id="tspan4509"
-     y="14"
-     x="0"
-     sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">compose</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:compose</tspan></text>
+
 
 
 
@@ -535,19 +532,16 @@
    inkscape:export-xdpi="79.550438"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    id="g544-9-6"
-   transform="matrix(1,0,0,-1,24.41479,797.44439)"><text
+   transform="matrix(1,0,0,-1,18.01479,791.04439)"><text
    transform="translate(-7.640396,-2)"
-   id="text546-3-0"><tspan
-     id="tspan3196-2"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+   id="text546-3-0"
+   style="font-size:9.60000038px"><tspan
+     id="tspan4448-4"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
      x="0"
      y="0"
-     sodipodi:role="line">ex:</tspan><tspan
-     id="tspan4448-4"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="0"
-     y="13.75"
-     sodipodi:role="line">regionList</tspan></text>
+     sodipodi:role="line">ex:regionList</tspan></text>
+
 
 
 
@@ -580,6 +574,7 @@
 
 
 
+
 </g><g
    transform="matrix(0.9368205,0,0,-1,-142.39394,1034.7)"
    id="g340"
@@ -621,6 +616,7 @@
 
 
 
+
 </g><g
    transform="matrix(1,0,0,-1,-175.5,1034.7)"
    id="g498"
@@ -696,29 +692,27 @@
 
 
 
+
 </g>
 
 
 
 
 <g
-   transform="matrix(1,0,0,-1,-66.3571,902.71014)"
+   transform="matrix(1,0,0,-1,-71.1571,896.31014)"
    id="g544-9"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448">dataSet1</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448">ex:dataSet1</tspan></text>
+
 
 
 
@@ -737,23 +731,20 @@
      style="fill:url(#linearGradient4539);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,366.35927,796.56467)"
+   transform="matrix(1,0,0,-1,363.15927,790.16467)"
    id="g544-9-61"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-3"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-8">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-9">composition</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-9">ex:composition</tspan></text>
+
 
 
 
@@ -792,20 +783,16 @@
    inkscape:export-xdpi="79.550438"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    id="g544-9-6-4"
-   transform="matrix(1,0,0,-1,26.408902,680.37281)"><text
+   transform="matrix(1,0,0,-1,21.608902,673.97281)"><text
    id="text546-3-0-8"
    x="-0.32936299"
    y="-2"><tspan
-     id="tspan3196-2-8"
+     id="tspan4448-4-2"
      style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
      x="-0.32936299"
      y="-2"
-     sodipodi:role="line">ex:</tspan><tspan
-     id="tspan4448-4-2"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="-0.32936299"
-     y="11.75"
-     sodipodi:role="line">derek</tspan></text>
+     sodipodi:role="line">ex:derek</tspan></text>
+
 
 
 
@@ -831,6 +818,7 @@
 
 
 
+
 <path
    id="path344-6-9-2"
    style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
@@ -874,6 +862,7 @@
 
 
 
+
 </g><g
    transform="matrix(0.40082252,0.4151758,2.3866708,-0.77329411,-480.79716,961.35321)"
    id="g572-2"
@@ -915,6 +904,7 @@
 
 
 
+
 </g><g
    transform="matrix(-0.6837653,0.41048076,1.4796713,1.9262836,-179.39281,286.98448)"
    id="g572-2-5"
@@ -956,6 +946,7 @@
 
 
 
+
 </g><g
    transform="matrix(-0.62188296,0.39975874,1.3457576,1.8759678,-168.43478,203.36898)"
    id="g572-2-5-9"
@@ -997,6 +988,7 @@
 
 
 
+
 </g><g
    transform="matrix(0.00870226,0.28186705,1.6936272,-0.18063826,-164.96914,810.84161)"
    id="g572-2-8"
Binary file primer/images/specialization.png has changed
--- a/primer/images/specialization.svg	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/images/specialization.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -17,7 +17,7 @@
    height="197.32617"
    xml:space="preserve"
    sodipodi:docname="specialization.svg"
-   inkscape:export-filename="C:\Work\standards\w3c\prov\primer\images\specialization.png"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\specialization.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"><metadata
      id="metadata8"><rdf:RDF><cc:Work
@@ -408,23 +408,20 @@
 
 
 <g
-   transform="matrix(1,0,0,-1,-16.7571,1099.5101)"
+   transform="matrix(1,0,0,-1,-19.9571,1093.1101)"
    id="g544-9"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448">dataSet1</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448">ex:dataSet1</tspan></text>
+
 
 
 
@@ -451,24 +448,21 @@
      style="fill:url(#linearGradient3236);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,167.31306,1163.9891)"
+   transform="matrix(1,0,0,-1,164.11306,1157.5891)"
    id="g544-9-3"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-2"
    x="-7.6403961"
-   y="-2"><tspan
+   y="-2"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="-2"
      x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-21">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="11.75"
-     x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-6">article</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-6">ex:article</tspan></text>
+
 
 
 
@@ -503,6 +497,7 @@
 
 
 
+
 </g><g
    transform="matrix(0.43309751,-0.00230963,0.02385816,-1.4614635,51.707733,1511.0808)"
    id="g572"
@@ -524,24 +519,21 @@
      style="fill:url(#linearGradient3403);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,161.29517,1101.3682)"
+   transform="matrix(1,0,0,-1,156.49517,1094.9682)"
    id="g544-9-3-2"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-2-4"
    x="-7.6403961"
-   y="-2"><tspan
+   y="-2"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="-2"
      x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-21-5">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="11.75"
-     x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-6-5">articleV1</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-6-5">ex:articleV1</tspan></text>
+
 
 
 </g><g
@@ -570,24 +562,21 @@
      style="fill:url(#linearGradient3510);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,335.18702,1164.4634)"
+   transform="matrix(1,0,0,-1,331.98702,1159.6634)"
    id="g544-9-3-2-3"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-2-4-2"
    x="-7.6403961"
-   y="-2"><tspan
+   y="-2"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="-2"
      x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-21-5-2">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="11.75"
-     x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-6-5-1">blogEntry</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-6-5-1">ex:blogEntry</tspan></text>
+
 
 
 </g><g
@@ -622,6 +611,7 @@
      id="tspan338-76-71-89">wasQuotedFrom</tspan></text>
 
 
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -644,6 +634,7 @@
      id="tspan338-5-3">wasDerivedFrom</tspan></text>
 
 
+
 <g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -659,6 +650,7 @@
      id="tspan338-76-2-3">specializationOf</tspan></text>
 
 
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -691,6 +683,7 @@
      id="tspan338-76-71-89-8">alternateOf</tspan></text>
 
 
+
 </g><g
    transform="matrix(1.2806619,0,0,-1,201.63694,1272.02)"
    id="g936-4-8-8"
@@ -701,24 +694,21 @@
      style="fill:url(#linearGradient3766);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,468.98445,1103.2301)"
+   transform="matrix(1,0,0,-1,465.78445,1096.8301)"
    id="g544-9-3-2-0"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-2-4-24"
    x="-7.6403961"
-   y="-2"><tspan
+   y="-2"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="-2"
      x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-21-5-8">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="11.75"
-     x="-7.6403961"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-6-5-6">articleV2</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-6-5-6">ex:articleV2</tspan></text>
+
 
 
 </g><path
@@ -738,23 +728,20 @@
      style="fill:url(#linearGradient3439);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,250.0613,1052.7504)"
+   transform="matrix(1,0,0,-1,245.2613,1046.3504)"
    id="g544-9-2"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-4"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-5">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-5">dataSet2</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-5">ex:dataSet2</tspan></text>
+
 
 </g><g
    inkscape:export-ydpi="79.550438"
@@ -777,6 +764,7 @@
      sodipodi:role="line"
      id="tspan338-5-3-1">wasDerivedFrom</tspan></text>
 
+
 <path
    id="path344-6-9-0-5"
    style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
@@ -814,4 +802,5 @@
      sodipodi:role="line"
      id="tspan338-76-2-3-2">specializationOf</tspan></text>
 
+
 </g></g></svg>
\ No newline at end of file
Binary file primer/images/time.png has changed
--- a/primer/images/time.svg	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/images/time.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -17,12 +17,12 @@
    height="334.96368"
    xml:space="preserve"
    sodipodi:docname="time.svg"
-   inkscape:export-filename="C:\Work\standards\w3c\prov\primer\images\time.png"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\time.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"><metadata
      id="metadata8"><rdf:RDF><cc:Work
          rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
-           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
      id="defs6"><linearGradient
        id="linearGradient3148"><stop
          style="stop-color:#ffffff;stop-opacity:1;"
@@ -456,23 +456,20 @@
 
 
 <g
-   transform="matrix(1,0,0,-1,-66.3571,902.71014)"
+   transform="matrix(1,0,0,-1,-71.1571,896.31014)"
    id="g544-9"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448">dataSet1</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448">ex:dataSet1</tspan></text>
+
 
 
 
@@ -504,18 +501,15 @@
      inkscape:connector-curvature="0" /></g><text
    transform="scale(1,-1)"
    id="text546-3-35"
-   x="384.71475"
-   y="-960.81244"><tspan
-     id="tspan3196-9"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="384.71475"
-     y="-960.81244"
-     sodipodi:role="line">ex:</tspan><tspan
+   x="381.51474"
+   y="-954.41254"
+   style="font-size:9.60000038px"><tspan
      id="tspan4448-8"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="384.71475"
-     y="-947.06244"
-     sodipodi:role="line">dataSet2</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     x="381.51474"
+     y="-954.41254"
+     sodipodi:role="line">ex:dataSet2</tspan></text>
+
 
 
 
@@ -541,6 +535,7 @@
 
 
 
+
 </g><path
    inkscape:connector-curvature="0"
    inkscape:export-ydpi="79.550438"
@@ -562,20 +557,17 @@
      id="path264-3-6"
      style="fill:url(#linearGradient3791-3);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 354.703,221.25 44.17639,0 0,37.5 -44.17639,0 0,-37.5 z" /></g><g
-   transform="matrix(1,0,0,-1,521.55993,964.62775)"
+   transform="matrix(1,0,0,-1,518.35993,958.22775)"
    id="g266-7-4"><text
    id="text268-2-0"
-   transform="translate(-13.23096,5)"><tspan
+   transform="translate(-13.23096,5)"
+   style="font-size:9.60000038px"><tspan
+     id="tspan4509-0-1"
      y="0"
      x="0"
-     id="tspan270-6-6"
      sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:</tspan><tspan
-     id="tspan4509-0-1"
-     y="14"
-     x="0"
-     sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">compile2</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:compile2</tspan></text>
+
 
 
 
@@ -592,23 +584,20 @@
      style="fill:url(#linearGradient4283);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,721.54046,901.47234)"
+   transform="matrix(1,0,0,-1,719.94046,895.07234)"
    id="g544-9-61-1-3"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-3-3-9"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-8-5-8">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-9-9-8">chart2</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-9-9-8">ex:chart2</tspan></text>
+
 
 
 
@@ -659,6 +648,7 @@
 
 
 
+
 </g><g
    transform="matrix(0.9376888,0.34747621,0.34747621,-0.9376888,651.76262,989.27394)"
    id="g334-3-1-0"
@@ -681,6 +671,7 @@
 
 
 
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -719,6 +710,7 @@
 
 
 
+
 </g><g
    transform="matrix(1.0611643,0,0,-1,-123.33092,1236.364)"
    id="g262-7-3"><path
@@ -726,20 +718,17 @@
      id="path264-3-4"
      style="fill:url(#linearGradient4503);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 354.703,221.25 44.17639,0 0,37.5 -44.17639,0 0,-37.5 z" /></g><g
-   transform="matrix(1,0,0,-1,271.45542,1006.4641)"
+   transform="matrix(1,0,0,-1,268.25542,1000.0641)"
    id="g266-7-8"><text
    id="text268-2-4"
-   transform="translate(-13.23096,5)"><tspan
+   transform="translate(-13.23096,5)"
+   style="font-size:9.60000038px"><tspan
+     id="tspan4509-0-9"
      y="0"
      x="0"
-     id="tspan270-6-9"
      sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:</tspan><tspan
-     id="tspan4509-0-9"
-     y="14"
-     x="0"
-     sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">correct</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:correct</tspan></text>
+
 
 
 
@@ -781,6 +770,7 @@
 
 
 
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -801,6 +791,7 @@
 
 
 
+
 </g><path
    inkscape:connector-curvature="0"
    inkscape:export-ydpi="79.550438"
@@ -842,6 +833,7 @@
 
 
 
+
 </g><g
    transform="matrix(1.694849,0,0,-1.5821629,158.89211,1431.5985)"
    id="g558-3-4-2-1-2"
@@ -886,6 +878,7 @@
 
 
 
+
 </g><path
    style="fill:none;stroke:#000000;stroke-width:0.65616947px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
    d="m 304.6916,995.61216 71.60192,-29.59491"
@@ -927,6 +920,7 @@
 
 
 
+
 </g><g
    transform="matrix(-0.79741846,0.01415798,0.60418273,1.6898123,518.66471,439.49058)"
    id="g572-2-8-3"
@@ -980,20 +974,17 @@
      id="path264-3"
      style="fill:url(#linearGradient3791);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 354.703,221.25 44.17639,0 0,37.5 -44.17639,0 0,-37.5 z" /></g><g
-   transform="matrix(1,0,0,-1,375.42439,910.30792)"
+   transform="matrix(1,0,0,-1,373.82439,903.90792)"
    id="g266-7"><text
    id="text268-2"
-   transform="translate(-13.23096,5)"><tspan
+   transform="translate(-13.23096,5)"
+   style="font-size:9.60000038px"><tspan
+     id="tspan4509-0"
      y="0"
      x="0"
-     id="tspan270-6"
      sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:</tspan><tspan
-     id="tspan4509-0"
-     y="14"
-     x="0"
-     sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">compile</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:compile</tspan></text>
+
 
 
 
@@ -1025,6 +1016,7 @@
 
 
 
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1041,6 +1033,7 @@
 
 
 
+
 </g><g
    inkscape:export-ydpi="79.550438"
    inkscape:export-xdpi="79.550438"
@@ -1058,23 +1051,20 @@
    d="m -8.2692543,899.96275 8.00000003,-3 0,6 -8.00000003,-3 z"
    style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
    id="path344-1" /><g
-   transform="matrix(1,0,0,-1,636.2526,835.82601)"
+   transform="matrix(1,0,0,-1,633.0526,829.42601)"
    id="g544-9-61-1-3-4"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-3-3-9-5"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-8-5-8-5">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-9-9-8-1">chart1</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-9-9-8-1">ex:chart1</tspan></text>
+
 
 
 
Binary file primer/images/use-generate.png has changed
--- a/primer/images/use-generate.svg	Thu Nov 01 13:21:53 2012 -0400
+++ b/primer/images/use-generate.svg	Thu Nov 01 13:22:07 2012 -0400
@@ -17,7 +17,7 @@
    height="143.57451"
    xml:space="preserve"
    sodipodi:docname="use-generate.svg"
-   inkscape:export-filename="C:\Work\standards\w3c\prov\primer\images\use-generate.png"
+   inkscape:export-filename="C:\Mercurial\prov\primer\images\use-generate.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90"><metadata
      id="metadata8"><rdf:RDF><cc:Work
@@ -151,20 +151,17 @@
      id="path264"
      style="fill:url(#linearGradient4517);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 354.703,221.25 44.17639,0 0,37.5 -44.17639,0 0,-37.5 z" /></g><g
-   transform="matrix(1,0,0,-1,195.9912,841.6)"
+   transform="matrix(1,0,0,-1,194.3912,835.2)"
    id="g266"><text
    id="text268"
-   transform="translate(-13.23096,5)"><tspan
+   transform="translate(-13.23096,5)"
+   style="font-size:9.60000038px"><tspan
+     id="tspan4509"
      y="0"
      x="0"
-     id="tspan270"
      sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:</tspan><tspan
-     id="tspan4509"
-     y="14"
-     x="0"
-     sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">compose</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:compose</tspan></text>
+
 
 
 
@@ -186,19 +183,16 @@
    inkscape:export-xdpi="79.550438"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    id="g544-9-6"
-   transform="matrix(1,0,0,-1,24.41479,834.24439)"><text
+   transform="matrix(1,0,0,-1,19.61479,827.84439)"><text
    transform="translate(-7.640396,-2)"
-   id="text546-3-0"><tspan
-     id="tspan3196-2"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+   id="text546-3-0"
+   style="font-size:9.60000038px"><tspan
+     id="tspan4448-4"
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
      x="0"
      y="0"
-     sodipodi:role="line">ex:</tspan><tspan
-     id="tspan4448-4"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     x="0"
-     y="13.75"
-     sodipodi:role="line">regionList</tspan></text>
+     sodipodi:role="line">ex:regionList</tspan></text>
+
 
 
 </g><g
@@ -208,20 +202,17 @@
      id="path264-6"
      style="fill:url(#linearGradient4584);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 354.703,221.25 44.17639,0 0,37.5 -44.17639,0 0,-37.5 z" /></g><g
-   transform="matrix(1,0,0,-1,525.13557,841.352)"
+   transform="matrix(1,0,0,-1,523.53557,834.952)"
    id="g266-6"><text
    id="text268-18"
-   transform="translate(-13.23096,5)"><tspan
+   transform="translate(-13.23096,5)"
+   style="font-size:9.60000038px"><tspan
+     id="tspan4509-9"
      y="0"
      x="0"
-     id="tspan270-4"
      sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:</tspan><tspan
-     id="tspan4509-9"
-     y="14"
-     x="0"
-     sodipodi:role="line"
-     style="font-size:11.19999981px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">illustrate</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">ex:illustrate</tspan></text>
+
 
 
 </g><g
@@ -244,6 +235,7 @@
 
 
 
+
 </g><g
    transform="matrix(0.9368205,0,0,-1,-142.39394,1071.5)"
    id="g340"
@@ -280,6 +272,7 @@
 
 
 
+
 </g><g
    transform="matrix(1,0,0,-1,-175.5,1071.5)"
    id="g498"
@@ -359,29 +352,27 @@
 
 
 
+
 </g>
 
 
 
 
 <g
-   transform="matrix(1,0,0,-1,24.8429,902.71014)"
+   transform="matrix(1,0,0,-1,23.2429,896.31014)"
    id="g544-9"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448">dataSet1</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448">ex:dataSet1</tspan></text>
+
 
 
 
@@ -425,6 +416,7 @@
      style="font-size:12px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">used</tspan></text>
 
 
+
 </g><g
    transform="matrix(1,0,0,-1,629.04784,839.08001)"
    id="g334-3"
@@ -440,6 +432,7 @@
      style="font-size:12px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT">wasGeneratedBy</tspan></text>
 
 
+
 </g><g
    transform="matrix(1,0,0,-1,159.42784,1071.63)"
    id="g340-4"
@@ -459,23 +452,20 @@
      style="fill:url(#linearGradient4539);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,366.35927,833.36467)"
+   transform="matrix(1,0,0,-1,361.55927,826.96467)"
    id="g544-9-61"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-3"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-8">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-9">composition</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-9">ex:composition</tspan></text>
+
 
 
 </g><path
@@ -495,23 +485,20 @@
      style="fill:url(#linearGradient4670);fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-opacity:1;stroke-dasharray:none"
      d="m 238.6758,155.4437 c 10.3144,8.5915 10.3144,22.5211 0,31.1126 -10.3145,8.5916 -27.0375,8.5916 -37.3519,0 -10.3145,-8.5915 -10.3145,-22.5211 0,-31.1126 10.3144,-8.5916 27.0374,-8.5916 37.3519,0"
      inkscape:connector-curvature="0" /></g><g
-   transform="matrix(1,0,0,-1,702.38205,832.92622)"
+   transform="matrix(1,0,0,-1,700.78205,826.52622)"
    id="g544-9-61-1"
    inkscape:export-filename="/home/lavm/papers/papers/prov-wg/hg/model/images/w3-publication1.png"
    inkscape:export-xdpi="79.550438"
    inkscape:export-ydpi="79.550438"><text
    id="text546-3-3-3"
-   transform="translate(-7.640396,-2)"><tspan
+   transform="translate(-7.640396,-2)"
+   style="font-size:9.60000038px"><tspan
      sodipodi:role="line"
      y="0"
      x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan3196-8-5">ex:</tspan><tspan
-     sodipodi:role="line"
-     y="13.75"
-     x="0"
-     style="font-size:11px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
-     id="tspan4448-9-9">chart1</tspan></text>
+     style="font-size:9.60000038px;font-variant:normal;font-weight:normal;writing-mode:lr-tb;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;font-family:ArialMT;-inkscape-font-specification:ArialMT"
+     id="tspan4448-9-9">ex:chart1</tspan></text>
+
 
 
 </g></g></svg>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/primer/primer-prov-xml-examples.xml	Thu Nov 01 13:22:07 2012 -0400
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#"
+	xmlns:dct="http://purl.org/dc/terms/"
+	xmlns:ex="http://example.com/ns/ex#">
+
+  <!-- Entities -->
+
+  <prov:entity prov:id="ex:article">
+	<dct:title>Crime rises in cities</dct:title>
+  </prov:entity>
+
+  <prov:entity prov:id="ex:dataset1"/>
+
+  <prov:entity prov:id="ex:regionList"/>
+
+  <prov:entity prov:id="ex:composition"/>
+
+  <prov:entity prov:id="ex:chart1"/>
+
+  <!-- Activities -->
+
+  <prov:activity prov:id="ex:compile"/>
+
+  <prov:activity prov:id="ex:compose"/>
+
+  <prov:activity prov:id="ex:illustrate"/>
+
+  <!-- Usage and Generation -->
+
+  <prov:used>
+    <prov:activity prov:ref="ex:compose"/>
+    <prov:entity prov:ref="ex:dataset1"/>
+  </prov:used>
+
+  <prov:used>
+    <prov:activity prov:ref="ex:compose"/>
+    <prov:entity prov:ref="ex:regionList"/>
+  </prov:used>
+
+  <prov:wasGeneratedBy>
+    <prov:entity prov:ref="ex:composition"/>
+    <prov:activity prov:ref="ex:compose"/>
+  </prov:wasGeneratedBy>
+
+  <prov:used>
+    <prov:activity prov:ref="ex:illustrate"/>
+    <prov:entity prov:ref="ex:composition"/>
+  </prov:used>
+
+  <prov:wasGeneratedBy>
+    <prov:entity prov:ref="ex:chart1"/>
+    <prov:activity prov:ref="ex:illustrate"/>
+  </prov:wasGeneratedBy>
+
+  <!-- Agents and Responsibility -->
+
+  <!-- Roles -->
+
+  <!-- Revision and Derivation -->
+
+  <!-- Plans -->
+
+  <!-- Time -->
+
+  <!-- Alternate Entities and Specialization -->
+
+</prov:document>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/primer/primer-provn-examples.txt	Thu Nov 01 13:22:07 2012 -0400
@@ -0,0 +1,84 @@
+prefix prov <http://www.w3.org/ns/prov#>
+prefix ex <http://www.example.org#>
+prefix dcterms <http://purl.org/dc/terms/>
+prefix foaf <http://xmlns.com/foaf/0.1/>
+
+// The examples below are taken from, and follow the same order
+// as in, the W3C PROV Primer, http://www.w3.org/TR/prov-primer/
+
+// Entities
+
+entity(ex:article, [dcterms:title="Crime rises in cities"])
+entity(ex:dataSet1)
+entity(ex:regionList)
+entity(ex:composition)
+entity(ex:chart1)
+    
+// Activities
+
+activity(ex:compile)
+activity(ex:compose)
+activity(ex:illustrate)
+    
+// Usage and Generation
+
+used(ex:compose, ex:dataSet1, -)
+used(ex:compose, ex:regionList, -)
+wasGeneratedBy(ex:composition, ex:compose, -)
+used(ex:illustrate, ex:composition, -)
+wasGeneratedBy(ex:chart1, ex:illustrate, -)
+    
+// Agents and Responsibility
+
+wasAssociatedWith(ex:compose, ex:derek, -)
+wasAssociatedWith(ex:illustrate, ex:derek, -)
+agent(ex:derek,
+      [prov:type='prov:Person', foaf:givenName="Derek", 
+       foaf:mbox="<mailto:derek@example.org>"])
+    
+agent(ex:chartgen,
+      [prov:type='prov:Organization',
+       foaf:name="Chart Generators Inc"])
+actedOnBehalfOf(ex:derek, ex:chartgen, ex:compose)
+    
+wasAttributedTo(ex:chart1, ex:derek)
+    
+// Roles
+
+used(ex:compose, ex:dataSet1, -, [prov:role='ex:dataToCompose'])
+used(ex:compose, ex:regionList, -, [prov:role='ex:regionsToAggregateBy'])
+wasAssociatedWith(ex:compose, ex:derek, -, [prov:role='ex:analyst'])
+wasGeneratedBy(ex:composition, ex:compose, -, [prov:role='ex:composedData'])
+
+// Derivation and Revision
+
+entity(ex:dataSet2)
+wasDerivedFrom(ex:dataSet2, ex:dataSet1, [prov:type='prov:Revision'])
+wasDerivedFrom(ex:chart2, ex:dataSet2)
+entity(ex:chart2)
+wasDerivedFrom(ex:chart2, ex:chart1, [prov:type='prov:Revision'])
+    
+// Plans
+
+activity(ex:correct)
+agent(ex:edith, [prov:type='prov:Person'])
+entity(ex:instructions)
+wasAssociatedWith(ex:correct, ex:edith, ex:instructions)
+wasGeneratedBy(ex:dataSet2, ex:correct, -)
+    
+// Time
+
+wasGeneratedBy(ex:chart1, ex:compile,  2012-03-02T10:30:00)
+wasGeneratedBy(ex:chart2, ex:compile2, 2012-04-01T15:21:00)
+activity(ex:correct, 2012-03-31T09:21:00, 2012-04-01T15:21:00)
+    
+// Alternate Entities and Specialization
+
+entity(ex:blogEntry)
+wasDerivedFrom(ex:blogEntry, ex:article, [prov:type='prov:Quotation'])
+    
+entity(ex:articleV1)
+specializationOf(ex:articleV1, ex:article)    
+specializationOf(ex:articleV2, ex:article)
+alternateOf(ex:articleV2, ex:articleV1)
+    
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/primer/primer-turtle-examples.txt	Thu Nov 01 13:22:07 2012 -0400
@@ -0,0 +1,113 @@
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix prov: <http://www.w3.org/ns/prov#> .
+@prefix ex: <http://www.example.org#> .
+@prefix dcterms: <http://purl.org/dc/terms/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+
+# The examples below are taken from, and follow the same order
+# as in the W3C PROV Primer, http://www.w3.org/TR/prov-primer/
+
+# Entities
+
+ex:article     a prov:Entity ;
+               dcterms:title "Crime rises in cities" .
+ex:dataset1    a prov:Entity .
+ex:regionList  a prov:Entity .
+ex:composition a prov:Entity .
+ex:chart1      a prov:Entity .
+
+# Activities
+
+ex:compile    a prov:Activity .
+ex:compose    a prov:Activity .
+ex:illustrate a prov:Activity .
+
+# Usage and Generation
+
+ex:compose      prov:used           ex:dataSet1 ;
+                prov:used           ex:regionList .
+ex:composition  prov:wasGeneratedBy ex:compose .
+ex:illustrate   prov:used           ex:composition .
+ex:chart1       prov:wasGeneratedBy ex:illustrate .
+
+# Agents and Responsibility
+
+ex:compose    prov:wasAssociatedWith ex:derek .
+ex:illustrate prov:wasAssociatedWith ex:derek .
+ex:derek a prov:Agent ;
+         a prov:Person ;
+         foaf:givenName "Derek"^^xsd:string ;
+         foaf:mbox      <mailto:derek@example.org> .
+ex:derek prov:actedOnBehalfOf ex:chartgen .
+ex:chartgen a prov:Agent ;
+            a prov:Organization ;
+            foaf:name "Chart Generators Inc" .
+ex:chart1 prov:wasAttributedTo ex:derek .
+
+# Roles
+    
+ex:dataToCompose        a prov:Role .
+ex:regionsToAggregateBy a prov:Role .
+ex:composedData         a prov:Role .
+ex:analyst              a prov:Role .
+ex:compose prov:qualifiedUsage [
+           a prov:Usage ;
+           prov:entity  ex:dataSet1 ;
+           prov:hadRole ex:dataToCompose 
+] .    
+ex:compose prov:qualifiedUsage [
+           a prov:Usage ;
+           prov:entity  ex:regionList ;
+           prov:hadRole ex:regionsToAggregateBy
+] .
+ex:compose prov:qualifiedAssociation [
+           a prov:Association ;
+           prov:agent    ex:derek ;
+           prov:hadRole  ex:analyst
+] .
+ex:composition prov:qualifiedGeneration [
+               a prov:Generation ;
+               prov:activity  ex:compose ;
+               prov:hadRole   ex:composedData
+] .
+
+# Revision and Derivation
+
+ex:dataSet2 a prov:Entity ;
+            prov:wasRevisionOf ex:dataSet1 .
+ex:chart2 a prov:Entity ;
+          prov:wasDerivedFrom ex:dataSet2 .
+ex:chart2 a prov:Entity ;
+          prov:wasRevisionOf ex:chart1 .
+    
+# Plans
+
+ex:correct      a prov:Activity .
+ex:edith        a prov:Agent, prov:Person .
+ex:instructions a prov:Plan .
+    
+ex:correct prov:qualifiedAssociation [
+           a Association ;
+           prov:agent   ex:edith ;
+           prov:hadPlan ex:instructions
+] .
+ex:dataSet2 prov:wasGeneratedBy ex:correct .
+    
+# Time
+
+ex:chart1 prov:generatedAtTime "2012-03-02T10:30:00"^^xsd:dateTime .
+ex:chart2 prov:generatedAtTime "2012-04-01T15:21:00"^^xsd:dateTime .
+    
+ex:correct prov:startedAtTime "2012-03-31T09:21:00"^^xsd:dateTime ;
+           prov:endedAtTime   "2012-04-01T15:21:00"^^xsd:dateTime .
+    
+# Alternate Entities and Specialization
+
+ex:blogEntry a prov:Entity ;
+             prov:wasQuotedFrom ex:article .
+
+ex:articleV1 a prov:Entity ;
+             prov:specializationOf ex:article .
+    
+ex:articleV2 prov:specializationOf ex:article .
+ex:articleV2 prov:alternateOf      ex:articleV1 .
\ No newline at end of file
--- a/xml/ReSpec.js/js/respec.js	Thu Nov 01 13:21:53 2012 -0400
+++ b/xml/ReSpec.js/js/respec.js	Thu Nov 01 13:22:07 2012 -0400
@@ -1186,6 +1186,7 @@
                 isIntro = sn.hasClass(sec, "introductory");
             if (!sec.childNodes.length) continue;
             var h = sec.firstElementChild;
+            if (!h) continue;
             var ln = h.localName.toLowerCase();
             if (ln != "h2" && ln != "h3" && ln != "h4" && ln != "h5" && ln != "h6") continue;
             var title = h.textContent;
--- a/xml/prov-xml.html	Thu Nov 01 13:21:53 2012 -0400
+++ b/xml/prov-xml.html	Thu Nov 01 13:22:07 2012 -0400
@@ -343,7 +343,7 @@
           editors:  [
           		{ name: "(In alphabetical order)" },
                 { name: "Hook Hua", 
-                	company: "National Aeronautics and Space Administration" },
+                	company: "Jet Propulsion Laboratory / California Institute of Technology" },
                 { name: "Curt Tilmes", 
                 	company: "National Aeronautics and Space Administration" },
                 { name: "Stephan Zednik",
@@ -723,19 +723,15 @@
 &lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="entity" type="prov:Entity"/&gt;
 </pre>
 <pre class="example">
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;!-- based on Example 16 from http://www.w3.org/TR/prov-dm/#anexample-entity --&gt;
-
 &lt;prov:document
     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:entity prov:id="tr:WD-prov-dm-20111215"&gt;
     &lt;prov:type&gt;document&lt;/prov:type&gt;
     &lt;ex:version&gt;2&lt;/ex:version&gt;
-  &lt;/prov:entity&gt;
+  &lt;/prov:entity&gt;</b>
 
 &lt;/prov:document&gt;
 </pre>
@@ -763,21 +759,16 @@
 &lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="activity" type="prov:Activity"/&gt;
 </pre>
 <pre class="example">
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;!-- based on PROV-DM's Example 17 from http://www.w3.org/TR/prov-dm/#anexample-activity
-     see also http://www.w3.org/TR/prov-dm/#type_Activity --&gt;
-
 &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;
+  <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&gt;ex:edit&lt;/prov:type&gt;
     &lt;ex:host&gt;server.example.org&lt;/ex:host&gt;
-  &lt;/prov:activity&gt;
+  &lt;/prov:activity&gt;</b>
 
 &lt;/prov:document&gt;
 </pre>
@@ -807,10 +798,6 @@
 &lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasGeneratedBy" type="prov:Generation"/&gt;
 </pre>
 <pre class="example">
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;!-- Example 18 from http://www.w3.org/TR/prov-dm/#anexample-generation1 --&gt;
-
 &lt;prov:document
     xmlns:prov="http://www.w3.org/ns/prov#"
     xmlns:ex="http://example.com/ns/ex#"&gt;
@@ -819,30 +806,21 @@
 
   &lt;prov:activity prov:id="a1"/&gt;
 
-  &lt;prov:wasGeneratedBy&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>p1&lt;/ex:port&gt;
-  &lt;/prov:wasGeneratedBy&gt;
+  &lt;/prov:wasGeneratedBy&gt;</b>
 
   &lt;prov:entity prov:id="e2"/&gt;
 
-  &lt;prov:wasGeneratedBy&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;
-
-  &lt;!-- Example 19, http://www.w3.org/TR/prov-dm/#anexample-generation2 --&gt;
-
-  &lt;prov:entity prov:id="e"/&gt;
-
-  &lt;prov:wasGeneratedBy&gt;
-    &lt;prov:entity prov:ref="e"/&gt;
-    &lt;prov:time&gt;2001-10-26T21:32:52&lt;/prov:time&gt;
-  &lt;/prov:wasGeneratedBy&gt;
+  &lt;/prov:wasGeneratedBy&gt;</b>
 
 &lt;/prov:document&gt;
 </pre>
@@ -872,10 +850,6 @@
 &lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="used" type="prov:Usage"/&gt;
 </pre>
 <pre class="example">
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;!-- based on Example 20 from http://www.w3.org/TR/prov-dm/#anexample-usage --&gt;
-
 &lt;prov:document
     xmlns:prov="http://www.w3.org/ns/prov#"
     xmlns:ex="http://example.com/ns/ex#"&gt;
@@ -886,19 +860,19 @@
 
   &lt;prov:entity prov:id="e2"/&gt;
 
-  &lt;prov:used&gt;
+  <b>&lt;prov:used&gt;
     &lt;prov:activity prov:ref="a1"/&gt;
     &lt;prov:entity prov:ref="e1"/&gt;
     &lt;prov:time&lg;2011-11-16T16:00:00&lt;/prov:time&gt;
     &lt;ex:parameter&gt;p1&lt;/ex:parameter&gt;
-  &lt;/prov:used&gt;
+  &lt;/prov:used&gt;</b>
 
-  &lt;prov:used&gt;
+  <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;
+  &lt;/prov:used&gt;</b>
 
 &lt;/prov:document&gt;
 </pre>
@@ -925,10 +899,6 @@
 &lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasInformedBy" type="prov:Communication"/&gt;
 </pre>
 <pre class="example">
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;!-- based on Example 21 from http://www.w3.org/TR/prov-dm/#anexample-communication --&gt;
-
 &lt;prov:document xmlns:prov="http://www.w3.org/ns/prov#"&gt;
 
   &lt;prov:activity prov:id="a1"&gt;
@@ -939,10 +909,10 @@
     &lt;prov:type>fine paying, check writing, and mailing&lt;/prov:type&gt;
   &lt;/prov:activity&gt;
 
-  &lt;prov:wasInformedBy&gt;
+  <b>&lt;prov:wasInformedBy&gt;
     &lt;prov:informed prov:ref="a2"/&gt;
     &lt;prov:informant prov:ref="a1"/&gt;
-  &lt;/prov:wasInformedBy&gt;
+  &lt;/prov:wasInformedBy&gt;</b>
 
 &lt;/prov:document&gt;
 </pre>
@@ -973,11 +943,6 @@
 &lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasStartedBy" type="prov:Start"/&gt;
 </pre>
 <pre class="example">
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;!-- based on PROV-DM's Example 22 from http://www.w3.org/TR/prov-dm/#anexample-start1
-     see also http://www.w3.org/TR/prov-dm/#type_WasStartedBy --&gt;
-
 &lt;prov:document
     xmlns:prov="http://www.w3.org/ns/prov#"
     xmlns:ex="http://example.com/ns/ex#"&gt;
@@ -990,11 +955,11 @@
     &lt;prov:type&gt;Discuss&lt;/prov:type&gt;
   &lt;/prov:activity&gt;
 
-  &lt;prov:wasStartedBy&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;
+  &lt;/prov:wasStartedBy&gt;</b>
 
   &lt;prov:used&gt;
     &lt;prov:activity prov:ref="a1"/&gt;
@@ -1010,18 +975,18 @@
     &lt;prov:activity prov:ref="a0"/&gt;
   &lt;/prov:wasGeneratedBy&gt;
 
-  &lt;prov:wasStartedBy&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;
+  &lt;/prov:wasStartedBy&gt;</b>
 
-  &lt;prov:wasStartedBy&gt;
+  <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;
+  &lt;/prov:wasStartedBy&gt;</b>
 
 &lt;/prov:document&gt;
 </pre>
@@ -1052,11 +1017,6 @@
 &lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasEndedBy" ype="prov:End"/&gt;
 </pre>
 <pre class="example">
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;!-- based on PROV-DM's Example 25 from http://www.w3.org/TR/prov-dm/#term-End 
-     see also http://www.w3.org/TR/prov-dm/#type_WasEndedBy --&gt;
-
 &lt;prov:document
     xmlns:prov="http://www.w3.org/ns/prov#"
     xmlns:ex="http://example.com/ns/ex#"&gt;
@@ -1069,10 +1029,10 @@
     &lt;prov:type&gt;Editing&lt;/prov:type&gt;
   &lt;/prov:activity&gt;
 
-  &lt;prov:wasEndedBy&gt;
+  <b>&lt;prov:wasEndedBy&gt;
     &lt;prov:activity prov:ref="a1"/&gt;
     &lt;prov:trigger prov:ref="e1"/&gt;
-  &lt;/prov:wasEndedBy&gt;
+  &lt;/prov:wasEndedBy&gt;</b>
 
 &lt;/prov:document&gt;
 </pre>
@@ -1099,14 +1059,9 @@
 &lt;/xs:complexType&gt;
 </pre>
 <pre class="schema-usage">
-&lt;xs:element mlns:xs="http://www.w3.org/2001/XMLSchema" name="wasInvalidatedBy" type="prov:Invalidation"/&gt;
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasInvalidatedBy" type="prov:Invalidation"/&gt;
 </pre>
 <pre class="example">
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;!-- based on PROV-DM's Example 26 from http://www.w3.org/TR/prov-dm/#anexample-invalidation1
-     see also http://www.w3.org/TR/prov-dm/#type_WasInvalidatedBy --&gt;
-
 &lt;prov:document
     xmlns:prov="http://www.w3.org/ns/prov#"
     xmlns:ex="http://example.com/ns/ex#"
@@ -1123,12 +1078,12 @@
 
   &lt;prov:activity prov:id="ex:crash"/&gt;
 
-  &lt;prov:wasInvalidatedBy&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;
+  &lt;/prov:wasInvalidatedBy&gt;</b>
 
 &lt;/prov:document&gt;
 </pre>
@@ -1144,27 +1099,140 @@
 <section id="term-Derivation">
 <h4>Derivation</h4>
 <div class="glossary-ref" data-ref="glossary-derivation"></div>
-<div class="schema-type" data-name="prov:Derivation" data-include="schema/prov.xsd" data-oninclude="insertSchema_Derivation"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_wasDerivedFrom"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Derivation1.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-type">
+&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Derivation"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="generatedEntity" type="prov:EntityRef"/&gt;
+    &lt;xs:element name="usedEntity" type="prov:EntityRef"/&gt;
+    &lt;xs:element name="activity" type="prov:ActivityRef" minOccurs="0"/&gt;
+    &lt;xs:element name="generation" type="prov:GenerationRef" minOccurs="0"/&gt;
+    &lt;xs:element name="usage" type="prov:UsageRef" minOccurs="0"/&gt;
+    &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+      &lt;xs:element ref="prov:label"/&gt;
+      &lt;xs:element ref="prov:type"/&gt;
+      &lt;xs:any namespace="##other"/&gt;
+    &lt;/xs:choice&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasDerivedFrom" type="prov:Derivation"/&gt;
+</pre>
+<pre class="example">
+&lt;prov:document 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&gt;physical transform&lt;/prov:type&gt;
+  &lt;/prov:wasDerivedFrom&gt;</b>
+
+&lt;/prov:document&gt;
+</pre>
 </section> <!-- end term-Derivation -->
 
 <section id="term-Revision">
 <h3>Revision</h3>
 <div class="glossary-ref" data-ref="glossary-revision"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Revision.xml" data-oninclude="formatExample"></pre> -->
+<p>To specialize a Derivation relationship as a Revision relationship, include a <code>prov:type</code> with the value "prov:Revision".</p>
+<pre class="example">
+&lt;prov:document
+    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&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&gt;rec54:WD&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  &lt;prov:wasDerivedFrom&gt;
+    &lt;prov:generatedEntity prov:ref="tr:WD-prov-dm-20111215"/&gt;
+    &lt;prov:usedEntity prov:ref="tr:WD-prov-dm-20111018"/&gt;
+    <b>&lt;prov:type&gt;prov:Revision&lt;/prov:type&gt;</b>
+  &lt;/prov:wasDerivedFrom&gt;
+
+&lt;/prov:document&gt;
+</pre>
 </section>  <!-- end term-Revision -->
 
 <section id="term-Quotation">
 <h3>Quotation</h3>
 <div class="glossary-ref" data-ref="glossary-quotation"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Quotation.xml" data-oninclude="formatExample"></pre> -->
+<p>To specialize a Derivation relationship as a Quotation relationship, include a <code>prov:type</code> with the value "prov:Quotation".</p>
+<pre class="example">
+&lt;prov:document
+    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:agent prov:id="ex:Luc"/&gt;
+
+  &lt;prov:agent prov:id="ex:Paul"/&gt;
+
+  &lt;prov:wasDerivedFrom&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;
+    <b>&lt;prov:type&gt;prov:Quotation&lt;/prov:type&gt;</b>
+  &lt;/prov:wasDerivedFrom&gt;
+
+  &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>
 </section>  <!-- end term-Quotation -->
 
 <section id="term-Primary-Source">
 <h3>Primary Source</h3>
 <div class="glossary-ref" data-ref="glossary-primary-source"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/PrimarySource.xml" data-oninclude="formatExample"></pre> -->
+<p>To specialize a Derivation relationship as a Primary Source relationship, include a <code>prov:type</code> with the value "prov:PrimarySource".</p>
+<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:la-campagne-de-Russie-1812-1813"&gt;
+    &lt;prov:type&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&gt;journal&lt;/prov:type&gt;
+  &lt;/prov:entity&gt;
+
+  &lt;prov:wasDerivedFrom&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;
+    <b>&lt;prov:type&gt;prov:PrimarySource&lt;/prov:type&gt;</b>
+  &lt;/prov:wasDerivedFrom&gt;
+
+&lt;/prov:document&gt;
+</pre>
 </section>  <!-- end term-Primary-Source -->
 
 </section>  <!-- end component2 -->
@@ -1178,41 +1246,268 @@
 <section id="term-Agent">
 <h3>Agent</h3>
 <div class="glossary-ref" data-ref="glossary-agent"></div>
-<div class="schema-type" data-name="prov:Agent" data-include="schema/prov.xsd" data-oninclude="insertSchema_Agent"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_agent"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Agent.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-type">
+&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Agent"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+      &lt;xs:element ref="prov:location"/&gt;
+      &lt;xs:element ref="prov:label"/&gt;
+      &lt;xs:element ref="prov:type"/&gt;
+      &lt;xs:any namespace="##other"/&gt;
+    &lt;/xs:choice&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="agent" type="prov:Agent"/&gt;
+</pre>
+<pre class="example">
+&lt;prov:document
+    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&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>
 </section> <!-- end term-Agent -->
 
 <section id="term-Attribution">
 <h3>Attribution</h3>
 <div class="glossary-ref" data-ref="glossary-attribution"></div>
-<div class="schema-type" data-name="prov:Attribution" data-include="schema/prov.xsd" data-oninclude="insertSchema_Attribution"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_wasAttributedTo"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Attribution.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-type">
+&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Attribution"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="entity" type="prov:EntityRef"/&gt;
+    &lt;xs:element name="agent" type="prov:AgentRef"/&gt;
+    &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+      &lt;xs:element ref="prov:label"/&gt;
+      &lt;xs:element ref="prov:type"/&gt;
+      &lt;xs:any namespace="##other"/&gt;
+    &lt;/xs:choice&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasAttributedTo" type="prov:Attribution"/&gt;
+</pre>
+<pre class="example">
+&lt;prov:document
+    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:type>prov:Person&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:agent prov:id="ex:Simon"&gt;
+    &lt;prov:type>prov:Person&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:entity prov:id="tr:WD-prov-dm-20111215"&gt;
+    &lt;prov:type>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&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>authorship&lt;/prov:type&gt;
+  &lt;/prov:wasAttributedTo&gt;</b>
+
+&lt;/prov:document&gt;
+</pre>
 </section>  <!-- end term-Attribution -->
 
 <section id="term-Association">
 <h4>Association</h4>
 <div class="glossary-ref" data-ref="glossary-activityAssociation"></div>
-<div class="schema-type" data-name="prov:Association" data-include="schema/prov.xsd" data-oninclude="insertSchema_Association"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_wasAssociatedWith"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Association.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-type">
+&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Association"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="activity" type="prov:ActivityRef"/&gt;
+    &lt;xs:element name="agent" type="prov:AgentRef" minOccurs="0"/&gt;
+    &lt;xs:element name="plan" type="prov:EntityRef" minOccurs="0"/&gt;
+    &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+      &lt;xs:element ref="prov:role"/&gt;
+      &lt;xs:element ref="prov:label"/&gt;
+      &lt;xs:element ref="prov:type"/&gt;
+      &lt;xs:any namespace="##other"/&gt;
+    &lt;/xs:choice&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasAssociatedWith" type="prov:Association"/&gt;
+</pre>
+<pre class="example">
+&lt;prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:ex="http://example.com/ns/ex#"&gt;
+
+  &lt;prov:activity prov:id="a"&gt;
+    &lt;prov:type&gt;workflow execution&lt;/prov:type&gt;
+  &lt;/prov:activity&gt;
+
+  &lt;prov:agent prov:id="ag1"&gt;
+    &lt;prov:type&gt;operator&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:agent prov:id="ag2"&gt;
+    &lt;prov:type&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&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&gt;designer&lt;/prov:role&gt;
+    &lt;ex:content&gt;project1&lt;/ex:content&gt;
+  &lt;/prov:wasAssociatedWith&gt;</b>
+
+  &lt;prov:entity prov:id="ex:wf"&gt;
+    &lt;prov:type&gt;prov:Plan&lt;/prov:type&gt;
+    &lt;ex:label&gt;Workflow 1&lt;/ex:label&gt;
+    &lt;prov:location&gt;http://example.org/workflow1.bpel&lt;/prov:location&gt;
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;
+</pre>
 </section>  <!-- end term-Association -->
 
 <section id="term-Delegation">
 <h4>Delegation</h4>
 <div class="glossary-ref" data-ref="glossary-delegation"></div>
-<div class="schema-type" data-name="prov:Delegation" data-include="schema/prov.xsd" data-oninclude="insertSchema_Delegation"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_actedOnBehalfOf"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Delegation.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-type">
+&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Delegation"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="delegate" type="prov:AgentRef"/&gt;
+    &lt;xs:element name="responsible" type="prov:AgentRef"/&gt;
+    &lt;xs:element name="activity" type="prov:ActivityRef" minOccurs="0"/&gt;
+    &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+      &lt;xs:element ref="prov:label"/&gt;
+      &lt;xs:element ref="prov:type"/&gt;
+      &lt;xs:any namespace="##other"/&gt;
+    &lt;/xs:choice&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="actedOnBehalfOf" type="prov:Delegation"/&gt;
+</pre>
+<pre class="example">
+&lt;prov:document xmlns:prov="http://www.w3.org/ns/prov#"&gt;
+
+  &lt;prov:activity prov:id="a"&gt;
+    &lt;prov:type&gt;workflow&lt;/prov:type&gt;
+  &lt;/prov:activity&gt;
+
+  &lt;prov:agent prov:id="ag1"&gt;
+    &lt;prov:type&gt;programmer&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:agent prov:id="ag2"&gt;
+    &lt;prov:type&gt;researcher&lt;/prov:type&gt;
+  &lt;/prov:agent&gt;
+
+  &lt;prov:agent prov:id="ag3"&gt;
+    &lt;prov:type&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&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:wasAssociatedWithv
+
+  &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&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&gt;contract&lt;/prov:type&gt;
+  &lt;/prov:actedOnBehalfOf&gt;</b>
+
+&lt;/prov:document&gt;
+</pre>
 </section> <!-- end term-Delegation -->
 
 <section id="term-Influence">
 <h4>Influence</h4>
 <div class="glossary-ref" data-ref="glossary-influence"></div>
-<div class="schema-type" data-name="prov:Influence" data-include="schema/prov.xsd" data-oninclude="insertSchema_Influence"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_wasInfluencedBy"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Influence.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-type">
+&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Influence"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="influencee" type="prov:AnyRef"/&gt;
+    &lt;xs:element name="influencer" type="prov:AnyRef"/&gt;
+    &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+      &lt;xs:element ref="prov:label"/&gt;
+      &lt;xs:element ref="prov:type"/&gt;
+      &lt;xs:any namespace="##other"/&gt;
+    &lt;/xs:choice&gt;
+  &lt;/xs:sequence&gt;
+  &lt;xs:attribute ref="prov:id"/&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="wasInfluencedBy" type="prov:Influence"/&gt;
+</pre>
+<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>
 </section> <!-- end term-influence -->
 
 </section> <!-- end component3 -->
@@ -1228,25 +1523,145 @@
 <section id="term-Specialization">
 <h4>Specialization</h4>
 <div class="glossary-ref" data-ref="glossary-specialization"></div>
-<div class="schema-type" data-name="prov:Specialization" data-include="schema/prov.xsd" data-oninclude="insertSchema_Specialization"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_specializationOf"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Specialization.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-type">
+&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Specialization"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="specificEntity" type="prov:EntityRef"/&gt;
+    &lt;xs:element name="generalEntity" type="prov:EntityRef"/&gt;
+  &lt;/xs:sequence&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="specializationOf" type="prov:Specialization"/&gt;
+</pre>
+<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>
 </section> <!-- end term-Specialization -->
 
 <section id="term-Alternate">
 <h4>Alternate</h4>
 <div class="glossary-ref" data-ref="glossary-alternate"></div>
-<div class="schema-type" data-name="prov:Alternate" data-include="schema/prov.xsd" data-oninclude="insertSchema_Alternate"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_alternateOf"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Alternate_43.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-type">
+&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Alternate"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="alternate1" type="prov:EntityRef"/&gt;
+    &lt;xs:element name="alternate2" type="prov:EntityRef"/&gt;
+  &lt;/xs:sequence&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="alternateOf" type="prov:Alternate"/&gt;
+</pre>
+<pre class="example">
+&lt;prov:document
+    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&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&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>
 </section> <!-- end term-Alternate -->
 
 <section id="term-Mention">
 <h4>Mention</h4>
 <div class="glossary-ref" data-ref="glossary-mention"></div>
-<div class="schema-type" data-name="prov:Mention" data-include="schema/prov.xsd" data-oninclude="insertSchema_Mention"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_mentionOf"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Mention_45.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-type">
+&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Mention"&gt;
+  &lt;xs:sequence&gt;
+    &lt;xs:element name="specificEntity" type="prov:EntityRef"/&gt;
+    &lt;xs:element name="generalEntity" type="prov:EntityRef"/&gt;
+    &lt;xs:element name="bundle" type="prov:EntityRef"/&gt;
+  &lt;/xs:sequence&gt;
+&lt;/xs:complexType&gt;
+</pre>
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="mentionOf" type="prov:Mention"/&gt;
+</pre>
+<pre class="example">
+&lt;prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:ex="http://example.com/ns/ex#"
+    xmlns:perf="http://example.com/ns/perf#"
+    xmlns:tool="http://example.com/ns/tool#"&gt;
+
+  &lt;prov:bundle prov:id="ex:run1"&gt;
+    &lt;prov:activity prov:id="ex:a1"&gt;
+      &lt;prov:startTime&gt;2011-11-16T16:00:00&lt;/prov:startTime&gt;
+      &lt;prov:endTime&gt;2011-11-16T17:00:00&lt;/prov:endTime&gt;
+    &lt;/prov:activity&gt;
+
+    &lt;prov:wasAssociatedWith&gt;
+      &lt;prov:activity prov:ref="ex:a1" /&gt;
+      &lt;prov:agent prov:ref="ex:Bob" /&gt;
+      &lt;prov:role&gt;controller&lt;/prov:role&gt;
+    &lt;/prov:wasAssociatedWith&gt;
+  &lt;/prov:bundle&gt;
+
+  &lt;prov:bundle prov:id="ex:run2"&gt;
+    &lt;prov:activity prov:id="ex:a2"&gt;
+      &lt;prov:startTime&gt;2011-11-17T10:00:00&lt;/prov:startTime&gt;
+      &lt;prov:endTime&gt;2011-11-17T17:00:00&lt;/prov:endTime&gt;
+    &lt;/prov:activity&gt;
+
+    &lt;prov:wasAssociatedWith&gt;
+      &lt;prov:activity prov:ref="ex:a2" /&gt;
+      &lt;prov:agent prov:ref="ex:Bob" /&gt;
+      &lt;prov:role&gt;controller&lt;/prov:role&gt;
+    &lt;/prov:wasAssociatedWith&gt;
+  &lt;/prov:bundle&gt;
+
+  &lt;prov:bundle prov:id="tool:analysis01"&gt;
+    &lt;prov:agent prov:id="tool:Bob-2011-11-16"&gt;
+      &lt;ex:perfrating&gt;good&lt;/ex:perfrating&gt;
+    &lt;/prov:agent&gt;
+
+    <b>&lt;prov:mentionOf&gt;
+      &lt;prov:specificEntity prov:ref="tool:Bob-2011-11-16" /&gt;
+      &lt;prov:generalEntity prov:ref="ex:Bob" /&gt;
+      &lt;prov:bundle prov:ref="ex:run1" /&gt;
+    &lt;/prov:mentionOf&gt;</b>
+
+    &lt;prov:agent prov:id="tool:Bob-2011-11-17"&gt;
+      &lt;ex:perfrating&gt;bad&lt;/ex:perfrating&gt;
+    &lt;/prov:agent&gt;
+
+    <b>&lt;prov:mentionOf&gt;
+      &lt;prov:specificEntity prov:ref="tool:Bob-2011-11-17" /&gt;
+      &lt;prov:generalEntity prov:ref="ex:Bob" /&gt;
+      &lt;prov:bundle prov:ref="ex:run2" /&gt;
+    &lt;/prov:mentionOf&gt;</b>
+  &lt;/prov:bundle&gt;
+
+&lt;/prov:document&gt;
+</pre>
 </section> <!-- end term-Mention -->
 
 </section> <!-- end component5 -->
@@ -1260,26 +1675,22 @@
 <section id="term-Collection">
 <h3>Collection</h3>
 <div class="glossary-ref" data-ref="glossary-collection"></div>
+<p>To specialize an Entity as a Collection, include a <code>prov:type</code> with the value "prov:Collection".</p>
+<p>An EmptyCollection is asserted with the <code>prov:type</code> "prov:EmptyCollection" and denotes a Collection with no members.</p>
 <pre class="example">
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;!-- based on PROV-DM's Example 47 from http://www.w3.org/TR/prov-dm/#example_47 --&gt;
-
 &lt;prov:document
     xmlns:prov="http://www.w3.org/ns/prov#"
     xmlns:ex="http://example.com/ns/ex#"&gt;
 
   &lt;!-- c0 is an empty collection --&gt;
-  &lt;prov:entity prov:id="c0"&gt;
-    &lt;!-- prov:EmptyCollection denotes an empty collection. --&gt;
+  <b>&lt;prov:entity prov:id="c0"&gt;
     &lt;prov:type>prov:EmptyCollection&lt;/prov:type&gt;
-  &lt;/prov:entity&gt;
+  &lt;/prov:entity&gt;</b>
 
   &lt;!-- c1 is a collection, with unknown content --&gt;
-  &lt;prov:entity prov:id="c1"&gt;
-    &lt;!-- prov:Collection denotes an entity of type Collection, i.e. an entity that can participate in relations amongst collections --&gt;
+  <b>&lt;prov:entity prov:id="c1"&gt;
     &lt;prov:type&gt;prov:Collection&lt;/prov:type&gt;
-  &lt;/prov:entity&gt;
+  &lt;/prov:entity&gt;</b>
 
 &lt;/prov:document&gt;
 </pre>
@@ -1289,7 +1700,7 @@
 <h3>Membership</h3>
 <div class="glossary-ref" data-ref="glossary-membership"></div>
 <pre class="schema-type">
-&lt;xs:complexType name="Membership"&gt;
+&lt;xs:complexType xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Membership"&gt;
   &lt;xs:sequence&gt;
     &lt;xs:element name="collection"  type="prov:EntityRef"/&gt;
     &lt;xs:element name="entity"      type="prov:EntityRef" maxOccurs="unbounded"/&gt;
@@ -1300,10 +1711,6 @@
 &lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="hadMember" type="prov:Membership"/&gt;
 </pre>
 <pre class="example">
-&lt;?xml version="1.0" encoding="UTF-8"?&gt;
-
-&lt;!-- based on Example 48 from http://www.w3.org/TR/prov-dm/#example_48 --&gt;
-
 &lt;prov:document
     xmlns:prov="http://www.w3.org/ns/prov#"&gt;
 
@@ -1315,12 +1722,12 @@
     &lt;prov:type&gt;prov:Collection&lt;/prov:type&gt;
   &lt;/prov:entity&gt;
 
-  &lt;prov:hadMember&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>
+  &lt;/prov:hadMember></b>
 
 &lt;/prov:document&gt;
 </pre>
@@ -1335,41 +1742,157 @@
 
 <section id="attribute-Identifier">
 <h4>Identifier</h4>
+<div class="glossary-ref" data-ref="glossary-identifier"></div>
+<p>The identifier attribute is used to identify instances of PROV types or relations.</p>
+<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 <b>prov:id="tr:WD-prov-dm-20111215"</b>&gt;
+    &lt;prov:type&gt;document&lt;/prov:type&gt;
+    &lt;ex:version&gt;2&lt;/ex:version&gt;
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;
+</pre>
 </section> <!-- end attribute-Identifier --> 
 
 <section id="element-Label">
 <h4>Label</h4>
 <div class="glossary-ref" data-ref="glossary-label"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_label"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Label.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="label" type="prov:InternationalizedString"/&gt;
+</pre>
+<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>
 </section> <!-- end element-Label -->
 
 <section id="element-Location">
 <h4>Location</h4>
 <div class="glossary-ref" data-ref="glossary-location"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_location"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Location.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="location" type="xs:anySimpleType"/&gt;
+</pre>
+<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:MonaLisa"&gt;
+    &lt;prov:type&gt;StillImage&lt;/prov:type&gt;
+    <b>&lt;prov:location&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&gt;(5,5)&lt;/prov:location&gt;</b>
+    &lt;prov:value&gt;10&lt;/prov:value&gt;
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;
+</pre>
 </section> <!-- end element-Location -->
 
 <section id="element-Role">
 <h4>Role</h4>
 <div class="glossary-ref" data-ref="glossary-role"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_role"></div>
-<!-- <pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Role.xml" data-oninclude="formatExample"></pre> -->
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="role" type="xs:anySimpleType"/&gt;
+</pre>
+<pre class="example">
+&lt;prov:document
+    xmlns:prov="http://www.w3.org/ns/prov#"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    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&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&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>
 </section> <!-- end element-Role -->
 
 <section id="element-Type">
 <h4>Type</h4>
 <div class="glossary-ref" data-ref="glossary-type"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_type"></div>
-<!--<pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Type.xml" data-oninclude="formatExample"></pre>-->
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="type" type="xs:anySimpleType"/&gt;
+</pre>
+<pre class="example">
+&lt;prov:document
+    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&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&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&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>
 </section> <!-- end element-Type -->
 
 <section id="element-Value">
 <h4>Value</h4>
 <div class="glossary-ref" data-ref="glossary-value-attribute"></div>
-<div class="schema-usage" data-include="schema/prov.xsd" data-oninclude="insertSchema_value"></div>
-<!--<pre class="example" data-include="../examples/eg-40-xml-examples-by-term/xml/Value.xml" data-oninclude="formatExample"></pre>-->
+<pre class="schema-usage">
+&lt;xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="value" type="xs:anySimpleType"/&gt;
+</pre>
+<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:in"&gt;
+    <b>&lt;prov:value&gt;abcd&lt;/prov:value&gt;</b>
+  &lt;/prov:entity&gt;
+
+  &lt;prov:entity prov:id="ex:out"&gt;
+    <b>&lt;prov:value&gt;4&lt;/prov:value&gt;</b>
+  &lt;/prov:entity&gt;
+
+&lt;/prov:document&gt;
+</pre>
 </section> <!-- end element-Value -->
 
 </section> <!-- end further-elements -->
@@ -1388,7 +1911,7 @@
 <h3>Media Type</h3>
 
 <p>
-The media type of PROV-XML is <span class="name">application/prov+xml</span>???
+The internet media type / MIME type for PROV-XML is "<code style="color: black">application/provenance+xml</code>".
 </p>
 
 <div class="note">
@@ -1396,15 +1919,423 @@
 See <a href="http://www.w3.org/2002/06/registering-mediatype">http://www.w3.org/2002/06/registering-mediatype</a> for Register an Internet Media Type for a W3C Spec.</p>
 </div>
 
+<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 Machintosh HFS file systems be given a file type of "<code style="color: black">provx</code>" (all lowercase).
+</p>
+
+<div class="note">
+<p>
+Can Machintosh file types have 5 characters?  All examples I found are 4 characters.
+</p>
+</div>
+
 </section>
 
 
 
 
 
+<!-- Should this be folded or hid in some way until the user asks to see it? -->
 <section class="appendix"> 
       <h2>Full XML Schema</h2> 
-      <p><!-- <pre class='schema' data-include='schema/prov.xsd' data-oninclude='insertSchema'></pre>  --></p> 
+		<pre class="full-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#"
+           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;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:location"/&gt;
+        &lt;xs:element ref="prov:value"/&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:location"/&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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:EntityRef"/&gt;
+      &lt;xs:element name="activity" type="prov:ActivityRef" minOccurs="0"/&gt;
+      &lt;xs:element name="time"     type="xs:dateTime" minOccurs="0"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:location"/&gt;
+        &lt;xs:element ref="prov:role"/&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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:ActivityRef"/&gt;
+      &lt;xs:element name="entity"   type="prov:EntityRef" minOccurs="0"/&gt;
+      &lt;xs:element name="time"     type="xs:dateTime" minOccurs="0"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:location"/&gt;
+        &lt;xs:element ref="prov:role"/&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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:ActivityRef"/&gt;
+      &lt;xs:element name="informant" type="prov:ActivityRef"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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:ActivityRef"/&gt;
+      &lt;xs:element name="trigger"  type="prov:EntityRef" minOccurs="0"/&gt;
+      &lt;xs:element name="starter"  type="prov:ActivityRef" minOccurs="0"/&gt;
+      &lt;xs:element name="time"     type="xs:dateTime" minOccurs="0"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:location"/&gt;
+        &lt;xs:element ref="prov:role"/&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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:ActivityRef"/&gt;
+      &lt;xs:element name="trigger"  type="prov:EntityRef"  minOccurs="0"/&gt;
+      &lt;xs:element name="ender"    type="prov:ActivityRef" minOccurs="0"/&gt;
+      &lt;xs:element name="time"     type="xs:dateTime" minOccurs="0"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:location"/&gt;
+        &lt;xs:element ref="prov:role"/&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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:EntityRef"/&gt;
+      &lt;xs:element name="activity" type="prov:ActivityRef" minOccurs="0"/&gt;
+      &lt;xs:element name="time"     type="xs:dateTime" minOccurs="0"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:location"/&gt;
+        &lt;xs:element ref="prov:role"/&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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:EntityRef"/&gt;
+      &lt;xs:element name="usedEntity"       type="prov:EntityRef"/&gt;
+      &lt;xs:element name="activity"         type="prov:ActivityRef" minOccurs="0"/&gt;
+      &lt;xs:element name="generation"       type="prov:GenerationRef" minOccurs="0"/&gt;
+      &lt;xs:element name="usage"            type="prov:UsageRef" minOccurs="0"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;!-- Component 3 --&gt;
+
+  &lt;xs:complexType name="Agent"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:location"/&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Attribution"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:element name="entity" type="prov:EntityRef"/&gt;
+      &lt;xs:element name="agent"    type="prov:AgentRef"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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:ActivityRef"/&gt;
+      &lt;xs:element name="agent"    type="prov:AgentRef" minOccurs="0"/&gt;
+      &lt;xs:element name="plan"     type="prov:EntityRef" minOccurs="0"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:role"/&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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:AgentRef"/&gt;
+      &lt;xs:element name="responsible" type="prov:AgentRef"/&gt;
+      &lt;xs:element name="activity"    type="prov:ActivityRef" minOccurs="0"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&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:AnyRef"/&gt;
+      &lt;xs:element name="influencer"     type="prov:AnyRef"/&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:label"/&gt;
+        &lt;xs:element ref="prov:type"/&gt;
+        &lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;!-- Component 4 --&gt;
+
+  &lt;!-- Component 5 --&gt;
+
+  &lt;xs:complexType name="Specialization"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:element name="specificEntity"   type="prov:EntityRef"/&gt;
+      &lt;xs:element name="generalEntity"   type="prov:EntityRef"/&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:EntityRef"/&gt;
+      &lt;xs:element name="alternate2"   type="prov:EntityRef"/&gt;
+    &lt;/xs:sequence&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Mention"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:element name="specificEntity"   type="prov:EntityRef"/&gt;
+      &lt;xs:element name="generalEntity"     type="prov:EntityRef"/&gt;
+      &lt;xs:element name="bundle"            type="prov:EntityRef"/&gt;
+    &lt;/xs:sequence&gt;
+  &lt;/xs:complexType&gt;
+
+
+  &lt;!-- Component 6 --&gt;
+
+  &lt;xs:complexType name="Membership"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:element name="collection"          type="prov:EntityRef"/&gt;
+      &lt;xs:element name="entity"          type="prov:EntityRef" maxOccurs="unbounded"/&gt;
+    &lt;/xs:sequence&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;!-- See comment in preamble.
+       These should be prov:QualifiedName
+       but instead are xsd:QName for tools to process them --&gt;
+
+  &lt;xs:attribute name="id"  type="xs:QName"/&gt;
+  &lt;xs:attribute name="ref" type="xs:QName"/&gt;
+
+  &lt;xs:complexType name="ActivityRef"&gt;
+    &lt;xs:attribute ref="prov:ref" use="required" /&gt;
+  &lt;/xs:complexType&gt;
+  &lt;xs:complexType name="EntityRef"&gt;
+    &lt;xs:attribute ref="prov:ref" use="required"/&gt;
+  &lt;/xs:complexType&gt;
+  &lt;xs:complexType name="AgentRef"&gt;
+    &lt;xs:attribute ref="prov:ref" use="required"/&gt;
+  &lt;/xs:complexType&gt;
+  &lt;xs:complexType name="UsageRef"&gt;
+    &lt;xs:attribute ref="prov:ref" use="required"/&gt;
+  &lt;/xs:complexType&gt;
+  &lt;xs:complexType name="GenerationRef"&gt;
+    &lt;xs:attribute ref="prov:ref" use="required"/&gt;
+  &lt;/xs:complexType&gt;
+  &lt;xs:complexType name="AnyRef"&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;!-- Component 3 elements --&gt;
+
+  &lt;xs:element name="agent"                type="prov:Agent"/&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="specializationOf"     type="prov:Specialization"/&gt;
+  &lt;xs:element name="alternateOf"          type="prov:Alternate"/&gt;
+  &lt;xs:element name="mentionOf"            type="prov:Mention"/&gt;
+
+  &lt;!-- Component 6 elements --&gt;
+
+  &lt;xs:element name="hadMember"            type="prov:Membership"/&gt;
+
+  &lt;xs:group name="documentElements"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:choice minOccurs="0" maxOccurs="unbounded"&gt;
+        &lt;xs:element ref="prov:entity"/&gt;
+        &lt;xs:element ref="prov:activity"/&gt;
+        &lt;xs:element ref="prov:wasGeneratedBy"/&gt;
+        &lt;xs:element ref="prov:used"/&gt;
+        &lt;xs:element ref="prov:wasInformedBy"/&gt;
+        &lt;xs:element ref="prov:wasStartedBy"/&gt;
+        &lt;xs:element ref="prov:wasEndedBy"/&gt;
+        &lt;xs:element ref="prov:wasInvalidatedBy"/&gt;
+        &lt;xs:element ref="prov:wasDerivedFrom"/&gt;
+        &lt;xs:element ref="prov:agent"/&gt;
+        &lt;xs:element ref="prov:wasAttributedTo"/&gt;
+        &lt;xs:element ref="prov:wasAssociatedWith"/&gt;
+        &lt;xs:element ref="prov:actedOnBehalfOf"/&gt;
+        &lt;xs:element ref="prov:wasInfluencedBy"/&gt;
+        &lt;xs:element ref="prov:specializationOf"/&gt;
+        &lt;xs:element ref="prov:alternateOf"/&gt;
+        &lt;xs:element ref="prov:mentionOf"/&gt;
+        &lt;xs:element ref="prov:hadMember"/&gt;
+		&lt;xs:any namespace="##other"/&gt;
+      &lt;/xs:choice&gt;
+    &lt;/xs:sequence&gt;
+  &lt;/xs:group&gt;
+
+  &lt;xs:element name="document" type="prov:Document" /&gt;
+  &lt;xs:complexType name="Document"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:choice maxOccurs="unbounded"&gt;
+        &lt;xs:group ref="prov:documentElements"/&gt;
+        &lt;xs:element name="bundle" type="prov:Bundle"/&gt;
+      &lt;/xs:choice&gt;
+    &lt;/xs:sequence&gt;
+  &lt;/xs:complexType&gt;
+
+  &lt;xs:complexType name="Bundle"&gt;
+    &lt;xs:sequence&gt;
+      &lt;xs:group ref="prov:documentElements"/&gt;
+    &lt;/xs:sequence&gt;
+    &lt;xs:attribute ref="prov:id"/&gt;
+  &lt;/xs:complexType&gt;
+
+&lt;/xs:schema&gt;
+		</pre>
     </section> 
 
 <section class="appendix">