updated diffs
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Tue, 17 Apr 2012 09:36:19 +0100
changeset 2338 66bf5af55ca2
parent 2337 9723298e6c3d
child 2339 25815f213936
updated diffs
model/diff.html
model/diff/Makefile
model/diff/README.md
model/diff/htmldiff
--- a/model/diff.html	Tue Apr 17 09:30:56 2012 +0100
+++ b/model/diff.html	Tue Apr 17 09:36:19 2012 +0100
@@ -1,6 +1,9 @@
-<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
-<html lang="en" dir="ltr">
-<head><style type="text/css"><!--
+
+
+<!DOCTYPE html
+>
+
+<html><head><style type="text/css"><!--
 
 .insert { background-color: #aaffaa }
 .delete { background-color: #ff8888; text-decoration: line-through }
@@ -25,7 +28,7 @@
     
 
      
-  <style type="text/css">
+  <span class="delete">
 /*****************************************************************
  * ReSpec CSS
  * Robin Berjon (robin at berjon dot com)
@@ -34,8 +37,10 @@
 
 
 /* --- INLINES --- */
-em.rfc2119 { 
-    text-transform:     lowercase;
+em.rfc2119 {</span>
+
+    <script src="http://dev.w3.org/2009/dap/ReSpec.js/js/respec.js" class="remove"></script> 
+    <span class="delete">text-transform:     lowercase;
     font-variant:       small-caps;
     font-style:         normal;
     color:              #900;
@@ -490,24 +495,208 @@
 pre.sh_sourceCode .sh_paren { color: red; }
 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-DM: The PROV Data Model</h1><h2 id="subtitle"><span class="delete">WD5 for</span><span class="insert">WD5, being updated following</span> internal review</h2><h2 id="w3c-editor-s-draft-16-april-2012"><acronym title="World Wide Web Consortium">W3C</acronym> Editor's Draft <span class="delete">02</span><span class="insert">16</span> April 2012</h2><dl><dt>This version:</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>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><a href="http://www.w3.org/TR/2012/WD-prov-dm-20120202/">http://www.w3.org/TR/2012/WD-prov-dm-20120202/</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><span class="insert">Reza B'Far</span></span><span class="insert">, Oracle Corporation</span></dd>
-<dd><span>Stephen Cresswell</span>, legislation.gov.uk</dd>
-<dd><a href="http://www.isi.edu/~gil/">Yolanda Gil</a>, Invited Expert</dd>
-<dd><span class="delete">Reza B'Far</span><span class="delete">, Oracle Corporation</span>
-<a href="http://www.few.vu.nl/~pgroth/">Paul Groth</a>, VU University of Amsterdam</dd>
-<dd><span>Graham Klyne</span>, University of Oxford</dd>
-<dd><a href="http://tw.rpi.edu/web/person/JamesMcCusker">Jim McCusker</a>, Rensselaer Polytechnic Institute</dd>
-<dd><a href="http://www.inf.kcl.ac.uk/staff/simonm/">Simon Miles</a>, Invited Expert</dd>
-<dd><a href="http://www.rpi.edu/research/ccni/">James Myers</a>, Rensselaer Polytechnic Institute</dd>
-<dd><a href="http://cci.case.edu/cci/index.php/Satya_Sahoo">Satya Sahoo</a>, Case Western Reserve University</dd>
-<dd><span><span class="insert">Curt Tilmes</span></span><span class="insert">, National Aeronautics and Space Administration</span></dd>
-</dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 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>
+</span><script src="http://www.w3.org/2007/OWL/toggles.js" class="remove"></script> 
+    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" class="remove"></script>
+
+    <script src="glossary.js" class="remove"></script>
+
+    <script class="remove">
+      function updateGlossaryRefs() {
+        $('.glossary-ref').each(function(index) {
+          var ref=$(this).attr('data-ref');
+          var span=$(this).attr('data-withspan')
+          $(this).removeAttr('data-withspan');
+          $(this).removeAttr('data-ref');
+
+          $('#'+ref+'.glossary').contents().clone().appendTo($(this));
+          $(this).attr("prov:hadOriginalSource",glossary_hg);
+          if (span) {
+            $(this).children('dfn').replaceWith(function(){return $('<span>').addClass('dfn').append($(this).contents())});
+          }
+        });
+      }
+      $(document).ready(function(){
+        // if glossary is in a string:
+        $('#glossary_div').html(glossary_string)
+        updateGlossaryRefs();
+      });
+
+    </script>
+
+    <script class="remove"> 
+      var addExtraReferences = function() {
+          for (var k in extraReferences)
+              berjon.biblio[k] = extraReferences[k];
+      };
+      var extraReferences = {
+        "CLOCK":
+         "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.",
+        "CSP":
+         "Hoare, C. A. R. "+
+         "<a href=\"http://www.usingcsp.com/cspbook.pdf\"><cite>Communicating Sequential Processes</cite></a>."+
+         "Prentice-Hall. 1985"+
+         "URL: <a href=\"http://www.usingcsp.com/cspbook.pdf\">http://www.usingcsp.com/cspbook.pdf</a>",
+        "Logic":
+          "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>",
+        "PROV-SEM":
+          "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>",
+
+        "PROV-PRIMER":
+          "Yolanda Gil and Simon Miles (eds.) Khalid Belhajjame, Helena Deus, Daniel Garijo, Graham Klyne, Paolo Missier, Stian Soiland-Reyes, and Stephan Zednik "+
+          "<a href=\"http://www.w3.org/TR/prov-primer/\"><cite>Prov Model Primer</cite></a>. "+
+          "2011, Working Draft. "+
+          "URL: <a href=\"http://www.w3.org/TR/prov-primer/\">http://www.w3.org/TR/prov-primer/</a>",
+
+        "PROV-O":
+          "Satya Sahoo and Deborah McGuinness (eds.) Khalid Belhajjame, James Cheney, Daniel Garijo, Timothy Lebo, 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>",
+
+
+        "PROV-DM":
+          "Luc Moreau and Paolo Missier (eds.) ... "+
+          "<a href=\"http://www.w3.org/TR/prov-dm/\"><cite>PART 1: PROV-DM ...</cite></a>. "+
+          "2011, Working Draft. "+
+          "URL: <a href=\"http://www.w3.org/TR/prov-dm/\">http://www.w3.org/TR/prov-dm/</a>",
+
+
+        "PROV-DM-CONSTRAINTS":
+          "Luc Moreau and Paolo Missier (eds.) ... "+
+          "<a href=\"http://www.w3.org/TR/prov-dm-constraints/\"><cite>PROV-DM Constraints</cite></a>. "+
+          "2011, Working Draft. "+
+          "URL: <a href=\"http://www.w3.org/TR/prov-dm-constraints/\">http://www.w3.org/TR/prov-dm-constraints/</a>",
+
+        "PROV-N":
+          "Luc Moreau and Paolo Missier (eds.) ... "+
+          "<a href=\"http://www.w3.org/TR/prov-n/\"><cite>PROV-N ....</cite></a>. "+
+          "2011, Working Draft. "+
+          "URL: <a href=\"http://www.w3.org/TR/prov-n/\">http://www.w3.org/TR/prov-n/</a>",
+
+        "PROV-AQ":
+          "Graham Klyne and Paul Groth (eds.) Luc Moreau, Olaf Hartig, Yogesh Simmhan, James Meyers, Timothy Lebo, Khalid Belhajjame, and Simon Miles "+
+          "<a href=\"http://www.w3.org/TR/prov-aq/\"><cite>Provenance Access and Query</cite></a>. "+
+          "2011, Working Draft. "+
+          "URL: <a href=\"http://www.w3.org/TR/prov-aq/\">http://www.w3.org/TR/prov-aq/</a>",
+      };
+      var respecConfig = {
+          // specification status (e.g. WD, LCWD, NOTE, etc.). If in doubt use ED.
+          specStatus:           "ED",
+          
+          // the specification's short name, as in http://www.w3.org/TR/short-name/
+          shortName:            "prov-dm",
+ 
+          // if your specification has a subtitle that goes below the main
+          // formal title, define it here
+          subtitle   :  "WD5, being updated following internal review",
+
+ 
+          // if you wish the publication date to be other than today, set this
+          // publishDate:  "2011-10-18",
+ 
+          // if the specification's copyright date is a range of years, specify
+          // the start date here:
+          // copyrightStart: "2005"
+ 
+          // if there is a previously published draft, uncomment this and set its YYYY-MM-DD date
+          // and its maturity status
+          previousPublishDate:  "2012-02-02",
+          previousMaturity:  "WD",
+ 
+          // if there a publicly available Editor's Draft, this is the link
+          edDraftURI:           "http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html",
+ 
+          // if this is a LCWD, uncomment and set the end of its review period
+          // lcEnd: "2009-08-05",
+ 
+          // if you want to have extra CSS, append them to this list
+          // it is recommended that the respec.css stylesheet be kept
+          extraCSS:             ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css", "./extra.css"],
+ 
+          // editors, add as many as you like
+          // only "name" is required
+          editors:  [
+              { name: "Luc Moreau", url: "http://www.ecs.soton.ac.uk/~lavm/",
+                company: "University of Southampton" },
+              { name: "Paolo Missier", url: "http://www.cs.ncl.ac.uk/people/Paolo.Missier",
+                company: "Newcastle University" },
+          ],
+ 
+          // authors, add as many as you like. 
+          // This is optional, uncomment if you have authors as well as editors.
+          // only "name" is required. Same format as editors.
+ 
+          authors:  [
+              { name: "Khalid Belhajjame", url: "http://semanticweb.org/wiki/Khalid_Belhajjame",
+                company: "University of Manchester" },
+              { name: "Reza B'Far",
+                company: "Oracle Corporation" },
+              { name: "Stephen Cresswell",
+                company: "legislation.gov.uk"},
+              { name: "Yolanda Gil",
+                company: "Invited Expert", url:"http://www.isi.edu/~gil/"},
+              { name: "Paul Groth", url: "http://www.few.vu.nl/~pgroth/",
+                company: "VU University of Amsterdam" },
+              { name: "Graham Klyne",
+                company: "University of Oxford" },
+              { name: "Jim McCusker", url: "http://tw.rpi.edu/web/person/JamesMcCusker",
+                company: "Rensselaer Polytechnic Institute" },
+              { name: "Simon Miles", 
+                company: "Invited Expert", url:"http://www.inf.kcl.ac.uk/staff/simonm/" },
+              { name: "James Myers", url:"http://www.rpi.edu/research/ccni/",
+                company: "Rensselaer Polytechnic Institute"},
+              { name: "Satya Sahoo", url:"http://cci.case.edu/cci/index.php/Satya_Sahoo",
+                company: "Case Western Reserve University" },
+              { name: "Curt Tilmes", 
+                company: "National Aeronautics and Space Administration" },
+          ],
+          
+          // name of the WG
+          wg:           "Provenance Working Group",
+          
+          // URI of the public WG page
+          wgURI:        "http://www.w3.org/2011/prov/",
+          
+          // name (with the @w3c.org) of the public mailing to which comments are due
+          wgPublicList: "public-prov-wg",
+          
+          // URI of the patent status for this WG, for Rec-track documents
+          // !!!! IMPORTANT !!!!
+          // This is important for Rec-track documents, do not copy a patent URI from a random
+          // document unless you know what you're doing. If in doubt ask your friendly neighbourhood
+          // Team Contact.
+          wgPatentURI:  "http://www.w3.org/2004/01/pp-impl/46974/status",
+
+          // Add extraReferences to bibliography database
+          preProcess: [addExtraReferences],
+      };
+    </script> 
+  </head> 
+  <span class="delete">PROV-DM: The PROV Data Model</span><span class="delete">WD5 for internal review</span><span class="delete">W3C</span><span class="delete"> Editor's Draft 02 April 2012</span><span class="delete">This version:</span><span class="delete">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html</span><span class="delete">Latest published version:</span><span class="delete">http://www.w3.org/TR/prov-dm/</span><span class="delete">Latest editor's draft:</span><span class="delete">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-dm.html</span><span class="delete">Previous version:</span><span class="delete">http://www.w3.org/TR/2012/WD-prov-dm-20120202/</span><span class="delete">Editors:</span><span class="delete">Luc Moreau</span><span class="delete">, University of Southampton</span>
+<span class="delete">Paolo Missier</span><span class="delete">, Newcastle University</span>
+<span class="delete">Contributors:</span><span class="delete">Khalid Belhajjame</span><span class="delete">, University of Manchester</span>
+<span class="delete">Stephen Cresswell</span><span class="delete">, legislation.gov.uk</span>
+<span class="delete">Yolanda Gil</span><span class="delete">, Invited Expert</span>
+<span class="delete">Reza B'Far</span><span class="delete">, Oracle Corporation</span>
+<span class="delete">Paul Groth</span><span class="delete">, VU University of Amsterdam</span>
+<span class="delete">Graham Klyne</span><span class="delete">, University of Oxford</span>
+<span class="delete">Jim McCusker</span><span class="delete">, Rensselaer Polytechnic Institute</span>
+<span class="delete">Simon Miles</span><span class="delete">, Invited Expert</span>
+<span class="delete">James Myers</span><span class="delete">, Rensselaer Polytechnic Institute</span>
+<span class="delete">Satya Sahoo</span><span class="delete">, Case Western Reserve University</span>
+<span class="delete">Copyright</span><span class="delete"> © 2012 </span><span class="delete">W3C</span><span class="delete">®</span><span class="delete"> (</span><span class="delete">MIT</span><span class="delete">, </span><span class="delete">ERCIM</span><span class="delete">, </span><span class="delete">Keio</span><span class="delete">), All Rights Reserved. </span><span class="delete">W3C</span> <span class="delete">liability</span><span class="delete">, </span><span class="delete">trademark</span><span class="delete"> and </span><span class="delete">document use</span><span class="delete"> rules apply.</span><body> 
+
+    <span class="delete">Abstract</span><section id="abstract">
 <p>
 PROV-DM, the PROV data model, is a data model for provenance that describes
 the entities, people and activities involved in
@@ -538,8 +727,11 @@
 details of </span><span class="insert">in
 </span>this<span class="delete"> notation are also kept in a separate</span> document. </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="prov-family-of-specifications">PROV Family of Specifications</h4>
+    <span class="delete">Status of This Document</span><span class="delete">This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current </span><span class="delete">W3C</span><span class="delete"> publications and the latest revision of this technical report can be found in the </span><span class="delete">W3C</span><span class="delete"> technical reports index</span><span class="delete"> at http://www.w3.org/TR/.</span>
+</section> 
+
+<section id="sotd">
+<h4>PROV Family of Specifications</h4>
 This document is part of the PROV family of specifications, a set of specifications <span class="delete">aiming to define the</span><span class="insert">defining</span> 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 <span class="delete">are as follows.</span><span class="insert">are:</span>
 <ul>
@@ -552,7 +744,7 @@
 <li> PROV-SEM, a formal semantics<span class="insert"> for the PROV data model;</span></li>
 <li><span class="insert"> PROV-XML, an XML schema</span> for the PROV data model.</li>
 </ul>
-<h4 id="how-to-read-the-prov-family-of-specifications"><span class="insert">How to read the PROV Family of Specifications</span></h4>
+<h4><span class="insert">How to read the PROV Family of Specifications</span></h4>
 <ul>
 <li><span class="delete"> PROV-XML,</span><span class="insert">The primer is the entry point to PROV offering</span> an <span class="delete">XML schema for the PROV data</span><span class="insert">introduction to the provenance</span> model.</li>
 
@@ -567,28 +759,39 @@
 </ul>
 
 
-<h4 id="fourth-public-working-draft">Fourth Public Working Draft</h4>
+<h4>Fourth Public Working Draft</h4>
 <p>This is the fourth public release of the PROV-DM document. Following feedback, the Working Group has decided to reorganize this document substantially, separating the data <span class="delete">model,</span><span class="insert">model</span> from its <span class="delete">contraints,</span><span class="insert">contraints</span> and the notation used to illustrate it. The PROV-DM release is synchronized with the release of the PROV-O, PROV-PRIMER, PROV-N, <span class="insert">and </span>PROV-DM-CONSTRAINTS documents. We are now <span class="delete">making clear what</span><span class="insert">clarifying</span> the entry path to the PROV family of <span class="delete">specifications is.</span><span class="insert">specifications.</span></p>
-<p>This document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as an Editor's Draft. If you wish to make comments regarding this document, please send them to <a href="mailto:public-prov-wg@w3.org">public-prov-wg@w3.org</a> (<a href="mailto:public-prov-wg-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-prov-wg/">archives</a>). All feedback is welcome.</p><p>Publication as an Editor's 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>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="#structure-of-this-document" class="tocxref"><span class="secno">1.1 </span>Structure of this Document</a></li><li class="tocline"><a href="#conventions" class="tocxref"><span class="secno">1.2 </span><span class="delete">PROV Namespace</span><span class="delete">1.3 </span><span class="insert">Notational </span>Conventions</a></li></ul></li><li class="tocline"><a href="#starting-points" class="tocxref"><span class="secno">2. </span><span class="delete">PROV-DM</span><span class="insert">PROV</span> Starting Points</a><ul class="toc"><li class="tocline"><a href="#section-entity-activity" class="tocxref"><span class="secno">2.1 </span>Entity and Activity</a></li><li class="tocline"><a href="#section-generation-usage-derivation" class="tocxref"><span class="secno">2.2 </span>Generation, Usage, Derivation</a></li><li class="tocline"><a href="#section-agents-attribution-association-responsibility" class="tocxref"><span class="secno"><span class="insert">2.3 </span></span><span class="insert">Agents, Attribution, Association, and Responsibility</span></a></li><li class="tocline"><a href="#section-types-entities-agents" class="tocxref"><span class="secno"><span class="delete">2.3 </span><span class="delete">Agents</span><span class="insert">2.4 </span></span><span class="insert">Further Entities: Collections</span> and <span class="delete">Other Types of Entities</span><span class="delete">2.4 </span><span class="delete">Attribution, Association, and Responsibility</span><span class="insert">Accounts</span></a></li><li class="tocline"><a href="#section-UML" class="tocxref"><span class="secno">2.5 </span>Simplified Overview Diagram</a></li><li class="tocline"><a href="#prov-n" class="tocxref"><span class="secno">2.6 </span>PROV-N: The Provenance Notation</a></li></ul></li><li class="tocline"><a href="#prov-dm-example" class="tocxref"><span class="secno">3. </span>Illustration of PROV-DM by an Example</a><ul class="toc"><li class="tocline"><a href="#section-example-one" class="tocxref"><span class="secno">3.1 </span>The <span class="delete">Process</span><span class="insert">Authors</span> View</a></li><li class="tocline"><a href="#section-example-two" class="tocxref"><span class="secno">3.2 </span>The <span class="delete">Authors</span><span class="insert">Process</span> View</a></li><li class="tocline"><a href="#section-example-c" class="tocxref"><span class="secno">3.3 </span>Attribution of Provenance</a></li></ul></li><li class="tocline"><a href="#data-model-components" class="tocxref"><span class="secno">4. </span>PROV-DM Types and Relations</a><ul class="toc"><li class="tocline"><a href="#component1" class="tocxref"><span class="secno">4.1 </span>Component 1: Entities and Activities</a><ul class="toc"><li class="tocline"><a href="#term-Entity" class="tocxref"><span class="secno">4.1.1 </span>Entity</a></li><li class="tocline"><a href="#term-Activity" class="tocxref"><span class="secno">4.1.2 </span>Activity</a></li><li class="tocline"><a href="#term-Generation" class="tocxref"><span class="secno">4.1.3 </span>Generation</a></li><li class="tocline"><a href="#term-Usage" class="tocxref"><span class="secno">4.1.4 </span>Usage</a></li><li class="tocline"><a href="#term-Start" class="tocxref"><span class="secno">4.1.5 </span>Start</a></li><li class="tocline"><a href="#term-End" class="tocxref"><span class="secno">4.1.6 </span>End</a></li><li class="tocline"><a href="#term-wasInformedBy" class="tocxref"><span class="secno">4.1.7 </span>Communication</a></li><li class="tocline"><a href="#term-wasStartedByActivity" class="tocxref"><span class="secno">4.1.8 </span>Start by Activity</a></li></ul></li><li class="tocline"><a href="#component2" class="tocxref"><span class="secno">4.2 </span>Component 2: Agents and Responsibility</a><ul class="toc"><li class="tocline"><a href="#term-Agent" class="tocxref"><span class="secno">4.2.1 </span>Agent</a></li><li class="tocline"><a href="#term-attribution" class="tocxref"><span class="secno">4.2.2 </span>Attribution</a></li><li class="tocline"><a href="#term-ActivityAssociation" class="tocxref"><span class="secno">4.2.3 </span>Association</a></li><li class="tocline"><a href="#term-responsibility" class="tocxref"><span class="secno">4.2.4 </span>Responsibility</a></li></ul></li><li class="tocline"><a href="#component3" class="tocxref"><span class="secno">4.3 </span>Component 3: Derivations</a><ul class="toc"><li class="tocline"><a href="#Derivation-Relation" class="tocxref"><span class="secno">4.3.1 </span>Derivation</a></li><li class="tocline"><a href="#term-Revision" class="tocxref"><span class="secno">4.3.2 </span>Revision</a></li><li class="tocline"><a href="#term-quotation" class="tocxref"><span class="secno">4.3.3 </span>Quotation</a></li><li class="tocline"><a href="#term-original-source" class="tocxref"><span class="secno">4.3.4 </span>Original Source</a></li><li class="tocline"><a href="#term-traceability" class="tocxref"><span class="secno">4.3.5 </span>Traceability</a></li></ul></li><li class="tocline"><a href="#component4" class="tocxref"><span class="secno">4.4 </span>Component 4: Alternate Entities</a><ul class="toc"><li class="tocline"><a href="#term-specialization" class="tocxref"><span class="secno">4.4.1 </span>Specialization</a></li><li class="tocline"><a href="#term-alternate" class="tocxref"><span class="secno">4.4.2 </span>Alternate</a></li></ul></li><li class="tocline"><a href="#component5" class="tocxref"><span class="secno">4.5 </span>Component 5: Collections</a><ul class="toc"><li class="tocline"><a href="#term-collection" class="tocxref"><span class="secno">4.5.1 </span>Collection</a></li><li class="tocline"><a href="#term-collection-insertion" class="tocxref"><span class="secno">4.5.2 </span>Insertion</a></li><li class="tocline"><a href="#term-collection-removal" class="tocxref"><span class="secno">4.5.3 </span>Removal</a></li><li class="tocline"><a href="#term-collection-membership" class="tocxref"><span class="secno">4.5.4 </span>Membership</a></li></ul></li><li class="tocline"><a href="#component6" class="tocxref"><span class="secno">4.6 </span>Component 6: Annotations</a><ul class="toc"><li class="tocline"><a href="#term-note" class="tocxref"><span class="secno">4.6.1 </span>Note</a></li><li class="tocline"><a href="#term-annotation" class="tocxref"><span class="secno">4.6.2 </span>Annotation</a></li></ul></li><li class="tocline"><a href="#second-class-elements" class="tocxref"><span class="secno">4.7 </span>Further Elements of PROV-DM</a><ul class="toc"><li class="tocline"><a href="#term-NamespaceDeclaration" class="tocxref"><span class="secno">4.7.1 </span>Namespace Declaration</a></li><li class="tocline"><a href="#term-qualified-name" class="tocxref"><span class="secno">4.7.2 </span>Qualified Name</a></li><li class="tocline"><a href="#term-identifier" class="tocxref"><span class="secno">4.7.3 </span>Identifier</a></li><li class="tocline"><a href="#term-attribute" class="tocxref"><span class="secno">4.7.4 </span>Attribute</a><ul class="toc"><li class="tocline"><a href="#term-attribute-label" class="tocxref"><span class="secno">4.7.4.1 </span>prov:label</a></li><li class="tocline"><a href="#term-attribute-location" class="tocxref"><span class="secno">4.7.4.2 </span>prov:location</a></li><li class="tocline"><a href="#term-attribute-role" class="tocxref"><span class="secno">4.7.4.3 </span>prov:role</a></li><li class="tocline"><a href="#term-attribute-type" class="tocxref"><span class="secno">4.7.4.4 </span>prov:type</a></li></ul></li><li class="tocline"><a href="#term-value" class="tocxref"><span class="secno">4.7.5 </span>Value</a></li></ul></li></ul></li><li class="tocline"><a href="#extensibility-section" class="tocxref"><span class="secno">5. </span>PROV-DM Extensibility Points</a></li><li class="tocline"><a href="#FurtherConsiderations" class="tocxref"><span class="secno">6. </span>Towards a Refinement of the PROV Data Model</a></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno">A. </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">B. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">B.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">B.2 </span>Informative references</a></li></ul></li></ul></div> 
-
-
-
-
-
-
-
-
-
-
-
-
-    <div id="introduction" class="section"> 
-      <h2><span class="secno">1. </span>Introduction<br>
+<span class="delete">This document was published by the </span><span class="delete">Provenance Working Group</span><span class="delete"> as an Editor's Draft. If you wish to make comments regarding this document, please send them to </span><span class="delete">public-prov-wg@w3.org</span><span class="delete"> (</span><span class="delete">subscribe</span><span class="delete">, </span><span class="delete">archives</span><span class="delete">). All feedback is welcome.</span><span class="delete">Publication as an Editor's Draft does not imply endorsement by the </span><span class="delete">W3C</span><span class="delete"> 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><span class="delete">This document was produced by a group operating under the </span><span class="delete">5 February 2004 </span><span class="delete">W3C</span><span class="delete"> Patent Policy</span><span class="delete">. </span><span class="delete">W3C</span><span class="delete"> maintains a </span><span class="delete">public list of any patent disclosures</span><span class="delete"> 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 </span><span class="delete">Essential Claim(s)</span><span class="delete"> must disclose the information in accordance with </span><span class="delete">section 6 of the </span><span class="delete">W3C</span><span class="delete"> Patent Policy</span><span class="delete">.</span><span class="delete">Table of Contents</span><span class="delete">1. </span><span class="delete">Introduction</span>
+<span class="delete">1.1 </span><span class="delete">Structure of this Document</span><span class="delete">1.2 </span><span class="delete">PROV Namespace</span><span class="delete">1.3 </span><span class="delete">Conventions</span><span class="delete">2. </span><span class="delete">PROV-DM Starting Points</span><span class="delete">2.1 </span><span class="delete">Entity and Activity</span><span class="delete">2.2 </span><span class="delete">Generation, Usage, Derivation</span><span class="delete">2.3 </span><span class="delete">Agents and Other Types of Entities</span><span class="delete">2.4 </span><span class="delete">Attribution, Association, and Responsibility</span><span class="delete">2.5 </span><span class="delete">Simplified Overview Diagram</span><span class="delete">2.6 </span><span class="delete">PROV-N: The Provenance Notation</span><span class="delete">3. </span><span class="delete">Illustration of PROV-DM by an Example</span><span class="delete">3.1 </span><span class="delete">The Process View</span><span class="delete">3.2 </span><span class="delete">The Authors View</span><span class="delete">3.3 </span><span class="delete">Attribution of Provenance</span><span class="delete">4. </span><span class="delete">PROV-DM Types and Relations</span><span class="delete">4.1 </span><span class="delete">Component 1: Entities and Activities</span><span class="delete">4.1.1 </span><span class="delete">Entity</span><span class="delete">4.1.2 </span><span class="delete">Activity</span><span class="delete">4.1.3 </span><span class="delete">Generation</span><span class="delete">4.1.4 </span><span class="delete">Usage</span><span class="delete">4.1.5 </span><span class="delete">Start</span><span class="delete">4.1.6 </span><span class="delete">End</span><span class="delete">4.1.7 </span><span class="delete">Communication</span><span class="delete">4.1.8 </span><span class="delete">Start by Activity</span><span class="delete">4.2 </span><span class="delete">Component 2: Agents and Responsibility</span><span class="delete">4.2.1 </span><span class="delete">Agent</span><span class="delete">4.2.2 </span><span class="delete">Attribution</span><span class="delete">4.2.3 </span><span class="delete">Association</span><span class="delete">4.2.4 </span><span class="delete">Responsibility</span><span class="delete">4.3 </span><span class="delete">Component 3: Derivations</span><span class="delete">4.3.1 </span><span class="delete">Derivation</span><span class="delete">4.3.2 </span><span class="delete">Revision</span><span class="delete">4.3.3 </span><span class="delete">Quotation</span><span class="delete">4.3.4 </span><span class="delete">Original Source</span><span class="delete">4.3.5 </span><span class="delete">Traceability</span><span class="delete">4.4 </span><span class="delete">Component 4: Alternate Entities</span><span class="delete">4.4.1 </span><span class="delete">Specialization</span><span class="delete">4.4.2 </span><span class="delete">Alternate</span><span class="delete">4.5 </span><span class="delete">Component 5: Collections</span><span class="delete">4.5.1 </span><span class="delete">Collection</span><span class="delete">4.5.2 </span><span class="delete">Insertion</span><span class="delete">4.5.3 </span><span class="delete">Removal</span><span class="delete">4.5.4 </span><span class="delete">Membership</span><span class="delete">4.6 </span><span class="delete">Component 6: Annotations</span><span class="delete">4.6.1 </span><span class="delete">Note</span><span class="delete">4.6.2 </span><span class="delete">Annotation</span><span class="delete">4.7 </span><span class="delete">Further Elements of PROV-DM</span><span class="delete">4.7.1 </span><span class="delete">Namespace Declaration</span><span class="delete">4.7.2 </span><span class="delete">Qualified Name</span><span class="delete">4.7.3 </span><span class="delete">Identifier</span><span class="delete">4.7.4 </span><span class="delete">Attribute</span><span class="delete">4.7.4.1 </span><span class="delete">prov:label</span><span class="delete">4.7.4.2 </span><span class="delete">prov:location</span><span class="delete">4.7.4.3 </span><span class="delete">prov:role</span><span class="delete">4.7.4.4 </span><span class="delete">prov:type</span><span class="delete">4.7.5 </span><span class="delete">Value</span><span class="delete">5. </span><span class="delete">PROV-DM Extensibility Points</span><span class="delete">6. </span><span class="delete">Towards a Refinement of the PROV Data Model</span><span class="delete">A. </span><span class="delete">Acknowledgements</span><span class="delete">B. </span><span class="delete">References</span><span class="delete">B.1 </span><span class="delete">Normative references</span><span class="delete">B.2 </span><span class="delete">Informative references</span> 
+
+
+
+
+
+
+
+
+
+
+
+
+    </section>
+
+
+
+
+
+
+
+
+
+
+    <section id="introduction"> 
+      <h2><span class="delete">1. </span>Introduction<br>
 </h2> 
 
 <p> 
-For the purpose of this specification, <dfn id="dfn-provenance">provenance</dfn> is defined as a record that describes the people,
+For the purpose of this specification, <dfn>provenance</dfn> is defined as a record that describes the people,
 institutions, entities, and activities involved in producing,
 influencing, or delivering a piece of data or a thing.
 In particular, the provenance of information is crucial in deciding
@@ -615,15 +818,18 @@
 <ul>
 <li>A data model for provenance, which is presented in three documents:
 <ul>
-<li> PROV-DM (part I): the provenance data <span class="delete">model itself, expressed in natural language</span><span class="insert">model, informally described</span> (this document);
-</li><li> PROV-DM-CONSTRAINTS (part II): constraints underpinning the data model [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM-CONSTRAINTS">PROV-DM-CONSTRAINTS</a></cite>];
-</li><li> PROV-N (part III): a notation to express instances of that data model for human consumption [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N">PROV-N</a></cite>];
-</li></ul> 
+<li> PROV-DM (part I): the provenance data <span class="insert">model, informally described (this document);
+</span><li><span class="insert"> PROV-DM-CONSTRAINTS (part II): constraints underpinning the data </span>model <span class="delete">itself, expressed in natural language (this document);
+</span><span class="insert">[[PROV-DM-CONSTRAINTS]];
+</span><li> <span class="delete">PROV-DM-CONSTRAINTS</span><span class="insert">PROV-N</span> (part <span class="delete">II): constraints underpinning the</span><span class="insert">III): a notation to express instances of that</span> data model <span class="delete">[</span><span class="delete">PROV-DM-CONSTRAINTS</span><span class="delete">];
+</span><span class="delete"> PROV-N (part III): a notation to express instances of that data model </span>for human consumption <span class="delete">[</span><span class="delete">PROV-N</span><span class="delete">];
+</span><span class="insert">[[PROV-N]];
+</span></ul> 
 </li>
-<li>PROV-O: the PROV ontology, an OWL-RL ontology allowing the mapping of PROV to RDF [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-O">PROV-O</a></cite>];</li>
-<li>PROV-AQ: the mechanisms for accessing and querying provenance [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ">PROV-AQ</a></cite>];</li>
-<li>PROV-PRIMER: a primer for the PROV approach [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-PRIMER">PROV-PRIMER</a></cite>];</li>
-<li>PROV-SEM: semantics of the PROV-DM data model [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM">PROV-SEM</a></cite>];</li>
+<li>PROV-O: the PROV ontology, an OWL-RL ontology allowing the mapping of PROV to RDF <span class="delete">[</span><span class="delete">PROV-O</span><span class="delete">];</span><span class="insert">[[PROV-O]];</span></li>
+<li>PROV-AQ: the mechanisms for accessing and querying provenance <span class="delete">[</span><span class="delete">PROV-AQ</span><span class="delete">];</span><span class="insert">[[PROV-AQ]];</span></li>
+<li>PROV-PRIMER: a primer for the PROV approach <span class="delete">[</span><span class="delete">PROV-PRIMER</span><span class="delete">];</span><span class="insert">[[PROV-PRIMER]];</span></li>
+<li>PROV-SEM: semantics of the PROV-DM data model <span class="delete">[</span><span class="delete">PROV-SEM</span><span class="delete">];</span><span class="insert">[[PROV-SEM]];</span></li>
 <li>PROV-XML: an XML schema for the PROV data model.</li>
 </ul>
 
@@ -635,12 +841,13 @@
 The PROV data model is structured according to six components covering various aspects of provenance:</p>
 <ul>
 <li> component 1: entities and activities, and the time at which they were created, used, or ended;
-</li><li> component 2: agents bearing responsibility for entities that were generated and <span class="delete">actities</span><span class="insert">activities</span> that happened;
-</li><li> component 3: derivations <span class="delete">between entities;</span><span class="insert">of entities from others;</span>
-</li><li> component 4: properties to link entities that refer to a same thing;
-</li><li> component 5: collections of entities, whose provenance can itself be tracked;
-</li><li> component 6: a simple annotation mechanism.
-</li></ul>
+<li> component 2: agents bearing responsibility for entities that were generated and <span class="delete">actities</span><span class="insert">activities</span> that happened;
+<li> component 3: derivations <span class="delete">between entities;
+</span><span class="insert">of entities from others;
+</span><li> component 4: properties to link entities that refer to a same thing;
+<li> component 5: collections of entities, whose provenance can itself be tracked;
+<li> component 6: a simple annotation mechanism.
+</ul>
 
 
 <p>This specification <span class="delete">intentionally </span>presents the key concepts of the PROV Data Model, <span class="insert">and
@@ -648,15 +855,15 @@
 With these,</span> it becomes possible to write useful provenance <span class="delete">descriptions very quickly,</span><span class="insert">descriptions,</span> and publish or embed them along side the data they relate to. </p>
 
 <p>However, if <span class="insert">something about which provenance is expressed is subject to change, then it is challenging to express its provenance precisely (e.g. the </span>data <span class="delete">changes, then it</span><span class="insert">from which a daily weather report</span> is <span class="delete">challenging</span><span class="insert">derived  changes from day</span> to <span class="delete">express its provenance precisely, like it would be for any other form of metadata. </span><span class="insert">day).
- </span>To address this challenge, a <em>refinement</em> is proposed to enrich simple provenance, with <span class="delete">extra-descriptions</span><span class="insert">extra descriptions</span> that  help qualify the specific subject of provenance and provenance itself, with attributes and temporal <span class="delete">interval,</span><span class="insert">information,</span> intended to satisfy a comprehensive set of constraints.  These aspects are covered in the companion specification [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM-CONSTRAINTS">PROV-DM-CONSTRAINTS</a></cite>].
+ </span>To address this challenge, a <em>refinement</em> is proposed to enrich simple provenance, with <span class="delete">extra-descriptions</span><span class="insert">extra descriptions</span> that  help qualify the specific subject of provenance and provenance itself, with attributes and temporal <span class="delete">interval,</span><span class="insert">information,</span> intended to satisfy a comprehensive set of constraints.  These aspects are covered in the companion specification <span class="delete">[</span><span class="delete">PROV-DM-CONSTRAINTS</span><span class="delete">].</span><span class="insert">[[PROV-DM-CONSTRAINTS]].</span>
 </p>
 
 
     
 
 
-<div id="structure-of-this-document" class="section"> 
-<h3><span class="secno">1.1 </span>Structure of this Document</h3>
+<section id="structure-of-this-document"> 
+<h3><span class="delete">1.1 </span>Structure of this Document</h3>
 
 <p><a href="#starting-points">Section 2</a> provides  starting points for the PROV Data Model, listing a set of types and  relations, which <span class="delete">are </span>allows users to make initial provenance descriptions.</p>
 
@@ -667,13 +874,13 @@
 
 <p><a href="#extensibility-section">Section 5</a> summarizes PROV-DM extensibility points.</p>
 
-<p><a href="#FurtherConsiderations">Section 6</a> introduces the idea that constraints can be applied to the PROV data model to refine provenance descriptions; these are covered in the companion specification [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM-CONSTRAINTS">PROV-DM-CONSTRAINTS</a></cite>].</p>
+<p><a href="#FurtherConsiderations">Section 6</a> introduces the idea that constraints can be applied to the PROV data model to refine provenance descriptions; these are covered in the companion specification <span class="delete">[</span><span class="delete">PROV-DM-CONSTRAINTS</span><span class="delete">].</span><span class="insert">[[PROV-DM-CONSTRAINTS]].</span></p>
 
 
     
 
 
-</div> 
+</section> 
 
 
  <span class="delete">1.2 </span><span class="delete">PROV Namespace</span>
@@ -686,41 +893,40 @@
 
 
 
-    <div id="conventions" class="section"> 
-<h3><span class="secno"><span class="delete">1.3 </span><span class="insert">1.2 </span></span><span class="insert">Notational </span>Conventions</h3>
-
-
-
-<p>The key words "<em class="rfc2119" title="must">must</em>", "<em class="rfc2119" title="must not">must not</em>", "<em class="rfc2119" title="required">required</em>", "<em class="rfc2119" title="shall">shall</em>", "<em class="rfc2119" title="shall
-      not">shall
-      not</em>", "<em class="rfc2119" title="should">should</em>", "<em class="rfc2119" title="should not">should not</em>", "<em class="rfc2119" title="recommended">recommended</em>",  "<em class="rfc2119" title="may">may</em>", and
-      "<em class="rfc2119" title="optional">optional</em>" in this document are to be interpreted as described in
-      [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC2119">RFC2119</a></cite>].</p>
-    
+    <section id="conventions"> 
+<h3><span class="delete">1.3 </span><span class="insert">Notational </span>Conventions</h3>
+
+
+
+<p>The key words <span class="delete">"</span><span class="delete">must</span><span class="delete">", "</span><span class="delete">must not</span><span class="delete">", "</span><span class="delete">required</span><span class="delete">", "</span><span class="delete">shall</span><span class="delete">", "</span><span class="delete">shall</span><span class="insert">"MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL</span>
+      <span class="delete">not</span><span class="delete">", "</span><span class="delete">should</span><span class="delete">", "</span><span class="delete">should not</span><span class="delete">", "</span><span class="delete">recommended</span><span class="delete">",</span><span class="insert">NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED",</span>  <span class="delete">"</span><span class="delete">may</span><span class="delete">",</span><span class="insert">"MAY",</span> and
+      <span class="delete">"</span><span class="delete">optional</span><span class="delete">"</span><span class="insert">"OPTIONAL"</span> in this document are to be interpreted as described in
+      <span class="delete">[</span><span class="delete">RFC2119</span><span class="insert">[[!RFC2119]].</span></p>
 
 
 <p><span class="insert">
 The following namespaces prefixes are used throughout this document.
 
-</span></p><div style="text-align: left;">
+</span><div style="text-align: left;">
 <table border="1" style="margin-left: auto; margin-right: auto;">
 <caption id="namespace-table"><span class="insert">Table 1: Prefix and Namespaces used in this specification</span></caption>
-<tbody><tr><td><a><bf><span class="insert">prefix</span></bf></a></td><td><bf><span class="insert">namespace uri</span></bf></td> <td><bf><span class="insert">definition</span></bf></td></tr>
+<tr><td><a><bf><span class="insert">prefix</span></bf></a><span class="delete">].</span>
+    </td><td><bf><span class="insert">namespace uri</span></bf></td> <td><bf><span class="insert">definition</span></bf></td></tr>
 <tr><td><a><span class="insert">prov</span></a></td><td><span class="insert">http://www.w3.org/ns/prov#</span></td><td><span class="insert">The PROV namespace (see Section </span><a href="#term-NamespaceDeclaration"><span class="insert">4.7.1</span></a><span class="insert">)</span></td></tr>
-<tr><td><a><span class="insert">xsd</span></a></td><td><span class="insert">http://www.w3.org/2000/10/XMLSchema#</span></td><td><span class="insert">XML Schema Namespace [</span><cite><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA-2"><span class="insert">XMLSCHEMA-2</span></a></cite><span class="insert">]</span></td></tr>
-<tr><td><a><span class="insert">rdf</span></a></td><td><span class="insert">http://www.w3.org/1999/02/22-rdf-syntax-ns#</span></td><td><span class="insert">The RDF namespace  [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RDF-CONCEPTS"><span class="insert">RDF-CONCEPTS</span></a></cite><span class="insert">]</span></td></tr>
-<tr><td><a><span class="insert">(others)</span></a></td><td><span class="insert">(various)</span></td><td><span class="insert">All other namespace prefixes are used in examples only. </span><br><span class="insert"> In particular, URIs starting with "http://example.com" represent</span><br><span class="insert"> some application-dependent URI [</span><cite><a class="bibref" rel="biblioentry" href="#bib-URI"><span class="insert">URI</span></a></cite><span class="insert">]</span></td></tr>
-</tbody></table>
+<tr><td><a><span class="insert">xsd</span></a></td><td><span class="insert">http://www.w3.org/2000/10/XMLSchema#</span></td><td><span class="insert">XML Schema Namespace [[!XMLSCHEMA-2]]</span></td></tr>
+<tr><td><a><span class="insert">rdf</span></a></td><td><span class="insert">http://www.w3.org/1999/02/22-rdf-syntax-ns#</span></td><td><span class="insert">The RDF namespace  [[!RDF-CONCEPTS]]</span></td></tr>
+<tr><td><a><span class="insert">(others)</span></a></td><td><span class="insert">(various)</span></td><td><span class="insert">All other namespace prefixes are used in examples only. </span><br/><span class="insert"> In particular, URIs starting with "http://example.com" represent</span><br/><span class="insert"> some application-dependent URI [[!URI]]</span></td></tr>
+</table>
 </div>
 
-</div> 
-
-</div> 
-
-
-
-<div id="starting-points" class="section"> 
-<h2><span class="secno">2. </span><span class="delete">PROV-DM</span><span class="insert">PROV</span> Starting Points</h2>
+</section> 
+
+</section> 
+
+
+
+<section id='starting-points'> 
+<span class="delete">2. </span><span class="delete">PROV-DM</span><h1><span class="insert">PROV</span> Starting Points</h1>
 
 <p>
 This section <span class="delete">provides an introduction to the PROV data model by
@@ -741,25 +947,28 @@
     
 
 <form action="#"><p> 
-<input id="hide-examples" onclick="set_display_by_class('div','conceptexample','none'); set_display_by_id('hide-examples','none'); set_display_by_id('show-examples','');" type="button" value="Hide Concept Examples"> 
-<input id="show-examples" onclick="set_display_by_class('div','conceptexample',''); set_display_by_id('hide-examples',''); set_display_by_id('show-examples','none');" style="display: none" type="button" value="Show Concept Examples"> 
+<span class="delete">2.1 </span><input id="hide-examples" onclick="set_display_by_class('div','conceptexample','none'); set_display_by_id('hide-examples','none'); set_display_by_id('show-examples','');" type="button"
+value="Hide Concept Examples" /> 
+<input id="show-examples" onclick="set_display_by_class('div','conceptexample',''); set_display_by_id('hide-examples',''); set_display_by_id('show-examples','none');" style="display: none"
+type="button" value="Show Concept Examples" /> 
 </p> 
 </form> 
-     
+</div>     
 
 
 
   
-    <div id="section-entity-activity" class="section"> 
-<h3><span class="secno">2.1 </span>Entity and Activity</h3>
+    <section id='section-entity-activity'> 
+<h2>Entity and Activity</h2>
 
 
 <p>Things we want to describe  the provenance of are called <em>entities</em> in PROV. The term "things" encompasses a broad diversity of notions, including digital objects such as a file or web page, 
 physical things such as a building or a printed book, or a car as well as abstract concepts and ideas. <span class="delete">One can regard any Web resource as an example of Entity in this context. </span></p>
 
 <p>
-</p><div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">
-   An <span class="dfn">entity</span> is a <span class="delete">thing one    wants to provide provenance for.  For the purpose of this    specification, things can</span><span class="insert">physical, digital, conceptual, or other kind of thing; entities may</span> be <span class="delete">physical, digital, conceptual,</span><span class="insert">real</span> or<span class="delete">    otherwise; things may be real or</span> imaginary.    </div>
+<span class="delete">
+   An </span><span class="delete">entity</span><span class="delete"> is a thing one    wants to provide provenance for.  For the purpose of this    specification, things can be physical, digital, conceptual, or    otherwise; things may be real or imaginary.   </span><div class="glossary-ref" data-ref="glossary-entity"  data-withspan="true">
+</div>
 
 
 
@@ -770,7 +979,7 @@
 
 
 <p>
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   An <span class="dfn">activity</span>  is something that occurs over a period of time and acts upon or with <span class="insert">entities;  it may include consuming, processing, transforming, modifying, relocating, using, generating, or being associated with </span>entities.  <span class="delete">This action can take multiple forms: consuming, processing, transforming, modifying, relocating, using, generating, or being associated with entities.  </span></span> Activities that operate on digital entities may for example move, copy, or duplicate them.
+<span class="delete">   An </span><span class="delete">activity</span><span class="delete">  is something that occurs over a period of time and acts upon or with entities.  This action can take multiple forms: consuming, processing, transforming, modifying, relocating, using, generating, or being associated with entities.  </span><span class="glossary-ref" data-ref="glossary-activity"  data-withspan="true"></span> Activities that operate on digital entities may for example move, copy, or duplicate them.
 </p>
 
 
@@ -779,22 +988,24 @@
 <p>An activity may be the publishing of a document on the Web, sending a twitter message, extracting metadata embedded in a file, driving a car from Boston to Cambridge, assembling a data set based on a set of measurements, performing a statistical analysis over a data set, sorting news items according to some criteria, running a SPARQL query over a triple store, <span class="delete">and</span><span class="insert">or</span> editing a file.</p>
 </div>
 
-</div>
-
-    <div id="section-generation-usage-derivation" class="section"> 
-<h3><span class="secno">2.2 </span>Generation, Usage, Derivation</h3>
+</section>
+
+    <section id="section-generation-usage-derivation"> 
+<span class="delete">2.2 </span><h2>Generation, Usage, Derivation</h2>
 
 <p>Activities and entities are associated with each other in two different ways: activities <span class="delete">are consumers of</span><span class="insert">utilize</span> entities and activities<span class="delete"> are producers of</span><span class="insert">  produce</span> entities. The act of <span class="insert">utilizing or </span>producing<span class="delete"> or consuming</span> an entity may have a duration.  
  The term 'generation' refers to the completion of the <span class="delete">the </span>act of producing; likewise, the term 'usage' refers to the beginning of the act of <span class="delete">consuming</span><span class="insert">utilizing</span> entities. Thus, we define the following notions of generation and usage. </p>
 
 <p>
-</p><div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">
-   <span class="dfn">Generation</span> is the completion of production of a new entity by an activity.   This entity <span class="insert">did not exist before generation and </span>becomes available for usage after this<span class="delete"> generation. This entity did not exist before</span> generation. </div>
+
+   <span class="delete">Generation</span><span class="delete"> is the completion of production of a new entity by an activity.  This entity becomes available for usage after this generation. This entity did not exist before generation. </span><div class="glossary-ref" data-ref="glossary-generation"  data-withspan="true">
+</div>
 
 
 <p>
-</p><div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">
-   <span class="dfn">Usage</span> is the beginning of <span class="delete">consumption of</span><span class="insert">utilizing</span> an entity by an activity. Before usage, the activity had not begun to <span class="delete">consume or use</span><span class="insert">utilize</span> this entity and could not have been affected by the entity. </div>
+
+   <span class="delete">Usage</span><span class="delete"> is the beginning of consumption of an entity by an activity. Before usage, the activity had not begun to consume or use this entity and could not have been affected by the entity. </span><div class="glossary-ref" data-ref="glossary-usage"  data-withspan="true">
+</div>
 
 
 
@@ -803,7 +1014,7 @@
 <p>Examples of generation are the completed creation of a file by a
 program, the completed creation of a linked data set, and the completed
 publication of a new version of a document.
-</p></div>
+</div>
 
 
 
@@ -811,38 +1022,40 @@
 <p>Usage examples include a procedure beginning to consume an argument, a service starting to read a value on a port, a program beginning to read a configuration
 file, or the point at which an ingredient, such as eggs, is being added in a baking activity. Usage may entirely consume an entity (e.g. eggs are no longer available after being added to
 the mix); alternatively, <span class="delete">a</span><span class="insert">the</span> same entity may be used multiple times, possibly by different activities (e.g. a file on a file system can be read indefinitely).
-</p></div>
+</div>
 
 
 <p>Activities <span class="delete">are consumers of</span><span class="insert">utilize</span> entities and <span class="delete">producers of</span><span class="insert">producer</span> entities. In some <span class="delete">case, the consumption of</span><span class="insert">cases, utilizing</span> an entity influences the creation of another in some way. This notion is captured by derivations, defined as follows.</p>
 
 <p>
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   A <span class="dfn">derivation</span>  is a transformation of an entity into another, a construction of an entity into another, or an update of an entity, resulting in a new one.</span>
-
-
-
-</p><div class="conceptexample" id="derivation-example">
+<span class="delete">   A </span><span class="delete">derivation</span><span class="delete">  is a transformation of an entity into another, a construction of an entity into another, or an update of an entity, resulting in a new one.</span><span class="glossary-ref" data-ref="glossary-derivation"  data-withspan="true"></span>
+
+
+
+<div class="conceptexample" id="derivation-example">
 <p>Examples of derivation include  the transformation of a relational table into a
 linked data set, the transformation of a canvas into a painting, the transportation of a work of art from London to New York, and a physical transformation such as the melting of ice into water.</p>
 </div>
 
-</div>
-
-<div id="section-agents-attribution-association-responsibility" class="section"> 
-<h3><span class="secno"><span class="insert">2.3 </span></span><span class="insert">Agents, Attribution, Association, and Responsibility</span></h3>
-
-<p><span class="insert">The motivation for introducing  agents in the model is to express the agent's responsibility for activities that happened and entities that were generated. </span></p>
+</section>
+
+<section id="section-agents-attribution-association-responsibility"> 
+<span class="delete">2.3 </span><span class="delete">Agents</span><h2><span class="insert">Agents, Attribution, Association,</span> and <span class="delete">Other Types of Entities</span><span class="insert">Responsibility</span></h2>
+
+<p>The motivation for introducing  agents in the model is to <span class="delete">denote</span><span class="insert">express</span> the agent's responsibility for <span class="delete">activities.</span><span class="insert">activities that happened and entities that were generated.</span> </p>
 
 <p>
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html"><span class="insert">
-   An </span><span class="dfn"><span class="insert">agent</span></span><span class="insert"> is something that bears some form of responsibility for an activity taking place or for the existence of an entity. </span></span><span class="insert"> An agent </span><em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> be a particular type of entity. This means that the model can be
+
+   <span class="glossary-ref" data-ref="glossary-agent"  data-withspan="true">
+</span> An agent<span class="delete"> is a</span><span class="insert"> MAY be a particular</span> type of <span class="delete">entity</span><span class="insert">entity. This means</span> that <span class="delete">bears some form of responsibility for an activity taking place. </span>
+<span class="insert">the model can be
  used to express provenance of the agents themselves.  
 </span></p>
 
 
-<p><span class="insert">
+<p>
 The definition of agent intentionally stays away from using concepts such as enabling, causing, initiating, triggering, affecting, etc, because many entities also enable, cause, initiate, and affect in some way
-the activities. (Concepts such as triggers are themselves defined later in relations between entities and activities.)   So the notion of having some degree of responsibility is really what makes an agent.</span></p>
+the activities. <span class="delete">Concepts</span><span class="insert">(Concepts</span> such as triggers are themselves defined <span class="insert">later </span>in relations between entities and <span class="delete">activities.</span><span class="insert">activities.)</span>   So the notion of having some degree of responsibility is really what makes an agent.</p>
 
 
 
@@ -855,23 +1068,35 @@
 </div>
 
 
-<p><span class="insert">Agents may adopt sets of actions or steps to achieve their goals. This is captured by the notion of plan. </span></p>
+<p><span class="delete">An agent</span><span class="insert">Agents may adopt sets of actions or steps to achieve their goals. This</span> is <span class="delete">a particular type of Entity. This means that the model can be
+ used to express provenance of the agents themselves.  </span>
+
+
+<span class="delete">
+Software for checking the use of grammar in a document may be defined as an agent of a document preparation activity, and at the same time one can describe its provenance, including for instance the vendor and the version history.</span>
+
+
+
+
+
+<span class="delete">There are some useful types of entities and agents that are commonly encountered in applications making data and documents available on the Web; we introduce them in the rest of this section.</span><span class="insert">captured by the notion of plan.</span> </p>
 
 <p>
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html"><span class="insert">
-   A </span><span class="dfn"><span class="insert">plan</span></span><span class="insert"> is an entity that represents a set of actions or steps intended by one or more agents to achieve some goals.  </span></span><span class="insert">
+<span class="delete">
+   A </span><span class="delete">plan</span><span class="delete"> is an entity that represents a set of actions or steps intended by one or more agents to achieve some goals.  </span><span class="glossary-ref" data-ref="glossary-plan"  data-withspan="true">
+</span>
 There exist no
 prescriptive requirement on the nature of plans, their representation, the
 actions or steps they consist of, or their intended goals.  Since plans may evolve over time,
 it may become necessary to track their provenance, so plans themselves are
 entities. Representing the plan explicitly in the provenance can be useful for various tasks: for example, to  
 validate the execution as represented in the provenance record, to  
-manage expectation failures, or to provide explanations.</span></p> 
+manage expectation failures, or to provide explanations.</p> 
 
 <div class="conceptexample" id="plan-example">
-<p><span class="insert">
+<p>
 A plan can be a blog post tutorial for how to set up a web server, a list of instructions for a micro-processor execution, a cook's written recipe for a chocolate cake, or a workflow for a scientific experiment.
-</span></p>
+</p>
 </div>
 
 
@@ -879,16 +1104,21 @@
 
 
 
-<p><span class="insert">Agents can be related to entities, activities, and other agents.</span></p>  
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   <span class="dfn"><span class="insert">Attribution</span></span><span class="insert"> is the ascribing of an entity to an agent. </span></div>
+
+
+
+
+<p><span class="delete">Three types of agents are recognized because they are commonly encountered in applications making data</span><span class="insert">Agents can be related to entities, activities,</span> and <span class="delete">documents available on the Web: persons, software agents, and organizations.</span><span class="insert">other agents.</span></p>  
+
+<div class="glossary-ref" data-ref="glossary-attribution" data-withspan="true"></div>
 
 <div class="conceptexample" id="association-example">
-<p><span class="insert">A blog post can be attributed to an author, a mobile phone to its manufacturer.</span></p>
+<p> A <span class="delete">Web site and service selling books on the Web and the company hosting 
+them are software agents and organizations, respectively.</span><span class="insert">blog post can be attributed to an author, a mobile phone to its manufacturer.</span></p>
 </div>
 
-<p><span class="insert">
-Agents are defined as having some kind of responsibility for activities. In some  
+<p>
+   <span class="insert">Agents are defined as having some kind of responsibility for activities. In some  
 cases, those activities reflect the execution of a plan that was  
 designed in advance to guide the execution.  Thus,
 a plan may also be linked to an activity.  </span></p>
@@ -897,12 +1127,12 @@
 
 
 <p>
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html"><span class="insert">   An activity </span><span class="dfn"><span class="insert">association</span></span><span class="insert"> is an assignment of responsibility to an agent for an activity, indicating that the agent had a role in the activity. It further allows for a plan to be specified, which is the plan intended by the agent to achieve some goals in the context of this activity. </span></span>
+<span class="glossary-ref" data-ref="glossary-activityAssociation"  data-withspan="true"></span>
 </p>
 
 <div class="conceptexample" id="association-example2">
 <p><span class="insert">Examples of association between an activity and an agent are:
-</span></p><ul>
+</span><ul>
 <li><span class="insert">creation of a web page under the guidance of a designer;</span></li>
 <li><span class="insert">various forms of participation in a panel discussion, including audience member, panelist, or panel chair;</span></li>
 <li><span class="insert">a public event, sponsored by a company, and hosted by a museum;</span></li>
@@ -911,8 +1141,8 @@
 </div>
 
 <p>
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">
-    <span class="dfn"><span class="insert">Responsibility</span></span><span class="insert"> is the fact that an agent is accountable for the actions of a "subordinate" agent, in the context of an activity.  </span></span><span class="insert"> The nature of this relation is intended to be broad,  including delegation or contractual relation. </span></p>
+<span class="glossary-ref" data-ref="glossary-responsibility"  data-withspan="true">
+</span><span class="insert"> The nature of this relation is intended to be broad,  including delegation or contractual relation. </span></p>
 
 
   
@@ -921,85 +1151,36 @@
 
 
 <div class="conceptexample" id="responsibilityChain-example">
-<p><span class="insert">A student publishing a web page describing an academic
+<p>A <span class="insert">student publishing a web page describing an academic
 department could result in both the student and the department being
 agents associated with the activity, and it may not matter which
 student published a web page but it matters a lot that the department
 told the student to put up the web page.  
 </span></p>
 </div>
-</div>
-
-<div id="section-types-entities-agents" class="section"> 
-<h3><span class="secno"><span class="delete">2.3 </span><span class="delete">Agents</span><span class="insert">2.4 </span></span><span class="insert">Further Entities: Collections</span> and <span class="delete">Other Types of Entities</span><span class="insert">Accounts</span></h3>
-
-<p><span class="delete">The motivation for introducing  agents in the model is to denote the agent's responsibility for activities.</span><span class="insert">There are two further types of entities, collections and accounts, which are now introduced.</span> </p>
+</section>
+
+<section id="section-types-entities-agents"> 
+<h2><span class="insert">Further Entities: Collections and Accounts</span></h2>
+
+<p><span class="insert">There are two further types of entities, collections and accounts, which are now introduced. </span></p>
 
 <p>
-<span class="delete">
-   An </span><span class="delete">agent</span><span class="delete"> is a type of entity that bears some form of responsibility for an activity taking place. </span>
-
-
-
-<span class="delete">
-The definition of agent intentionally stays away from using concepts such as enabling, causing, initiating, triggering, affecting, etc, because many entities also enable, cause, initiate, and affect in some way
-the activities. Concepts such as triggers are themselves defined in relations between entities and activities.   So the notion of having some degree of responsibility is really what makes an agent.</span>
-
-
-<span class="delete">An agent is a particular type of Entity. This means that the model can be
- used to express provenance of the agents themselves.  </span>
-
-
-<span class="delete">
-Software for checking the use of grammar in a document may be defined as an agent of a document preparation activity, and at the same time one can describe its provenance, including for instance the vendor and the version history.</span>
-
-
-
-
-
-<span class="delete">There are some useful types of entities and agents that are commonly encountered in applications making data and documents available on the Web; we introduce them in the rest of this section. </span>
-
-
-<span class="delete">
-   A </span><span class="delete">plan</span><span class="delete"> is an entity that represents a set of actions or steps intended by one or more agents to achieve some goals.  </span><span class="delete">
-There exist no
-prescriptive requirement on the nature of plans, their representation, the
-actions or steps they consist of, or their intended goals.  Since plans may evolve over time,
-it may become necessary to track their provenance, so plans themselves are
-entities. Representing the plan explicitly in the provenance can be useful for various tasks: for example, to  
-validate the execution as represented in the provenance record, to  
-manage expectation failures, or to provide explanations.</span> 
-
-
-<span class="delete">
-A plan can be a blog post tutorial for how to set up a web server, a list of instructions for a micro-processor execution, a cook's written recipe for a chocolate cake, or a workflow for a scientific experiment.
-</span>
-
-
-
-
-<span class="delete">Three types of agents are recognized because they are commonly encountered in applications making data and documents available on the Web: persons, software agents, and organizations.</span>
-
-
-<span class="delete"> A Web site and service selling books on the Web and the company hosting 
-them are software agents and organizations, respectively.</span>
-
-
-
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   A <span class="dfn">collection</span> is an entity that provides a structure to some constituents, which are themselves entities. These constituents are said to be <span class="dfn">member of</span> the collections.  </span> This concept allows for the provenance of the <span class="delete">collection, but also of its constituents</span><span class="insert">collection itself</span> to be <span class="delete">expressed.</span><span class="insert">expressed in addition to that of the members.</span>  Such a notion of collection corresponds to a wide variety of  concrete data structures, such as a <em>maps</em>, <em>dictionaries</em>, or <em>associative arrays</em>.</p>
+<span class="glossary-ref" data-ref="glossary-collection"  data-withspan="true"></span><span class="insert"> This concept allows for the provenance of the </span>collection<span class="delete"> is an entity</span><span class="insert"> itself to be expressed in addition to</span> that <span class="delete">provides a structure to some constituents, which are themselves entities. These constituents are said to be </span><span class="delete">member of</span><span class="delete"> the collections.  </span><span class="delete"> This concept allows for the provenance of the collection, but also of its constituents to be expressed.</span><span class="insert">of the members.</span>  Such a notion of collection corresponds to a wide variety of  concrete data structures, such as a <em>maps</em>, <em>dictionaries</em>, or <em>associative arrays</em>.</p>
 
 <div class="conceptexample" id="collection-example">
 <p>
 An example of collection is an archive of documents. Each document has its own provenance, but the archive itself also has some provenance: who maintained it, which documents it contained at which point in time, how it was assembled, etc. 
-</p></div>
+</div>
 
 
 
 <p>
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">
-   An <span class="dfn">account</span> is an entity that contains a bundle of provenance descriptions.  </span>Making an account an entity allows for provenance of provenance to be expressed.
-
-</p><div class="conceptexample" id="account-example">
+<span class="delete">
+   An </span><span class="delete">account</span><span class="delete"> is an entity that contains a bundle of provenance descriptions.  </span><span class="glossary-ref" data-ref="glossary-account"  data-withspan="true">
+</span>Making an account an entity allows for provenance of provenance to be expressed.
+
+<div class="conceptexample" id="account-example">
 <p>
 For users to decide whether they can place their trust in
 a resource, they may want to analyze the resource's provenance, but also determine
@@ -1011,10 +1192,15 @@
 </p>
 </div>
 
-</div>
-
-
- 
+
+
+
+</section>
+
+
+
+
+    <section id="section-UML"> 
 <span class="delete">2.4 </span><span class="delete">Attribution, Association, and Responsibility</span>
 
 <span class="delete">Agents can be related to entities, activities, and other agents.</span>  
@@ -1083,13 +1269,8 @@
 
 
 
-    
-
-
-
-
-    <div id="section-UML" class="section"> 
-<h3><span class="secno">2.5 </span>Simplified Overview Diagram</h3>
+     
+<span class="delete">2.5 </span><h2>Simplified Overview Diagram</h2>
 
 <p>So far, we have introduced a series of concepts underpinning provenance.   PROV-DM  is a conceptual data model consisting of types and relations between these.   <a href="#overview-types-and-relations">Table <span class="delete">(Mapping of Provenance</span><span class="insert">2</span></a><span class="insert"> shows how provenance</span> concepts <span class="insert">can be mapped </span>to    types and relations in<span class="delete">  PROV-DM)</span><span class="delete"> shows how provenance</span><span class="insert"> PROV-DM: the first column lists</span> concepts <span class="delete">can be mapped</span><span class="insert">introduced in this section, the second column indicates whether a concept maps</span> to <span class="delete">types and relations in PROV-DM: the first</span><span class="insert">a type or a relation, whereas the third</span> column <span class="delete">lists concepts introduced in this section, the second column indicates whether a concept maps to a type or a relation, whereas the third column </span>contains the corresponding name.<span class="delete">  We note that names</span><span class="insert">    Names</span> of relations have a verbal form in the past tense to express what happened in the past, as opposed to what may or will happen. 
 </p>
@@ -1098,19 +1279,19 @@
 <div style="text-align: left;">
 <table border="1" style="margin-left: auto; margin-right: auto;">
 <caption id="overview-types-and-relations"><span class="insert">Table 2: </span>Mapping of Provenance concepts to     types and relations<span class="delete"> in  PROV-DM</span></caption>
-<tbody><tr><td><a><span class="delete">Provenance</span><b><span class="insert">PROV</span> Concepts</b></a></td><td><b><span class="insert">PROV-DM types or relations</span></b></td><td><span class="delete">PROV-DM types or relations</span><b><span class="insert">Name</span></b></td></tr>
-<tr>
-<td><a href="#concept-entity" class="internalDFN">Entity</a></td><td rowspan="3"><span class="insert">PROV-DM </span>Types<span class="delete"> in PROV-DM</span></td><td><a title="dfn-Entity" href="#dfn-entity" class="internalDFN">entity</a></td></tr>
-<tr><td><a href="#concept-activity" class="internalDFN">Activity</a></td><td><a title="dfn-Activity" href="#dfn-activity" class="internalDFN">activity</a></td></tr>
-<tr><td><a href="#concept-agent" class="internalDFN">Agent</a></td><td><a title="dfn-agent" href="#dfn-agent" class="internalDFN">agent</a></td></tr>
+<tr><td><a><span class="delete">Provenance</span><b><span class="insert">PROV</span> Concepts</b></a></td><td><b><span class="insert">PROV-DM types or relations</span></b></td><td><span class="delete">PROV-DM types or relations</span><b><span class="insert">Name</span></b></td></tr>
 <tr>
-<td><a href="#concept-generation" class="internalDFN">Generation</a></td><td rowspan="6"><span class="insert">PROV-DM </span>Relations<span class="delete"> in PROV-DM</span></td><td><a title="wasGeneratedBy" href="#dfn-wasgeneratedby" class="internalDFN">wasGeneratedBy</a></td></tr>
-<tr><td><a href="#concept-usage" class="internalDFN">Usage</a></td><td><a title="used" href="#dfn-used" class="internalDFN">used</a></td></tr>
-<tr><td><a href="#concept-attribution" class="internalDFN">Attribution</a></td><td><a title="wasAttributedTo" href="#dfn-wasattributedto" class="internalDFN">wasAttributedTo</a></td></tr>
-<tr><td><a href="#concept-activityAssociation" class="internalDFN">Association</a></td><td><a title="wasAssociatedWith" href="#dfn-wasassociatedwith" class="internalDFN">wasAssociatedWith</a></td></tr>
-<tr><td><a href="#concept-responsibility" class="internalDFN">Responsibility</a></td><td><a title="actedOnBehalfOf" href="#dfn-actedonbehalfof" class="internalDFN">actedOnBehalfOf</a></td></tr>
-<tr><td><a href="#concept-derivation" class="internalDFN">Derivation</a></td><td><a title="wasDerivedFrom" href="#dfn-wasderivedfrom" class="internalDFN">wasDerivedFrom</a></td></tr>
-</tbody></table>
+<td><a>Entity</a></td><td rowspan="3"><span class="insert">PROV-DM </span>Types<span class="delete"> in PROV-DM</span></td><td><a title="dfn-Entity">entity</a></td></tr>
+<tr><td><a>Activity</a></td><td><a title="dfn-Activity">activity</a></td></tr>
+<tr><td><a>Agent</a></td><td><a title="dfn-agent">agent</a></td></tr>
+<tr>
+<td><a>Generation</a></td><td rowspan="6"><span class="insert">PROV-DM </span>Relations<span class="delete"> in PROV-DM</span></td><td><a title="wasGeneratedBy">wasGeneratedBy</a></td></tr>
+<tr><td><a>Usage</a></td><td><a title="used">used</a></td></tr>
+<tr><td><a>Attribution</a></td><td><a title="wasAttributedTo">wasAttributedTo</a></td></tr>
+<tr><td><a>Association</a></td><td><a title="wasAssociatedWith">wasAssociatedWith</a></td></tr>
+<tr><td><a>Responsibility</a></td><td><a title="actedOnBehalfOf">actedOnBehalfOf</a></td></tr>
+<tr><td><a>Derivation</a></td><td><a title="wasDerivedFrom">wasDerivedFrom</a></td></tr>
+</table>
 </div>
 
 <p><a href="#prov-dm-overview">Figure <span class="delete">overview-types-and-relations</span><span class="insert">1</span></a> illustrates the three types (entity, activity, and agent) and how they relate to each other.  At this stage, all relations are shown to be binary.  <span class="delete">When examining PROV-DM in details, 
@@ -1118,28 +1299,28 @@
 
 
 <div style="text-align: center; ">
-  <figure style="max-width: 70%; ">
-  <img src="images/OverviewDiagram.png" alt="Simplified  Overview of PROV-DM" style="max-width: 70%; ">
+  <figure style="max-width: 70%; " >
+  <img src="images/OverviewDiagram.png" alt="Simplified  Overview of PROV-DM" style="max-width: 70%; "  />
 <figcaption id="prov-dm-overview"><span class="insert">Figure 1: </span>Simplified  Overview of PROV-DM</figcaption>
   </figure>
 </div>
 
-<p><a href="#prov-dm-overview">Figure <span class="delete">overview-types-and-relations</span><span class="insert">1</span></a> is not intended to be <span class="delete">complete. It</span><span class="insert">complete: it</span> only illustrates  types and relations <span class="delete">from </span><span class="insert">introduced in this section (</span><a href="#starting-points">Section <span class="delete">starting-points</span><span class="insert">2</span></a><span class="insert">), exploited in the example discussed in </span><a href="#prov-dm-example"><span class="insert">Section 3</span></a><span class="insert">,</span> and <span class="delete">exploited</span><span class="insert">explained</span> in <span class="delete">the example discussed</span><span class="insert">detail</span> in <span class="delete">the next section. They will then be explained</span><a href="#data-model-components"><span class="insert">Section 4</span></a><span class="insert">.
-Names of relations depicted</span> in <span class="delete">detail</span><a href="#prov-dm-overview"><span class="insert">Figure 1</span></a><span class="insert"> 
-are listed</span> in<span class="delete"> Section </span><span class="delete">data-model-components</span><span class="insert">
-the third column of </span><a href="#overview-types-and-relations"><span class="insert">Table 2</span></a>.<span class="delete">
-The third column of Table </span><span class="delete">(Mapping of Provenance concepts</span><span class="insert"> These names are part of a textual notation</span> to<span class="delete">   types and relations in  PROV-DM)</span><span class="delete"> lists names that are part of a textual notation to</span> write instances of the <span class="delete">PROV-DM</span><span class="insert">PROV</span> data <span class="delete">model. This notation, referred to as the PROV-N notation, is outlined</span><span class="insert">model, which we introduce</span> in the next section. </p>
-
-
-</div>
-<div id="prov-n" class="section"> 
-<h3><span class="secno">2.6 </span>PROV-N: The Provenance Notation</h3>
+<p><a href="#prov-dm-overview">Figure <span class="delete">overview-types-and-relations</span><span class="insert">1</span></a> is not intended to be <span class="delete">complete. It</span><span class="insert">complete: it</span> only illustrates  types and relations <span class="delete">from </span><span class="insert">introduced in this section (</span><a href="#starting-points">Section <span class="delete">starting-points</span><span class="insert">2</span></a><span class="insert">), exploited in the example discussed in </span><a href="#prov-dm-example"><span class="insert">Section 3</span></a><span class="insert">,</span> and <span class="delete">exploited</span><span class="insert">explained</span> in <span class="delete">the example discussed</span><span class="insert">detail</span> in <span class="delete">the next section. They will then be explained in detail in </span><a href="#data-model-components">Section <span class="delete">data-model-components</span><span class="insert">4</span></a>.
+<span class="delete">The</span><span class="insert">Names of relations depicted in </span><a href="#prov-dm-overview"><span class="insert">Figure 1</span></a><span class="insert"> 
+are listed in
+the</span> third column of <a href="#overview-types-and-relations">Table <span class="delete">(Mapping of Provenance concepts</span><span class="insert">2</span></a><span class="insert">. These names are part of a textual notation</span> to<span class="delete">   types and relations in  PROV-DM)</span><span class="delete"> lists names that are part of a textual notation to</span> write instances of the <span class="delete">PROV-DM</span><span class="insert">PROV</span> data <span class="delete">model. This notation, referred to as the PROV-N notation, is outlined</span><span class="insert">model, which we introduce</span> in the next section. </p>
+
+
+
+</section>
+<section id="prov-n"> 
+<span class="delete">2.6 </span><h2>PROV-N: The Provenance Notation</h2>
 
 <p>A key goal of <span class="delete">PROV-DM</span><span class="insert">PROV</span> is the specification of a machine-processable data model for provenance so that applications can retrieve provenance and reason about it. As such, representations of <span class="delete">PROV-DM</span><span class="insert">PROV</span> are available in RDF and XML.
 </p>
 
 <p>However, it is important to provide instances of provenance for human consumption, as in this document or elsewhere.
-To this end, PROV-N is a notation <span class="delete">that is designed to  write</span><span class="insert">for writing</span> instances of the <span class="delete">PROV-DM</span><span class="insert">PROV</span> data model in a compact textual form, without the syntactic baggage and constraints coming with a markup language such as XML or a description framework such as RDF.  We outline here some of its key design principles. For full details, the reader is referred to the companion specification [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-N">PROV-N</a></cite>].</p>
+To this end, PROV-N is a notation <span class="delete">that is designed to  write</span><span class="insert">for writing</span> instances of the <span class="delete">PROV-DM</span><span class="insert">PROV</span> data model in a compact textual form, without the syntactic baggage and constraints coming with a markup language such as XML or a description framework such as RDF.  We outline here some of its key design principles. For full details, the reader is referred to the companion specification <span class="delete">[</span><span class="delete">PROV-N</span><span class="delete">].</span><span class="insert">[[PROV-N]].</span></p>
 
 <ul>
 <li>PROV-N expressions adopt a <em>functional notation</em> consisting
@@ -1164,29 +1345,33 @@
 <div class="anexample">
 <p>
 An activity with identifier <span class="name">a1</span> and an attribute <span class="name">type</span> with value <span class="name">createFile</span>.
-</p><pre class="codeexample">activity(a1, [prov:type="createFile"])
+<pre class="codeexample" >
+activity(a1, [prov:type="createFile"])
 </pre>
 Two entities with identifiers <span class="name">e1</span> and <span class="name">e2</span>.
-<pre class="codeexample">entity(e1)
+<pre class="codeexample" >
+entity(e1)
 entity(e2)
 </pre>
 The activity  <span class="name">a1</span> used  <span class="name">e1</span>, and <span class="name">e2</span> was generated by <span class="name">a1</span>.
-<pre class="codeexample">used(a1,e1)
+<pre class="codeexample" >
+used(a1,e1)
 wasGeneratedBy(e2,a1)
 </pre><span class="insert">
 The same description, but with an explicit identifier </span><span class="name"><span class="insert">u1</span></span><span class="insert"> for the usage, and the syntactic marker </span><span class="name"><span class="insert">-</span></span><span class="insert"> to mark the absence of identifier in the generation.
-</span><pre class="codeexample"><span class="insert">used(u1,a1,e1)
+</span><pre class="codeexample" ><span class="insert">
+used(u1,a1,e1)
 wasGeneratedBy(-,e2,a1)</span>
 </pre>
 </div>
 
-</div>
-
-</div>
-
-
-<div id="prov-dm-example" class="section"> 
-<h2><span class="secno">3. </span>Illustration of PROV-DM by an Example</h2>
+</section>
+
+</section>
+
+
+<section id="prov-dm-example"> 
+<h2><span class="delete">3. </span>Illustration of PROV-DM by an Example</h2>
 
 <p><a href="#starting-points">Section <span class="delete">starting-points</span><span class="insert">2</span></a> has introduced some provenance concepts, and how they are expressed as types or relations in the PROV data model. The purpose of this section is to put these concepts into practice in order to express the provenance of some document published on the Web.  
 With this realistic example, <span class="delete">PROV-DM constructs</span><span class="insert">PROV concepts</span> are  composed together,  and a graphical illustration shows a provenance description forming a directed graph, rooted at the entity we want to explain the provenance of, and pointing to the entities, activities, and agents it depended on. This example also shows that, sometimes, multiple provenance descriptions about <span class="delete">a</span><span class="insert">the</span> same entity can co-exist, which then justifies the need for provenance of provenance.</p>
@@ -1195,32 +1380,18 @@
 <p><span class="delete">The</span><span class="insert">In this example, we consider one of the many documents published by the</span> World Wide Web <span class="delete">Consortium publishes many technical reports. In this example, we consider a technical report,</span><span class="insert">Consortium,</span> and describe its provenance. 
 Specifically, we consider the <span class="delete">second version of the PROV-DM </span>document 
 <span class="insert"> identified by
-</span><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">http://www.w3.org/TR/2011/WD-prov-dm-20111215</a>. Its provenance can be expressed from several <span class="delete">perspectives, which we present. In the first one,</span><span class="insert">perspectives: first,</span>  provenance <span class="delete">is</span><span class="insert">can take the authors' viewpoint; second, it can be</span> concerned with the <acronym title="World Wide Web Consortium">W3C</acronym> <span class="delete">process, whereas in the second one, it takes the authors' viewpoint; we then provide</span><span class="insert">process. Then,</span> attribution <span class="delete">to</span><span class="insert">of</span> these two provenance <span class="delete">descriptions.</span><span class="insert">descriptions is provided.</span></p>
-
-
-<div id="section-example-one" class="section"> 
-<h3><span class="secno">3.1 </span>The <span class="delete">Process</span><span class="insert">Authors</span> View</h3>
-
-
-<p style="font-style:italic; "><b>Description:</b> <span class="delete">The World Wide Web
+</span><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">http://www.w3.org/TR/2011/WD-prov-dm-20111215</a>. Its provenance can be expressed from several <span class="delete">perspectives, which we present. In the first one,</span><span class="insert">perspectives: first,</span>  provenance <span class="insert">can take the authors' viewpoint; second, it can be concerned with the W3C process. Then, attribution of these two provenance descriptions </span>is <span class="delete">concerned with the </span><span class="delete">W3C</span><span class="delete"> process, whereas in the second one, it takes the authors' viewpoint; we then provide attribution to these two provenance descriptions.</span><span class="insert">provided.</span></p>
+
+
+<section id="section-example-one"> 
+<h3><span class="delete">3.1 </span>The <span class="delete">Process</span><span class="insert">Authors</span> View</h3>
+
+
+<p style="font-style:italic; " ><b>Description:</b> <span class="delete">The World Wide Web
 Consortium publishes technical reports according to its publication
-policy.</span><span class="insert">A document
-is edited by some editor, using contributions from various
-contributors.
-</span></p>
-
-
-
-<p><span class="insert">In this perspective, provenance of the document
-</span><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215"><span class="insert">http://www.w3.org/TR/2011/WD-prov-dm-20111215</span></a><span class="insert"> is concerned with the editing activity as perceived by authors.</span>  <span class="delete">Working drafts are published regularly to reflect the work
-accomplished</span><span class="insert">This kind of information could be used</span> by <span class="delete">working groups. Every publication of a working draft
-must</span><span class="insert">authors in their CV or in a narrative about this document. </span></p>
-
-
-
-
-<p><span class="insert">We paraphrase some PROV-DM descriptions, express them with the PROV-N notation, and then depict them with a graphical illustration (see </span><a href="#prov-a-document1"><span class="insert">Figure 1</span></a><span class="insert">).
-Full details of the provenance record can</span> be <span class="delete">preceded by a "publication request" to the Webmaster.  The
+policy.  Working drafts are published regularly to reflect the work
+accomplished by working groups. Every publication of a working draft
+must be preceded by a "publication request" to the Webmaster.  The
 very first version of a technical report must also preceded by a
 "transition request" to be approved by the </span><span class="delete">W3C</span><span class="delete"> director.  All working
 drafts are made available at a unique URI.  In this scenario, we consider two successive versions of a given report, the policy according to which they were published, and the associated requests.
@@ -1228,18 +1399,16 @@
 
 <span class="delete">
 
-Concretely, in this section, we describe the kind of provenance record that the </span><span class="delete">WWW Consortium</span><span class="delete"> could keep for auditors to check that due processes are followed. All entities involved in this example are Web resources, with well defined URIs (some of which locating archived email messages, available to </span><span class="delete">W3C</span><span class="delete"> Members).</span><span class="insert">found </span><a href="examples/w3c-publication3.pn"><span class="insert">here</span></a><span class="insert">.</span></p>
-
-<ul>
-<li><span class="delete"> Two versions of the technical report are involved:</span><span class="insert">There was a document</span> <span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">tr:WD-prov-dm-20111215</a></span><span class="delete"> (second working draft) and </span><span class="delete">tr:WD-prov-dm-20111018</span><span class="delete"> (first working draft);</span>
+Concretely, in this section, we describe the kind of provenance record that the </span><span class="delete">WWW Consortium</span><span class="delete"> could keep for auditors to check that due processes are followed. All entities involved in this example are Web resources, with well defined URIs (some of which locating archived email messages, available to </span><span class="delete">W3C</span><span class="delete"> Members).</span>
+
+
+<span class="delete"> Two versions of the technical report are involved: </span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete"> (second working draft) and </span><span class="delete">tr:WD-prov-dm-20111018</span><span class="delete"> (first working draft);</span>
 <span class="delete"> Both </span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete"> and </span><span class="delete">tr:WD-prov-dm-20111018</span><span class="delete"> were published by the WWW Consortium  agent (</span><span class="delete">w3:Consortium</span><span class="delete">); </span>
 <span class="delete"> The publication activity for </span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete"> is </span><span class="delete">ex:act2</span><span class="delete">;</span>
-<span class="delete"> The publication activity for </span><span class="delete">tr:WD-prov-dm-20111018</span><span class="delete"> is </span><span class="delete">ex:act1</span><span class="delete">;</span><span class="insert">, which from the author's perspective was a document in its second version. 
-</span><pre><span class="insert">entity(tr:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
-</span></pre>
-</li>
-
-<li><span class="delete"> The report </span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete"> is derived from </span><span class="delete">tr:WD-prov-dm-20111018</span><span class="delete">;</span>
+<span class="delete"> The publication activity for </span><span class="delete">tr:WD-prov-dm-20111018</span><span class="delete"> is </span><span class="delete">ex:act1</span><span class="delete">;
+</span>
+
+<span class="delete"> The report </span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete"> is derived from </span><span class="delete">tr:WD-prov-dm-20111018</span><span class="delete">;</span>
 
 <span class="delete"> The publication activity </span><span class="delete">ex:act1</span><span class="delete"> used a </span><span class="delete">publication request</span><span class="delete"> (</span><span class="delete">ar2:0141</span><span class="delete">) and a </span><span class="delete">transition request</span><span class="delete"> (</span><span class="delete">ar1:0004</span><span class="delete">);</span>
 <span class="delete"> The publication activity </span><span class="delete">ex:act2</span><span class="delete"> used a </span><span class="delete">publication request</span><span class="delete"> (</span><span class="delete">ar3:0111</span><span class="delete">);</span>
@@ -1250,158 +1419,220 @@
 We now paraphrase some PROV-DM descriptions, and illustrate them with the PROV-N notation, a notation for PROV-DM aimed at human consumption.  We then follow them with a graphical illustration. Full details of the provenance record can be found </span><span class="delete">here</span><span class="delete">.
 
 </span>
-There <span class="delete">is a technical report, a working draft on the recommendation track (</span><span class="delete">pr:RecsWD</span><span class="delete">), which is regarded as</span><span class="insert">was</span> an <span class="delete">entity so that we can describe its provenance. Similar descriptions exist for all entities.</span><span class="insert">editing activity.</span>
-<pre><span class="delete">entity(tr:WD-prov-dm-20111215, [ prov:type="pr:RecsWD" %% xsd:QName ])
+<span class="delete">There is a technical report, a working draft on the recommendation track (</span><span class="delete">pr:RecsWD</span><span class="delete">), which is regarded as an entity so that we can describe its provenance. Similar descriptions exist for all entities.
+</span><span class="delete">entity(tr:WD-prov-dm-20111215, [ prov:type="pr:RecsWD" %% xsd:QName ])
 </span>
 
 <span class="delete">There is a publication activity.
-</span><span class="delete">activity(ex:act2,[prov:type="publish"])</span><span class="insert">activity(ex:edit1,[prov:type="edit"])</span>
-</pre>
-</li>
-
-<li>The <span class="delete">technical report</span><span class="insert">document</span> was generated by the <span class="delete">publication</span><span class="insert">editing</span> activity: this <span class="delete">is a </span><span class="insert">was a </span><a title="concept-generation">Generation</a>.
-<pre>wasGeneratedBy(tr:WD-prov-dm-20111215, <span class="delete">ex:act2,</span><span class="insert">ex:edit1,</span> -)
-</pre>
-</li>
-
-
-<li><span class="delete">The second draft of the technical report was derived from the first draft of the technical report: this is a </span><span class="delete">Derivation</span><span class="delete">.</span><span class="insert">There were some agents.</span>
-<pre><span class="delete">wasDerivedFrom(tr:WD-prov-dm-20111215, tr:WD-prov-dm-20111018)</span><span class="insert">agent(ex:Paolo, [ prov:type="Person" ])
-agent(ex:Simon, [ prov:type="Person" ])</span>
-</pre>
-</li>
-
-<li><span class="delete">The activity required a publication request: this is a </span><span class="delete">Usage</span><span class="delete">.</span><span class="insert">Agents were assigned various responsibilities in the editing activity: contributor and editor.</span>
-<pre><span class="delete">used(ex:act2, ar3:0111, -)
+</span><span class="delete">activity(ex:act2,[prov:type="publish"])
+</span>
+
+
+<span class="delete">The technical report was generated by the publication activity: this is a </span><span class="delete">Generation</span><span class="delete">.
+</span><span class="delete">wasGeneratedBy(tr:WD-prov-dm-20111215, ex:act2, -)
+</span>
+
+
+
+<span class="delete">The second draft of the technical report was derived from the first draft of the technical report: this is a </span><span class="delete">Derivation</span><span class="delete">.
+</span><span class="delete">wasDerivedFrom(tr:WD-prov-dm-20111215, tr:WD-prov-dm-20111018)
+</span>
+
+
+<span class="delete">The activity required a publication request: this is a </span><span class="delete">Usage</span><span class="delete">.
+</span><span class="delete">used(ex:act2, ar3:0111, -)
 </span>
 
 
 <span class="delete">The activity was associated with the Consortium agent, and proceeded according to its publication policy: this is an </span><span class="delete">Activity Association</span><span class="delete">.
-</span><span class="delete">wasAssociatedWith(ex:act2, w3:Consortium, pr:rec-advance)</span><span class="insert">wasAssociatedWith(ex:edit1, ex:Paolo, -, [ prov:role="editor" ])
-wasAssociatedWith(ex:edit1, ex:Simon, -, [ prov:role="contributor" ])</span>
+</span><span class="delete">wasAssociatedWith(ex:act2, w3:Consortium, pr:rec-advance)
+</span>
+
+
+
+<span class="delete">
+Provenance descriptions can be </span><span class="delete">illustrated</span><span class="delete"> graphically. The illustration is not intended to represent all the details of the model, but it is intended to show the essence of a set of
+provenance descriptions.  Therefore, it should not be seen as an alternate notation for expressing provenance.</span>
+
+<span class="delete">The graphical illustration takes the form of a graph. Entities, activities and agents are represented as nodes, with oval, rectangular, and pentagonal shapes, respectively.  Usage,
+Generation, Derivation, and Association are represented as directed edges.</span>
+
+<span class="delete">Entities are laid out according to the ordering of their generation.  We endeavor to show time progressing from left to right. This means that edges for Usage, Generation,
+Derivation, Association typically point leftwards</span>
+
+
+
+
+
+
+
+  
+  
+<span class="delete">Provenance of a Tech Report</span>
+  
+
+
+
+<span class="delete"> This simple example has shown a variety of PROV-DM constructs, such as Entity, Agent, Activity, Usage, Generation, Derivation, and Association. In this example, it happens that all entities were already Web resources, with readily available URIs, which we used. We note that some of the resources are public, whereas others have restricted access: provenance statements only make use of their identifiers. If identifiers do not pre-exist, e.g. for activities, then they can be generated, for instance </span><span class="delete">ex:act2</span><span class="delete">, occurring in the namespace identified by prefix </span><span class="delete">ex</span><span class="delete">.  We note that the URI scheme developed by </span><span class="delete">W3C</span><span class="delete"> is particularly suited for expressing provenance of these reports, since each URI denotes a specific version of a report. It then becomes very easy to relate the various versions, with PROV-DM constructs. We note that an Association is a ternary relation (represented by a multi-edge labeled wasAssociatedWith) from an activity to an agent and a plan.</span>
+
+
+
+ 
+<span class="delete">3.2 </span><span class="delete">The Authors View</span>
+
+
+<span class="delete">Description:</span> A <span class="delete">technical report</span><span class="insert">document</span>
+is edited by some editor, using contributions from various
+contributors.
+</p>
+
+
+
+<p><span class="delete">Here, we consider another perspective on technical report</span><span class="insert">In this perspective, provenance of the document</span>
+<a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">http://www.w3.org/TR/2011/WD-prov-dm-20111215</a><span class="delete">. Provenance</span> is concerned with the <span class="delete">document </span>editing <span class="delete">activity,</span><span class="insert">activity</span> as perceived by authors.  This kind of information could be used by authors in their CV or in a narrative about this document. </p>
+
+
+
+
+
+<span class="delete"> The same technical report is involved: </span><span class="delete">tr:WD-prov-dm-20111215</span><p><span class="insert">We paraphrase some PROV-DM descriptions, express them with the PROV-N notation, and then depict them with a graphical illustration (see </span><a href="#prov-a-document1"><span class="insert">Figure 1</span></a><span class="delete">;</span>
+<span class="delete"> An editing activity for </span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete"> is </span><span class="delete">ex:edit1</span><span class="delete">;</span>
+<span class="delete"> The report </span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete"> is generated by activity </span><span class="delete">ex:edit1</span><span class="delete">;</span>
+<span class="delete"> Several persons are associated with activity </span><span class="delete">ex:edit1</span><span class="delete">, some in an editorial role, some in a contributor's role.</span>
+
+
+<span class="delete">Again, we paraphrase some PROV-DM descriptions, and illustrate them with the PROV-N notation.</span><span class="insert">).</span>
+Full details of the provenance record can be found <a href="examples/w3c-publication3.pn">here</a>.</p>
+
+<ul>
+<li>There <span class="delete">is a technical report,</span><span class="insert">was a document </span><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215"><span class="insert">tr:WD-prov-dm-20111215</span></a></span><span class="insert">,</span> which from the author's perspective <span class="delete">is</span><span class="insert">was</span> a document in its second version. 
+<pre>
+entity(tr:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
+</pre>
+<span class="delete">While this description is about the same report </span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete">, its details differ from the author's perspective: it is a document and it has a version number. </span></li>
+
+<li>There <span class="delete">is</span><span class="insert">was</span> an editing activity.
+<pre>
+activity(ex:edit1,[prov:type="edit"])
+</pre>
+</li>
+
+<li>The <span class="delete">technical report</span><span class="insert">document</span> was generated by the editing activity: this <span class="delete">is</span><span class="insert">was</span> a <a title="concept-generation">Generation</a>.
+<pre>
+wasGeneratedBy(tr:WD-prov-dm-20111215, ex:edit1, -)
+</pre>
+</li>
+
+
+<li>There <span class="delete">are</span><span class="insert">were</span> some agents.
+<pre>
+agent(ex:Paolo, [ prov:type="Person" ])
+agent(ex:Simon, [ prov:type="Person" ])
+</pre>
+</li>
+
+<li>Agents were assigned various responsibilities in the editing activity: contributor and editor.
+<pre>
+wasAssociatedWith(ex:edit1, ex:Paolo, -, <span class="delete">[prov:role="editor"])</span><span class="insert">[ prov:role="editor" ])</span>
+wasAssociatedWith(ex:edit1, ex:Simon, -, <span class="delete">[prov:role="contributor"])</span><span class="insert">[ prov:role="contributor" ])</span>
 </pre>
 </li>
 </ul>
 
-<p>
-Provenance descriptions can be <em>illustrated</em> graphically. The illustration is not intended to represent all the details of the model, but it is intended to show the essence of a set of
-provenance descriptions.  Therefore, it should not be seen as an alternate notation for expressing provenance.</p>
-
-<p>The graphical illustration takes the form of a graph. Entities, activities and agents are represented as nodes, with oval, rectangular, and pentagonal shapes, respectively.  Usage,
-Generation, Derivation, and Association are represented as directed edges.</p>
-
-<p>Entities are laid out according to the ordering of their generation.  We endeavor to show time progressing from left to right. This means that edges for Usage, Generation,
-Derivation, Association typically point leftwards</p>
-
-
-
-
-
-
-
+
+
+
+
+<p><span class="insert">
+Provenance descriptions can be </span><em><span class="insert">illustrated</span></em><span class="insert"> graphically. The illustration is not intended to represent all the details of the model, but it is intended to show the essence of a set of
+provenance descriptions.  Therefore, it should not be seen as an alternate notation for expressing provenance.</span></p>
+
+<p><span class="insert">The graphical illustration takes the form of a graph. Entities, activities and agents are represented as nodes, with oval, rectangular, and pentagonal shapes, respectively.  Usage,
+Generation, Derivation, and Association are represented as directed edges.</span></p>
+
+<p><span class="insert">Entities are laid out according to the ordering of their generation.  We endeavor to show time progressing from left to right. This means that edges for Usage, Generation,
+Derivation, Association typically point leftwards</span></p>
 
 
 <div style="text-align: center; ">
   <figure>
   
-<img src="images/w3-publication3.png" alt="Provenance of a Document (1)" style="max-width: 98%; ">
-<figcaption id="prov-a-document1"><span class="insert">Figure 2: </span>Provenance of a <span class="delete">Tech Report</span><span class="insert">Document (1)</span></figcaption>
+<img src="images/w3-publication3.png" alt="Provenance of a Document (1)" style="max-width: 98%; "/>
+<figcaption id="prov-a-document1"><span class="insert">Figure 2: </span>Provenance of a <span class="delete">Tech Report (b)</span><span class="insert">Document (1)</span></figcaption>
   </figure>
 </div>
 
-
-<span class="delete"> This simple example has shown a variety of PROV-DM constructs, such as Entity, Agent, Activity, Usage, Generation, Derivation, and Association. In this example, it happens that all entities were already Web resources, with readily available URIs, which we used. We note that some of the resources are public, whereas others have restricted access: provenance statements only make use of their identifiers. If identifiers do not pre-exist, e.g. for activities, then they can be generated, for instance </span><span class="delete">ex:act2</span><span class="delete">, occurring in the namespace identified by prefix </span><span class="delete">ex</span><span class="delete">.  We note that the URI scheme developed by </span><span class="delete">W3C</span><span class="delete"> is particularly suited for expressing provenance of these reports, since each URI denotes a specific version of a report. It then becomes very easy to relate the various versions, with PROV-DM constructs. We note that an Association is a ternary relation (represented by a multi-edge labeled wasAssociatedWith) from an activity to an agent and a plan.</span>
-
-
-
-
-</div>
-
-
-<div id="section-example-two" class="section"> 
-<h3><span class="secno">3.2 </span>The <span class="delete">Authors</span><span class="insert">Process</span> View</h3>
-
-
-<p style="font-style:italic; "><b>Description:</b> <span class="delete">A technical report
-is edited</span><span class="insert">The World Wide Web
+</section>
+
+<section id="section-example-two"> 
+<h3><span class="delete">3.3 </span><span class="insert">The Process View</span></h3>
+
+
+<p style="font-style:italic; " ><b><span class="insert">Description:</span></b><span class="insert"> The World Wide Web
 Consortium publishes documents according to its publication
 policy.  Working drafts are published regularly to reflect the work
-accomplished</span> by <span class="delete">some editor, using contributions from various
-contributors.</span><span class="insert">working groups. Every publication of a working draft
+accomplished by working groups. Every publication of a working draft
 must be preceded by a "publication request" to the Webmaster.  The
 very first version of a document must also be preceded by a
-"transition request" to be approved by the </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> director.  All working
-drafts are made available at a unique URI.  In this scenario, we consider two successive versions of a given document, the policy according to which they were published, and the associated requests.</span>
-</p>
-
-
-
-
-
-<p><span class="delete">Here, we consider another perspective on technical report
-</span><span class="delete">http://www.w3.org/TR/2011/WD-prov-dm-20111215</span><span class="delete">. Provenance is concerned</span><span class="insert">
-We describe the kind of provenance record that the </span><a href="http://www.w3.org/Consortium"><span class="insert">WWW Consortium</span></a><span class="insert"> could keep for auditors to check that due processes are followed. All entities involved in this example are Web resources,</span> with <span class="delete">the</span><span class="insert">well defined URIs (some of which refer archived email messages, available to </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> Members).</span></p>
+"transition request" to be approved by the W3C director.  All working
+drafts are made available at a unique URI.  In this scenario, we consider two successive versions of a given document, the policy according to which they were published, and the associated requests.
+</span></p>
+
+<p><span class="insert">
+We describe the kind of provenance record that the </span><a href="http://www.w3.org/Consortium"><span class="insert">WWW Consortium</span></a><span class="insert"> could keep for auditors to check that due processes are followed. All entities involved in this example are Web resources, with well defined URIs (some of which refer archived email messages, available to W3C Members).</span></p>
 
 <ul>
-<li><span class="insert"> Two versions of a</span> document <span class="delete">editing activity, as perceived by authors.  This kind of information could be used by authors in their CV or in a narrative about this document. </span>
-
-
-
-
-
-<span class="delete"> The same technical report is</span><span class="insert">were</span> involved: <span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">tr:WD-prov-dm-20111215</a></span><span class="delete">;</span><span class="insert"> (second working draft) and </span><span class="name"><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111018"><span class="insert">tr:WD-prov-dm-20111018</span></a></span></span><span class="insert"> (first working draft);</span></li>
-<li> <span class="delete">An editing activity for</span><span class="insert">Both</span> <span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">tr:WD-prov-dm-20111215</a></span> <span class="delete">is</span><span class="insert">and</span> <span class="name"><span class="delete">ex:edit1</span><span class="delete">;</span><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111018"><span class="insert">tr:WD-prov-dm-20111018</span></a></span></span><span class="insert"> were published by the WWW Consortium (</span><span class="name"><a href="http://www.w3.org/Consortium"><span class="insert">w3:Consortium</span></a></span><span class="insert">); </span></li>
-<li> The <span class="delete">report</span><span class="insert">publication activity for</span> <span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">tr:WD-prov-dm-20111215</a></span> <span class="delete">is generated by activity</span><span class="insert">was</span> <span class="name"><span class="delete">ex:edit1</span><span class="insert">ex:act2</span></span>;</li>
-<li> <span class="delete">Several persons are associated with</span><span class="insert">The publication</span> activity <span class="insert">for </span><span class="name"><span class="delete">ex:edit1</span><span class="delete">, some</span><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111018"><span class="insert">tr:WD-prov-dm-20111018</span></a></span></span><span class="insert"> was </span><span class="name"><span class="insert">ex:act1</span></span><span class="insert">;
+<li><span class="insert"> Two versions of a document were involved: </span><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215"><span class="insert">tr:WD-prov-dm-20111215</span></a></span><span class="insert"> (second working draft) and </span><span class="name"><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111018"><span class="insert">tr:WD-prov-dm-20111018</span></a></span></span><span class="insert"> (first working draft);</span></li>
+<li><span class="insert"> Both </span><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215"><span class="insert">tr:WD-prov-dm-20111215</span></a></span><span class="insert"> and </span><span class="name"><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111018"><span class="insert">tr:WD-prov-dm-20111018</span></a></span></span><span class="insert"> were published by the WWW Consortium (</span><span class="name"><a href="http://www.w3.org/Consortium"><span class="insert">w3:Consortium</span></a></span><span class="insert">); </span></li>
+<li><span class="insert"> The publication activity for </span><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215"><span class="insert">tr:WD-prov-dm-20111215</span></a></span><span class="insert"> was </span><span class="name"><span class="insert">ex:act2</span></span><span class="insert">;</span></li>
+<li><span class="insert"> The publication activity for </span><span class="name"><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111018"><span class="insert">tr:WD-prov-dm-20111018</span></a></span></span><span class="insert"> was </span><span class="name"><span class="insert">ex:act1</span></span><span class="insert">;
 </span></li>
 
 <li><span class="insert"> The document </span><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215"><span class="insert">tr:WD-prov-dm-20111215</span></a></span><span class="insert"> was derived from </span><span class="name"><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111018"><span class="insert">tr:WD-prov-dm-20111018</span></a></span></span><span class="insert">;</span></li>
 
 <li><span class="insert"> The publication activity </span><span class="name"><span class="insert">ex:act1</span></span><span class="insert"> used a </span><a href="http://www.w3.org/2005/08/01-transitions.html#pubreq"><span class="insert">publication request</span></a><span class="insert"> (</span><span class="name"><a href="https://lists.w3.org/Archives/Member/w3c-archive/2011Oct/0141"><span class="insert">email:2011Oct/0141</span></a></span><span class="insert">) and a </span><a href="http://www.w3.org/2005/08/01-transitions.html#transreq"><span class="insert">transition request</span></a><span class="insert"> (</span><span class="name"><a href="https://lists.w3.org/Archives/Member/chairs/2011OctDec/0004"><span class="insert">chairs:2011OctDec/0004</span></a></span><span class="insert">);</span></li>
 <li><span class="insert"> The publication activity </span><span class="name"><span class="insert">ex:act2</span></span><span class="insert"> used a </span><a href="http://www.w3.org/2005/08/01-transitions.html#pubreq"><span class="insert">publication request</span></a><span class="insert"> (</span><span class="name"><a href="https://lists.w3.org/Archives/Member/w3c-archive/2011Dec/0111"><span class="insert">email:2011Dec/0111</span></a></span><span class="insert">);</span></li>
-<li><span class="insert"> Documents were published according to the process rules (</span><span class="name"><a href="http://www.w3.org/2005/10/Process-20051014/tr.html#rec-advance"><span class="insert">process:rec-advance</span></a></span><span class="insert">), a plan</span> in <span class="delete">an editorial role, some in a contributor's role.</span><span class="insert">PROV-DM terminology.</span></li>
+<li><span class="insert"> Documents were published according to the process rules (</span><span class="name"><a href="http://www.w3.org/2005/10/Process-20051014/tr.html#rec-advance"><span class="insert">process:rec-advance</span></a></span><span class="insert">), a plan in PROV-DM terminology.</span></li>
 </ul>
 
-<p><span class="delete">Again, we</span><span class="insert">
-We now</span> paraphrase some <span class="delete">PROV-DM</span><span class="insert">PROV</span> descriptions, and <span class="delete">illustrate</span><span class="insert">express</span> them with the PROV-N <span class="delete">notation.
-</span><span class="insert">notation, and then depict them with a graphical illustration (see </span><a href="#prov-a-document2"><span class="insert">Figure 2</span></a><span class="insert">). </span>Full details of the provenance record can be found <a href="examples/w3c-publication1.pn">here</a>.
-
-</p>
-
-<ul>
-<li>There <span class="insert">was a document, a working draft on the recommendation track (</span><a href="http://www.w3.org/2005/10/Process-20051014/tr.html#RecsWD"><span class="insert">process:RecsWD</span></a><span class="insert">), which </span>is <span class="delete">a technical report, which from the author's perspective is a document in</span><span class="insert">an entity so that we can describe</span> its <span class="delete">second version. 
-</span><span class="insert">provenance. Similar descriptions exist for all entities.
-</span><pre>entity(tr:WD-prov-dm-20111215, [ <span class="delete">prov:type="document", ex:version="2"</span><span class="insert">prov:type="process:RecsWD" %% xsd:QName</span> ])
-</pre>
-<span class="delete">While this description is about the same report </span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete">, its details differ from the author's perspective: it is a document and it has a version number. </span></li>
-
-
-<li>There <span class="delete">is an editing</span><span class="insert">was a publication</span> activity.
-<pre><span class="delete">activity(ex:edit1,[prov:type="edit"])</span><span class="insert">activity(ex:act2,[prov:type="publish"])</span>
-</pre>
-</li>
-
-<li>The <span class="delete">technical report</span><span class="insert">document</span> was generated by the <span class="delete">editing</span><span class="insert">publication</span> activity: this <span class="delete">is a </span><span class="insert">was a </span><a title="concept-Generation">Generation</a>.
-<pre>wasGeneratedBy(tr:WD-prov-dm-20111215, <span class="delete">ex:edit1,</span><span class="insert">ex:act2,</span> -)
-</pre>
-</li>
-
-
-<li><span class="delete">There are some agents.</span><span class="insert">The second draft of the document was derived from the first draft: this was a </span><a title="concept-Derivation"><span class="insert">Derivation</span></a><span class="insert">.</span>
-<pre><span class="delete">agent(ex:Paolo, [ prov:type="Person" ])
-agent(ex:Simon, [ prov:type="Person" ])</span><span class="insert">wasDerivedFrom(tr:WD-prov-dm-20111215, tr:WD-prov-dm-20111018)</span>
-</pre>
-</li>
-
-<li><span class="delete">Agents were assigned various responsibilities in the editing activity: contributor</span><span class="insert">The activity required a publication request: this was a </span><a title="concept-Usage"><span class="insert">Usage</span></a><span class="insert">.
-</span><pre><span class="insert">used(ex:act2, email:2011Dec/0111, -)
+<p><span class="insert">
+We now paraphrase some PROV descriptions, and express them with the PROV-N notation, and then depict them with a graphical illustration (see </span><a href="#prov-a-document2"><span class="insert">Figure 2</span></a><span class="insert">). Full details of the provenance record can be found </span><a href="examples/w3c-publication1.pn"><span class="insert">here</span></a><span class="insert">.
+
+</span><ul>
+<li><span class="insert">There was a document, a working draft on the recommendation track (</span><a href="http://www.w3.org/2005/10/Process-20051014/tr.html#RecsWD"><span class="insert">process:RecsWD</span></a><span class="insert">), which is an entity so that we can describe its provenance. Similar descriptions exist for all entities.
+</span><pre><span class="insert">
+entity(tr:WD-prov-dm-20111215, [ prov:type="process:RecsWD" %% xsd:QName ])
 </span></pre>
 </li>
-
-<li><span class="insert">The activity was associated with the Consortium agent,</span> and <span class="delete">editor.</span><span class="insert">proceeded according to its publication policy: this is an </span><a title="concept-activityAssociation"><span class="insert">Activity Association</span></a><span class="insert">.</span>
-<pre><span class="delete">wasAssociatedWith(ex:edit1, ex:Paolo, -, [prov:role="editor"])
-wasAssociatedWith(ex:edit1, ex:Simon, -, [prov:role="contributor"])</span><span class="insert">wasAssociatedWith(ex:act2, w3:Consortium, process:rec-advance)</span>
-</pre>
+<li><span class="insert">There was a publication activity.
+</span><pre><span class="insert">
+activity(ex:act2,[prov:type="publish"])
+</span></pre>
+</li>
+
+<li><span class="insert">The document was generated by the publication activity: this was a </span><a title="concept-Generation"><span class="insert">Generation</span></a><span class="insert">.
+</span><pre><span class="insert">
+wasGeneratedBy(tr:WD-prov-dm-20111215, ex:act2, -)
+</span></pre>
+</li>
+
+
+<li><span class="insert">The second draft of the document was derived from the first draft: this was a </span><a title="concept-Derivation"><span class="insert">Derivation</span></a><span class="insert">.
+</span><pre><span class="insert">
+wasDerivedFrom(tr:WD-prov-dm-20111215, tr:WD-prov-dm-20111018)
+</span></pre>
+</li>
+
+<li><span class="insert">The activity required a publication request: this was a </span><a title="concept-Usage"><span class="insert">Usage</span></a><span class="insert">.
+</span><pre><span class="insert">
+used(ex:act2, email:2011Dec/0111, -)
+</span></pre>
+</li>
+
+<li><span class="insert">The activity was associated with the Consortium agent, and proceeded according to its publication policy: this is an </span><a title="concept-activityAssociation"><span class="insert">Activity Association</span></a><span class="insert">.
+</span><pre><span class="insert">
+wasAssociatedWith(ex:act2, w3:Consortium, process:rec-advance)
+</span></pre>
 </li>
 </ul>
 
@@ -1411,31 +1642,22 @@
 
 
 
-
-
-
-
 <div style="text-align: center;">
   <figure>
-  
-<img src="images/w3-publication1.png" alt="Provenance of a Document (2)" style="max-width: 90%; ">
-<figcaption id="prov-a-document2"><span class="insert">Figure 3: </span>Provenance of a <span class="delete">Tech Report (b)</span><span class="insert">Document (2)</span></figcaption>
+  <img src="images/w3-publication1.png" alt="Provenance of a Document (2)" style="max-width: 90%; "/>
+<figcaption id="prov-a-document2"><span class="insert">Figure 3: Provenance of a Document (2)</span></figcaption>
   </figure>
 </div>
 
 
-
-
-<p><span class="insert"> This simple example has shown a variety of PROV concepts, such as Entity, Agent, Activity, Usage, Generation, Derivation, and Association. In this example, it happens that all entities were already Web resources, with readily available URIs, which we used. We note that some of the resources are public, whereas others have restricted access: provenance statements only make use of their identifiers. If identifiers do not pre-exist, e.g. for activities, then they can be generated, for instance </span><span class="name"><span class="insert">ex:act2</span></span><span class="insert">, occurring in the namespace identified by prefix </span><span class="name"><span class="insert">ex</span></span><span class="insert">.  We note that the URI scheme developed by </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> is particularly suited for expressing provenance of these documents, since each URI denotes a specific version of a document. It then becomes easy to relate the various versions with  PROV-DM relations. We note that an Association is a ternary relation (represented by a multi-edge labeled wasAssociatedWith) from an activity to an agent and a plan.</span></p>
-
-
-</div>
-
-
-
-
-<div id="section-example-c" class="section"> 
-<h3><span class="secno">3.3 </span>Attribution of Provenance</h3>
+<p><span class="insert"> This simple example has shown a variety of PROV concepts, such as Entity, Agent, Activity, Usage, Generation, Derivation, and Association. In this example, it happens that all entities were already Web resources, with readily available URIs, which we used. We note that some of the resources are public, whereas others have restricted access: provenance statements only make use of their identifiers. If identifiers do not pre-exist, e.g. for activities, then they can be generated, for instance </span><span class="name"><span class="insert">ex:act2</span></span><span class="insert">, occurring in the namespace identified by prefix </span><span class="name"><span class="insert">ex</span></span><span class="insert">.  We note that the URI scheme developed by W3C is particularly suited for expressing provenance of these documents, since each URI denotes a specific version of a document. It then becomes easy to relate the various versions with  PROV-DM relations. We note that an Association is a ternary relation (represented by a multi-edge labeled wasAssociatedWith) from an activity to an agent and a plan.</span></p>
+
+
+</section>
+
+
+<section id="section-example-c"> 
+<h3>Attribution of Provenance</h3>
 
 <p>The two previous sections  provide  two different perspectives on the provenance of a <span class="delete">technical report.</span><span class="insert">document</span> By design, the PROV approach allows for the provenance of a subject to be provided by multiple sources. For users to decide whether they can place their trust in the <span class="delete">technical report,</span><span class="insert">document,</span> they may want to analyze its provenance, but also determine
 who the provenance is attributed to, and when it was
@@ -1443,7 +1665,8 @@
 
 <p>No new mechanism is required to support this requirement.  PROV-DM makes the assumption that provenance statements have been bundled up, and named, by some mechanism outside the scope of PROV-DM. For instance, in this case, provenance statements were put in a file and exposed on the Web, respectively at <a href="examples/w3c-publication1.pn">ex:w3c-publication1.pn</a> and <a href="examples/w3c-publication3.pn">ex:w3c-publication3.pn</a>.   To express their respective provenance, these resources must be seen as entities, and all the constructs of PROV-DM are now available to characterize their provenance. In the example below, <span class="name">ex:w3c-publication1.pn</span> is attributed to the agent <span class="name">w3:Consortium</span>, whereas <span class="name">ex:w3c-publication3.pn</span> to <span class="name">ex:Simon</span>.
 
-</p><pre>entity(ex:w3c-publication1.pn, [prov:type="prov:Account" %% xsd:QName ])
+<pre>
+entity(ex:w3c-publication1.pn, [prov:type="prov:Account" %% xsd:QName ])
 wasAttributedTo(ex:w3c-publication1.pn, w3:Consortium)
 
 entity(ex:w3c-publication3.pn, [prov:type="prov:Account" %% xsd:QName ])
@@ -1452,14 +1675,14 @@
 
 
 
-</div>
-
-</div>
-
-
-<div id="data-model-components" class="section"> 
-
-<h2><span class="secno">4. </span>PROV-DM Types and Relations</h2>
+</section>
+
+</section>
+
+
+<section id="data-model-components"> 
+
+<h2><span class="delete">4. </span>PROV-DM Types and Relations</h2>
 
 <p><span class="insert">Provenance concepts, expressed as </span>PROV-DM <span class="delete">concepts</span><span class="insert">types and relations,</span> are structured according to six components that are introduced in this section.
 Components and their dependencies are illustrated in <a href="#prov-dm-components">Figure <span class="delete">prov-dm-components</span><span class="insert">4</span></a>. A component that relies on concepts defined in another also sits above it in this figure.
@@ -1477,14 +1700,19 @@
 
 <div style="text-align: center;">
 <figure style="max-width: 90%; ">
-<img usemap="#componentMap" src="images/components.png" alt="PROV-DM Components" style="max-width: 90%; ">
+<img  usemap="#componentMap" src="images/components.png" alt="PROV-DM Components"  style="max-width: 90%; " />
 <map id="componentMap" name="componentMap">
-<area title="collections" href="#component5" coords="220,0,440,70" alt="collections" shape="rect">
-<area title="alternate" href="#component4" coords="450,0,510,140" alt="alternate" shape="rect">
-<area title="annotations" href="#component6" coords="530,0,590,220" alt="annotations" shape="rect">
-<area title="activities/entities" href="#component1" coords="80,150,510,220" alt="activities/entities" shape="rect">
-<area title="derivations" href="#component3" coords="80,0,210,70" alt="derivations" shape="rect">
-<area title="agents/responsibility" href="#component2" coords="0,0,70,220" alt="agents/responsibility" shape="rect">
+
+
+
+
+
+<area title="collections" href="#component5" coords="220,0,440,70"  alt="collections" shape="rect"/>
+<area title="alternate"   href="#component4" coords="450,0,510,140" alt="alternate"   shape="rect"/>
+<area title="annotations" href="#component6" coords="530,0,590,220" alt="annotations" shape="rect"/>
+<area title="activities/entities" href="#component1" coords="80,150,510,220" alt="activities/entities" shape="rect"/>
+<area title="derivations" href="#component3" coords="80,0,210,70"   alt="derivations" shape="rect"/>
+<area title="agents/responsibility" href="#component2" coords="0,0,70,220"   alt="agents/responsibility" shape="rect"/>
 </map>
 <figcaption id="prov-dm-components"><span class="insert">Figure 4: </span>PROV-DM Components</figcaption>
 </figure>
@@ -1498,12 +1726,13 @@
 <div style="text-align: center;">
 <table border="1" style="margin-left: auto; margin-right: auto;">
 <caption id="relations-at-a-glance"><span class="insert">Table 3: </span>PROV-DM Relations At a Glance</caption>
-<tbody><tr><td></td><td>Entity</td><td>Activity</td><td>Agent</td><td>Note</td></tr> 
-<tr><td>Entity</td><td><div class="component3-color"><a href="#dfn-wasderivedfrom" class="internalDFN">wasDerivedFrom</a><br><a href="#dfn-wasrevisionof" class="internalDFN">wasRevisionOf</a><br><a href="#dfn-wasquotedfrom" class="internalDFN">wasQuotedFrom</a><br><a href="#dfn-hadoriginalsource" class="internalDFN">hadOriginalSource</a></div><div class="component4-color"><a href="#dfn-alternateof" class="internalDFN">alternateOf</a><br><a href="#dfn-specializationof" class="internalDFN">specializationOf</a></div></td><td class="component1-color"><a title="wasGeneratedBy" href="#dfn-wasgeneratedby" class="internalDFN">wasGeneratedBy</a></td><td class="component2-color"><a href="#dfn-wasattributedto" class="internalDFN">wasAttributedTo</a></td><td class="component6-color"><a href="#dfn-hasannotation" class="internalDFN">hasAnnotation</a></td></tr>
-<tr><td>Activity</td><td><div class="component1-color"><a href="#dfn-used" class="internalDFN">used</a><br><a href="#dfn-wasstartedby" class="internalDFN">wasStartedBy</a><br><a href="#dfn-wasendedby" class="internalDFN">wasEndedBy</a></div></td><td class="component1-color"><a href="#dfn-wasstartedbyactivity" class="internalDFN">wasStartedByActivity</a><br><a href="#dfn-wasinformedby" class="internalDFN">wasInformedBy</a></td><td class="component2-color"><a href="#dfn-wasassociatedwith" class="internalDFN">wasAssociatedWith</a></td><td class="component6-color"><a href="#dfn-hasannotation" class="internalDFN">hasAnnotation</a></td></tr>
-<tr><td>Agent</td><td>—</td><td>—</td><td class="component2-color"><a href="#dfn-actedonbehalfof" class="internalDFN">actedOnBehalfOf</a></td><td class="component6-color"><a href="#dfn-hasannotation" class="internalDFN">hasAnnotation</a></td></tr>
-<tr><td>Note</td><td>—</td><td>—</td><td>—</td><td class="component6-color"><a href="#dfn-hasannotation" class="internalDFN">hasAnnotation</a></td></tr>
-</tbody></table>
+<tr><td></td><td>Entity</td><td>Activity</td><td>Agent</td><td>Note</td></tr> 
+<tr><td>Entity</td><td><div class="component3-color"><a>wasDerivedFrom</a><br><a>wasRevisionOf</a><br><a>wasQuotedFrom</a><br><a>hadOriginalSource</a></div><div class="component4-color"><a>alternateOf</a><br><a>specializationOf</a></div></td><td class="component1-color"><a
+title="wasGeneratedBy">wasGeneratedBy</a></td><td class="component2-color"><a>wasAttributedTo</a></td><td class="component6-color"><a>hasAnnotation</a></td></tr>
+<tr><td>Activity</td><td><div class="component1-color"><a>used</a><br><a>wasStartedBy</a><br><a>wasEndedBy</a></div></td><td class="component1-color"><a>wasStartedByActivity</a><br><a>wasInformedBy</a></td><td class="component2-color"><a>wasAssociatedWith</a></td><td class="component6-color"><a>hasAnnotation</a></td></tr>
+<tr><td>Agent</td><td><span class="delete">—</span><span class="insert">&mdash;</span></td><td><span class="delete">—</span><span class="insert">&mdash;</span></td><td class="component2-color"><a>actedOnBehalfOf</a></td><td class="component6-color"><a>hasAnnotation</a></td></tr>
+<tr><td>Note</td><td><span class="delete">—</span><span class="insert">&mdash;</span></td><td><span class="delete">—</span><span class="insert">&mdash;</span></td><td><span class="delete">—</span><span class="insert">&mdash;</span></td><td class="component6-color"><a>hasAnnotation</a></td></tr>
+</table>
 </div>
 
 <p><a href="#prov-dm-types-and-relations">Table <span class="delete">prov-dm-concepts-and-relations</span><span class="insert">4</span></a> is a complete index of all the <span class="delete">concepts</span><span class="insert">types</span> and relations <span class="delete">in prov-dm,</span><span class="insert">of PROV-DM,</span> color-coded according to the component they belong <span class="delete">too.</span><span class="insert">to.</span>  In the first column,<span class="delete"> one finds </span>  concept names<span class="delete"> directly linking</span><span class="insert">  link</span> to their <span class="delete">English definition. In</span><span class="insert">informal definition, whereas, in</span> the second column, <span class="delete">we find their representation in the PROV-N notation, directly linking</span><span class="insert">representations link</span> to the <span class="delete">definition of their various constituents.</span><span class="insert">information used to represent the concept.</span></p>
@@ -1512,33 +1741,33 @@
 <div style="text-align: left;">
 <table border="1" style="margin-left: auto; margin-right: auto;">
 <caption id="prov-dm-types-and-relations"><span class="insert">Table 4: </span>PROV-DM <span class="delete">Concepts</span><span class="insert">Types</span> and Relations</caption>
-<tbody><tr><td><a><b><span class="insert">Type or Relation Name</span></b></a></td><td><b><span class="insert">Representation in the PROV-N notation</span></b></td></tr>
-<tr class="component1-color"><td><a href="#concept-entity" class="internalDFN">Entity</a></td><td><a title="dfn-Entity" href="#dfn-entity" class="internalDFN">entity(id, [ attr1=val1, ...])</a></td></tr>
-<tr class="component1-color"><td><a href="#concept-activity" class="internalDFN">Activity</a></td><td><a title="dfn-Activity" href="#dfn-activity" class="internalDFN">activity(id, st, et, [ attr1=val1, ...])</a></td></tr>
-<tr class="component1-color"><td><a href="#concept-generation" class="internalDFN">Generation</a></td><td><a title="wasGeneratedBy" href="#dfn-wasgeneratedby" class="internalDFN">wasGeneratedBy(id,e,a,t,attrs)</a></td></tr>
-<tr class="component1-color"><td><a href="#concept-usage" class="internalDFN">Usage</a></td><td><a title="used" href="#dfn-used" class="internalDFN">used(id,a,e,t,attrs)</a></td></tr>
-<tr class="component1-color"><td><a href="#concept-start" class="internalDFN">Start</a></td><td><a title="wasStartedBy" href="#dfn-wasstartedby" class="internalDFN">wasStartedBy(id,a,e,t,attrs)</a></td></tr>
-<tr class="component1-color"><td><a href="#concept-end" class="internalDFN">End</a></td><td><a title="wasEndedBy" href="#dfn-wasendedby" class="internalDFN">wasEndedBy(id,a,e,t,attrs)</a></td></tr>
-<tr class="component1-color"><td><a href="#concept-communication" class="internalDFN">Communication</a></td><td><a title="wasInformedBy" href="#dfn-wasinformedby" class="internalDFN">wasInformedBy(id,a2,a1,attrs)</a></td></tr>
-<tr class="component1-color"><td><a href="#concept-startByActivity" class="internalDFN">Start by Activity</a></td><td><a title="wasStartedByActivity" href="#dfn-wasstartedbyactivity" class="internalDFN">wasStartedByActivity(id, a2, a1, attrs)</a></td></tr>
-<tr class="component2-color"><td><a href="#concept-agent" class="internalDFN">Agent</a></td><td><a title="dfn-agent" href="#dfn-agent" class="internalDFN">agent(id, [ attr1=val1, ...])</a></td></tr>
-<tr class="component2-color"><td><a href="#concept-attribution" class="internalDFN">Attribution</a></td><td><a title="wasAttributedTo" href="#dfn-wasattributedto" class="internalDFN">wasAttributedTo(id,e,ag,attr)</a></td></tr>
-<tr class="component2-color"><td><a href="#concept-activityAssociation" class="internalDFN">Association</a></td><td><a title="wasAssociatedWith" href="#dfn-wasassociatedwith" class="internalDFN">wasAssociatedWith(id,a,ag,pl,attrs)</a></td></tr>
-<tr class="component2-color"><td><a href="#concept-responsibility" class="internalDFN">Responsibility</a></td><td><a title="actedOnBehalfOf" href="#dfn-actedonbehalfof" class="internalDFN">actedOnBehalfOf(id,ag2,ag1,a,attrs)</a></td></tr>
-<tr class="component3-color"><td><a href="#concept-derivation" class="internalDFN">Derivation</a></td><td><a title="wasDerivedFrom" href="#dfn-wasderivedfrom" class="internalDFN">wasDerivedFrom(id, e2, e1, a, g2, u1, attrs)</a></td></tr>
-<tr class="component3-color"><td><a href="#concept-revision" class="internalDFN">Revision</a></td><td><a title="wasRevisionOf" href="#dfn-wasrevisionof" class="internalDFN">wasRevisionOf(id,e2,e1,ag,attrs)</a></td></tr>
-<tr class="component3-color"><td><a href="#concept-quotation" class="internalDFN">Quotation</a></td><td><a title="wasQuotedFrom" href="#dfn-wasquotedfrom" class="internalDFN">wasQuotedFrom(id,e2,e1,ag2,ag1,attrs)</a></td></tr>
-<tr class="component3-color"><td><a href="#concept-original-source" class="internalDFN">Original Source</a></td><td><a title="hadOriginalSource" href="#dfn-hadoriginalsource" class="internalDFN">hadOriginalSource(id,e2,e1,attrs)</a></td></tr>
-<tr class="component3-color"><td><a href="#concept-traceability" class="internalDFN">Traceability</a></td><td><a title="tracedTo" href="#dfn-tracedto" class="internalDFN">tracedTo(id,e2,e1,attrs)</a></td></tr>
-<tr class="component4-color"><td><a href="#concept-alternate" class="internalDFN">Alternate</a></td><td><a title="alternateOf" href="#dfn-alternateof" class="internalDFN">alternateOf(alt1, alt2)</a></td></tr>
-<tr class="component4-color"><td><a href="#concept-specialization" class="internalDFN">Specialization</a></td><td><a title="specializationOf" href="#dfn-specializationof" class="internalDFN">specializationOf(sub, super)</a></td></tr>
-<tr class="component5-color"><td><a href="#concept-collection" class="internalDFN">Collection</a></td><td><a href="#concept-collection" class="internalDFN">Collection</a></td></tr>
-<tr class="component5-color"><td><a href="#concept-insertion" class="internalDFN">Insertion</a></td><td><a title="derivedByInsertionFrom" href="#dfn-derivedbyinsertionfrom" class="internalDFN">derivedByInsertionFrom(id, c2, c1, {(key_1, e_1), ..., (key_n, e_n)}, attrs)</a></td></tr>
-<tr class="component5-color"><td><a href="#concept-removal" class="internalDFN">Removal</a></td><td><a title="derivedByRemovalFrom" href="#dfn-derivedbyremovalfrom" class="internalDFN">derivedByRemovalFrom(id, c2, c1, {key_1, ... key_n}, attrs)</a></td></tr>
-<tr class="component5-color"><td><a href="#concept-membership" class="internalDFN">Membership</a></td><td><a title="memberOf" href="#dfn-memberof" class="internalDFN">memberOf(c, {(key_1, e_1), ..., (key_n, e_n)})</a></td></tr>
-<tr class="component6-color"><td><a href="#concept-note" class="internalDFN">Note</a></td><td><a title="dfn-note" href="#dfn-note" class="internalDFN">note(id, [ attr1=val1, ...])</a></td></tr>
-<tr class="component6-color"><td><a href="#concept-annotation" class="internalDFN">Annotation</a></td><td><a title="hasAnnotation" href="#dfn-hasannotation" class="internalDFN">hasAnnotation(r,n)</a></td></tr>
-</tbody></table>
+<tr><td><a><b><span class="insert">Type or Relation Name</span></b></a></td><td><b><span class="insert">Representation in the PROV-N notation</span></b></td></tr>
+<tr class="component1-color"><td><a>Entity</a></td><td><a title="dfn-Entity">entity(id, [ attr1=val1, ...])</a></td></tr>
+<tr class="component1-color"><td><a>Activity</a></td><td><a title="dfn-Activity">activity(id, st, et, [ attr1=val1, ...])</a></td></tr>
+<tr class="component1-color"><td><a>Generation</a></td><td><a title="wasGeneratedBy">wasGeneratedBy(id,e,a,t,attrs)</a></td></tr>
+<tr class="component1-color"><td><a>Usage</a></td><td><a title="used">used(id,a,e,t,attrs)</a></td></tr>
+<tr class="component1-color"><td><a>Start</a></td><td><a title="wasStartedBy">wasStartedBy(id,a,e,t,attrs)</a></td></tr>
+<tr class="component1-color"><td><a>End</a></td><td><a title="wasEndedBy">wasEndedBy(id,a,e,t,attrs)</a></td></tr>
+<tr class="component1-color"><td><a>Communication</a></td><td><a title="wasInformedBy">wasInformedBy(id,a2,a1,attrs)</a></td></tr>
+<tr class="component1-color"><td><a>Start by Activity</a></td><td><a title="wasStartedByActivity">wasStartedByActivity(id, a2, a1, attrs)</a></td></tr>
+<tr class="component2-color"><td><a>Agent</a></td><td><a title="dfn-agent">agent(id, [ attr1=val1, ...])</a></td></tr>
+<tr class="component2-color"><td><a>Attribution</a></td><td><a title="wasAttributedTo">wasAttributedTo(id,e,ag,attr)</a></td></tr>
+<tr class="component2-color"><td><a>Association</a></td><td><a title="wasAssociatedWith">wasAssociatedWith(id,a,ag,pl,attrs)</a></td></tr>
+<tr class="component2-color"><td><a>Responsibility</a></td><td><a title="actedOnBehalfOf">actedOnBehalfOf(id,ag2,ag1,a,attrs)</a></td></tr>
+<tr class="component3-color"><td><a>Derivation</a></td><td><a title="wasDerivedFrom">wasDerivedFrom(id, e2, e1, a, g2, u1, attrs)</a></td></tr>
+<tr class="component3-color"><td><a>Revision</a></td><td><a title="wasRevisionOf">wasRevisionOf(id,e2,e1,ag,attrs)</a></td></tr>
+<tr class="component3-color"><td><a>Quotation</a></td><td><a title="wasQuotedFrom">wasQuotedFrom(id,e2,e1,ag2,ag1,attrs)</a></td></tr>
+<tr class="component3-color"><td><a>Original Source</a></td><td><a title="hadOriginalSource">hadOriginalSource(id,e2,e1,attrs)</a></td></tr>
+<tr class="component3-color"><td><a>Traceability</a></td><td><a title="tracedTo">tracedTo(id,e2,e1,attrs)</a></td></tr>
+<tr class="component4-color"><td><a>Alternate</a></td><td><a title="alternateOf">alternateOf(alt1, alt2)</a></td></tr>
+<tr class="component4-color"><td><a>Specialization</a></td><td><a title="specializationOf">specializationOf(sub, super)</a></td></tr>
+<tr class="component5-color"><td><a>Collection</a></td><td><a>Collection</a></td></tr>
+<tr class="component5-color"><td><a>Insertion</a></td><td><a title="derivedByInsertionFrom">derivedByInsertionFrom(id, c2, c1, {(key_1, e_1), ..., (key_n, e_n)}, attrs)</a></td></tr>
+<tr class="component5-color"><td><a>Removal</a></td><td><a title="derivedByRemovalFrom">derivedByRemovalFrom(id, c2, c1, {key_1, ... key_n}, attrs)</a></td></tr>
+<tr class="component5-color"><td><a>Membership</a></td><td><a title="memberOf">memberOf(c, {(key_1, e_1), ..., (key_n, e_n)})</a></td></tr>
+<tr class="component6-color"><td><a>Note</a></td><td><a title="dfn-note">note(id, [ attr1=val1, ...])</a></td></tr>
+<tr class="component6-color"><td><a>Annotation</a></td><td><a title="hasAnnotation">hasAnnotation(r,n)</a></td></tr>
+</table>
 </div>
 
 <p>
@@ -1549,15 +1778,15 @@
 
 
 
-<div id="component1" class="section"> 
-<h3><span class="secno">4.1 </span>Component 1: Entities and Activities</h3>
-
-<p>The first component of PROV-DM is concerned with <a title="entity" href="#concept-entity" class="internalDFN">entities</a> and <a title="activity" href="#concept-activity" class="internalDFN">activities</a>, and their <span class="delete">inter-relations:</span><span class="insert">interrelations:</span> <a href="#concept-usage" class="internalDFN">Usage</a>, <a href="#concept-generation" class="internalDFN">Generation</a>, <a href="#concept-start" class="internalDFN">Start</a>, <a href="#concept-end" class="internalDFN">End</a>, <a href="#concept-communication" class="internalDFN">Communication</a>, and <a href="#concept-startByActivity" class="internalDFN">Start by Activity</a>. Figure <a href="#figure-component1">figure-component1</a> <span class="delete">overviews</span><span class="insert">uses UML to depict</span> the first component, with two <span class="delete">"UML classes"</span><span class="insert">classes</span> and binary associations between them. Associations are not just binary; indeed, <a href="#concept-usage" class="internalDFN">Usage</a>, <a href="#concept-generation" class="internalDFN">Generation</a>, <a href="#concept-start" class="internalDFN">Start</a>, <a href="#concept-end" class="internalDFN">End</a> <span class="delete">are remarkable because they have  </span><span class="insert">also include </span><em>time</em> <span class="delete">attributes, which are placeholders for time information related to provenance.</span><span class="insert">attributes.</span>
+<section id="component1"> 
+<h3><span class="delete">4.1 </span>Component 1: Entities and Activities</h3>
+
+<p>The first component of PROV-DM is concerned with <a title="entity">entities</a> and <a title="activity">activities</a>, and their <span class="delete">inter-relations: </span><span class="insert">interrelations: </span><a>Usage</a>, <a>Generation</a>, <a>Start</a>, <a>End</a>, <a>Communication</a>, and <a>Start by Activity</a>. Figure <a href="#figure-component1">figure-component1</a> <span class="delete">overviews</span><span class="insert">uses UML to depict</span> the first component, with two <span class="delete">"UML classes"</span><span class="insert">classes</span> and binary associations between them. Associations are not just binary; indeed, <a>Usage</a>, <a>Generation</a>, <a>Start</a>, <a>End</a> <span class="delete">are remarkable because they have  </span><span class="insert">also include </span><em>time</em> <span class="delete">attributes, which are placeholders for time information related to provenance.</span><span class="insert">attributes.</span>
 </p>
 
 <div style="text-align: center;">
 <figure>
-<img src="images/Entities-Activities.png" alt="entities and activities">
+<img src="images/Entities-Activities.png" alt="entities and activities"/>
 <figcaption id="figure-component1"><span class="insert">Figure 5: </span>Entities and Activities Component Overview</figcaption>
 </figure>
 </div>
@@ -1566,259 +1795,506 @@
 
 
 
-   <div id="term-Entity" class="section"> 
+   <section id="term-Entity"> 
       
-<h4><span class="secno">4.1.1 </span>Entity</h4>
-
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   An <dfn id="concept-entity">entity</dfn> is a <span class="delete">thing one    wants to provide provenance for.  For the purpose of this    specification, things can</span><span class="insert">physical, digital, conceptual, or other kind of thing; entities may</span> be <span class="delete">physical, digital, conceptual,</span><span class="insert">real</span> or<span class="delete">    otherwise; things may be real or</span> imaginary.    </div>
-
-
-<p></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> <span class="delete">contains:</span><span class="insert">has:</span>
+<h4><span class="delete">4.1.1 </span>Entity</h4>
+
+
+<span class="delete">   An </span><span class="delete">entity</span><span class="delete"> is a thing one    wants to provide provenance for.  For the purpose of this    specification, things can be physical, digital, conceptual, or    otherwise; things may be real or imaginary.   </span><div class="glossary-ref" data-ref="glossary-entity"></div>
+
+
+<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> <span class="delete">contains:</span><span class="insert">has:</span>
 <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 <span class="insert">additional information about </span>this <span class="delete">entity's situation in the world.</span><span class="insert">entity.</span></li>
-</ul></div>
-
-<div class="anexample">
-<p>
-The following expression</p>
-<pre class="codeexample">entity(tr:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
-</pre>
-states the existence of an entity, denoted by identifier <span class="name">tr:WD-prov-dm-20111215</span>,  with type <span class="name">document</span> and version number <span class="name">2</span>. The<span class="delete">  attributes</span><span class="insert"> attribute</span> <span class="name">ex:version</span> is application specific, whereas the attribute <span class="name">type</span> <span class="insert">(see </span><a href="#term-attribute-type"><span class="insert">Section 4.7.4.4</span></a><span class="insert">) </span>is reserved in the <span class="delete">PROV-DM namespace.</span><a title="prov-namespace" href="#dfn-prov-namespace" class="internalDFN"><span class="insert">PROV namespace</span></a><span class="insert">.</span>
-
-</div>
-
-
-<span class="delete">The characterization interval of an entity is currently implicit. Making it explicit would allow us to define wasComplementOf more precisely. 
-Beginning and end of characterization interval could be expressed by attributes (similarly to activities). 
-How do we define the end of an entity? This is </span><span class="delete">ISSUE-204</span><span class="delete">.
-</span>
-
-
-
-    
-
-
-
-
-    </div> 
-
-    <div id="term-Activity" class="section"> 
-      
-<h4><span class="secno">4.1.2 </span>Activity</h4>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   An <dfn id="concept-activity">activity</dfn>  is something that occurs over a period of time and acts upon or with <span class="delete">entities.</span><span class="insert">entities;</span>  <span class="delete">This action can take multiple forms:</span><span class="insert">it may include</span> consuming, processing, transforming, modifying, relocating, using, generating, or being associated with entities.  </div>
-
-<p></p><div class="attributes" id="attributes-activity"> An <dfn title="dfn-Activity" id="dfn-activity">activity</dfn><span class="withPn">, written <span class="pnExpression" id="pn-activity">activity(id, st, et, [attr1=val1, ...])</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span>
-<ul>
-<li><span class="attribute" id="activity.id">id</span>: an identifier for an activity;</li>
-<li><span class="attribute" id="activity.startTime">startTime</span>: an <em class="rfc2119" title="optional">optional</em> time (<span class="name">st</span>) for the start of the activity;</li>
-<li><span class="attribute" id="activity.endTime">endTime</span>: an <em class="rfc2119" title="optional">optional</em> time (<span class="name">et</span>) for the end of the activity;</li>
-<li><span class="attribute" id="activity.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>), ...) <span class="delete">for</span><span class="insert">representing additional information about</span> this activity.</li>
+<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 <span class="delete">optional</span><span class="insert">OPTIONAL</span> set of attribute-value  pairs ((<span class="name">attr1</span>, <span class="name">val1</span>), ...) representing <span class="insert">additional information about </span>this <span class="delete">entity's situation in the world.</span><span class="insert">entity.</span></li>
 </ul></div>
 
 <div class="anexample">
 <p>
 The following expression</p>
-<pre class="codeexample">activity(a1,2011-11-16T16:05:00,2011-11-16T16:06:00,
-        [ex:host="server.example.org",prov:type="ex:edit" %% xsd:QName])
+<pre class="codeexample">
+entity(tr:WD-prov-dm-20111215, [ prov:type="document", ex:version="2" ])
 </pre>
-<p>states the existence of an activity with identifier <span class="name">a1</span>, start time <span class="name">2011-11-16T16:05:00</span>, and end time <span class="name">2011-11-16T16:06:00</span>, running on host <span class="name">server.example.org</span>, and of type <span class="name">edit</span>.  The attribute <span class="name">host</span>  is application specific  (declared in some namespace with prefix <span class="name">ex</span>).  The attribute <span class="name">type</span> is a reserved attribute of PROV-DM, allowing for sub-typing to be <span class="delete">expressed.</span><span class="insert">expressed  (see </span><a href="#term-attribute-type"><span class="insert">Section 4.7.4.4</span></a><span class="insert">).</span></p>
-</div>
-
-
-
-<p>Further considerations:</p>
-<ul>
-<li>An activity is not an entity. This distinction is similar to the distinction between 
-'continuant' and 'occurrent' in logic [<cite><a class="bibref" rel="biblioentry" href="#bib-Logic">Logic</a></cite>].
-</li>
-</ul>
-
+states the existence of an entity, denoted by identifier <span class="name">tr:WD-prov-dm-20111215</span>,  with type <span class="name">document</span> and version number <span class="name">2</span>. The<span class="delete">  attributes</span><span class="insert"> attribute</span> <span class="name">ex:version</span> is application specific, whereas the attribute <span
+class="name">type</span> <span class="insert">(see </span><a href="#term-attribute-type"><span class="insert">Section 4.7.4.4</span></a><span class="insert">) </span>is reserved in the <span class="delete">PROV-DM namespace.</span><a title="prov-namespace"><span class="insert">PROV namespace</span></a><span class="insert">.</span>
 
 </div>
 
-<div id="term-Generation" class="section">
-<h4><span class="secno">4.1.3 </span>Generation</h4>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   <dfn id="concept-generation">Generation</dfn> is the completion of production of a new entity by an activity.   This entity <span class="insert">did not exist before generation and </span>becomes available for usage after this<span class="delete"> generation. This entity did not exist before</span> generation. </div>
+
+
+
+    </section> 
+
+    <section id="term-Activity"> 
+      
+<h3><span class="insert">Activity</span></h3>
+
+<div class="glossary-ref" data-ref="glossary-activity"></div>
+
+<p><div class="attributes" id="attributes-activity"><span class="insert"> An </span><dfn title="dfn-Activity" id="dfn-activity"><span class="insert">activity</span></dfn><span class="withPn"><span class="insert">, written </span><span class="pnExpression" id="pn-activity"><span class="insert">activity(id, st, et, [attr1=val1, ...])</span></span><span class="insert"> in PROV-N,</span></span><span class="insert"> has:
+</span><ul>
+<li><span class='attribute' id="activity.id"><span class="insert">id</span></span><span class="insert">: an identifier for an activity;</span></li>
+<li><span class='attribute' id="activity.startTime"><span class="insert">startTime</span></span><span class="insert">: an OPTIONAL time (</span><span class="name"><span class="insert">st</span></span><span class="insert">) for the start of the activity;</span></li>
+<li><span class='attribute' id="activity.endTime"><span class="insert">endTime</span></span><span class="insert">: an OPTIONAL time (</span><span class="name"><span class="insert">et</span></span><span class="insert">) for the end of the activity;</span></li>
+<li><span class='attribute' id="activity.attributes"><span class="insert">attributes</span></span><span class="insert">:  an OPTIONAL set of attribute-value pairs ((</span><span class="name"><span class="insert">attr1</span></span><span class="insert">, </span><span class="name"><span class="insert">val1</span></span><span class="insert">), ...) representing additional information about this activity.</span></li>
+</ul></div>
+
+<div class="anexample">
+<p><span class="insert">
+The following expression</span></p>
+<pre class="codeexample"><span class="insert">
+activity(a1,2011-11-16T16:05:00,2011-11-16T16:06:00,
+        [ex:host="server.example.org",prov:type="ex:edit" %% xsd:QName])
+</span></pre>
+<p><span class="insert">states the existence of an activity with identifier </span><span class="name"><span class="insert">a1</span></span><span class="insert">, start time </span><span class="name"><span class="insert">2011-11-16T16:05:00</span></span><span class="insert">, and end time </span><span
+class="name"><span class="insert">2011-11-16T16:06:00</span></span><span class="insert">, running on host </span><span class="name"><span class="insert">server.example.org</span></span><span class="insert">, and of type </span><span class="name"><span class="insert">edit</span></span><span class="insert">.  The attribute </span><span class="name"><span class="insert">host</span></span><span class="insert">  is application specific  (declared in some namespace with prefix </span><span class="name"><span class="insert">ex</span></span><span class="insert">).  The attribute </span><span
+class="name"><span class="insert">type</span></span><span class="insert"> is a reserved attribute of PROV-DM, allowing for sub-typing to be expressed  (see </span><a href="#term-attribute-type"><span class="insert">Section 4.7.4.4</span></a><span class="insert">).</span></p>
+</div>
+
+
+
+<p><span class="insert">Further considerations:</span></p>
+<ul>
+<li><span class="insert">An activity is not an entity. This distinction is similar to the distinction between 
+'continuant' and 'occurrent' in logic [[Logic]].
+</span></li>
+</ul>
+
+
+</section>
+
+<section id="term-Generation">
+<h4><span class="insert">Generation</span></h4>
+
+<div class="glossary-ref" data-ref="glossary-generation"></div>
 
 <p>
-</p><div class="attributes" id="attributes-generation"><dfn title="wasGeneratedBy" id="dfn-wasgeneratedby">Generation</dfn><span class="withPn">, written <span class="pnExpression">wasGeneratedBy(id,e,a,t,attrs)</span> in PROV-N,</span> <span class="delete">has the following components:</span><span class="insert">has:</span>
+<div class="attributes" id="attributes-generation"><dfn title="wasGeneratedBy"><span class="insert">Generation</span></dfn><span class="withPn"><span class="insert">, written </span><span class="pnExpression"><span class="insert">wasGeneratedBy(id,e,a,t,attrs)</span></span><span class="insert"> in PROV-N,</span></span><span class="insert"> has:
+</span><ul>
+<li><span class='attribute' id="generation.id"><span class="insert">id</span></span><span class="insert">:  an OPTIONAL identifier for a generation;</span></li> 
+<li><span class='attribute' id="generation.entity"><span class="insert">entity</span></span><span class="insert">:  an identifier (</span><span class="name"><span class="insert">e</span></span><span class="insert">) for a created entity; </span></li>
+<li><span class='attribute' id="generation.activity"><span class="insert">activity</span></span><span class="insert">:  an OPTIONAL identifier (</span><span class="name"><span class="insert">a</span></span><span class="insert">) for the activity that creates the entity;</span></li>
+
+<li><span class='attribute' id="generation.time"><span class="insert">time</span></span><span class="insert">: an OPTIONAL "generation time" (</span><span class="name"><span class="insert">t</span></span><span class="insert">), the time at which the entity was completely created;</span></li>
+
+<li><span class='attribute' id="generation.attributes"><span class="insert">attributes</span></span><span class="insert">:  an OPTIONAL set (</span><span class="name"><span class="insert">attrs</span></span><span class="insert">) of attribute-value pairs representing additional information about this generation.</span></li>
+</ul></div>
+<p><span class="insert">While each of the components </span><span class='attribute'><span class="insert">activity</span></span><span class="insert">, </span><span class='attribute'><span class="insert">time</span></span><span class="insert">, and  </span><span class='attribute'><span class="insert">attributes</span></span><span class="insert"> is OPTIONAL, at least one of them MUST be present.</span></p>
+
+
+
+
+
+<div class='anexample'>
+<p>
+The <span class="delete">characterization interval of</span><span class="insert">following expressions</span></p>
+<pre class="codeexample"><span class="insert">
+  wasGeneratedBy(e1,a1, 2001-10-26T21:32:52, [ex:port="p1"])
+  wasGeneratedBy(e2,a1, 2001-10-26T10:00:00, [ex:port="p2"])
+</span></pre>
+<p><span class="insert">state the existence of two generations (with respective times </span><span class="name"><span class="insert">2001-10-26T21:32:52</span></span><span class="insert"> and </span><span
+class="name"><span class="insert">2001-10-26T10:00:00</span></span><span class="insert">), at which new entities,  identified by </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">, are created by</span> an<span class="insert">
+activity,  identified by </span><span class="name"><span class="insert">a1</span></span><span class="insert">.
+The first one is available  on port </span><span class="name"><span class="insert">p1</span></span><span class="insert">, whereas the other is available on port </span><span class="name"><span class="insert">p2</span></span><span class="insert">.  The semantics of </span><span class="name"><span class="insert">port</span></span><span class="insert"> are application specific.
+</span></p>
+</div>
+
+
+<div class='anexample'>
+<p><span class="insert">
+In some cases, we may want to record the time at which an</span> entity <span class="insert">was generated without having to specify the activity that generated it. To support this requirement, the activity element in generation </span>is <span class="delete">currently implicit. Making it explicit would allow us to define wasComplementOf more precisely. 
+Beginning and end of characterization interval could</span><span class="insert">optional. Hence,  the following expression indicates the time at which an entity is generated, without naming the activity that did it.</span></p>
+<pre class="codeexample"><span class="insert">
+  wasGeneratedBy(e,-,2001-10-26T21:32:52)
+</span></pre>
+</div>
+
+<div class='issue'><span class="insert">A construct that marks the "end of life" of an entity may</span> be <span class="delete">expressed by attributes (similarly to activities). 
+How do we define the end of an entity? </span><span class="insert">introduced. 
+ </span>This is <a href="http://www.w3.org/2011/prov/track/issues/204">ISSUE-204</a>.
+</div>
+
+
+
+    
+
+
+</section>
+
+
+<section id="term-Usage">
+<h3><span class="insert">Usage</span></h3>
+
+<div class="glossary-ref" data-ref="glossary-usage"></div> 
+
+     
+      
+<span class="delete">4.1.2 </span><span class="delete">Activity</span>
+
+<span class="delete">   An </span>
+
+
+<p><div class="attributes" id="attributes-usage"><dfn title="used"><span class="insert">Usage</span></dfn><span class="withPn"><span class="insert">, written </span><span class="pnExpression"><span class="insert">used(id,a,e,t,attrs)</span></span><span class="insert"> in PROV-N,</span></span><span class="insert"> has:
+</span><ul>
+<li><span class='attribute' id="usage.id"><span class="insert">id</span></span><span class="insert">:  an OPTIONAL identifier for a usage;</span></li> 
+<li><span class='attribute' id="usage.activity">activity<span class="delete">  is something that occurs over a period of </span></span><span class="insert">: an identifier (</span><span class="name"><span class="insert">a</span></span><span class="insert">) for the consuming activity;</span></li>
+<li><span class='attribute' id="usage.entity"><span class="insert">entity</span></span><span class="insert">: an identifier (</span><span class="name"><span class="insert">e</span></span><span class="insert">) for the consumed entity;</span></li>
+<li><span class='attribute' id="usage.time">time<span class="delete"> and acts upon or with entities.  This action can take multiple forms: consuming, processing, transforming, modifying, relocating, using, generating, or being associated with entities.  </span></span><span class="insert">: an OPTIONAL "usage time" (</span><span class="name"><span class="insert">t</span></span><span class="insert">), the time at which the entity started to be used;</span></li>
+<li><span class='attribute' id="usage.attributes"><span class="insert">attributes</span></span><span class="insert">: an OPTIONAL set (</span><span class="name"><span class="insert">attrs</span></span><span class="insert">) of attribute-value pairs representing additional information about this usage.</span></li>
+</ul></div>
+
+<p><span class="insert">
+A reference to a given entity MAY appear in multiple usages that share
+ a given activity identifier. 
+</span></p> 
+
+
+<div class='anexample'>
+<p><span class="insert">The following usages</span></p>
+<pre class="codeexample"><span class="insert">
+  used(a1,e1,2011-11-16T16:00:00,[ex:parameter="p1"])
+  used(a1,e2,2011-11-16T16:00:01,[ex:parameter="p2"])
+</span></pre>
+<p><span class="insert">state that the activity identified by </span><span class="name"><span class="insert">a1</span></span><span class="insert"> used two entities identified by </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">, at times </span><span class="name"><span class="insert">2011-11-16T16:00:00</span></span><span class="insert"> and  </span><span class="name"><span class="insert">2011-11-16T16:00:01</span></span><span class="insert">, respectively; the first
+one was found as the value of parameter </span><span class="name"><span class="insert">p1</span></span><span class="insert">, whereas the second was found as value of parameter </span><span class="name"><span class="insert">p2</span></span><span class="insert">.  The semantics of </span><span
+class="name"><span class="insert">parameter</span></span><span class="insert"> is application specific.</span></p>
+</div>
+
+
+
+
+
+
+</section>
+
+
+<section id="term-Start">
+<h4><span class="insert">Start</span></h4>
+
+<div class="glossary-ref" data-ref="glossary-start"></div>
+
+
+<p><div class="attributes" id="attributes-start">An <span class="insert">activity </span><dfn title="wasStartedBy"><span class="insert">start</span></dfn><span class="withPn"><span class="insert">, written </span><span class="pnExpression"><span class="insert">wasStartedBy(id,a,e,t,attrs)</span></span><span class="insert"> in PROV-N,</span></span><span class="insert"> has:
+</span><ul>
+<li><span class='attribute' id="start.id"><span class="insert">id</span></span><span class="insert">:  an OPTIONAL identifier for the activity start;</span></li> 
+<li><span class='attribute' id="start.activity"><span class="insert">activity</span></span><span class="insert">: an identifier (</span><span class="name"><span class="insert">a</span></span><span class="insert">) for the started activity;</span></li> 
+<li><span class='attribute' id="start.trigger"><span class="insert">trigger</span></span><span class="insert">: an OPTIONAL identifier (</span><span class="name"><span class="insert">e</span></span><span class="insert">) for the entity triggering the activity;</span></li> 
+<li><span class='attribute' id="start.time"><span class="insert">time</span></span><span class="insert">: the OPTIONAL time (</span><span class="name"><span class="insert">t</span></span><span class="insert">) at which the activity was started; </span></li> 
+<li><span class='attribute' id="start.attributes"><span class="insert">attributes</span></span><span class="insert">: an OPTIONAL set (</span><span class="name"><span class="insert">attrs</span></span><span class="insert">) of attribute-value pairs representing additional information about this activity start.
+</span></ul>
+</div>
+
+<div class="anexample">
+<p><span class="insert">
+The following example contains the description of an activity </span><span class="name"><span class="insert">a1</span></span><span class="insert"> (a discussion), which was started at a specific time, and was triggered by an email message </span><span class="name"><span class="insert">e1</span></span><span class="insert">.</span></p>
+<pre class="codeexample"><span class="insert">
+entity(e1,[prov:type="email message"])
+activity(a1,[prov:type="Discuss"])
+wasStartedBy(a1,e1,2011-11-16T16:05:00)
+</span></pre><span class="insert">
+Furthermore, if the message is also an input to the activity, this can be described as follows:
+</span><pre class="codeexample"><span class="insert">
+used(a1,e1,-)
+</span></pre>
+</div>
+
+<div class="anexample">
+<p><span class="insert">
+In the following example, a race is started by a bang, and responsibility for this trigger is attributed to an agent 
+ </span><span class="name"><span class="insert">ex:DarthVader</span></span><span class="insert">.
+</span><pre class="codeexample"><span class="insert">
+activity(ex:foot_race)
+wasStartedBy(ex:foot_race,ex:bang,2012-03-09T08:05:08-05:00)
+entity(ex:bang)
+agent(ex:Bob)
+wasAttributedTo(ex:bang,ex:Bob)
+</span></pre>
+</div>
+
+
+<p><span class="insert">The relations wasStartedBy and used are orthogonal, and thus need to be expressed independently, according to the situation being described.</span></p>
+
+</section>
+
+<section id="term-End">
+<h4><span class="insert">End</span></h4>
+
+<div class="glossary-ref" data-ref="glossary-end"></div>
+
+
+<p><span class="insert">An activity </span><dfn title="wasEndedBy"><span class="insert">end</span></dfn><span class="withAsn"><span class="insert">, written </span><span class="pnExpression"><span class="insert">wasEndedBy(id,a,e,t,attrs)</span></span><span class="insert"> in PROV-N,</span></span><span class="insert"> has:</span></p>
 <ul>
-<li><span class="attribute" id="generation.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier for a generation;</li> 
-<li><span class="attribute" id="generation.entity">entity</span>:  an identifier (<span class="name">e</span>) for a created entity; </li>
-<li><span class="attribute" id="generation.activity">activity</span>:  an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">a</span>) for the activity that creates the entity;</li>
-
-<li><span class="attribute" id="generation.time">time</span>: an <em class="rfc2119" title="optional">optional</em> "generation time" (<span class="name">t</span>), the time at which the entity was completely created;</li>
-
-<li><span class="attribute" id="generation.attributes">attributes</span>:  an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">that describes the modalities of generation of</span><span class="insert">representing additional information about</span> this <span class="delete">entity by this activity.</span><span class="insert">generation.</span></li>
-</ul></div>
-<p>While each of the components <span class="attribute">activity</span>, <span class="attribute">time</span>, and  <span class="attribute">attributes</span> is <em class="rfc2119" title="optional">optional</em>, at least one of them <em class="rfc2119" title="must">must</em> be present.</p>
-
-
+<li><span class='attribute' id="end.id"><span class="insert">id</span></span><span class="insert">:  an OPTIONAL identifier for the activity end;</span></li> 
+<li><span class='attribute' id="end.activity"><span class="insert">activity</span></span><span class="insert">: an identifier (</span><span class="name"><span class="insert">a</span></span><span class="insert">) for the ended activity;
+</span><li><span class='attribute' id="end.trigger"><span class="insert">trigger</span></span><span class="insert">: an OPTIONAL identifier (</span><span class="name"><span class="insert">e</span></span><span class="insert">) for the entity triggering the activity ending;
+</span><li><span class='attribute' id="end.time"><span class="insert">time</span></span><span class="insert">: the OPTIONAL time (</span><span class="name"><span class="insert">t</span></span><span class="insert">) at which the activity was ended; </span></li> 
+<li><span class='attribute' id="end.attributes"><span class="insert">attributes</span></span><span class="insert">: an OPTIONAL set (</span><span class="name"><span class="insert">attrs</span></span><span class="insert">) of attribute-value pairs representing additional information about this activity end.
+</span></ul>
+
+<div class="anexample">
+<p><span class="insert">
+The following example is a description of an activity </span><span class="name"><span class="insert">a1</span></span><span class="insert"> (editing) that was ended following an approval document </span><span class="name"><span class="insert">e1</span></span><span class="insert">.</span></p>
+<pre class="codeexample"><span class="insert">
+entity(e1,[prov:type="approval document"])
+activity(a1,[prov:type="Editing"])
+wasEndedBy(a1,e1)
+</span></pre>
+</div>
+
+
+</section>
+
+<section id="term-wasInformedBy">
+<h3><span class="insert">Communication</span></h3>
+
+<div class="glossary-ref" data-ref="glossary-communication"></div>
+
+
+<p><span class="insert">A communication implies that activity  </span><span class="name"><span class="insert">a2</span></span><span class="insert"> is dependent on another </span><span class="name"><span class="insert">a1</span></span><span class="insert">, by way of some unspecified entity that is generated by </span><span class="name"><span class="insert">a1</span></span><span class="insert"> and used by </span><span class="name"><span class="insert">a2</span></span><span class="insert">.</span></p>
+
+
+
+
+<p><div class="attributes" id="attributes-wasInformedBy"><span class="insert">
+A </span><dfn title="wasInformedBy"><span class="insert">communication</span></dfn><span class="withPn"><span class="insert">, written as 
+</span><span class="pnExpression"><span class="insert">wasInformedBy(id,a2,a1,attrs)</span></span><span class="insert"> in PROV-N,</span></span><span class="insert"> has: 
+</span><ul>
+<li><span class='attribute' id="wasInformedBy.id"><span class="insert">id</span></span><span class="insert">:  an OPTIONAL identifier  identifying the relation;</span></li> 
+<li><span class='attribute' id="wasInformedBy.informed"><span class="insert">informed</span></span><span class="insert">: the identifier (</span><span class="name"><span class="insert">a2</span></span><span class="insert">) of the informed activity;
+</span><li><span class='attribute' id="wasInformedBy.informant"><span class="insert">informant</span></span><span class="insert">: the identifier (</span><span class="name"><span class="insert">a1</span></span><span class="insert">) of the informant activity;
+</span><li><span class='attribute' id="wasInformedBy.attributes"><span class="insert">attributes</span></span><span class="insert">: an OPTIONAL set (</span><span class="name"><span class="insert">attrs</span></span><span class="insert">) of attribute-value pairs representing additional information about this communication.</span></li>
+</ul>
+</div>
 
 
 
 <div class="anexample">
-<p>
-The following expressions</p>
-<pre class="codeexample">  wasGeneratedBy(e1,a1, 2001-10-26T21:32:52, [ex:port="p1"])
-  wasGeneratedBy(e2,a1, 2001-10-26T10:00:00, [ex:port="p2"])
-</pre>
-<p>state the existence of two generations (with respective times <span class="name">2001-10-26T21:32:52</span> and <span class="name">2001-10-26T10:00:00</span>), at which new entities,  identified by <span class="name">e1</span> and <span class="name">e2</span>, are created by an
-activity,  identified by <span class="name">a1</span>.
-The first one is available  on port <span class="delete">p1,</span><span class="name"><span class="insert">p1</span></span><span class="insert">,</span> whereas the other is available on port <span class="delete">p2.</span><span class="name"><span class="insert">p2</span></span><span class="insert">.</span>  The semantics of <span class="name">port</span> are application specific.
-</p>
-</div>
-
-
-<div class="anexample">
-<p>
-In some cases, we may want to record the time at which an entity was generated without having to specify the activity that generated it. To support this requirement, the activity <span class="delete">component</span><span class="insert">element</span> in generation is optional. Hence,  the following expression indicates the time at which an entity is generated, without naming the activity that did it.</p>
-<pre class="codeexample">  wasGeneratedBy(e,-,2001-10-26T21:32:52)
-</pre>
-</div>
-
-<div class="issue"><span class="insert">A construct that marks the "end of life" of an entity may be introduced. 
- This is </span><a href="http://www.w3.org/2011/prov/track/issues/204"><span class="insert">ISSUE-204</span></a><span class="insert">.</span>
-</div>
-
-
-</div>
-
-
-<div id="term-Usage" class="section">
-<h4><span class="secno">4.1.4 </span>Usage</h4>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   <dfn id="concept-usage">Usage</dfn> is the beginning of <span class="delete">consumption of</span><span class="insert">utilizing</span> an entity by an activity. Before usage, the activity had not begun to <span class="delete">consume or use</span><span class="insert">utilize</span> this entity and could not have been affected by the entity. </div>
-
-
-<p></p><div class="attributes" id="attributes-usage"><dfn title="used" id="dfn-used">Usage</dfn><span class="withPn">, written <span class="pnExpression">used(id,a,e,t,attrs)</span> in PROV-N,</span> <span class="delete">has the following constituents:</span><span class="insert">has:</span>
+<p><span class="insert">
+Consider 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">, the former performed by a government agency, and the latter by a driver caught speeding. 
+</span><pre class="codeexample"><span class="insert">
+activity(a1, [prov:type="traffic regulations enforcing"])
+activity(a2, [prov:type="fine paying; check writing; mailing"])
+wasInformedBy(a2,a1)
+</span></pre><span class="insert">
+The last line indicates that some implicit entity was generated by  </span><span class="name"><span class="insert">a1</span></span><span class="insert"> and used by  </span><span class="name"><span class="insert">a2</span></span><span class="insert">; this entity may be a traffic ticket that had a notice of fine, amount, and payment mailing details.
+</span></div>
+</section>
+
+<section id="term-wasStartedByActivity">
+<h3><span class="insert">Start by Activity</span></h3>
+
+<div class="glossary-ref" data-ref="glossary-startByActivity"></div>
+
+
+
+<p><div class="attributes" id="attributes-startByActivity"><span class="insert">
+A </span><dfn title="wasStartedByActivity"><span class="insert">start by </span>activity</dfn><span class="withPn">, written <span class="delete">activity(id, st, et, [attr1=val1, ...])</span><span class="insert">as 
+</span><span class="pnExpression"><span class="insert">wasStartedByActivity(id, a2, a1, attrs)</span></span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span>
 <ul>
-<li><span class="attribute" id="usage.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier for a usage;</li> 
-<li><span class="attribute" id="usage.activity">activity</span>: an identifier (<span class="name">a</span>) for the consuming activity;</li>
-<li><span class="attribute" id="usage.entity">entity</span>: an identifier (<span class="name">e</span>) for the consumed entity;</li>
-<li><span class="attribute" id="usage.time">time</span>: an <em class="rfc2119" title="optional">optional</em> "usage time" (<span class="name">t</span>), the time at which the entity started to be used;</li>
-<li><span class="attribute" id="usage.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">that describe the modalities of usage of</span><span class="insert">representing additional information about</span> this <span class="delete">entity by this activity.</span><span class="insert">usage.</span></li>
-</ul></div>
-
-<p>
-A reference to a given entity <em class="rfc2119" title="may">may</em> appear in multiple usages that share
+<li><span class='attribute' id="startByActivity.id">id<span class="delete">: an identifier for an activity;</span>
+<span class="delete">startTime</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> time (</span><span class="delete">st</span><span class="delete">) for the start of the activity;</span>
+<span class="delete">endTime</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> time (</span><span class="delete">et</span><span class="delete">) for the end of the activity;</span>
+<span class="delete">attributes</span></span>:  an <span class="delete">optional</span><span class="delete"> set of attribute-value pairs ((</span><span class="delete">attr1</span><span class="delete">, </span><span class="delete">val1</span><span class="delete">), ...) for this activity.</span>
+
+
+
+<span class="delete">
+The following expression</span>
+<span class="delete">activity(a1,2011-11-16T16:05:00,2011-11-16T16:06:00,
+        [ex:host="server.example.org",prov:type="ex:edit" %% xsd:QName])
+</span>
+<span class="delete">states the existence of an activity with</span><span class="insert">OPTIONAL</span> identifier <span class="delete">a1</span><span class="delete">, start time </span><span class="delete">2011-11-16T16:05:00</span><span class="delete">, and end time </span><span class="delete">2011-11-16T16:06:00</span><span class="delete">, running on host </span><span class="delete">server.example.org</span><span class="delete">, and of type </span><span class="delete">edit</span><span class="delete">.  The attribute </span><span class="delete">host</span><span class="delete">  is application specific  (declared in some namespace with prefix </span><span class="delete">ex</span><span class="delete">).  The attribute </span><span class="delete">type</span><span class="delete"> is a reserved attribute of PROV-DM, allowing for sub-typing to be expressed.</span>
+
+
+
+
+<span class="delete">Further considerations:</span>
+
+<span class="delete">An activity is not an entity. 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">4.1.3 </span><span class="delete">Generation</span>
+
+   <span class="delete">Generation</span><span class="delete"> is the completion of production of a new entity by an activity.  This entity becomes available for usage after this generation. This entity did not exist before generation. </span>
+
+
+<span class="delete">Generation</span><span class="delete">, written </span><span class="delete">wasGeneratedBy(id,e,a,t,attrs)</span><span class="delete"> in PROV-N,</span><span class="delete"> has the following components:
+</span>
+<span class="delete">id</span><span class="delete">:  an </span><span class="delete">optional</span><span class="delete"> identifier for a generation;</span> 
+<span class="delete">entity</span><span class="delete">:  an identifier (</span><span class="delete">e</span><span class="delete">) for a created entity; </span>
+<span class="delete">activity</span><span class="delete">:  an </span><span class="delete">optional</span><span class="delete"> identifier (</span><span class="delete">a</span><span class="delete">) for the activity that creates the entity;</span>
+
+<span class="delete">time</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> "generation time" (</span><span class="delete">t</span><span class="delete">), the time at which the entity was completely created;</span>
+
+<span class="delete">attributes</span><span class="delete">:  an </span><span class="delete">optional</span><span class="delete"> set (</span><span class="delete">attrs</span><span class="delete">) of attribute-value pairs that describes the modalities of generation of this entity by this activity.</span>
+
+<span class="delete">While each of the components </span><span class="delete">activity</span><span class="delete">, </span><span class="delete">time</span><span class="delete">, and  </span><span class="delete">attributes</span><span class="delete"> is </span><span class="delete">optional</span><span class="delete">, at least one of them </span><span class="delete">must</span><span class="delete"> be present.</span>
+
+
+
+
+
+
+<span class="delete">
+The following expressions</span>
+<span class="delete">  wasGeneratedBy(e1,a1, 2001-10-26T21:32:52, [ex:port="p1"])
+  wasGeneratedBy(e2,a1, 2001-10-26T10:00:00, [ex:port="p2"])
+</span>
+<span class="delete">state the existence of two generations (with respective times </span><span class="delete">2001-10-26T21:32:52</span><span class="delete"> and </span><span class="delete">2001-10-26T10:00:00</span><span class="delete">), at which new entities,  identified by </span><span class="delete">e1</span><span class="delete"> and </span><span class="delete">e2</span><span class="delete">, are created by an
+activity,  identified by </span><span class="delete">a1</span><span class="delete">.
+The first one is available  on port p1, whereas the other is available on port p2.  The semantics of </span><span class="delete">port</span><span class="delete"> are application specific.
+</span>
+
+
+
+
+<span class="delete">
+In some cases, we may want to record the time at which an entity was generated without having to specify the activity that generated it. To support this requirement, the activity component in generation is optional. Hence,  the following expression indicates the time at which an entity is generated, without naming the activity that did it.</span>
+<span class="delete">  wasGeneratedBy(e,-,2001-10-26T21:32:52)
+</span>
+
+
+
+
+
+
+
+<span class="delete">4.1.4 </span><span class="delete">Usage</span>
+
+   <span class="delete">Usage</span><span class="delete"> is the beginning of consumption of an entity by an activity. Before usage, the activity had not begun to consume or use this entity and could not have been affected by the entity. </span>
+
+
+<span class="delete">Usage</span><span class="delete">, written </span><span class="delete">used(id,a,e,t,attrs)</span><span class="delete"> in PROV-N,</span><span class="delete"> has the following constituents:
+</span>
+<span class="delete">id</span><span class="delete">:  an </span><span class="delete">optional</span><span class="delete"> identifier for a usage;</span> 
+<span class="delete">activity</span><span class="delete">: an identifier (</span><span class="delete">a</span><span class="delete">) for the consuming activity;</span>
+<span class="delete">entity</span><span class="delete">: an identifier (</span><span class="delete">e</span><span class="delete">) for the consumed entity;</span>
+<span class="delete">time</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> "usage time" (</span><span class="delete">t</span><span class="delete">), the time at which the entity started to be used;</span>
+<span class="delete">attributes</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> set (</span><span class="delete">attrs</span><span class="delete">) of attribute-value pairs that describe the modalities of usage of this entity by this activity.</span>
+
+
+<span class="delete">
+A reference to a given entity </span><span class="delete">may</span><span class="delete"> appear in multiple usages that share
  a given activity identifier. 
-</p>
-
-
-<div class="anexample">
-<p>The following usages</p>
-<pre class="codeexample">  used(a1,e1,2011-11-16T16:00:00,[ex:parameter="p1"])
+</span>
+
+
+
+<span class="delete">The following usages</span>
+<span class="delete">  used(a1,e1,2011-11-16T16:00:00,[ex:parameter="p1"])
   used(a1,e2,2011-11-16T16:00:01,[ex:parameter="p2"])
-</pre>
-<p>state that the activity identified by <span class="name">a1</span> used two entities identified by <span class="name">e1</span> and <span class="name">e2</span>, at times <span class="name">2011-11-16T16:00:00</span> and  <span class="name">2011-11-16T16:00:01</span>, respectively; the first
-one was found as the value of parameter <span class="name">p1</span>, whereas the second was found as value of parameter <span class="name">p2</span>.  The semantics of <span class="name">parameter</span> is application specific.</p>
-</div>
-
-
-
-
-
-
-</div>
-
-
-<div id="term-Start" class="section">
-<h4><span class="secno">4.1.5 </span>Start</h4>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   <dfn id="concept-start">Start</dfn> is when an activity is deemed to have started.  The activity did not exist before its start. Any usage or generation involving an activity follows <span class="delete">its</span><span class="insert">the activity's</span> start. A start may refer to an entity, known as <dfn id="concept-start-trigger">trigger</dfn>, that initiated the activity. </div>
-
-
-<p></p><div class="attributes" id="attributes-start">An activity <dfn title="wasStartedBy" id="dfn-wasstartedby">start</dfn><span class="withPn">, written <span class="pnExpression">wasStartedBy(id,a,e,t,attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span>
-<ul>
-<li><span class="attribute" id="start.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier for the activity start;</li> 
-<li><span class="attribute" id="start.activity">activity</span>: an identifier (<span class="name">a</span>) for the started activity;</li> 
-<li><span class="attribute" id="start.trigger">trigger</span>: an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">e</span>) for the entity triggering the activity;</li> 
-<li><span class="attribute" id="start.time">time</span>: the <em class="rfc2119" title="optional">optional</em> time (<span class="name">t</span>) at which the activity was started; </li> 
-<li><span class="attribute" id="start.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">describing modalities according to which the</span><span class="insert">representing additional information about this</span> activity <span class="delete">was started.</span><span class="insert">start.</span>
-</li></ul>
-</div>
-
-<div class="anexample">
-<p>
-The following example contains the description of an activity <span class="name">a1</span> (a discussion), which was started at a specific time, and was triggered by an email message <span class="name">e1</span>.</p>
-<pre class="codeexample">entity(e1,[prov:type="email message"])
+</span>
+<span class="delete">state that the activity identified by </span><span class="delete">a1</span><span class="delete"> used two entities identified by </span><span class="delete">e1</span><span class="delete"> and </span><span class="delete">e2</span><span class="delete">, at times </span><span class="delete">2011-11-16T16:00:00</span><span class="delete"> and  </span><span class="delete">2011-11-16T16:00:01</span><span class="delete">, respectively; the first
+one was found as the value of parameter </span><span class="delete">p1</span><span class="delete">, whereas the second was found as value of parameter </span><span class="delete">p2</span><span class="delete">.  The semantics of </span><span class="delete">parameter</span><span class="delete"> is application specific.</span>
+
+
+
+
+
+
+
+
+
+
+
+<span class="delete">4.1.5 </span><span class="delete">Start</span>
+
+   <span class="delete">Start</span><span class="delete"> is when an activity is deemed to have started.  The activity did not exist before its start. Any usage or generation involving an activity follows its start. A start may refer to an entity, known as </span><span class="delete">trigger</span><span class="delete">, that initiated the activity. </span>
+
+
+<span class="delete">An activity </span><span class="delete">start</span><span class="delete">, written </span><span class="delete">wasStartedBy(id,a,e,t,attrs)</span><span class="delete"> in PROV-N,</span><span class="delete"> contains:
+</span>
+<span class="delete">id</span><span class="delete">:  an </span><span class="delete">optional</span><span class="delete"> identifier for the activity start;</span> 
+<span class="delete">activity</span><span class="delete">: an identifier (</span><span class="delete">a</span><span class="delete">) for the started activity;</span> 
+<span class="delete">trigger</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> identifier (</span><span class="delete">e</span><span class="delete">) for the entity triggering the activity;</span> 
+<span class="delete">time</span><span class="delete">: the </span><span class="delete">optional</span><span class="delete"> time (</span><span class="delete">t</span><span class="delete">) at which the activity was started; </span> 
+<span class="delete">attributes</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> set (</span><span class="delete">attrs</span><span class="delete">) of attribute-value pairs describing modalities according to which the activity was started.
+</span>
+
+
+
+<span class="delete">
+The following example contains the description of an activity </span><span class="delete">a1</span><span class="delete"> (a discussion), which was started at a specific time, and was triggered by an email message </span><span class="delete">e1</span><span class="delete">.</span>
+<span class="delete">entity(e1,[prov:type="email message"])
 activity(a1,[prov:type="Discuss"])
 wasStartedBy(a1,e1,2011-11-16T16:05:00)
-</pre>
-Furthermore, if the <span class="delete">activity happens</span><span class="insert">message is also an input</span> to <span class="delete">consume the message content, then the message would also</span><span class="insert">the activity, this can</span> be <span class="delete">regarded as an input to the activity, which we describe</span><span class="insert">described</span> as follows:
-<pre class="codeexample">used(a1,e1,-)
-</pre>
-</div>
-
-<div class="anexample">
-<p>
+</span><span class="delete">
+Furthermore, if the activity happens to consume the message content, then the message would also be regarded as an input to the activity, which we describe as follows:
+</span><span class="delete">used(a1,e1,-)
+</span>
+
+
+
+<span class="delete">
 In the following example, a race is started by a bang, and responsibility for this trigger is attributed to an agent 
- <span class="name">ex:DarthVader</span>.
-</p><pre class="codeexample">activity(ex:foot_race)
+ </span><span class="delete">ex:DarthVader</span><span class="delete">.
+</span><span class="delete">activity(ex:foot_race)
 wasStartedBy(ex:foot_race,ex:bang,2012-03-09T08:05:08-05:00)
 entity(ex:bang)
-<span class="delete">agent(ex:DarthVader)
-wasAttributedTo(ex:foot_race,ex:DarthVader)</span><span class="insert">agent(ex:Bob)
-wasAttributedTo(ex:bang,ex:Bob)</span>
-</pre>
-</div>
-
-
-<p>The relations wasStartedBy and used are orthogonal, and thus need to be expressed independently, according to the situation being described.</p>
-
-</div>
-
-<div id="term-End" class="section">
-<h4><span class="secno">4.1.6 </span>End</h4>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   <dfn id="concept-end">End</dfn> is when an activity is deemed to have ended.  The activity no longer exists after its end. Any usage, generation, or invalidation involving an activity precedes <span class="delete">its</span><span class="insert">the activity's</span> end. An end may refer to an entity, known as <dfn id="concept-end-trigger">trigger</dfn>, that terminated the activity. </div>
-
-
-<p>An activity <dfn title="wasEndedBy" id="dfn-wasendedby">end</dfn><span class="withAsn">, written <span class="pnExpression">wasEndedBy(id,a,e,t,attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
-<ul>
-<li><span class="attribute" id="end.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier for the activity end;</li> 
-<li><span class="attribute" id="end.activity">activity</span>: an identifier (<span class="name">a</span>) for the ended activity;
-</li><li><span class="attribute" id="end.trigger">trigger</span>: an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">e</span>) for the entity triggering the activity ending;
-</li><li><span class="attribute" id="end.time">time</span>: the <em class="rfc2119" title="optional">optional</em> time (<span class="name">t</span>) at which the activity was ended; </li> 
-<li><span class="attribute" id="end.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">describing modalities according to which the</span><span class="insert">representing additional information about this</span> activity <span class="delete">was ended.</span><span class="insert">end.</span>
-</li></ul>
-
-<div class="anexample">
-<p>
-The following example is a description of an activity <span class="name">a1</span> (editing) that was ended following an approval document <span class="name">e1</span>.</p>
-<pre class="codeexample">entity(e1,[prov:type="approval document"])
+agent(ex:DarthVader)
+wasAttributedTo(ex:foot_race,ex:DarthVader)
+</span>
+
+
+
+<span class="delete">The relations wasStartedBy and used are orthogonal, and thus need to be expressed independently, according to the situation being described.</span>
+
+
+
+
+<span class="delete">4.1.6 </span><span class="delete">End</span>
+
+   <span class="delete">End</span><span class="delete"> is when an activity is deemed to have ended.  The activity no longer exists after its end. Any usage, generation, or invalidation involving an activity precedes its end. An end may refer to an entity, known as </span><span class="delete">trigger</span><span class="delete">, that terminated the activity. </span>
+
+
+<span class="delete">An activity </span><span class="delete">end</span><span class="delete">, written </span><span class="delete">wasEndedBy(id,a,e,t,attrs)</span><span class="delete"> in PROV-N,</span><span class="delete"> contains:</span>
+
+<span class="delete">id</span><span class="delete">:  an </span><span class="delete">optional</span><span class="delete"> identifier for the activity end;</span> 
+<span class="delete">activity</span><span class="delete">: an identifier (</span><span class="delete">a</span><span class="delete">) for the ended activity;
+</span><span class="delete">trigger</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> identifier (</span><span class="delete">e</span><span class="delete">) for the entity triggering the activity ending;
+</span><span class="delete">time</span><span class="delete">: the </span><span class="delete">optional</span><span class="delete"> time (</span><span class="delete">t</span><span class="delete">) at which the activity was ended; </span> 
+<span class="delete">attributes</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> set (</span><span class="delete">attrs</span><span class="delete">) of attribute-value pairs describing modalities according to which the activity was ended.
+</span>
+
+
+<span class="delete">
+The following example is a description of an activity </span><span class="delete">a1</span><span class="delete"> (editing) that was ended following an approval document </span><span class="delete">e1</span><span class="delete">.</span>
+<span class="delete">entity(e1,[prov:type="approval document"])
 activity(a1,[prov:type="Editing"])
 wasEndedBy(a1,e1)
-</pre>
-</div>
-
-
-</div>
-
-<div id="term-wasInformedBy" class="section">
-<h4><span class="secno">4.1.7 </span>Communication</h4>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   <dfn id="concept-communication">Communication</dfn> is the exchange of an entity by two activities, one activity using the entity generated by the other. </div>
-
-
-<p>A communication implies that activity  <span class="name">a2</span> is dependent on another <span class="name">a1</span>, by way of some unspecified entity that is generated by <span class="name">a1</span> and used by <span class="name">a2</span>.</p>
-
-
-
-
-<p></p><div class="attributes" id="attributes-wasInformedBy">
-A <dfn title="wasInformedBy" id="dfn-wasinformedby">communication</dfn><span class="withPn">, written as 
-<span class="pnExpression">wasInformedBy(id,a2,a1,attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span> 
-<ul>
-<li><span class="attribute" id="wasInformedBy.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier  identifying the relation;</li> 
-<li><span class="attribute" id="wasInformedBy.informed">informed</span>: the identifier (<span class="name">a2</span>) of the informed activity;
-</li><li><span class="attribute" id="wasInformedBy.informant">informant</span>: the identifier (<span class="name">a1</span>) of the informant activity;
-</li><li><span class="attribute" id="wasInformedBy.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe properties of the relation.</span><span class="insert">representing additional information about this communication.</span></li>
+</span>
+
+
+
+
+
+
+<span class="delete">4.1.7 </span><span class="delete">Communication</span>
+
+   <span class="delete">Communication</span><span class="delete"> is the exchange of an entity by two activities, one activity using the entity generated by the other. </span>
+
+
+<span class="delete">A communication implies that activity  </span><span class="delete">a2</span><span class="delete"> is dependent on another </span><span class="delete">a1</span><span class="delete">, by way of some unspecified entity that is generated by </span><span class="delete">a1</span><span class="delete"> and used by </span><span class="delete">a2</span><span class="delete">.</span>
+
+
+
+
+<span class="delete">
+A </span><span class="delete">communication</span><span class="delete">, written as 
+</span><span class="delete">wasInformedBy(id,a2,a1,attrs)</span><span class="delete"> in PROV-N,</span><span class="delete"> contains: 
+</span>
+<span class="delete">id</span><span class="delete">:  an </span><span class="delete">optional</span><span class="delete"> identifier  identifying</span><span class="insert">of</span> the relation;</li> 
+<li><span class="delete">informed</span><span class='attribute' id="startByActivity.started"><span class="insert">started</span></span>: the identifier (<span class="name">a2</span>) of<span class="delete"> the informed</span><span class="insert">  the started</span> activity;
+<li><span class='attribute' id="startByActivity.starter"><span class="insert">starter</span></span><span class="insert">: the identifier (</span><span class="name"><span class="insert">a1</span></span><span class="insert">) of the activity that started the other;</span></li>
+<li><span class="delete">informant</span><span class='attribute' id="startByActivity.attributes"><span class="insert">attributes</span></span>: <span class="delete">the identifier</span><span class="insert">an OPTIONAL set</span> (<span class="name"><span class="delete">a1</span><span class="insert">attrs</span></span>) of <span class="delete">the informant activity;
+</span><span class="delete">attributes</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> set (</span><span class="delete">attrs</span><span class="delete">) of </span>attribute-value pairs <span class="delete">to further describe properties of the relation.</span><span class="insert">representing additional information about this start by activity.</span></li>
 </ul>
 </div>
 
@@ -1826,79 +2302,85 @@
 
 <div class="anexample">
 <p>
-Consider two <span class="delete">long running services, which we represent by </span>activities  <span class="name"><span class="delete">s1</span><span class="insert">a1</span></span> and <span class="name"><span class="delete">s2</span><span class="delete">.  
-</span><span class="insert">a2</span></span><span class="insert">, the former performed by a government agency, and the latter by a driver caught speeding. 
-</span></p><pre class="codeexample"><span class="delete">activity(s1, [prov:type="service"])
-activity(s2, [prov:type="service"])
-wasInformedBy(s2,s1)</span><span class="insert">activity(a1, [prov:type="traffic regulations enforcing"])
-activity(a2, [prov:type="fine paying; check writing; mailing"])
-wasInformedBy(a2,a1)</span>
-</pre>
-The last line indicates that some<span class="insert"> implicit</span> entity was generated by  <span class="name"><span class="delete">s1</span><span class="insert">a1</span></span> and used by  <span class="name"><span class="delete">s2</span><span class="delete">.</span><span class="insert">a2</span></span><span class="insert">; this entity may be a traffic ticket that had a notice of fine, amount, and payment mailing details.</span>
-</div>
-</div>
-
-<div id="term-wasStartedByActivity" class="section">
-<h4><span class="secno">4.1.8 </span>Start by Activity</h4>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   <dfn id="concept-startByActivity">Start by Activity</dfn> is the start of an activity with an implicit trigger generated by another activity. </div>
-
-
-
-<p></p><div class="attributes" id="attributes-startByActivity">
-A <dfn title="wasStartedByActivity" id="dfn-wasstartedbyactivity">start by activity</dfn><span class="withPn">, written as 
-<span class="pnExpression">wasStartedByActivity(id, a2, a1, attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span>
-<ul>
-<li><span class="attribute" id="startByActivity.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier of the relation;</li> 
-<li><span class="attribute" id="startByActivity.started">started</span>: the identifier (<span class="name">a2</span>) of  the started activity;
-</li><li><span class="attribute" id="startByActivity.starter">starter</span>: the identifier (<span class="name">a1</span>) of the activity that started the other;</li>
-<li><span class="attribute" id="startByActivity.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the relation.</span><span class="insert">representing additional information about this start by activity.</span></li>
-</ul>
-</div>
-
-
-
-<div class="anexample">
-<p>
-Suppose activities <span class="name">a1</span> and <span class="name">a2</span> are computer processes that are executed on different hosts, and that <span class="name">a1</span> started <span class="name">a2</span>. This can be expressed as in the following fragment:</p>
-<pre class="codeexample">activity(a1,t1,t2,[ex:host="server1.example.org",prov:type="workflow"])
+<span class="delete">Consider two long running services, which we represent</span><span class="insert">Suppose 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"> are computer processes that are executed on different hosts, and that </span><span class="name"><span class="insert">a1</span></span><span class="insert"> started </span><span class="name"><span class="insert">a2</span></span><span class="insert">. This can be expressed as in the following fragment:</span></p>
+<pre class="codeexample"><span class="insert">
+activity(a1,t1,t2,[ex:host="server1.example.org",prov:type="workflow"])
 activity(a2,t3,t4,[ex:host="server2.example.org",prov:type="subworkflow"])
 wasStartedByActivity(a2,a1)
-</pre><span class="insert">
-It is assumed that the 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"> are of type "workflow" and "subworkflow", respectively; the latter was started by the former.</span>
-</div>
-
+</span></pre><span class="insert">
+It is assumed that the 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"> are of type "workflow" and "subworkflow", respectively; the latter was started</span> by <span class="delete">activities  </span><span class="delete">s1</span><span class="delete"> and </span><span class="delete">s2</span><span class="delete">.  
+</span><span class="delete">activity(s1, [prov:type="service"])
+activity(s2, [prov:type="service"])
+wasInformedBy(s2,s1)
+</span><span class="delete">
+The last line indicates that some entity was generated by  </span><span class="delete">s1</span><span class="delete"> and used by  </span><span class="delete">s2</span><span class="delete">.
+</span><span class="insert">the former.</span>
 </div>
 
 
-</div>
-
-<div id="component2" class="section"> 
-<h3><span class="secno">4.2 </span>Component 2: Agents and Responsibility</h3>
-
-<p>The second component of PROV-DM is concerned with <a title="agent" href="#concept-agent" class="internalDFN">agents</a> and the notions of
-<a href="#concept-attribution" class="internalDFN">Attribution</a>, <a href="#concept-activityAssociation" class="internalDFN">Association</a>, <a href="#concept-responsibility" class="internalDFN">Responsibility</a>, relating agents to entities, activities, and agents, respectively.
+<span class="delete">4.1.8 </span><span class="delete">Start by Activity</span></section>
+
+
+</section>
+
+   <span class="delete">Start by Activity</span><span class="delete"> is the start of an activity with an implicit trigger generated by another activity. </span>
+
+
+
+<span class="delete">
+A </span><span class="delete">start by activity</span><span class="delete">, written as 
+</span><span class="delete">wasStartedByActivity(id, a2, a1, attrs)</span><span class="delete"> in PROV-N,</span><span class="delete"> contains:
+</span>
+<span class="delete">id</span><span class="delete">:  an </span><span class="delete">optional</span><span class="delete"> identifier of the relation;</span> 
+<span class="delete">started</span><span class="delete">: the identifier (</span><span class="delete">a2</span><span class="delete">) of  the started activity;
+</span><span class="delete">starter</span><span class="delete">: the identifier (</span><span class="delete">a1</span><span class="delete">) of the activity that started the other;</span>
+<span class="delete">attributes</span><span class="delete">: an </span><span class="delete">optional</span><span class="delete"> set (</span><span class="delete">attrs</span><span class="delete">) of attribute-value pairs to further describe the properties of the relation.</span>
+
+
+
+
+
+
+<span class="delete">
+Suppose activities </span><span class="delete">a1</span><span class="delete"> and </span><span class="delete">a2</span><span class="delete"> are computer processes that are executed on different hosts, and that </span><span class="delete">a1</span><span class="delete"> started </span><span class="delete">a2</span><span class="delete">. This can be expressed as in the following fragment:</span>
+<span class="delete">activity(a1,t1,t2,[ex:host="server1.example.org",prov:type="workflow"])
+activity(a2,t3,t4,[ex:host="server2.example.org",prov:type="subworkflow"])
+wasStartedByActivity(a2,a1)
+</span>
+
+
+
+
+
+
+
+<section id="component2"> 
+<h3><span class="delete">4.2 </span>Component 2: Agents and Responsibility</h3>
+
+<p>The second component of PROV-DM is concerned with <a title="agent">agents</a> and the notions of
+<a>Attribution</a>, <a>Association</a>, <a>Responsibility</a>, relating agents to entities, activities, and agents, respectively.
 Figure <a href="#figure-component2">figure-component2</a> depicts the second <span class="delete">component,</span><span class="insert">component</span> with four <span class="delete">"UML classes"</span><span class="insert">classes</span> (Entity, Activity,  Agent, and Plan) and associations between them. <span class="delete">So-called "UML</span><span class="insert">UML</span> association <span class="delete">classes"</span><span class="insert">classes</span> are used to express n-ary relations.
 </p>
 
 
 <div style="text-align: center;">
 <figure>
-<img src="images/Agents-Responsibility.png" alt="agents and responsibilities">
+<img src="images/Agents-Responsibility.png" alt="agents and responsibilities"/>
 <figcaption id="figure-component2"><span class="insert">Figure 6: </span>Agents and Responsibilities Component Overview</figcaption>
 </figure>
 </div>
 
-<div id="term-Agent" class="section">
-<h4><span class="secno">4.2.1 </span>Agent</h4>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   An <dfn id="concept-agent">agent</dfn> is <span class="delete">a type of entity</span><span class="insert">something</span> that bears some form of responsibility for an activity taking <span class="delete">place.</span><span class="insert">place or for the existence of an entity.</span> </div>
-
-
-<p></p><div class="attributes" id="attributes-agent">An <dfn title="dfn-agent" id="dfn-agent">agent</dfn><span class="withPn">, <span class="delete">noted</span><span class="insert">written</span> <span class="pnExpression" id="pn-agent">agent(id, [attr1=val1, ...])</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span>
+
+<span class="delete">4.2.1 </span><section id="term-Agent">
+<h3>Agent</h3>
+
+<span class="delete">   An </span><span class="delete">agent</span><span class="delete"> is a type of entity that bears some form of responsibility for an activity taking place. </span><div class="glossary-ref" data-ref="glossary-agent"></div>
+
+
+<p><div class="attributes" id="attributes-agent">An <dfn title="dfn-agent" id="dfn-agent">agent</dfn><span class="withPn">, <span class="delete">noted</span><span class="insert">written</span> <span class="pnExpression" id="pn-agent">agent(id, [attr1=val1, ...])</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span>
 <ul>
-<li><span class="attribute" id="agent.id">id</span>: an identifier for an agent;</li>
-<li><span class="attribute" id="agent.attributes">attributes</span>: a set of attribute-value pairs ((<span class="name">attr1</span>, <span class="name">val1</span>), ...) representing <span class="insert">additional information about </span>this <span class="delete">agent's situation in the world.</span><span class="insert">agent.</span>
+<li><span class='attribute' id="agent.id">id</span>: an identifier for an agent;</li>
+<li><span class='attribute' id="agent.attributes">attributes</span>: a set of attribute-value pairs ((<span class="name">attr1</span>, <span class="name">val1</span>), ...) representing <span class="insert">additional information about </span>this <span class="delete">agent's situation in the world.</span><span class="insert">agent.</span>
 </li>
 </ul></div>
 
@@ -1910,61 +2392,68 @@
 </span><span class="insert">use; It is acknowledged that these types do not cover all kinds of agent. </span></p>
 <ul>
 <li><span class="name"><span class="insert">SoftwareAgent</span></span>
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html"><span class="insert">   A </span><dfn id="concept-software-agent" title="software-agent"><span class="insert">software agent</span></dfn><span class="insert">  is running software. </span></div></li>
-
-<p>
-
-</p><li><span class="name"><span class="insert">Organization</span></span>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html"><span class="insert">   Agents of type </span><dfn id="concept-organization" title="organization"><span class="insert">Organization</span></dfn><span class="insert">  are social or legal institutions such as companies, societies, etc. </span></div></li>
+<div class="glossary-ref" data-ref="glossary-software-agent"></li>
 
 <p>
 
-</p><li><span class="name">Person</span><span class="delete">: agents</span>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html"><span class="insert">   Agents</span> of type <dfn id="concept-person" title="person">Person </dfn>  are people. </div></li> 
+<li><span class="name"><span class="insert">Organization</span></span>
+
+<div class="glossary-ref" data-ref="glossary-organization"></li>
+
+<p>
+
+<li><span class="name">Person</span><span class="delete">: agents of type Person are people.</span>
+
+<div class="glossary-ref" data-ref="glossary-person"></li> 
 <span class="delete">Organization</span><span class="delete">: agents of type Organization are social institutions such as companies, societies etc.</span> 
-<span class="delete">SoftwareAgent</span><span class="delete">: a software agent is running software. </span>
-</ul>
-<span class="delete">It is acknowledged that these types do not cover all kinds of agent. </span>
-
-
-
-
+<span class="delete">SoftwareAgent</span><span class="delete">: a software</span></ul>
 
 
 
 
 
 <div class="anexample">
-<p>The following expression is about an agent identified by <span class="name">e1</span>, which is a person, named Alice, with employee number 1234.</p>
-<pre class="codeexample">agent(e1, [ex:employee="1234", ex:name="Alice", prov:type="prov:Person" %% xsd:QName])
-</pre>
-<p>It is optional to specify the type of an agent. When present, it is expressed using the <span class="name">prov:type</span> attribute.</p>
+<p><span class="insert">The following expression is about an</span> agent <span class="insert">identified by </span><span class="name"><span class="insert">e1</span></span><span class="insert">, which </span>is <span class="delete">running software. </span>
+<span class="insert">a person, named Alice, with employee number 1234.</span></p>
+<pre class="codeexample"><span class="insert">
+agent(e1, [ex:employee="1234", ex:name="Alice", prov:type="prov:Person" %% xsd:QName])
+</span></pre>
+<p>It is <span class="delete">acknowledged that these types do not cover all kinds of agent. </span>
+
+
+
+
+<span class="delete">The following expression is about an agent identified by </span><span class="delete">e1</span><span class="delete">, which is a person, named Alice, with employee number 1234.</span>
+<span class="delete">agent(e1, [ex:employee="1234", ex:name="Alice", prov:type="prov:Person" %% xsd:QName])
+</span>
+<span class="delete">It is </span>optional to specify the type of an agent. When present, it is expressed using the <span class="name">prov:type</span> attribute.</p>
 </div>
 
-</div>
-
-<div id="term-attribution" class="section">
-<h4><span class="secno">4.2.2 </span>Attribution</h4> 
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   <dfn id="concept-attribution">Attribution</dfn> is the ascribing of an entity to an agent. </div>
+</section>
+
+
+<span class="delete">4.2.2 </span><section id="term-attribution">
+<h3>Attribution</h3> 
+
+   <span class="delete">Attribution</span><span class="delete"> is the ascribing of an entity to an agent. </span><div class="glossary-ref" data-ref="glossary-attribution"></div>
 
 <p>When an entity  <span class="name">e</span> is attributed to agent  <span class="name">ag</span>, entity <span class="name">e</span> was generated by some unspecified activity that in turn was associated to agent  <span class="name">ag</span>. Thus, this relation is useful when the activity is not known, or irrelevant.</p>
 
-<p> An <dfn title="wasAttributedTo" id="dfn-wasattributedto">attribution</dfn> relation<span class="withPn">, written <span class="pnExpression">wasAttributedTo(id,e,ag,attrs)</span> in PROV-N,</span> <span class="delete">contains the following elements:</span><span class="insert">has:</span></p>
+<p> An <dfn title="wasAttributedTo">attribution</dfn> relation<span class="withPn">, written <span class="pnExpression">wasAttributedTo(id,e,ag,attrs)</span> in PROV-N,</span> <span class="delete">contains the following elements:</span><span class="insert">has:</span></p>
 <ul>
-<li><span class="attribute" id="attribution.id">id</span>: an <em class="rfc2119" title="optional">optional</em> identifier for the relation;</li> 
-<li><span class="attribute" id="attribution.entity">entity</span>: an entity identifier (<span class="name">e</span>);</li>
-<li><span class="attribute" id="attribution.agent">agent</span>: the identifier (<span class="name">ag</span>) of the agent whom the entity is ascribed to;</li>
-<li><span class="attribute" id="attribution.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the relation.</span><span class="insert">representing additional information about this attribution.</span></li>
+<li><span class='attribute' id="attribution.id">id</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier for the relation;</li> 
+<li><span class='attribute' id="attribution.entity">entity</span>: an entity identifier (<span class="name">e</span>);</li>
+<li><span class='attribute' id="attribution.agent">agent</span>: the identifier (<span class="name">ag</span>) of the agent whom the entity is ascribed to;</li>
+<li><span class='attribute' id="attribution.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the relation.</span><span class="insert">representing additional information about this attribution.</span></li>
 </ul>
 
 <div class="anexample">
 <p>
 Revisiting the example of <a href="#section-example-one">Section <span class="delete">3.2</span><span class="insert">3.1</span></a>,
-we can ascribe <span class="name">tr:WD-prov-dm-20111215</span> to some agents without an explicit activity.<span class="insert"> The reserved attribute </span><span class="name"><span class="insert">role</span></span><span class="insert"> (see </span><a href="#term-attribute-role"><span class="insert">Section 4.7.4.3</span></a><span class="insert">) allows for role of the agent in the attribution to be specified.</span>
-</p><pre class="codeexample">agent(ex:Paolo, [ prov:type="Person" ])
+we can ascribe <span class="name">tr:WD-prov-dm-20111215</span> to some agents without an explicit activity.
+<span class="insert"> The reserved attribute </span><span class="name"><span class="insert">role</span></span><span class="insert"> (see </span><a href="#term-attribute-role"><span class="insert">Section 4.7.4.3</span></a><span class="insert">) allows for role of the agent in the attribution to be specified.
+</span><pre class="codeexample">
+agent(ex:Paolo, [ prov:type="Person" ])
 agent(ex:Simon, [ prov:type="Person" ])
 entity(tr:WD-prov-dm-20111215, [ <span class="delete">prov:type="pr:RecsWD"</span><span class="insert">prov:type="process:RecsWD"</span> %% xsd:QName ])
 wasAttributedTo(tr:WD-prov-dm-20111215, ex:Paolo, [prov:role="editor"])
@@ -1972,28 +2461,29 @@
 </pre>
 </div>
 
-</div>  
-
-
-<div id="term-ActivityAssociation" class="section">
-<h4><span class="secno">4.2.3 </span>Association</h4>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   An activity <dfn id="concept-activityAssociation">association</dfn> is an assignment of responsibility to an agent for an activity, indicating that the agent had a role in the activity. It further allows for a plan to be specified, which is the plan intended by the agent to achieve some goals in the context of this activity. </div>
-
-
-<p></p><div class="attributes" id="attributes-activity-association">An <dfn title="wasAssociatedWith" id="dfn-wasassociatedwith">activity association</dfn><span class="withPn">, written <span class="pnExpression">wasAssociatedWith(id,a,ag,pl,attrs)</span> in PROV-N,</span> <span class="delete">has the following
+</section>  
+
+
+<section id="term-ActivityAssociation">
+<h4><span class="delete">4.2.3 </span>Association</h4>
+
+<span class="delete">   An activity </span><span class="delete">association</span><span class="delete"> is an assignment of responsibility to an agent for an activity, indicating that the agent had a role in the activity. It further allows for a plan to be specified, which is the plan intended by the agent to achieve some goals in the context of this activity. </span><div class="glossary-ref" data-ref="glossary-activityAssociation"></div>
+
+
+<p><div class="attributes" id="attributes-activity-association">An <dfn title="wasAssociatedWith">activity association</dfn><span class="withPn">, written <span class="pnExpression">wasAssociatedWith(id,a,ag,pl,attrs)</span> in PROV-N,</span> <span class="delete">has the following
 constituents:</span><span class="insert">has:</span>
 <ul>
-<li><span class="attribute" id="association.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier for the association between an activity and an agent;</li> 
-<li><span class="attribute" id="association.activity">activity</span>: an identifier (<span class="name">a</span>) for the activity;</li>
-<li><span class="attribute" id="association.agent">agent</span>: an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">ag</span>) for the agent associated with the activity;</li>
-<li><span class="attribute" id="association.plan">plan</span>: an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">pl</span>) for the plan adopted by the agent in the context of this activity;
-</li><li><span class="attribute" id="association.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">that describe the modalities of</span><span class="insert">representing additional information about this</span> association of this activity with this agent.</li>
+<li><span class='attribute' id="association.id">id</span>:  an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier for the association between an activity and an agent;</li> 
+<li><span class='attribute' id="association.activity">activity</span>: an identifier (<span class="name">a</span>) for the activity;</li>
+<li><span class='attribute' id="association.agent">agent</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier (<span class="name">ag</span>) for the agent associated with the activity;</li>
+<li><span class='attribute' id="association.plan">plan</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier (<span class="name">pl</span>) for the plan adopted by the agent in the context of this activity;
+<li><span class='attribute' id="association.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">that describe the modalities of</span><span class="insert">representing additional information about this</span> association of this activity with this agent.</li>
 </ul></div>
 
 <div class="anexample" id="anexample-wasAssociateWith">
-<p>In the following example, a designer and an operator agents are associated with an activity. The designer's goals are achieved by a workflow <span class="name">ex:wf</span><span class="insert">, described as an an entity of type </span><span class="name"><a href="#concept-plan" class="internalDFN"><span class="insert">plan</span></a></span>.   </p>
-<pre class="codeexample">activity(ex:a, [prov:type="workflow execution"])
+<p>In the following example, a designer and an operator agents are associated with an activity. The designer's goals are achieved by a workflow <span class="name">ex:wf</span><span class="insert">, described as an an entity of type </span><span class="name"><a><span class="insert">plan</span></a></span>.   </p>
+<pre class="codeexample">
+activity(ex:a, [prov:type="workflow execution"])
 agent(ex:ag1, [prov:type="operator"])
 agent(ex:ag2, [prov:type="designer"])
 wasAssociatedWith(ex:a, ex:ag1, -, [prov:role="loggedInUser", ex:how="webapp"])
@@ -2007,7 +2497,8 @@
 
 <div class="anexample" id="anexample-wasAssociateWith-2">
 <p>In some cases, one wants to indicate a plan was followed, without having to specify which agent was involved.</p>
-<pre class="codeexample">activity(ex:a,[prov:type="workflow execution"])
+<pre class="codeexample">
+activity(ex:a,[prov:type="workflow execution"])
 wasAssociatedWith(ex:a,-,ex:wf)
 entity(ex:wf,[prov:type="prov:Plan"%% xsd:QName, ex:label="Workflow 1", 
               ex:url="http://example.org/workflow1.bpel" %% xsd:anyURI])
@@ -2018,13 +2509,13 @@
 
 
 
-</div>  
-
-<div id="term-responsibility" class="section">
-
-<h4><span class="secno">4.2.4 </span>Responsibility</h4>
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">    <dfn id="concept-responsibility">Responsibility</dfn> is the fact that an agent is accountable for the actions of a "subordinate" agent, in the context of an activity.  </div>
+</section>  
+
+<section id="term-responsibility">
+
+<h4><span class="delete">4.2.4 </span>Responsibility</h4>
+
+    <span class="delete">Responsibility</span><span class="delete"> is the fact that an agent is accountable for the actions of a "subordinate" agent, in the context of an activity.  </span><div class="glossary-ref" data-ref="glossary-responsibility"></div>
 
 <p><span class="delete">PROV-DM</span><span class="insert">PROV</span> offers a mild version of responsibility
 in the form of a relation to represent when an agent acted on another
@@ -2040,15 +2531,15 @@
 
 
 <p>
-</p><div class="attributes" id="attributes-responsibility">
-A <dfn title="actedOnBehalfOf" id="dfn-actedonbehalfof">responsibility</dfn> <span class="delete">relation</span><span class="insert">link</span><span class="withPn">, written <span class="pnExpression">actedOnBehalfOf(id,ag2,ag1,a,attrs)</span> in PROV-N,</span> <span class="delete">has the following constituents:</span><span class="insert">has:</span>
+<div class="attributes" id="attributes-responsibility">
+A <dfn title="actedOnBehalfOf">responsibility</dfn> <span class="delete">relation</span><span class="insert">link</span><span class="withPn">, written <span class="pnExpression">actedOnBehalfOf(id,ag2,ag1,a,attrs)</span> in PROV-N,</span> <span class="delete">has the following constituents:</span><span class="insert">has:</span>
 <ul>
-<li><span class="attribute" id="responsibility.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier for the responsibility <span class="delete">chain;</span><span class="insert">link between subordinate and responsible;</span></li> 
-<li><span class="attribute" id="responsibility.subordinate">subordinate</span>: an identifier (<span class="name">ag2</span>) for the agent associated with an activity, acting on behalf of the responsible
+<li><span class='attribute' id="responsibility.id">id</span>:  an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier for the responsibility <span class="delete">chain;</span><span class="insert">link between subordinate and responsible;</span></li> 
+<li><span class='attribute' id="responsibility.subordinate">subordinate</span>: an identifier (<span class="name">ag2</span>) for the agent associated with an activity, acting on behalf of the responsible
 agent;</li>
-<li><span class="attribute" id="responsibility.responsible">responsible</span>: an identifier (<span class="name">ag1</span>) for the agent,  on behalf of which the subordinate agent acted;</li>
-<li><span class="attribute" id="responsibility.activity">activity</span>: an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">a</span>) of an activity for which the responsibility <span class="delete">chain</span><span class="insert">link</span> holds;</li>
-<li><span class="attribute" id="responsibility.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">that describe the modalities of</span><span class="insert">representing additional information about</span> this <span class="delete">relation.</span><span class="insert">responsibility link.</span></li>
+<li><span class='attribute' id="responsibility.responsible">responsible</span>: an identifier (<span class="name">ag1</span>) for the agent,  on behalf of which the subordinate agent acted;</li>
+<li><span class='attribute' id="responsibility.activity">activity</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier (<span class="name">a</span>) of an activity for which the responsibility <span class="delete">chain</span><span class="insert">link</span> holds;</li>
+<li><span class='attribute' id="responsibility.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">that describe the modalities of</span><span class="insert">representing additional information about</span> this <span class="delete">relation.</span><span class="insert">responsibility link.</span></li>
 </ul></div>
 
 
@@ -2056,7 +2547,8 @@
 <p><span class="delete">In the</span><span class="insert">The</span> following <span class="delete">example,</span><span class="insert">fragment describes three agents:</span> a programmer, a <span class="delete">researcher</span><span class="insert">researcher,</span> and a <span class="delete">funder agents are described.</span><span class="insert">funder.</span>  The programmer and researcher are associated with a workflow activity.  The programmer acts on behalf
 of the researcher (delegation) encoding the commands specified by the researcher; the researcher acts on behalf of the funder, who has <span class="delete">an</span><span class="insert">a</span> contractual agreement with the researcher. The terms
 'delegation' and 'contact' used in this example are domain specific.</p>
-<pre class="codeexample">activity(a,[prov:type="workflow"])
+<pre class="codeexample">
+activity(a,[prov:type="workflow"])
 agent(ag1,[prov:type="programmer"])
 agent(ag2,[prov:type="researcher"])
 agent(ag3,[prov:type="funder"])
@@ -2070,37 +2562,37 @@
 
 
 
-</div>
-
-
-
-</div>
-
-<div id="component3" class="section"> 
-<h3><span class="secno">4.3 </span>Component 3: Derivations</h3>
-
-
-
-<p>The third component of PROV-DM is concerned with <a title="derivation" href="#concept-derivation" class="internalDFN">derivations</a> <span class="delete">between</span><span class="insert">of</span> <a title="entity" href="#concept-entity" class="internalDFN">entities</a><span class="delete">,</span><span class="insert"> from others,</span> and <span class="insert">derivation </span>subtypes<span class="delete"> of derivations</span> <a href="#concept-revision" class="internalDFN">Revision</a>, <a href="#concept-quotation" class="internalDFN">Quotation</a>, <a href="#concept-original-source" class="internalDFN">Original Source</a>, and <a href="#concept-traceability" class="internalDFN">Traceability</a>.
+</section>
+
+
+
+</section>
+
+<section id="component3"> 
+<h3><span class="delete">4.3 </span>Component 3: Derivations</h3>
+
+
+
+<p>The third component of PROV-DM is concerned with <a title="derivation">derivations</a> <span class="delete">between </span><span class="insert">of </span><a title="entity">entities</a><span class="delete">,</span><span class="insert"> from others,</span> and <span class="insert">derivation </span>subtypes <span class="delete">of derivations </span><a>Revision</a>, <a>Quotation</a>, <a>Original Source</a>, and <a>Traceability</a>.
 Figure <a href="#figure-component3">figure-component3</a> <span class="delete">overviews</span><span class="insert">depicts</span> the third <span class="delete">component,</span><span class="insert">component</span> with three<span class="delete"> "UML classes"</span><span class="insert">  classes</span> (Entity, Activity, and Agent) and associations between them. <span class="delete">So-called "UML</span><span class="insert">UML</span> association <span class="delete">classes" are used to</span><span class="insert">classes</span> express n-ary relations.
 </p>
 
 
 <div style="text-align: center;">
 <figure>
-<img src="images/Derivation.png" alt="derivation">
+<img src="images/Derivation.png" alt="derivation"/>
 <figcaption id="figure-component3"><span class="insert">Figure 7: </span>Derivation Component Overview</figcaption>
 </figure>
 </div>
 
-<div id="Derivation-Relation" class="section">
-<h4><span class="secno">4.3.1 </span>Derivation</h4>
-
-
-
-
-
-<div class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   A <dfn id="concept-derivation">derivation</dfn>  is a transformation of an entity into another, a construction of an entity into another, or an update of an entity, resulting in a new one.</div>
+<section id="Derivation-Relation">
+<h4><span class="delete">4.3.1 </span>Derivation</h4>
+
+
+
+
+
+<span class="delete">   A </span><span class="delete">derivation</span><span class="delete">  is a transformation of an entity into another, a construction of an entity into another, or an update of an entity, resulting in a new one.</span><div class="glossary-ref" data-ref="glossary-derivation"></div>
 
 
 
@@ -2110,36 +2602,46 @@
 A derivation can be described at various levels of precision. In its simplest form, derivation relates two entities. Optionally, attributes can be added to <span class="delete">describe modalities of</span><span class="insert">represent further information about the</span> derivation.  If the derivation is the result of a single known activity, then this activity can also be optionally expressed. <span class="delete">And</span><span class="insert">To provide a completely accurate description of the derivation, the generation and usage of the generated and used entities, respectively, can be provided.  Optional information such as activity, generation, and usage can be linked</span> to <span class="delete">provide a completely accurate description of the derivation, the generation and usage of the generated and used entities, respectively, can be provided. The reason for optional information such as activity, generation, and usage to be linked to </span>derivations<span class="delete"> is</span> to aid analysis of provenance and to facilitate provenance-based reproducibility. </p>
 
 
-<p></p><div class="attributes" id="attributes-derivation">A <dfn title="wasDerivedFrom" id="dfn-wasderivedfrom">derivation</dfn><span class="withPn">, written <span class="pnExpression" id="pn-wasDerivedFrom">wasDerivedFrom(id, e2, e1, a, g2, u1, attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span>
+<p><div class="attributes" id="attributes-derivation">A <dfn title="wasDerivedFrom">derivation</dfn><span class="withPn">, written <span class="pnExpression" id="pn-wasDerivedFrom">wasDerivedFrom(id, e2, e1, a, g2, u1, attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span>
 <ul>
-<li><span class="attribute" id="derivation.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier  for a derivation;</li> 
-<li><span class="attribute" id="derivation.generatedEntity">generatedEntity</span>: the identifier (<span class="name">ee</span>) of the entity generated by the derivation;</li>
-<li><span class="attribute" id="derivation.usedEntity">usedEntity</span>: the identifier (<span class="name">e1</span>) of the entity used by the derivation;</li>
-<li><span class="attribute" id="derivation.activity">activity</span>: an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">a</span>) for the activity using and generating the above entities;</li>
-<li><span class="attribute" id="derivation.generation">generation</span>: an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">g2</span>) for the generation involving the generated entity and activity;</li> 
-<li><span class="attribute" id="derivation.usage">usage</span>: an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">u1</span>) for the usage involving the used entity and activity;</li> 
-<li><span class="attribute" id="derivation.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">that describe the modalities of</span><span class="insert">representing additional information about</span> this derivation.</li>
+<li><span class='attribute' id="derivation.id">id</span>:  an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier  for a derivation;</li> 
+<li><span class='attribute' id="derivation.generatedEntity">generatedEntity</span>: the identifier (<span class="name">ee</span>) of the entity generated by the derivation;</li>
+<li><span class='attribute' id="derivation.usedEntity">usedEntity</span>: the identifier (<span class="name">e1</span>) of the entity used by the derivation;</li>
+<li><span class='attribute' id="derivation.activity">activity</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier (<span class="name">a</span>) for the activity using and generating the above entities;</li>
+<li><span class='attribute' id="derivation.generation">generation</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier (<span class="name">g2</span>) for the generation involving the generated entity and activity;</li> 
+<li><span class='attribute' id="derivation.usage">usage</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier (<span class="name">u1</span>) for the usage involving the used entity and activity;</li> 
+<li><span class='attribute' id="derivation.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">that describe the modalities of</span><span class="insert">representing additional information about</span> this derivation.</li>
 </ul>
 </div>
 
 
 
 <div class="anexample">
-<p>The following descriptions state the existence of derivations.</p>
-<pre class="codeexample">wasDerivedFrom(e2, e1)
+<p>The following descriptions <span class="delete">state the existence of derivations.</span>
+<span class="delete">wasDerivedFrom(e2, e1)
 wasDerivedFrom(e2, e1, [prov:type="physical transform"])
 wasDerivedFrom(e2, e1, a, g2, u1)
 wasGeneratedBy(g2, e2, a, -)
 used(u1, a, e1, -)
-</pre>
+</span>
+<span class="delete">
+The first and second lines </span>are about derivations between  <span class="name">e2</span> and  <span class="name">e1</span>, but no information is provided as to the identity of the activity (and usage and generation) underpinning the derivation. In the second line, a type attribute is also provided.</p>
+<pre class="codeexample"><span class="insert">
+wasDerivedFrom(e2, e1)
+wasDerivedFrom(e2, e1, [prov:type="physical transform"])
+</span></pre>
 <p>
-The first and second lines are about derivations between  <span class="name">e2</span> and  <span class="name">e1</span>, but no information is provided as to the identity of the activity (and usage and generation) underpinning the derivation. In the second line, a type attribute is also provided.</p>
-<p>
-The third description expresses that activity  <span class="name">a</span>, 
+The <span class="delete">third</span><span class="insert">following</span> description expresses that activity  <span class="name">a</span>, 
 using the entity <span class="name">e1</span> according to usage <span class="name">u1</span>,
  derived the
 entity <span class="name">e2</span> and generated it according to generation
- <span class="name">g2</span>. It is followed by descriptions for generation <span class="name">g2</span> and usage <span class="name">u1</span>. With such a comprehensive description of derivation, a program that analyzes provenance can identify the activity underpinning the derivation, it can identify how the original entity <span class="name">e1</span> was used by  the activity (e.g. for instance, which argument it was passed as, if the activity is the result of a function invocation), and which output the derived entity <span class="name">e2</span> was obtained from (say, for a function returning multiple results).</p>
+ <span class="name">g2</span>. It is followed by descriptions for generation <span class="name">g2</span> and usage <span class="name">u1</span>. </p>
+<pre class="codeexample"><span class="insert">
+wasDerivedFrom(e2, e1, a, g2, u1)
+wasGeneratedBy(g2, e2, a, -)
+used(u1, a, e1, -)
+</span></pre>
+<p>With such a comprehensive description of derivation, a program that analyzes provenance can identify the activity underpinning the derivation, it can identify how the original entity <span class="name">e1</span> was used by  the activity (e.g. for instance, which argument it was passed as, if the activity is the result of a function invocation), and which output the derived entity <span class="name">e2</span> was obtained from (say, for a function returning multiple results).</p>
 </div>
 
 
@@ -2152,24 +2654,25 @@
 
 
 
-</div>
-
-<div id="term-Revision" class="section">
-<h4><span class="secno">4.3.2 </span>Revision</h4>
-
-<p><span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   A <dfn id="concept-revision">revision</dfn> is a derivation that revises an entity into a revised version. </span></p>
+</section>
+
+
+<span class="delete">4.3.2 </span><section id="term-Revision">
+<h3>Revision</h3>
+
+<p><span class="delete">   A </span><span class="delete">revision</span><span class="delete"> is a derivation that revises an entity into a revised version. </span><span class="glossary-ref" data-ref="glossary-revision"></span></p>
 
 <p> Deciding whether something is made available as a revision of something else usually involves an agent who takes responsibility for approving that the former is a due variant of the latter.
  The agent who is responsible for the revision may optionally be specified.
- Revision is a particular case of <a href="#concept-derivation" class="internalDFN">derivation</a> of an entity into its revised version.</p>
-
-<p> A <dfn title="wasRevisionOf" id="dfn-wasrevisionof">revision</dfn> relation<span class="withPn">, written <span class="pnExpression">wasRevisionOf(id,e2,e1,ag,attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
+ Revision is a particular case of <a>derivation</a> of an entity into its revised version.</p>
+
+<p> A <dfn title="wasRevisionOf">revision</dfn> relation<span class="withPn">, written <span class="pnExpression">wasRevisionOf(id,e2,e1,ag,attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
 <ul>
-<li><span class="attribute" id="revision.id">id</span>: an <em class="rfc2119" title="optional">optional</em> 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><li><span class="attribute" id="revision.older">older</span>: the identifier (<span class="name">e1</span>) of the older entity;
-</li><li><span class="attribute" id="revision.responsibility">responsibility</span>: an <em class="rfc2119" title="optional">optional</em>  identifier (<span class="name">ag</span>) for the agent who approved the newer entity as a variant of the older;
-</li><li><span class="attribute" id="revision.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of</span><span class="insert">representing additional information about</span> this relation.</li>
+<li><span class='attribute' id="revision.id">id</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> 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.responsibility">responsibility</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span>  identifier (<span class="name">ag</span>) for the agent who approved the newer entity as a variant of the older;
+<li><span class='attribute' id="revision.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of</span><span class="insert">representing additional information about</span> this relation.</li>
 </ul>
 
 
@@ -2181,7 +2684,8 @@
  <span class="name">tr:WD-prov-dm-20111215</span> is a revision of 
  the report <span class="name">tr:WD-prov-dm-20111018</span>, approved by
 agent  <span class="name">w3:Consortium</span>.
-</p><pre class="codeexample">entity(tr:WD-prov-dm-20111215, [ <span class="delete">prov:type="pr:RecsWD"</span><span class="insert">prov:type="process:RecsWD"</span> %% xsd:QName ])
+<pre class="codeexample">
+entity(tr:WD-prov-dm-20111215, [ <span class="delete">prov:type="pr:RecsWD"</span><span class="insert">prov:type="process:RecsWD"</span> %% xsd:QName ])
 entity(tr:WD-prov-dm-20111018, [ <span class="delete">prov:type="pr:RecsWD"</span><span class="insert">prov:type="process:RecsWD"</span> %% xsd:QName ])
 wasRevisionOf(tr:WD-prov-dm-20111215, tr:WD-prov-dm-20111018, w3:Consortium)
 </pre>
@@ -2189,37 +2693,39 @@
 
 
 
-</div>  
-
-<div id="term-quotation" class="section">
-<h4><span class="secno">4.3.3 </span>Quotation</h4>
+</section>  
+
+
+<span class="delete">4.3.3 </span><section id="term-quotation">
+<h3>Quotation</h3>
 
 <p> 
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   A <dfn id="concept-quotation">quotation</dfn>  is the repeat of (some or all of) an entity, such as text or image, by someone other than its original author.  </span>
+<span class="delete">   A </span><span class="delete">quotation</span><span class="delete">  is the repeat of (some or all of) an entity, such as text or image, by someone other than its original author.  </span><span class="glossary-ref" data-ref="glossary-quotation"></span>
 </p>
 
 <p>Quotation
  is a particular case of  <a href="#Derivation-Relation">derivation</a> in which entity <span class="name">e2</span> is derived from an original entity <span class="name">e1</span> by copying, or "quoting", some or all of it.
-  A <dfn title="wasQuotedFrom" id="dfn-wasquotedfrom">quotation</dfn> relation<span class="withPn">, written <span class="pnExpression">wasQuotedFrom(id,e2,e1,ag2,ag1,attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
+  A <dfn title="wasQuotedFrom">quotation</dfn> relation<span class="withPn">, written <span class="pnExpression">wasQuotedFrom(id,e2,e1,ag2,ag1,attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
 <ul>
-<li><span class="attribute" id="quotation.id">id</span>: an <em class="rfc2119" title="optional">optional</em> identifier for the relation;</li> 
-<li><span class="attribute" id="quotation.quote">quote</span>:  an identifier (<span class="name">e2</span>) for the entity that represents the quote (the partial copy);
-</li><li><span class="attribute" id="quotation.original">original</span>: an identifier (<span class="name">e1</span>) for the original entity being quoted;
-</li><li><span class="attribute" id="quotation.quoterAgent">quoterAgent</span>: an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">ag2</span>) for the agent who performs the quote;
-</li><li><span class="attribute" id="quotation.originalAgent">originalAgent</span>: an <em class="rfc2119" title="optional">optional</em> identifier (<span class="name">ag1</span>) for the agent to whom the original entity is attributed;
-</li><li><span class="attribute" id="quotation.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
+<li><span class='attribute' id="quotation.id">id</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier for the relation;</li> 
+<li><span class='attribute' id="quotation.quote">quote</span>:  an identifier (<span class="name">e2</span>) for the entity that represents the quote (the partial copy);
+<li><span class='attribute' id="quotation.original">original</span>: an identifier (<span class="name">e1</span>) for the original entity being quoted;
+<li><span class='attribute' id="quotation.quoterAgent">quoterAgent</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier (<span class="name">ag2</span>) for the agent who performs the quote;
+<li><span class='attribute' id="quotation.originalAgent">originalAgent</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier (<span class="name">ag1</span>) for the agent to whom the original entity is attributed;
+<li><span class='attribute' id="quotation.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
 
 </ul>
 
 <div class="anexample" id="anexample-quotation">
 <p>
 The following paragraph is a quote from one of  <a href="http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop/">the author's blogs</a>.
-</p><blockquote id="bl-dagstuhl"><em>
+<blockquote id="bl-dagstuhl"><em>
 "During the workshop, it became clear to me that the consensus based models (which are often graphical in nature) can not only be formalized but also be directly connected to these database focused formalizations. I just needed to get over the differences in syntax.  This could imply that we could have nice way to trace provenance across systems and through databases and be able to understand the mathematical properties of this interconnection."</em>
 </blockquote>
 <p>If <a href="http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop/"><span class="name">wp:thoughts-from-the-dagstuhl-principles-of-provenance-workshop/</span></a> denotes the original blog by agent <span class="name">ex:Paul</span>, and 
  <a href="#bl-dagstuhl"><span class="name">dm:bl-dagstuhl</span></a> denotes the above paragraph, then the following descriptions express that the above paragraph is copied by agent <span class="name">ex:Luc</span> from a part of the blog, attributed to the agent <span class="name">ex:Paul</span>.</p>
-<pre class="codeexample">entity(wp:thoughts-from-the-dagstuhl-principles-of-provenance-workshop/)
+<pre class="codeexample">
+entity(wp:thoughts-from-the-dagstuhl-principles-of-provenance-workshop/)
 agent(ex:Luc)
 agent(ex:Paul)
 wasQuotedFrom(dm:bl-dagstuhl,wp:thoughts-from-the-dagstuhl-principles-of-provenance-workshop/,ex:Luc,ex:Paul)
@@ -2228,17 +2734,18 @@
 </div>
 
 
-</div>  
-
-
-<div id="term-original-source" class="section">
-<h4><span class="secno">4.3.4 </span>Original Source</h4>
+</section>  
+
+
+
+<span class="delete">4.3.4 </span><section id="term-original-source">
+<h3>Original Source</h3>
 
 <p>
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   An <dfn id="concept-original-source">original source</dfn> refers to the source material that is closest to the person, information, period, or idea being studied. </span>
+<span class="delete">   An </span><span class="delete">original source</span><span class="delete"> refers to the source material that is closest to the person, information, period, or idea being studied. </span><span class="glossary-ref" data-ref="glossary-original-source"></span>
 </p>
 
-<p>An <dfn id="dfn-original-source">original source</dfn> relation is a particular case of <a href="#concept-derivation" class="internalDFN">derivation</a> 
+<p>An <dfn>original source</dfn> relation is a particular case of <a>derivation</a> 
 that aims to give
 credit to the source that originated some information. It is recognized that it may be
 hard to determine which entity constitutes an original source. This definition is inspired by
@@ -2246,32 +2753,35 @@
 <a href="http://googlenewsblog.blogspot.com/2010/11/credit-where-credit-is-due.html">http://googlenewsblog.blogspot.com/2010/11/credit-where-credit-is-due.html</a>.</p>
 
 
-<p> An <dfn title="hadOriginalSource" id="dfn-hadoriginalsource">original source</dfn> relation<span class="withPn">, written <span class="pnExpression">hadOriginalSource(id,e2,e1,attrs)</span>,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
+<p> An <dfn title="hadOriginalSource">original source</dfn> relation<span class="withPn">, written <span class="pnExpression">hadOriginalSource(id,e2,e1,attrs)</span>,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
 <ul>
-<li><span class="attribute" id="originalSource.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier for the relation;</li> 
-<li><span class="attribute" id="originalSource.derived">derived</span>: an identifier (<span class="name">e2</span>) for the derived entity; </li>
-<li><span class="attribute" id="originalSource.source">source</span>: an identifier (<span class="name">e1</span>) for the original source entity;</li>
-<li><span class="attribute" id="originalSource.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
+<li><span class='attribute' id="originalSource.id">id</span>:  an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier for the relation;</li> 
+<li><span class='attribute' id="originalSource.derived">derived</span>: an identifier (<span class="name">e2</span>) for the derived entity; </li>
+<li><span class='attribute' id="originalSource.source">source</span>: an identifier (<span class="name">e1</span>) for the original source entity;</li>
+<li><span class='attribute' id="originalSource.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
 </ul>
 
 <div class="anexample">
 <p>
-Let us consider the <span class="insert">concept introduced in the </span>current <span class="delete">section </span><span class="insert">section, identified as </span><a href="#concept-original-source"><span class="name"><span class="delete">dm:term-original-source</span><span class="insert">dm:concept-original-source</span></span></a>, and
-the Google page <a href="http://googlenewsblog.blogspot.com/2010/11/credit-where-credit-is-due.html"><span class="name">go:credit-where-credit-is-due.html</span></a>, where the notion <span class="insert">original-source </span>was originally <span class="delete">described.</span><span class="insert">described (to the knowledge of the authors).</span>
-</p><pre class="codeexample"><span class="delete">entity(dm:term-original-source)</span><span class="insert">entity(dm:concept-original-source)</span>
+Let us consider the <span class="insert">concept introduced in the </span>current <span class="delete">section </span><span class="delete">dm:term-original-source</span><span class="insert">section, identified as </span><a href="#concept-original-source"><span class="name"><span class="insert">dm:concept-original-source</span></span></a>, and
+the Google page <a href="http://googlenewsblog.blogspot.com/2010/11/credit-where-credit-is-due.html"><span class="name">go:credit-where-credit-is-due.html</span></a>, where the notion <span class="insert">original-source </span>was originally <span class="delete">described.
+</span><span class="insert">described (to the knowledge of the authors).
+</span><pre class="codeexample"><span class="delete">entity(dm:term-original-source)</span><span class="insert">
+entity(dm:concept-original-source)</span>
 entity(go:credit-where-credit-is-due.html)
 <span class="delete">hadOriginalSource(dm:term-original-source,go:credit-where-credit-is-due.html)</span><span class="insert">hadOriginalSource(dm:concept-original-source,go:credit-where-credit-is-due.html)</span>
 </pre>
 </div>
 
 
-</div>  
-
-<div id="term-traceability" class="section">
-<h4><span class="secno">4.3.5 </span>Traceability</h4>
+</section>  
+
+
+<span class="delete">4.3.5 </span><section id="term-traceability">
+<h3>Traceability</h3>
 
 <p>
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   <dfn id="concept-traceability">Traceability</dfn> is the ability to link back an entity to another by means of derivation or responsibility relations, possibly repeatedly traversed. </span>
+   <span class="delete">Traceability</span><span class="delete"> is the ability to link back an entity to another by means of derivation or responsibility relations, possibly repeatedly traversed. </span><span class="glossary-ref" data-ref="glossary-traceability"></span>
 </p>
 
 
@@ -2280,17 +2790,17 @@
 some responsibility for  <span class="name">e2</span>'s existence.
 
 
-</p><p><span class="insert">A </span><dfn title="tracedTo" id="dfn-tracedto">Traceability</dfn><span class="insert"> relation </span><span class="withPn">, written <span class="pnExpression">tracedTo(id,e2,e1,attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
+<p><span class="insert">A </span><dfn title="tracedTo">Traceability</dfn><span class="insert"> relation </span><span class="withPn">, written <span class="pnExpression">tracedTo(id,e2,e1,attrs)</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
 <ul>
-<li><span class="attribute" id="traceability.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier identifying the relation;</li> 
-<li><span class="attribute" id="traceability.entity">entity</span>:  an identifier (<span class="name">e2</span>) for an entity;
-</li><li><span class="attribute" id="traceability.ancestor">ancestor</span>: an identifier (<span class="name">e1</span>) for an ancestor entity that the former depends on;
-</li><li><span class="attribute" id="traceability.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
+<li><span class='attribute' id="traceability.id">id</span>:  an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier identifying the relation;</li> 
+<li><span class='attribute' id="traceability.entity">entity</span>:  an identifier (<span class="name">e2</span>) for an entity;
+<li><span class='attribute' id="traceability.ancestor">ancestor</span>: an identifier (<span class="name">e1</span>) for an ancestor entity that the former depends on;
+<li><span class='attribute' id="traceability.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
 </ul>
 <p>We note that the ancestor is allowed to be an agent since agents are entities. </p>
 
 <p>
-<a href="#concept-derivation" class="internalDFN">Derivation</a> and <span class="delete">association</span><a href="#concept-attribution" class="internalDFN"><span class="insert">attribution</span></a> are particular cases of  traceability.
+<a>Derivation</a> and <span class="delete">association</span><a><span class="insert">attribution</span></a> are particular cases of  traceability.
 </p>
 
 <div class="anexample">
@@ -2298,7 +2808,8 @@
 <span class="name">tr:WD-prov-dm-20111215</span> to 
 <span class="name">w3:Consortium</span> <span class="delete">or</span><span class="insert">and</span> to
 <span class="name"><span class="delete">pr:rec-advance</span><span class="insert">process:rec-advance</span></span>. This is expressed as follows.
-</p><pre class="codeexample"> tracedTo(tr:WD-prov-dm-20111215,w3:Consortium)
+<pre class="codeexample"> 
+ tracedTo(tr:WD-prov-dm-20111215,w3:Consortium)
  <span class="delete">tracedTo(tr:WD-prov-dm-20111215,pr:rec-advance)</span><span class="insert">tracedTo(tr:WD-prov-dm-20111215,process:rec-advance)</span>
 </pre>
 </div>
@@ -2306,16 +2817,16 @@
 
 
 
-</div>
-
-</div>
-
-<div id="component4" class="section"> 
-<h3><span class="secno">4.4 </span>Component 4: Alternate Entities</h3>
+</section>
+
+</section>
+
+<section id="component4"> 
+<h3><span class="delete">4.4 </span>Component 4: Alternate Entities</h3>
 
 
 <p>The fourth component of PROV-DM is concerned with
-relations <a href="#concept-specialization" class="internalDFN">specialization</a> and <a href="#concept-alternate" class="internalDFN">alternate</a> between entities.
+relations <a>specialization</a> and <a>alternate</a> between entities.
 Figure <a href="#figure-component4">figure-component4</a> <span class="delete">overviews
 the component, which consists of</span><span class="insert">depicts
 the fourth component with</span> a single <span class="delete">"UML Class"</span><span class="insert">class</span> and two associations.
@@ -2324,7 +2835,7 @@
 
 <div style="text-align: center;">
 <figure>
-<img src="images/Alternates.png" alt="alternates">
+<img src="images/Alternates.png" alt="alternates"/>
 <figcaption id="figure-component4"><span class="insert">Figure 8: </span>Alternates Component Overview</figcaption>
 </figure>
 </div>
@@ -2342,12 +2853,12 @@
 The following two relations are introduced for expressing  specialized or alternate entities. </p>
 
 
-<div id="term-specialization" class="section">
-
-<h4><span class="secno">4.4.1 </span>Specialization</h4>
-
-
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   An entity is a <dfn id="concept-specialization">specialization</dfn> of another if they refer to some common thing but the former is a more constrained entity than the latter. The common thing <span class="delete">do</span><span class="insert">does</span> not need to be identified. </span> 
+<section id="term-specialization">
+
+<h4><span class="delete">4.4.1 </span>Specialization</h4>
+
+
+<span class="delete">   An entity is a </span><span class="delete">specialization</span><span class="delete"> of another if they refer to some common thing but the former is a more constrained entity than the latter. The common thing do not need to be identified. </span><span class="glossary-ref" data-ref="glossary-specialization"></span> 
 
 
 <p>
@@ -2357,11 +2868,11 @@
 
 
 <p>
-</p><div class="attributes" id="attributes-specialization">A <dfn title="specializationOf" id="dfn-specializationof">specialization</dfn>  relation<span class="withPn">, written <span class="pnExpression">specializationOf(sub, super)</span> in PROV-N,</span> <span class="delete">has the following constituents:</span><span class="insert">has:</span>
+<div class="attributes" id="attributes-specialization">A <dfn title="specializationOf">specialization</dfn>  relation<span class="withPn">, written <span class="pnExpression">specializationOf(sub, super)</span> in PROV-N,</span> <span class="delete">has the following constituents:</span><span class="insert">has:</span>
 
 <ul>
-<li><span class="attribute" id="specialization.specializedEntity">specializedEntity</span>: an identifier (<span class="name">sub</span>) of the specialized entity;</li>
-<li><span class="attribute" id="specialization.generalEntity">generalEntity</span>: an identifier (<span class="name">super</span>) of the entity that is being specialized.</li>
+<li><span class='attribute' id="specialization.specializedEntity">specializedEntity</span>: an identifier (<span class="name">sub</span>) of the specialized entity;</li>
+<li><span class='attribute' id="specialization.generalEntity">generalEntity</span>: an identifier (<span class="name">super</span>) of the entity that is being specialized.</li>
 </ul>
 </div>
 
@@ -2370,7 +2881,8 @@
 The BBC news home page on 2012-03-23 <span class="name">ex:bbcNews2012-03-23</span>
 is a specialization of the BBC news page in general
  <a href="http://www.bbc.co.uk/news/">bbc:news/</a>. This can be expressed as follows.
-</p><pre class="codeexample">specializationOf(ex:bbcNews2012-03-23, bbc:news/)
+<pre class="codeexample">
+specializationOf(ex:bbcNews2012-03-23, bbc:news/)
 </pre>
 Given that the BBC news does not define a URI for this day's news page, we are creating a qualified name in the namespace <span class="name">ex</span>. 
 </div>
@@ -2382,22 +2894,22 @@
 
 
 
-</div>
-
-<div id="term-alternate" class="section">
-
-<h4><span class="secno">4.4.2 </span>Alternate</h4>
-
-
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   An entity is <dfn id="concept-alternate">alternate</dfn> of another if they are both a specialization of some common entity. The common entity does not need to be identified. </span>
+</section>
+
+<section id="term-alternate">
+
+<h4><span class="delete">4.4.2 </span>Alternate</h4>
+
+
+<span class="delete">   An entity is </span><span class="delete">alternate</span><span class="delete"> of another if they are both a specialization of some common entity. The common entity does not need to be identified. </span><span class="glossary-ref" data-ref="glossary-alternate"></span>
 
 
   
 
-<p></p><div class="attributes" id="attributes-alternate">An <dfn title="alternateOf" id="dfn-alternateof">alternate</dfn> relation<span class="withPn">, written <span class="pnExpression">alternateOf(e1, e2)</span> in PROV-N,</span> <span class="delete">has the following constituents:</span><span class="insert">has:</span>
+<p><div class="attributes" id="attributes-alternate">An <dfn title="alternateOf">alternate</dfn> relation<span class="withPn">, written <span class="pnExpression">alternateOf(e1, e2)</span> in PROV-N,</span> <span class="delete">has the following constituents:</span><span class="insert">has:</span>
 <ul>
-<li><span class="attribute" id="alternate.alternate1">alternate1</span>: an identifier (<span class="name">e1</span>) of the first of the two entities;</li>
-<li><span class="attribute" id="alternate.alternate2">alternate2</span>: an identifier (<span class="name">e2</span>) of the second of the two entities.</li>
+<li><span class='attribute' id="alternate.alternate1">alternate1</span>: an identifier (<span class="name">e1</span>) of the first of the two entities;</li>
+<li><span class='attribute' id="alternate.alternate2">alternate2</span>: an identifier (<span class="name">e2</span>) of the second of the two entities.</li>
 </ul>
 </div>
 
@@ -2407,7 +2919,8 @@
  <a href="http://www.bbc.co.uk/news/science-environment-17526723">bbc:news/science-environment-17526723</a> for desktop
 is an alternate of a 
  <a href="http://www.bbc.co.uk/news/mobile/science-environment-17526723">bbc:news/mobile/science-environment-17526723</a> for mobile devices.</p>
-<pre class="codeexample">entity(bbc:news/science-environment-17526723, [ prov:type="a news item for desktop"])
+<pre class="codeexample">
+entity(bbc:news/science-environment-17526723, [ prov:type="a news item for desktop"])
 entity(bbc:news/mobile/science-environment-17526723, [ prov:type="a news item for mobile devices"])
 alternateOf(bbc:news/science-environment-17526723, bbc:news/mobile/science-environment-17526723)
 </pre>
@@ -2418,20 +2931,21 @@
 <div class="anexample" id="anexample-alternate2">
 <p>
 Considering again the two versions of the technical report <span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">tr:WD-prov-dm-20111215</a></span> (second working draft) and <span class="name"><span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111018">tr:WD-prov-dm-20111018</a></span></span> (first working draft). They are alternate of each other.
-</p><pre class="codeexample">entity(tr:WD-prov-dm-20111018)
+<pre class="codeexample">
+entity(tr:WD-prov-dm-20111018)
 entity(tr:WD-prov-dm-20111215)
 alternateOf(tr:WD-prov-dm-20111018,tr:WD-prov-dm-20111215)
 </pre>
 <p>They are both specialization of the page <a href="http://www.w3.org/TR/prov-dm/">http://www.w3.org/TR/prov-dm/</a>.</p>
 </div>
 
-</div>
-
-</div>
-
-
-<div id="component5" class="section"> 
-<h3><span class="secno">4.5 </span>Component 5: Collections</h3>
+</section>
+
+</section>
+
+
+<section id="component5"> 
+<h3><span class="delete">4.5 </span>Component 5: Collections</h3>
 
 <p>The fifth component of PROV-DM is concerned with the notion of collections. 
 A collection is an entity that has some members. The members are themselves entities, and therefore their provenance can be expressed. <span class="delete">In many applications, it is also of interest</span><span class="insert">Many applications need</span> to be able to express the provenance of the collection  itself: e.g. who maintains the collection, which <span class="delete">member</span><span class="insert">members</span> it contains <span class="delete">at which point in time,</span><span class="insert">as it evolves,</span> and how it was assembled. The purpose of Component 5 is to define the types and relations that are useful to express the provenance of collections. </p>
@@ -2444,7 +2958,7 @@
 
 <div style="text-align: center;">
 <figure>
-<img src="images/Collections.png" alt="collections">
+<img src="images/Collections.png" alt="collections"/>
 <figcaption id="figure-component5"><span class="insert">Figure 9: </span>Collections Component Overview</figcaption>
 </figure>
 </div>
@@ -2454,10 +2968,11 @@
 Changes to collections are about the insertion of entities to collections and the removal of members from collections.
 Indirectly, such history provides a way to reconstruct the contents of a collection.</p>
 
-<div id="term-collection" class="section">
-<h4><span class="secno">4.5.1 </span>Collection</h4>
-
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   A <dfn id="concept-collection">collection</dfn> is an entity that provides a structure to some constituents, which are themselves entities. These constituents are said to be <dfn id="dfn-member-of">member of</dfn> the collections.  </span>
+
+<span class="delete">4.5.1 </span><section id="term-collection">
+<h3>Collection</h3>
+
+<span class="delete">   A </span><span class="delete">collection</span><span class="delete"> is an entity that provides a structure to some constituents, which are themselves entities. These constituents are said to be </span><span class="delete">member of</span><span class="delete"> the collections.  </span><span class="glossary-ref" data-ref="glossary-collection"></span>
 
 
 <p>Conceptually, a collection has a logical structure consisting of key-entity pairs. This structure is often referred to as a <em>map</em>, and is a generic indexing <span class="delete">mechanisms</span><span class="insert">mechanism</span> that can abstract commonly used data structures, including associative lists (also known as "dictionaries" in some programming languages), relational tables, ordered lists, and <span class="delete">more (the</span><span class="insert">more. The</span> specification of such specialized structures in terms of key-value pairs is out of the scope of this <span class="delete">document).</span><span class="insert">document.</span></p>
@@ -2471,8 +2986,8 @@
 <ul>
   <li> <span class="name">prov:Collection</span>  denotes an entity of type collection, i.e. an entity that  can participate in  relations amongst collections;
 
-  </li><li><span class="name">prov:EmptyCollection</span> denotes an empty collection.
-</li></ul>
+  <li><span class="name">prov:EmptyCollection</span> denotes an empty collection.
+</ul>
 
 
 
@@ -2481,35 +2996,37 @@
 
 
 <div class="anexample">
-<pre class="codeexample">entity(c0, <span class="delete">[prov:type="EmptyCollection"</span><span class="insert">[prov:type="prov:EmptyCollection"</span> %% xsd:QName])  // c0 is an empty collection
+<pre class="codeexample">
+entity(c0, <span class="delete">[prov:type="EmptyCollection"</span><span class="insert">[prov:type="prov:EmptyCollection"</span> %% xsd:QName])  // c0 is an empty collection
 entity(c1, <span class="delete">[prov:type="Collection"</span><span class="insert">[prov:type="prov:Collection"</span>  %% xsd:QName])      // c1 is a collection, with unknown content
 </pre>
 </div>
 
 
 
-</div>  
-
-
-<div id="term-collection-insertion" class="section">
-<h4><span class="secno">4.5.2 </span>Insertion</h4>
-
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">  <dfn id="concept-insertion">Insertion</dfn> is a derivation that transforms a collection into another, by insertion of one or more key-entity pairs. </span>
-
-
-
-
-
-<p></p><div class="attributes" id="attributes-derivedByInsertionFrom">
-<p><span class="delete">A</span><span class="insert">An</span> <dfn title="derivedByInsertionFrom" id="dfn-derivedbyinsertionfrom"><span class="delete">Derivation-by-Insertion</span><span class="insert">Insertion</span></dfn> relation<span class="withPn">, written <span class="pnExpression">derivedByInsertionFrom(id, c2, c1, {(key_1, e_1), ..., (key_n, e_n)}, attrs)</span>,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
+</section>  
+
+
+
+<span class="delete">4.5.2 </span><section id="term-collection-insertion">
+<h3>Insertion</h3>
+
+  <span class="delete">Insertion</span><span class="delete"> is a derivation that transforms a collection into another, by insertion of one or more key-entity pairs. </span><span class="glossary-ref" data-ref="glossary-insertion"></span>
+
+
+
+
+
+<p><div class="attributes" id="attributes-derivedByInsertionFrom">
+<p><span class="delete">A </span><span class="delete">Derivation-by-Insertion</span><span class="insert">An </span><dfn title="derivedByInsertionFrom"><span class="insert">Insertion</span></dfn> relation<span class="withPn">, written <span class="pnExpression">derivedByInsertionFrom(id, c2, c1, {(key_1, e_1), ..., (key_n, e_n)}, attrs)</span>,</span> <span class="delete">contains:</span><span class="insert">has:</span></p>
 <ul>
-<li><span class="attribute" id="derivedByInsertionFrom.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier identifying the relation;</li>
-<li><span class="attribute" id="derivedByInsertionFrom.after">after</span>: an identifier (<span class="name">c2</span>) for the collection <em>after</em> insertion; </li>
-<li><span class="attribute" id="derivedByInsertionFrom.before">before</span>: an identifier (<span class="name">c1</span>) for the collection <em>before</em> insertion;</li>
-<li><span class="attribute" id="derivedByInsertionFrom.key-entity-set">key-entity-set</span>: the inserted key-entity pairs <span class="name">(key_1, e_1)</span>, ..., <span class="name">(key_n, e_n)</span> in which each <span class="name">key_i</span> is a <a href="#dfn-value" class="internalDFN">value</a>, and <span class="name">e_i</span> is an identifier  for the entity that has been inserted with the key;
+<li><span class='attribute' id="derivedByInsertionFrom.id">id</span>:  an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier identifying the relation;</li>
+<li><span class='attribute' id="derivedByInsertionFrom.after">after</span>: an identifier (<span class="name">c2</span>) for the collection <em>after</em> insertion; </li>
+<li><span class='attribute' id="derivedByInsertionFrom.before">before</span>: an identifier (<span class="name">c1</span>) for the collection <em>before</em> insertion;</li>
+<li><span class='attribute' id="derivedByInsertionFrom.key-entity-set">key-entity-set</span>: the inserted key-entity pairs <span class="name">(key_1, e_1)</span>, ..., <span class="name">(key_n, e_n)</span> in which each <span class="name">key_i</span> is a <a>value</a>, and <span class="name">e_i</span> is an identifier  for the entity that has been inserted with the key;
  each <span class="name">key_i</span> is expected to be unique for the key-entity-set;
 </li>
-<li><span class="attribute" id="derivedByInsertionFrom.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
+<li><span class='attribute' id="derivedByInsertionFrom.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
 </ul>
 </div>
 
@@ -2523,7 +3040,8 @@
 
 
 <div class="anexample">
-<pre class="codeexample">entity(c0, <span class="delete">[prov:type="EmptyCollection"</span><span class="insert">[prov:type="prov:EmptyCollection"</span> %% xsd:QName])    // c0 is an empty collection
+<pre class="codeexample">
+entity(c0, <span class="delete">[prov:type="EmptyCollection"</span><span class="insert">[prov:type="prov:EmptyCollection"</span> %% xsd:QName])    // c0 is an empty collection
 entity(e1)
 entity(e2)
 entity(e3)
@@ -2537,18 +3055,19 @@
 <ul>
 <li>   <span class="name">c0<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{  }
    </span>
-</li><li>   <span class="name">c1<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e1), ("k2", e2) }
+<li>   <span class="name">c1<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e1), ("k2", e2) }
    </span>
-</li><li>   <span class="name">c2<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e1), ("k2", e2), ("k3", e3) }
+<li>   <span class="name">c2<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e1), ("k2", e2), ("k3", e3) }
   </span>
-</li></ul>
+</ul>
 </div>
 
 <p>Insertion provides an "update semantics" for the keys that are already present in <span class="delete">the</span><span class="insert">a</span> collection,<span class="delete"> as</span><span class="insert">
 since a new pair replaces an existing pair with the same key in the new collection. This is</span> illustrated by the following example. </p>
 
 <div class="anexample">
-<pre class="codeexample">entity(c0, <span class="delete">[prov:type="EmptyCollection"</span><span class="insert">[prov:type="prov:EmptyCollection"</span> %% xsd:QName])    // c0 is an empty collection
+<pre class="codeexample">
+entity(c0, <span class="delete">[prov:type="EmptyCollection"</span><span class="insert">[prov:type="prov:EmptyCollection"</span> %% xsd:QName])    // c0 is an empty collection
 entity(e1)
 entity(e2)
 entity(e3)
@@ -2558,46 +3077,55 @@
 derivedByInsertionFrom(c1, c0, {("k1", e1), ("k2", e2)})       
 derivedByInsertionFrom(c2, c1, {("k1", e3)})    
 </pre>
-   This is a case of <em>update</em> of <span class="name">e1</span> to <span class="name">e3</span> for the same key, <span class="name">"k1"</span>. <br>
+   This is a case of <em>update</em> of <span class="name">e1</span> to <span class="name">e3</span> for the same key, <span class="name">"k1"</span>. <br/>
   From this set of descriptions, we conclude:
   
 <ul>
 <li>   <span class="name">c0<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{  }
    </span>
-</li><li>   <span class="name">c1<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e1), ("k2", e2) }
+<li>   <span class="name">c1<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e1), ("k2", e2) }
    </span>
-</li><li>   <span class="name">c2<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e3), ("k2", e2) }
+<li>   <span class="name">c2<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e3), ("k2", e2) }
   </span>
-</li></ul>
+</ul>
 </div>
 
-</div>  
-
-
-<div id="term-collection-removal" class="section">
-<h4><span class="secno">4.5.3 </span>Removal</h4>
-
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">  <dfn id="concept-removal">Removal</dfn> is a derivation that transforms a collection into another, by removing one or more key-entity pairs. </span>
+</section>  
+
+
+
+<span class="delete">4.5.3 </span><section id="term-collection-removal">
+<h3>Removal</h3>
+
+  <span class="glossary-ref" data-ref="glossary-removal"></span>
 
 
 
 
 <p>
-</p><div class="attributes" id="attributes-derivedByRemovalFrom">
-<p> A <dfn title="derivedByRemovalFrom" id="dfn-derivedbyremovalfrom"><span class="delete">Derivation-by-Removal</span><span class="insert">Removal</span></dfn> relation, written <span class="pnExpression">derivedByRemovalFrom(id, c2, c1, {key_1, ... key_n}, attrs)</span>, <span class="delete">contains:</span><span class="insert">has:</span></p>
+<div class="attributes" id="attributes-derivedByRemovalFrom">
+<p><span class="insert"> A </span><dfn title="derivedByRemovalFrom">Removal</dfn> <span class="delete">is a derivation that transforms a collection into another, by removing one or more key-entity pairs. </span>
+
+
+
+
+
+
+<span class="delete"> A </span><span class="delete">Derivation-by-Removal</span> relation, written <span class="pnExpression">derivedByRemovalFrom(id, c2, c1, {key_1, ... key_n}, attrs)</span>, <span class="delete">contains:</span><span class="insert">has:</span></p>
 <ul>
-<li><span class="attribute" id="derivedByRemovalFrom.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier identifying the relation;</li>
-<li><span class="attribute" id="derivedByRemovalFrom.after">after</span>: an identifier (<span class="name">c2</span>) for the collection  <em>after</em> the deletion; </li>
-<li><span class="attribute" id="derivedByRemovalFrom.before">before</span>: an identifier (<span class="name">c1</span>)  for the collection <em>before</em> the deletion;</li>
-<li><span class="attribute" id="derivedByRemovalFrom.key-set">key-set</span>: a set of deleted keys  <span class="name">key_1</span>, ..., <span class="name">key_n</span>, for which each <span class="name">key_i</span> is a <a href="#dfn-value" class="internalDFN">value</a>;</li>
-<li><span class="attribute" id="derivedByRemovalFrom.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
+<li><span class='attribute' id="derivedByRemovalFrom.id">id</span>:  an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier identifying the relation;</li>
+<li><span class='attribute' id="derivedByRemovalFrom.after">after</span>: an identifier (<span class="name">c2</span>) for the collection  <em>after</em> the deletion; </li>
+<li><span class='attribute' id="derivedByRemovalFrom.before">before</span>: an identifier (<span class="name">c1</span>)  for the collection <em>before</em> the deletion;</li>
+<li><span class='attribute' id="derivedByRemovalFrom.key-set">key-set</span>: a set of deleted keys  <span class="name">key_1</span>, ..., <span class="name">key_n</span>, for which each <span class="name">key_i</span> is a <a>value</a>;</li>
+<li><span class='attribute' id="derivedByRemovalFrom.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
 </ul>
 </div>
 
 <p><span class="delete">Derivation-by-Removal</span><span class="insert">A Removal</span> relation <span class="name">derivedByRemovalFrom(id, c2,c1, {key_1, ..., key_n})</span> states that  <span class="name">c2</span> is  the  state of the collection following the removal of the set of pairs corresponding to keys  <span class="name">key_1...key_n</span> from  <span class="name">c1</span>.
 
-</p><div class="anexample">
-<pre class="codeexample">entity(c0, <span class="delete">[prov:type="EmptyCollection"])</span><span class="insert">[prov:type="prov:EmptyCollection"])</span>    // c0 is an empty collection
+<div class="anexample">
+<pre class="codeexample">
+entity(c0, <span class="delete">[prov:type="EmptyCollection"])</span><span class="insert">[prov:type="prov:EmptyCollection"])</span>    // c0 is an empty collection
 entity(e1)
 entity(e2)
 entity(e3)
@@ -2613,44 +3141,46 @@
 <ul>
 <li><span class="name">c0<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{  }
    </span>
-</li><li><span class="name">c1<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e1), ("k2", e2)  }
+<li><span class="name">c1<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e1), ("k2", e2)  }
    </span>
-</li><li><span class="name">c2<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e1), ("k2", e2), ("k3", e3) }
+<li><span class="name">c2<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k1", e1), ("k2", e2), ("k3", e3) }
    </span>
-</li><li><span class="name">c3<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k2", e2) }
+<li><span class="name">c3<span class="delete"> = </span></span><span class="insert"> is the set </span><span class="name">{ ("k2", e2) }
   </span>
-</li></ul>
+</ul>
 
   
 </div>
 
-</div>  
-
-
-<div id="term-collection-membership" class="section">
-<h4><span class="secno">4.5.4 </span>Membership</h4>
-
-
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html"> <dfn id="concept-membership">Membership</dfn> is the belonging of a key-entity pair to collection. </span>
+</section>  
+
+
+
+<span class="delete">4.5.4 </span><section id="term-collection-membership">
+<h3>Membership</h3>
+
+
+ <span class="delete">Membership</span><span class="delete"> is the belonging of a key-entity pair to collection. </span><span class="glossary-ref" data-ref="glossary-membership"></span>
 
 <p>
 The insertion and removal  relations make insertions and removals explicit as part of the history of a collection. This, however, requires explicit mention of the state of the collection prior to each operation. The membership relation removes this needs, allowing the state of a collection <span class="name">c</span> to be expressed without having to introduce a prior state.</p>
 
 <p>
-</p><div class="attributes" id="attributes-memberOf">
- A <dfn title="memberOf" id="dfn-memberof">membership</dfn> relation, written <span class="pnExpression">memberOf(id, c, {(key_1, e_1), ..., (key_n, e_n)}, attrs)</span>, <span class="delete">contains:</span><span class="insert">has:</span>
+<div class="attributes" id="attributes-memberOf">
+ A <dfn title="memberOf">membership</dfn> relation, written <span class="pnExpression">memberOf(id, c, {(key_1, e_1), ..., (key_n, e_n)}, attrs)</span>, <span class="delete">contains:</span><span class="insert">has:</span>
 <ul>
-<li><span class="attribute" id="memberOf.id">id</span>:  an <em class="rfc2119" title="optional">optional</em> identifier identifying the relation;</li>
-<li><span class="attribute" id="memberOf.after">after</span>: an identifier (<span class="name">c</span>) for the collection whose members are asserted; </li>
-<li><span class="attribute" id="memberOf.key-entity-set">key-entity-set</span>: a set of key-entity pairs <span class="name">(key_1, e_1)</span>, ..., <span class="name">(key_n, e_n)</span> that are members of the collection;</li>
-<li><span class="attribute" id="memberOf.attributes">attributes</span>: an <em class="rfc2119" title="optional">optional</em> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
+<li><span class='attribute' id="memberOf.id">id</span>:  an <span class="delete">optional</span><span class="insert">OPTIONAL</span> identifier identifying the relation;</li>
+<li><span class='attribute' id="memberOf.after">after</span>: an identifier (<span class="name">c</span>) for the collection whose members are asserted; </li>
+<li><span class='attribute' id="memberOf.key-entity-set">key-entity-set</span>: a set of key-entity pairs <span class="name">(key_1, e_1)</span>, ..., <span class="name">(key_n, e_n)</span> that are members of the collection;</li>
+<li><span class='attribute' id="memberOf.attributes">attributes</span>: an <span class="delete">optional</span><span class="insert">OPTIONAL</span> set (<span class="name">attrs</span>) of attribute-value pairs <span class="delete">to further describe the properties of the</span><span class="insert">representing additional information about this</span> relation.</li>
 </ul>
 </div>
 
 <p>The description <span class="name">memberOf(c, {(key_1, e_1), ..., (key_n, e_n)})</span> states that  <span class="name">c</span> is known to include <span class="name">(key_1, e_1)</span>, ..., <span class="name">(key_n, e_n)}</span>, without having to introduce a previous state. </p>
 
 <div class="anexample">
-<pre class="codeexample">entity(c, [prov:type="prov:Collection"  %% xsd:QName])    // c is a collection, with unknown content
+<pre class="codeexample">
+entity(c, [prov:type="prov:Collection"  %% xsd:QName])    // c is a collection, with unknown content
 activity(a)
 wasGeneratedBy(c,a)   // a produced c
 
@@ -2667,18 +3197,18 @@
 From <span class="delete">this set of assertions,</span><span class="insert">these descriptions,</span> we conclude:
      
 <ul>
-<li> <span class="name">c</span>  <span class="delete">contains   </span><span class="insert">has  the following pairs as members: </span><span class="name">("k1", e1), ("k2", e2)<span class="delete"> 
-   c1 contains   ("k1", e1), ("k2", e2), ("k3", v3) 
-  </span><span class="delete">
- Note that the state of</span></span>
-</li><li> <span class="name">c1</span> <span class="insert">has  the following pairs as members: </span><span class="name"><span class="insert">("k1", e1), ("k2", e2), ("k3", v3)</span></span>
-</li></ul>
-<p><span class="insert"> Note that the state of </span><span class="name"><span class="insert">c1</span></span> with these relations is only partially known, because the state of <span class="name">c</span> is unknown.</p>
+<li> <span class="name">c</span>  <span class="delete">contains   </span><span class="insert">has  the following pairs as members: </span><span class="name">("k1", e1), ("k2", e2) 
+   </span>
+<li> <span class="name">c1<span class="delete"> contains   </span></span><span class="insert"> has  the following pairs as members: </span><span class="name">("k1", e1), ("k2", e2), ("k3", v3) 
+  
+ </span>
+</ul>
+<p> Note that the state of <span class="name">c1</span> with these relations is only partially known, because the state of <span class="name">c</span> is unknown.</p>
 </div>
 
 
 
-</div>  
+</section>  
 
 
 
@@ -2689,17 +3219,17 @@
 <li>The state of a collection (i.e., the set of key-entity pairs it contains) at a given point in a sequence of operations is never stated explicitly. Rather, it can be obtained by querying the chain of derivations involving insertions and removals. Entity type <span class="name">emptyCollection</span> can be used in this context as it marks the start of a sequence of collection operations.</li>
 
 
-<li>The representation of a collection through these relations makes no assumption regarding the underlying data structure used to store and manage collections. In particular, no assumptions are needed regarding the mutability of a data structure that is subject to updates. Entities, however, are immutable and this applies  to those entities that represent collections. This is reflected in the constraints listed in <span class="delete">Part II.</span><span class="insert">[</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM-CONSTRAINTS"><span class="insert">PROV-DM-CONSTRAINTS</span></a></cite><span class="insert">].</span>  </li>
+<li>The representation of a collection through these relations makes no assumption regarding the underlying data structure used to store and manage collections. In particular, no assumptions are needed regarding the mutability of a data structure that is subject to updates. Entities, however, are immutable and this applies  to those entities that represent collections. This is reflected in the constraints listed in <span class="delete">Part II.</span><span class="insert">[[PROV-DM-CONSTRAINTS]].</span>  </li>
 </ul>
 
   
-</div>   
-
-
-<div id="component6" class="section"> 
-<h3><span class="secno">4.6 </span>Component 6: Annotations</h3>
-
-<p>The sixth component of PROV-DM is concerned with <a title="note" href="#concept-note" class="internalDFN">notes</a> and <a title="annotation" href="#concept-annotation" class="internalDFN">annotations</a>.
+</section>   
+
+
+<section id="component6"> 
+<h3><span class="delete">4.6 </span>Component 6: Annotations</h3>
+
+<p>The sixth component of PROV-DM is concerned with <a title="note">notes</a> and <a title="annotation">annotations</a>.
 </p>
 
 <p>As provenance descriptions are exchanged between systems, it may be useful <span class="insert">for a third party </span>to add <span class="delete">extra-information</span><span class="insert">extra information</span> to what they are describing. For instance, a "trust service" may add value-judgements about the
@@ -2708,18 +3238,19 @@
 For this, a type and and a relation are introduced.</p>
 
 
-<p>The annotation mechanism (with note and annotation) forms a key aspect of the extensibility mechanism of PROV-DM (see <a href="#extensibility-section">extensibility section</a>).</p>
-   <div id="term-note" class="section"> 
+<p>The annotation mechanism (with note and annotation) forms a key aspect of the extensibility mechanism of PROV-DM (see <a
+href="#extensibility-section">extensibility section</a>).</p>
+   <section id="term-note"> 
       
-<h4><span class="secno">4.6.1 </span>Note</h4>
-
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html"><span class="insert"> A </span><dfn id="concept-note"><span class="insert">note</span></dfn><span class="insert"> is an identified set of application-specific attribute-value pairs.</span></span>
-
-
-<p></p><div class="attributes" id="attributes-note">A <dfn title="dfn-note" id="dfn-note">note</dfn><span class="withPn">, <span class="delete">noted</span><span class="insert">written</span> <span class="pnExpression">note(id, [attr1=val1, ...])</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span>
+<h4><span class="delete">4.6.1 </span>Note</h4>
+
+<span class="glossary-ref" data-ref="glossary-note"></span>
+
+
+<p><div class="attributes" id="attributes-note">A <dfn title="dfn-note" id="dfn-note">note</dfn><span class="withPn">, <span class="delete">noted</span><span class="insert">written</span> <span class="pnExpression">note(id, [attr1=val1, ...])</span> in PROV-N,</span> <span class="delete">contains:</span><span class="insert">has:</span>
 <ul>
-<li><span class="attribute" id="note.id">id</span>: an identifier for a note;</li>
-<li><span class="attribute" id="note.attributes">attributes</span>: a set of attribute-value pairs ((<span class="name">attr1</span>, <span class="name">val1</span>), <span class="delete">...), whose meaning is application specific.</span><span class="insert">...) representing application-specific information.</span></li>
+<li><span class='attribute' id="note.id">id</span>: an identifier for a note;</li>
+<li><span class='attribute' id="note.attributes">attributes</span>: a set of attribute-value pairs ((<span class="name">attr1</span>, <span class="name">val1</span>), <span class="delete">...), whose meaning is application specific.</span><span class="insert">...) representing application-specific information.</span></li>
 </ul>
 </div>
 
@@ -2732,21 +3263,23 @@
 to help the rendering of <span class="delete">what</span><span class="insert">the pre-existing entity</span> it is associated with, by
 specifying its color and its position on the screen.</p>
 <pre class="codeexample"><span class="delete">note(ex2:n1,[ex2:color="blue", ex2:screenX=20, ex2:screenY=30])
-hasAnnotation(tr:WD-prov-dm-20111215,ex2:n1)</span><span class="insert">note(ex:n1,[ex:color="blue", ex:screenX=20, ex:screenY=30])
+hasAnnotation(tr:WD-prov-dm-20111215,ex2:n1)</span><span class="insert">
+note(ex:n1,[ex:color="blue", ex:screenX=20, ex:screenY=30])
 hasAnnotation(tr:WD-prov-dm-20111215,ex:n1)</span>
 </pre>
-<p>The note is <span class="delete">associated with</span><span class="insert">linked to</span> the entity <span class="name">tr:WD-prov-dm-20111215</span><span class="delete">.
-Relation</span><span class="insert">, with
-relation</span> <a title="annotation" href="#concept-annotation" class="internalDFN">hasAnnotation</a><span class="delete"> is 
+<p>The note is <span class="delete">associated</span><span class="insert">linked to the entity </span><span class="name"><span class="insert">tr:WD-prov-dm-20111215</span></span><span class="insert">,</span> with<span class="delete"> the entity </span><span class="delete">tr:WD-prov-dm-20111215</span><span class="delete">.
+Relation </span><span class="insert">
+relation </span><a title="annotation">hasAnnotation</a><span class="delete"> is 
 </span>  
 discussed in<span class="delete"> the</span>  <a href="#term-annotation"><span class="delete">next section</span><span class="insert">Section 4.6.2</span></a>.<span class="insert">  
-The note's identifier and attributes are declared in the namespace denoted by prefix </span><span class="name"><span class="insert">ex</span></span><span class="insert"> to illustrate that the rendering</span>  <span class="delete">The note's identifier and attributes are declared in a separate namespace denoted by prefix</span><span class="insert">application may differ from the application involving entity</span> <span class="name"><span class="delete">ex2</span><span class="insert">tr:WD-prov-dm-20111215</span></span>.
+The note's identifier and attributes are declared in the namespace denoted by prefix </span><span class="name"><span class="insert">ex</span></span><span class="insert"> to illustrate that the rendering</span>  <span class="delete">The note's identifier and attributes are declared in a separate namespace denoted by prefix </span><span class="delete">ex2</span><span class="insert">application may differ from the application involving entity </span><span class="name"><span class="insert">tr:WD-prov-dm-20111215</span></span>.
 </p>
 </div>
 
 <div class="anexample" id="anexample-note2">
 <p>Alternatively, a reputation service may enrich <span class="delete">a</span><span class="insert">an existing</span> provenance record with notes providing reputation ratings about agents. In the following fragment, both agents <span class="name"><span class="delete">ex:Simon</span><span class="insert">ex2:Simon</span></span> and <span class="name"><span class="delete">ex:Paolo</span><span class="insert">ex2:Paolo</span></span> are rated "excellent".</p>
-<pre class="codeexample">note(ex3:n2,[ex3:reputation="excellent"])
+<pre class="codeexample">
+note(ex3:n2,[ex3:reputation="excellent"])
 <span class="delete">hasAnnotation(ex:Simon,ex3:n2)
 hasAnnotation(ex:Paolo,ex3:n2)</span><span class="insert">hasAnnotation(ex2:Simon,ex3:n2)
 hasAnnotation(ex2:Paolo,ex3:n2)</span>
@@ -2756,30 +3289,31 @@
 </div>
 
 
-   </div> 
-
-<div id="term-annotation" class="section">
-<h4><span class="secno">4.6.2 </span>Annotation</h4>
-
-
-
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html"> An <dfn id="concept-annotation">annotation</dfn> is a link between something that is identifiable and a note referred to by its identifier.</span>
+   </section> 
+
+<section id="term-annotation">
+<h4><span class="delete">4.6.2 </span>Annotation</h4>
+
+
+
+<span class="delete"> An </span><span class="delete">annotation</span><span class="delete"> is a link between something that is identifiable and a note referred to by its identifier.</span><span class="glossary-ref" data-ref="glossary-annotation"></span>
 
 <p>Multiple notes can
 be associated with a given identified object; symmetrically, multiple objects can be associated with a given note.  Since notes have identifiers,  they can also be
 annotated. </p>
 
-<p></p><div class="attributes" id="attributes-annotation">An <dfn title="hasAnnotation" id="dfn-hasannotation">annotation relation</dfn><span class="withPn">, written <span class="pnExpression">hasAnnotation(r,n)</span> in PROV-N,</span> <span class="delete">has the following constituents:</span><span class="insert">has:</span>
+<p></p><div class="attributes" id="attributes-annotation">An <dfn title="hasAnnotation">annotation relation</dfn><span class="withPn">, written <span class="pnExpression">hasAnnotation(r,n)</span> in PROV-N,</span> <span class="delete">has the following constituents:</span><span class="insert">has:</span>
 <ul>
-<li><span class="attribute" id="annotation.id">something</span>: the identifier (<span class="name">r</span>) of something being annotated;</li>
-<li><span class="attribute" id="annotation.note">note</span>: an identifier (<span class="name">n</span>) of a note.</li>
+<li><span class='attribute' id="annotation.id">something</span>: the identifier (<span class="name">r</span>) of something being annotated;</li>
+<li><span class='attribute' id="annotation.note">note</span>: an identifier (<span class="name">n</span>) of a note.</li>
 </ul>
 </div>
 
 <div class="anexample">
 <p>
 The following expressions</p>
-<pre class="codexample">entity(e1,[prov:type="document"])
+<pre class="codexample">
+entity(e1,[prov:type="document"])
 entity(e2,[prov:type="document"])
 activity(a,t1,t2)
 used(u1,a,e1,[ex:file="stdin"])
@@ -2792,30 +3326,33 @@
 note(n2,[ex:style="dotted"])
 hasAnnotation(u1,n2)
 </pre>
-<p>describe two  documents (attribute-value pair: <span class="name">prov:type="document"</span>) identified by <span class="name">e1</span> and <span class="name">e2</span>, and their annotation with a note indicating that the icon (an application specific way of rendering provenance) is <span class="name">doc.png</span>. The example also
+<p>describe two  documents (attribute-value pair: <span class="name">prov:type="document"</span>) identified by <span class="name">e1</span> and <span
+class="name">e2</span>, and their annotation with a note indicating that the icon (an application specific way of rendering provenance) is <span class="name">doc.png</span>. The example also
 includes an activity, its usage of the first entity, and its generation of the second entity. The <a title="dfn-usage">usage</a> is annotated with a style (an application specific way
-of rendering this edge graphically). To be able to express this annotation, the usage was provided with an identifier <span class="name">u1</span>, which was then referred to in <span class="name">hasAnnotation(u1,n2)</span>.
+of rendering this edge graphically). To be able to express this annotation, the usage was provided with an identifier <span class="name">u1</span>, which was then referred to in <span
+class="name">hasAnnotation(u1,n2)</span>.
 </p>
 </div>
 
 
-</div>
-
-
-</div>
-
-
-
-
-<div id="second-class-elements" class="section">
-<h3><span class="secno">4.7 </span>Further Elements of PROV-DM</h3>
+</section>
+
+
+</section>
+
+
+
+
+<section  id="second-class-elements">
+<h3><span class="delete">4.7 </span>Further Elements of PROV-DM</h3>
 
 This section introduces further elements of PROV-DM.
 
-<div id="term-NamespaceDeclaration" class="section">
-<h4><span class="secno">4.7.1 </span>Namespace Declaration</h4>
-
-<p>A PROV-DM <dfn id="dfn-namespace">namespace</dfn> is identified by an IRI [<cite><a class="bibref" rel="biblioentry" href="#bib-IRI">IRI</a></cite>]. In PROV-DM, attributes, identifiers, and values with <a title="qualified name" href="#concept-qualifiedName" class="internalDFN">qualified names</a> as data type can be placed in a namespace using the mechanisms described in this specification. </p>
+
+<span class="delete">4.7.1 </span><section id="term-NamespaceDeclaration">
+<h3>Namespace Declaration</h3>
+
+<p>A PROV-DM <dfn id="dfn-namespace">namespace</dfn> is identified by an IRI <span class="delete">[</span><span class="delete">IRI</span><span class="delete">].</span><span class="insert">[[!IRI]].</span> In PROV-DM, attributes, identifiers, and values with <a title="qualified name">qualified names</a> as data type can be placed in a namespace using the mechanisms described in this specification. </p>
 
 
 <p>A <dfn id="dfn-namespaceDeclaration">namespace declaration</dfn> consists of a binding between a prefix and a namespace. Every qualified name with this prefix in the scope of this
@@ -2823,105 +3360,114 @@
 A <dfn id="dfn-defaultNamespaceDeclaration">default namespace declaration</dfn> consists of a namespace. Every un-prefixed qualified name in the scope of this default namespace declaration
 refers to this namespace.</p>
 
-<p>The <span class="delete">PROV-DM</span><dfn title="prov-namespace" id="dfn-prov-namespace"><span class="insert">PROV</span> namespace</dfn> is<span class="insert"> identified by the URI</span> <span class="name">http://www.w3.org/ns/prov#</span>.</p>
-
-</div>
-
-<div id="term-qualified-name" class="section">
-<h4><span class="secno">4.7.2 </span>Qualified Name</h4>
-
-
-<span class="glossary-ref" prov:hadoriginalsource="http://dvcs.w3.org/hg/prov/file/31816209cab0/model/glossary.html">   A <dfn id="concept-qualifiedName">qualified name</dfn> is a name subject to <a href="#dfn-namespace" class="internalDFN">namespace</a> interpretation. It consists of a <a href="#dfn-namespace" class="internalDFN">namespace</a>, denoted by an optional prefix, and a local name.<p></p> </span>
+<p>The <span class="delete">PROV-DM</span><dfn title="prov-namespace"><span class="insert">PROV</span> namespace</dfn> is<span class="insert"> identified by the URI</span> <span class="name">http://www.w3.org/ns/prov#</span>.</p>
+
+</section>
+
+<section id="term-qualified-name">
+<h4><span class="delete">4.7.2 </span>Qualified Name</h4>
+
+
+<span class="delete">   A </span><span class="delete">qualified name</span><span class="delete"> is a name subject to </span><span class="delete">namespace</span><span class="delete"> interpretation. It consists of a </span><span class="delete">namespace</span><span class="delete">, denoted by an optional prefix, and a local name.</span> <span class="glossary-ref" data-ref="glossary-qualifiedName"></span>
 
 <p>PROV-DM stipulates that a qualified name can be mapped into an IRI
  by concatenating the IRI associated with the prefix and the local part.</p>
 
-<p>A qualified name's prefix is <em class="rfc2119" title="optional">optional</em>. If a prefix occurs in a
- qualified name, it refers to a <a href="#dfn-namespace" class="internalDFN">namespace</a> declared in a namespace declaration.  In the absence of prefix, the qualified name 
- refers to the <a title="default namespace declaration" href="#dfn-defaultNamespaceDeclaration" class="internalDFN">default namespace</a>.</p>
-
-</div>
-
-
-
-<div id="term-identifier" class="section">
-<h4><span class="secno">4.7.3 </span>Identifier</h4>
+<p>A qualified name's prefix is <span class="delete">optional</span><span class="delete">.</span><span class="insert">OPTIONAL.</span> If a prefix occurs in a
+ qualified name, it refers to a <a>namespace</a> declared in a namespace declaration.  In the absence of prefix, the qualified name 
+ refers to the <a title="default namespace declaration">default namespace</a>.</p>
+
+</section>
+
+
+
+<section id="term-identifier">
+<h4><span class="delete">4.7.3 </span>Identifier</h4>
 
 <p>
-An <dfn id="dfn-identifier">identifier</dfn> is a <a href="#concept-qualifiedName" class="internalDFN">qualified
+An <dfn id="dfn-identifier">identifier</dfn> is a <a>qualified
  name</a>. 
 </p>
 
-</div>
-
-<div id="term-attribute" class="section">
-<h4><span class="secno">4.7.4 </span>Attribute</h4>
-
-<p>An <dfn title="dfn-attribute" id="dfn-attribute">attribute</dfn> is a <a href="#concept-qualifiedName" class="internalDFN">qualified name</a>. 
-
-
-</p><p>The PROV data model introduces a pre-defined set of attributes in the <span class="delete">PROV-DM</span><a title="prov-namespace" href="#dfn-prov-namespace" class="internalDFN"><span class="insert">PROV</span> namespace</a>, which we define below. 
+</section>
+
+<section id="term-attribute">
+<h4><span class="delete">4.7.4 </span>Attribute</h4>
+
+<p>An <dfn title="dfn-attribute" id="dfn-attribute">attribute</dfn> is a <a>qualified name</a>. 
+
+
+<p>The PROV data model introduces a pre-defined set of attributes in the <span class="delete">PROV-DM</span><a title="prov-namespace"><span class="insert">PROV</span> namespace</a>, which we define below. 
 The interpretation of any attribute declared in another namespace is out of scope.</p>
 
 
-<div id="term-attribute-label" class="section">
-<h5><span class="secno">4.7.4.1 </span>prov:label</h5>
-
-<p> The attribute <dfn title="dfn-label" id="dfn-dfn-label"><span class="name">prov:label</span></dfn> provides a human-readable representation of a PROV-DM element or relation.  The value associated with the attribute <span class="name">prov:label</span> <em class="rfc2119" title="must">must</em> be a string.</p>
+
+<span class="delete">4.7.4.1 </span><section id="term-attribute-label">
+<h4>prov:label</h4>
+
+<p> The attribute <dfn title="dfn-label"><span class="name">prov:label</span></dfn> provides a human-readable representation of a PROV-DM element or relation.  The value associated with the attribute <span class="name">prov:label</span> <span class="delete">must</span><span class="insert">MUST</span> be a string.</p>
 
 <div class="anexample">
 <p>The following entity is provided with a label attribute.</p>
-<pre class="codeexample"> entity(ex:e1, [prov:label="This is a label"])
+<pre class="codeexample"> 
+ entity(ex:e1, [prov:label="This is a label"])
 </pre>
 </div>
 
 
-</div>
-
-
-<div id="term-attribute-location" class="section">
-<h5><span class="secno">4.7.4.2 </span>prov:location</h5>
-
-<p>A <dfn title="dfn-Location" id="dfn-dfn-location">location</dfn> can be an identifiable geographic place (ISO 19112), but it can also be a non-geographic place such as a directory, row, or column. As such, there are numerous ways in which location can be expressed, such as by a coordinate,
+</section>
+
+
+
+<span class="delete">4.7.4.2 </span><section id="term-attribute-location">
+<h4>prov:location</h4>
+
+<p>A <dfn title="dfn-Location">location</dfn> can be an identifiable geographic place (ISO 19112), but it can also be a non-geographic place such as a directory, row, or column. As such, there are numerous ways in which location can be expressed, such as by a coordinate,
 address, landmark, and so forth. This  document does not specify how to concretely express  locations, but instead provide a mechanism to introduce locations, by means of a reserved attribute. </p> 
 
 
 <p>
-The attribute <dfn title="dfn-location" id="dfn-dfn-location-1"><span class="name">prov:location</span></dfn> is an <em class="rfc2119" title="optional">optional</em> attribute of <span class="delete">entity</span><span class="insert">entity, activity, usage,</span> and <span class="delete">activity.</span><span class="insert">generation.</span>  The value associated with the  attribute <span class="name">prov:location</span> <em class="rfc2119" title="must">must</em> be a PROV-DM <a title="value" href="#dfn-value" class="internalDFN">Value</a>, expected to denote a location.
+The attribute <dfn title="dfn-location"><span class="name">prov:location</span></dfn> is an <span class="delete">optional</span><span class="insert">OPTIONAL</span> attribute of <span class="delete">entity</span><span class="insert">entity, activity, usage,</span> and <span class="delete">activity.</span><span class="insert">generation.</span>  The value associated with the  attribute <span class="name">prov:location</span> <span class="delete">must</span><span class="insert">MUST</span> be a PROV-DM <a title="value">Value</a>, expected to denote a location.
 </p>
 
 <div class="anexample">
 <p>The following expression describes entity Mona Lisa, a painting, with a location attribute. </p>
-<pre class="codeexample"> entity(ex:MonaLisa, [prov:location="Le Louvres, Paris", prov:type="StillImage"])
+<pre class="codeexample"> 
+ entity(ex:MonaLisa, [prov:location="Le Louvres, Paris", prov:type="StillImage"])
 </pre>
 </div>
-</div>
-
-
-<div id="term-attribute-role" class="section">
-<h5><span class="secno">4.7.4.3 </span>prov:role</h5>
-
-<p>The attribute <dfn title="dfn-role" id="dfn-dfn-role"><span class="name">prov:role</span></dfn>  denotes the function of an entity with respect to an activity, in the context of a usage, generation,
- association,  start, and  end. The attribute <span class="name">prov:role</span> is allowed to occur multiple times in a list of attribute-value pairs. The value associated with a <span class="name">prov:role</span> attribute <em class="rfc2119" title="must">must</em> be a PROV-DM <a title="value" href="#dfn-value" class="internalDFN">Value</a>.</p>
+</section>
+
+
+
+<span class="delete">4.7.4.3 </span><section id="term-attribute-role">
+<h4>prov:role</h4>
+
+<p>The attribute <dfn title="dfn-role"><span class="name">prov:role</span></dfn>  denotes the function of an entity with respect to an activity, in the context of a usage, generation,
+ association,  start, and  end. The attribute <span class="name">prov:role</span> is allowed to occur multiple times in a list of attribute-value pairs. The value associated with a <span
+class="name">prov:role</span> attribute <span class="delete">must</span><span class="insert">MUST</span> be a PROV-DM <a title="value">Value</a>.</p>
 
 <div class="anexample">
 <p>The following activity <span class="delete">start describes the role of the</span><span class="insert">is associated with an</span> agent <span class="delete">identified by </span><span class="delete">ag</span><span class="delete"> in this start relation with activity </span><span class="delete">a</span><span class="delete">.</span><span class="insert">acting as the operator.</span> </p>
-<pre class="codeexample"><span class="delete">   wasStartedBy(a,ag, [prov:role="program-operator"])</span><span class="insert"> wasAssociatedWith(a, ag, [prov:role="operator"])</span>
+<pre class="codeexample"><span class="delete">   wasStartedBy(a,ag, [prov:role="program-operator"])</span><span class="insert">
+ wasAssociatedWith(a, ag, [prov:role="operator"])</span>
 </pre>
 </div>
-</div>
-
-<div id="term-attribute-type" class="section">
-<h5><span class="secno">4.7.4.4 </span>prov:type</h5>
-
-<p>The attribute <dfn title="dfn-type" id="dfn-dfn-type"><span class="name">prov:type</span></dfn>  provides further typing information for an element or relation. PROV-DM liberally
+</section>
+
+
+<span class="delete">4.7.4.4 </span><section id="term-attribute-type">
+<h4>prov:type</h4>
+
+<p>The attribute <dfn title="dfn-type"><span class="name">prov:type</span></dfn>  provides further typing information for an element or relation. PROV-DM liberally
 defines a type as a category of things having common characteristics. PROV-DM is agnostic about the representation of types, and only states that
-the value associated with a <span class="name">prov:type</span> attribute <em class="rfc2119" title="must">must</em> be a PROV-DM <a title="value" href="#dfn-value" class="internalDFN">Value.</a> The attribute <span class="name">prov:type</span>
+the value associated with a <span class="name">prov:type</span> attribute <span class="delete">must</span><span class="insert">MUST</span> be a PROV-DM <a title="value">Value.</a> The attribute <span class="name">prov:type</span>
 is allowed to occur multiple times.</p>
 
 <div class="anexample">
 <p>The following describes an agent of type software agent.</p>
-<pre class="codeexample">   agent(ag, [prov:type="prov:SoftwareAgent" %% xsd:QName])
+<pre class="codeexample">   
+   agent(ag, [prov:type="prov:SoftwareAgent" %% xsd:QName])
 </pre>
 </div>
 
@@ -2974,37 +3520,37 @@
 
 </ul>
 
-</div>
-
-
-
-
-
-
-
-
-</div>
-
-<div id="term-value" class="section">
-<h4><span class="secno">4.7.5 </span>Value</h4>
+</section>
+
+
+
+
+
+
+
+
+</section>
+
+<section id="term-value">
+<h4><span class="delete">4.7.5 </span>Value</h4>
 
 <p>
-By means of attribute-value pairs, the PROV data model can refer to <dfn title="value" id="dfn-value">values</dfn> such as strings, numbers, time, qualified names, and IRIs.  
+By means of attribute-value pairs, the PROV data model can refer to <dfn title="value">values</dfn> such as strings, numbers, time, qualified names, and IRIs.  
 The interpretation of such values is outside the scope of PROV-DM.</p>
 <p>Each kind of such values is called a <em>datatype</em>. The datatypes are taken from 
-the set of XML Schema Datatypes, version 1.1 [<cite><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA-2">XMLSCHEMA-2</a></cite>] and the RDF specification [<cite><a class="bibref" rel="biblioentry" href="#bib-RDF-CONCEPTS">RDF-CONCEPTS</a></cite>]. The normative definitions of these datatypes are provided by the respective specifications. 
+the set of XML Schema Datatypes, version 1.1 <span class="delete">[</span><span class="delete">XMLSCHEMA-2</span><span class="delete">]</span><span class="insert">[[!XMLSCHEMA-2]]</span> and the RDF specification <span class="delete">[</span><span class="delete">RDF-CONCEPTS</span><span class="delete">].</span><span class="insert">[[!RDF-CONCEPTS]].</span> The normative definitions of these datatypes are provided by the respective specifications. 
 Each datatype is identified by its XML <a href="http://www.w3.org/TR/xmlschema-2/#QName">xsd:QName</a>.</p>
 
 <p>
 </p>
 
-<p>We note that PROV-DM <dfn title="dfn-time" id="dfn-dfn-time">time instants</dfn> are defined according to xsd:dateTime [<cite><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA-2">XMLSCHEMA-2</a></cite>].</p> 
+<p>We note that PROV-DM <dfn title="dfn-time">time instants</dfn> are defined according to xsd:dateTime <span class="delete">[</span><span class="delete">XMLSCHEMA-2</span><span class="delete">].</span><span class="insert">[[!XMLSCHEMA-2]].</span></p> 
 
 
 
 <table border="1" style="margin-left: auto; margin-right: auto;">
 <caption><span class="insert">Table 5: </span>PROV-DM Data Types</caption>
-<tbody><tr><td><a href="http://www.w3.org/TR/xmlschema-2/#decimal">xsd:decimal</a></td> <td><a href="http://www.w3.org/TR/xmlschema-2/#double">xsd:double</a></td>  <td><a href="http://www.w3.org/TR/xmlschema-2/#dateTime">xsd:dateTime</a></td> </tr>
+<tr><td><a href="http://www.w3.org/TR/xmlschema-2/#decimal">xsd:decimal</a></td> <td><a href="http://www.w3.org/TR/xmlschema-2/#double">xsd:double</a></td>  <td><a href="http://www.w3.org/TR/xmlschema-2/#dateTime">xsd:dateTime</a></td> </tr>
 <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#integer">xsd:integer</a></td> <td><a href="http://www.w3.org/TR/xmlschema-2/#float">xsd:float</a></td>  </tr>
 <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#nonNegativeInteger">xsd:nonNegativeInteger</a></td> <td><a href="http://www.w3.org/TR/xmlschema-2/#string">xsd:string</a></td> <td><a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#section-XMLLiteral">rdf:XMLLiteral</a></td> </tr>
 <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#nonPositiveInteger">xsd:nonPositiveInteger</a></td><td><a href="http://www.w3.org/TR/xmlschema-2/#normalizedString">xsd:normalizedString</a></td> </tr>
@@ -3018,7 +3564,7 @@
 <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedInt">xsd:unsignedInt</a></td>  <td><a href="http://www.w3.org/TR/xmlschema-2/#base64Binary">xsd:base64Binary</a></td> </tr>
 <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedShort">xsd:unsignedShort</a></td><td><a href="http://www.w3.org/TR/xmlschema-2/#anyURI">xsd:anyURI</a></td> </tr>
 <tr><td><a href="http://www.w3.org/TR/xmlschema-2/#unsignedByte">xsd:unsignedByte</a></td> <td><a href="http://www.w3.org/TR/xmlschema-2/#QName">xsd:QName</a></td></tr>
-</tbody></table>
+</table>
 
 
 
@@ -3027,14 +3573,15 @@
 
 <div class="anexample" id="anexample-value">
 <p>
-The following examples respectively are<span class="delete"> the string "abc",</span> the string "abc", the integer number 1, and the IRI "http://example.org/foo".
-</p><pre class="codeexample">  "abc"
+The following examples respectively are the string "abc", the <span class="delete">string "abc", the </span>integer number 1, and the IRI "http://example.org/foo".
+<pre class="codeexample">  
+  "abc"
   1
   "http://example.org/foo" %% xsd:anyURI
 </pre>
 <p>The following example shows a value of type <span class="name">xsd:QName</span> (see
-<a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#QName">QName</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA-2">XMLSCHEMA-2</a></cite>]).
-The prefix <span class="name">ex</span>  <em class="rfc2119" title="must">must</em> be bound to a <a href="#dfn-namespace" class="internalDFN">namespace</a> declared in a <a href="#dfn-namespaceDeclaration" class="internalDFN">namespace declaration</a>.</p>
+<a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#QName">QName</a> <span class="delete">[</span><span class="delete">XMLSCHEMA-2</span><span class="delete">]).</span><span class="insert">[[!XMLSCHEMA-2]]).</span>
+The prefix <span class="name">ex</span>  <span class="delete">must</span><span class="insert">MUST</span> be bound to a <a>namespace</a> declared in a <a>namespace declaration</a>.</p>
 <pre class="codeexample"> 
   "ex:value" %% xsd:QName
 </pre>
@@ -3045,7 +3592,7 @@
 <div class="anexample" id="anexample-time">
 <p>
 In the following example, the generation time of entity <span class="name">e1</span> is expressed according to 
-<a href="http://www.w3.org/TR/xmlschema-2/#dateTime">xsd:dateTime</a>  [<cite><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA-2">XMLSCHEMA-2</a></cite>].</p>
+<a href="http://www.w3.org/TR/xmlschema-2/#dateTime">xsd:dateTime</a>  <span class="delete">[</span><span class="delete">XMLSCHEMA-2</span><span class="delete">].</span><span class="insert">[[!XMLSCHEMA-2]].</span></p>
 <pre class="codeexample"> 
   wasGeneratedBy(e1,a1, 2001-10-26T21:32:52)
 </pre>
@@ -3054,37 +3601,50 @@
 <div class="note">
 We need to check that we are including all xsd types that are <span class="delete">accept in the lastest version of RDF.</span><span class="insert">the latest versions of XML Schema/RDF.</span>
 </div>
-</div>
-</div>
+
+</section>
+</section>
  
 
 
-</div>
-
-
-
-
-    <div id="extensibility-section" class="section"> 
-<h2><span class="secno">5. </span>PROV-DM Extensibility Points</h2>
+</section>
+
+
+
+
+    <section id="extensibility-section"> 
+<h2><span class="delete">5. </span>PROV-DM Extensibility Points</h2>
 
 
 <p>The PROV data model provides <span class="delete">several </span>extensibility points that allow designers to specialize it to specific applications or domains. We summarize these extensibility points here:
 
-</p><ul>
+<ul>
 <li> <span class="delete">Attributes</span><span class="insert">Attribute-value lists</span> occur in all <span class="delete">elements</span><span class="insert">types</span> and relations of the data model.  Applications <span class="insert">designers </span>are free to introduce 
 <span class="insert"> further </span>application-specific <span class="delete">attributes, according to their perspective on the world.  </span><span class="insert">attributes. </span>Attributes for a given application can be distinguished by qualifying them with a prefix denoting a namespace
 declared in a namespace declaration.
 
-<p>The <span class="delete">PROV-DM</span><a title="prov-namespace" href="#dfn-prov-namespace" class="internalDFN"><span class="insert">PROV</span> namespace</a> declares a set of reserved attributes catering for extensibility: <a href="#term-attribute-type"><span class="name"><span class="delete">type</span><span class="insert">prov:type</span></span></a>, <a href="#term-attribute-role"><span class="name"><span class="delete">role</span><span class="insert">prov:role</span></span></a>, <a href="#term-attribute-location"><span class="name"><span class="delete">location</span><span class="insert">prov:location</span></span></a>.</p></li>
-
-<li><span class="insert">Sub-types and sub-relations can be expressed by means of the reserved attribute 
+<p>The <span class="delete">PROV-DM</span><a title="prov-namespace"><span class="insert">PROV</span> namespace</a> declares a set of reserved attributes catering for extensibility: <span class="delete">type</span><a href="#term-attribute-type"><span class="name"><span class="insert">prov:type</span></span></a>, <span class="delete">role</span><a href="#term-attribute-role"><span class="name"><span class="insert">prov:role</span></span></a>, <span class="delete">location</span><span class="delete">.</span>
+
+
+
+
+<span class="delete">Notes allow arbitrary metadata to be associated with anything identifiable in PROV-DM. Notes consist of attribute-value pairs.  Attributes are qualified by a
+namespace.</span>
+
+
+<span class="delete">Namespaces allow attributes and names to be qualified. </span>
+
+<span class="delete">Sub-typing of elements and relations is allowed by means of the reserved attribute </span><span class="delete">type</span><a href="#term-attribute-location"><span
+class="name"><span class="insert">prov:location</span></span></a>.</li>
+
+<li><span class="delete">Domain specific values</span><span class="insert">Sub-types and sub-relations</span> can be expressed by means of <span class="delete">typed literals. </span><span class="insert">the reserved attribute 
 </span><a href="#term-attribute-type"><span class="name"><span class="insert">prov:type</span></span></a><span class="insert">.
 
 </span><div class="anexample" id="anexample-sub-relation">
 <p><span class="insert">
 In the following example,  </span><span class="name"><span class="insert">e2</span></span><span class="insert"> is a translation of </span><span class="name"><span class="insert">e1</span></span><span class="insert">,
 expressed as a sub-type of derivation.
-</span></p><pre class="codeexample"><span class="insert"> 
+</span><pre class="codeexample"><span class="insert"> 
   wasDerivedFrom(e2,e1, [prov:type="ex:Translation" %% xsd:QName])
 </span></pre>
 </div>
@@ -3092,7 +3652,7 @@
 <div class="anexample" id="anexample-sub-type">
 <p><span class="insert">
 In the following example,  </span><span class="name"><span class="insert">e</span></span><span class="insert"> is described as a Car, a type of entity.
-</span></p><pre class="codeexample"><span class="insert"> 
+</span><pre class="codeexample"><span class="insert"> 
   entity(e, [prov:type="ex:Car" %% xsd:QName])
 </span></pre>
 </div>
@@ -3106,30 +3666,26 @@
 
 
 
+
 <li><span class="insert">New namespaces and associated prefixes can be declared, allowing attributes and names to be qualified. </span></li>
 
-<li>Notes allow arbitrary metadata to be associated with anything identifiable in PROV-DM. Notes consist of attribute-value pairs.  Attributes are qualified by a
-namespace.</li>
-
-
-<span class="delete">Namespaces allow attributes and names to be qualified. </span>
-
-<span class="delete">Sub-typing of elements and relations is allowed by means of the reserved attribute </span><span class="delete">type</span><span class="delete">.</span>
-
-<span class="delete">Domain specific values can be expressed by means of typed literals. </span>
+<li><span class="insert">Notes allow arbitrary metadata to be associated with anything identifiable in PROV-DM. Notes consist of attribute-value pairs.  Attributes are qualified by a
+namespace.</span></li>
+
 </ul>
 
 <p>The PROV data model is designed to be application and technology independent, but specializations of PROV-DM are welcome and encouraged.  To ensure interoperability, specializations of
-the PROV data model that exploit the extensibility points summarized in this section <em class="rfc2119" title="must">must</em> preserve the semantics specified in <span class="delete">the PROV-DM documents (part 1 to 3).</span><span class="insert">this document and in [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM-CONSTRAINTS"><span class="insert">PROV-DM-CONSTRAINTS</span></a></cite><span class="insert">].</span> </p>
-
-
-
-    </div> 
-
-
-
-<div id="FurtherConsiderations" class="section">
-<h2><span class="secno">6. </span>Towards a Refinement of the PROV Data Model</h2>
+the PROV data model that exploit the extensibility points summarized in this section <span class="delete">must</span><span class="insert">MUST</span> preserve the semantics specified in <span class="delete">the PROV-DM documents (part 1 to 3).</span><span class="insert">this document and in [[PROV-DM-CONSTRAINTS]].</span> </p>
+
+
+
+    </section> 
+
+
+
+
+<span class="delete">6. </span><section id="FurtherConsiderations">
+<h4>Towards a Refinement of the PROV Data Model</h4>
 
 
 <ul>
@@ -3142,8 +3698,8 @@
 express that an entity was used before it was generated, or that the
 activity that generated an entity began its existence after the entity
 generation.  A set of <span class="delete">consistency </span>constraints have been defined for PROV-DM and
-can be found in a companion specification [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM-CONSTRAINTS">PROV-DM-CONSTRAINTS</a></cite>].
-They <span class="delete">can</span><em class="rfc2119" title="should"><span class="insert">should</span></em> be used by <span class="delete">asserters as a guideline for composing</span><span class="insert">developers to compose</span> provenance descriptions that are <span class="delete">consistent,</span><span class="insert">valid,</span> and
+can be found in a companion specification <span class="delete">[</span><span class="delete">PROV-DM-CONSTRAINTS</span><span class="delete">].</span><span class="insert">[[PROV-DM-CONSTRAINTS]].</span>
+They <span class="delete">can</span><span class="insert">SHOULD</span> be used by <span class="delete">asserters as a guideline for composing</span><span class="insert">developers to compose</span> provenance descriptions that are <span class="delete">consistent,</span><span class="insert">valid,</span> and
 by implementers of reasoning <span class="delete">engines.</span><span class="insert">engines aiming to check whether provenance descriptions have problems.</span> </li>
 
 
@@ -3151,7 +3707,7 @@
 <li>
 <p> The example of <a href="#prov-dm-example">section 3</a> contains identifiers such as <span class="name"><a href="http://www.w3.org/TR/2011/WD-prov-dm-20111215">tr:WD-prov-dm-20111215</a></span>, which denotes a specific version of a technical report.  On the other hand, a URI such as <a href="http://www.w3.org/TR/prov-dm/">http://www.w3.org/TR/prov-dm/</a> <span class="delete">points</span><span class="insert">denotes the latest version of a document. One needs</span> to <span class="delete">the latest version of a document. One needs to </span>ensure that provenance descriptions for the latter <span class="delete">document</span><span class="insert">resource</span> remain valid as <span class="delete">denoted resources change.</span><span class="insert">the resource state changes.</span> </p>
 
-<p>To this end, PROV-DM allows asserters to describe "<em>partial states</em>" of entities by means of attributes and associated values. Some further constraints apply to the use of these attributes, since the values associated with them are expected to remain unchanged for some period of time. The constraints associated to attributes allow provenance descriptions to be refined, they can also be found in the companion specification [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM-CONSTRAINTS">PROV-DM-CONSTRAINTS</a></cite>].</p>
+<p>To this end, PROV-DM allows asserters to describe "<em>partial states</em>" of entities by means of attributes and associated values. Some further constraints apply to the use of these attributes, since the values associated with them are expected to remain unchanged for some period of time. The constraints associated to attributes allow provenance descriptions to be refined, they can also be found in the companion specification <span class="delete">[</span><span class="delete">PROV-DM-CONSTRAINTS</span><span class="delete">].</span><span class="insert">[[PROV-DM-CONSTRAINTS]].</span></p>
 
 
 </li>
@@ -3163,37 +3719,45 @@
 <li> relying on specific serializations to name bundles of descriptions;</li>
 <li> using the idea of a service that is capable of associating provenance descriptions to whom they are attributed to.</li>
 </ul>
-<p>Even though a mechanism for <span class="delete">blundling</span><span class="insert">bundling</span> up provenance descriptions and naming them is not part of PROV-DM, the idea of a bundle of descriptions is crucial to the PROV approach. Indeed, it allows multiple provenance perspectives to be provided for a given entity. It is also the mechanism by which provenance of provenance can be expressed. Such a named bundle is being referred to as an <dfn id="dfn-account">account</dfn> and is regarded as an <a title="concept-account">Account</a> so that its provenance can be expressed.   The notion of account is specified in the companion specification [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM-CONSTRAINTS">PROV-DM-CONSTRAINTS</a></cite>], as well as <span class="delete">constraint</span><span class="insert">the constraints</span> that  <dfn id="dfn-structurally-well-formed">structurally well-formed</dfn> descriptions are expected to satisfy.</p>
+<p>Even though a mechanism for <span class="delete">blundling</span><span class="insert">bundling</span> up provenance descriptions and naming them is not part of PROV-DM, the idea of a bundle of descriptions is crucial to the PROV approach. Indeed, it allows multiple provenance perspectives to be provided for a given entity. It is also the mechanism by which provenance of provenance can be expressed. Such a named bundle is being referred to as an <dfn>account</dfn> and is regarded as an <a title="concept-account">Account</a> so that its provenance can be expressed.   The notion of account is specified in the companion specification <span class="delete">[</span><span class="delete">PROV-DM-CONSTRAINTS</span><span class="delete">],</span><span class="insert">[[PROV-DM-CONSTRAINTS]],</span> as well as <span class="delete">constraint</span><span class="insert">the constraints</span> that  <dfn>structurally well-formed</dfn> descriptions are expected to satisfy.</p>
 </li>
 
 
 </ul>
 
 
+</section>
+
+<div id="glossary_div" class="remove">
+
 </div>
 
 
 
-<div class="appendix section" id="acknowledgements"> 
-      <h2><span class="secno">A. </span>Acknowledgements</h2> 
+
+
+<section class="appendix"> 
+      <h2><span class="delete">A. </span>Acknowledgements</h2> 
       <p> 
         WG membership to be listed here.
       </p> 
-    </div> 
+     
 
  
 
-<div id="references" class="appendix section"><h2><span class="secno">B. </span>References</h2><div id="normative-references" class="section"><h3><span class="secno">B.1 </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><dt id="bib-RDF-CONCEPTS">[RDF-CONCEPTS]</dt><dd>Graham Klyne; Jeremy J. Carroll. <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210"><cite>Resource Description Framework (RDF): Concepts and Abstract Syntax.</cite></a> 10 February 2004. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210">http://www.w3.org/TR/2004/REC-rdf-concepts-20040210</a> 
-</dd><dt id="bib-RFC2119">[RFC2119]</dt><dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key words for use in RFCs to Indicate Requirement Levels.</cite></a> March 1997. Internet RFC 2119.  URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a> 
-</dd><dt id="bib-URI"><span class="insert">[URI]</span></dt><dd><span class="insert">T. Berners-Lee; R. Fielding; L. Masinter. </span><a href="http://www.ietf.org/rfc/rfc3986.txt"><cite><span class="insert">Uniform Resource Identifiers (URI): generic syntax.</span></cite></a><span class="insert"> January 2005. Internet RFC 3986. URL: </span><a href="http://www.ietf.org/rfc/rfc3986.txt"><span class="insert">http://www.ietf.org/rfc/rfc3986.txt</span></a> 
-</dd><dt id="bib-XMLSCHEMA-2">[XMLSCHEMA-2]</dt><dd>Paul V. Biron; Ashok Malhotra. <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/"><cite>XML Schema Part 2: Datatypes Second Edition.</cite></a> 28 October 2004. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/">http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/</a> 
-</dd></dl></div><div id="informative-references" class="section"><h3><span class="secno">B.2 </span>Informative references</h3><dl class="bibliography"><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-AQ">[PROV-AQ]</dt><dd>Graham Klyne and Paul Groth (eds.) Luc Moreau, Olaf Hartig, Yogesh Simmhan, James Meyers, Timothy Lebo, Khalid Belhajjame, and Simon Miles <a href="http://www.w3.org/TR/prov-aq/"><cite>Provenance Access and Query</cite></a>. 2011, Working Draft. URL: <a href="http://www.w3.org/TR/prov-aq/">http://www.w3.org/TR/prov-aq/</a>
-</dd><dt id="bib-PROV-DM-CONSTRAINTS">[PROV-DM-CONSTRAINTS]</dt><dd>Luc Moreau and Paolo Missier (eds.) ... <a href="http://www.w3.org/TR/prov-dm-constraints/"><cite>PROV-DM Constraints</cite></a>. 2011, Working Draft. URL: <a href="http://www.w3.org/TR/prov-dm-constraints/">http://www.w3.org/TR/prov-dm-constraints/</a>
-</dd><dt id="bib-PROV-N">[PROV-N]</dt><dd>Luc Moreau and Paolo Missier (eds.) ... <a href="http://www.w3.org/TR/prov-n/"><cite>PROV-N ....</cite></a>. 2011, Working Draft. URL: <a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a>
-</dd><dt id="bib-PROV-O">[PROV-O]</dt><dd>Satya Sahoo and Deborah McGuinness (eds.) Khalid Belhajjame, James Cheney, Daniel Garijo, Timothy Lebo, 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-PRIMER">[PROV-PRIMER]</dt><dd>Yolanda Gil and Simon Miles (eds.) Khalid Belhajjame, Helena Deus, Daniel Garijo, Graham Klyne, Paolo Missier, Stian Soiland-Reyes, and Stephan Zednik <a href="http://www.w3.org/TR/prov-primer/"><cite>Prov Model Primer</cite></a>. 2011, Working Draft. URL: <a href="http://www.w3.org/TR/prov-primer/">http://www.w3.org/TR/prov-primer/</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>
-
+<span class="delete">B. </span><span class="delete">References</span><span class="delete">B.1 </span><span class="delete">Normative references</span><span class="delete">[IRI]</span><span class="delete">M. Duerst, M. Suignard. </span><span class="delete">Internationalized Resource Identifiers (IRI).</span><span class="delete"> January 2005. Internet RFC 3987. URL: </span><span class="delete">http://www.ietf.org/rfc/rfc3987.txt</span> 
+<span class="delete">[RDF-CONCEPTS]</span><span class="delete">Graham Klyne; Jeremy J. Carroll. </span><span class="delete">Resource Description Framework (RDF): Concepts and Abstract Syntax.</span><span class="delete"> 10 February 2004. W3C Recommendation. URL: </span><span class="delete">http://www.w3.org/TR/2004/REC-rdf-concepts-20040210</span> 
+<span class="delete">[RFC2119]</span><span class="delete">S. Bradner. </span><span class="delete">Key words for use in RFCs to Indicate Requirement Levels.</span><span class="delete"> March 1997. Internet RFC 2119.  URL: </span><span class="delete">http://www.ietf.org/rfc/rfc2119.txt</span> 
+<span class="delete">[XMLSCHEMA-2]</span><span class="delete">Paul V. Biron; Ashok Malhotra. </span><span class="delete">XML Schema Part 2: Datatypes Second Edition.</span><span class="delete"> 28 October 2004. W3C Recommendation. URL: </span><span class="delete">http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/</span> 
+<span class="delete">B.2 </span><span class="delete">Informative references</span><span class="delete">[Logic]</span><span class="delete">W. E. Johnson</span><span class="delete">Logic: Part III</span><span class="delete">.1924. URL: </span><span class="delete">http://www.ditext.com/johnson/intro-3.html</span>
+<span class="delete">[PROV-AQ]</span><span class="delete">Graham Klyne and Paul Groth (eds.) Luc Moreau, Olaf Hartig, Yogesh Simmhan, James Meyers, Timothy Lebo, Khalid Belhajjame, and Simon Miles </span><span class="delete">Provenance Access and Query</span><span class="delete">. 2011, Working Draft. URL: </span><span class="delete">http://www.w3.org/TR/prov-aq/</span>
+<span class="delete">[PROV-DM-CONSTRAINTS]</span><span class="delete">Luc Moreau and Paolo Missier (eds.) ... </span><span class="delete">PROV-DM Constraints</span><span class="delete">. 2011, Working Draft. URL: </span><span class="delete">http://www.w3.org/TR/prov-dm-constraints/</span>
+<span class="delete">[PROV-N]</span><span class="delete">Luc Moreau and Paolo Missier (eds.) ... </span><span class="delete">PROV-N ....</span><span class="delete">. 2011, Working Draft. URL: </span><span class="delete">http://www.w3.org/TR/prov-n/</span>
+<span class="delete">[PROV-O]</span><span class="delete">Satya Sahoo and Deborah McGuinness (eds.) Khalid Belhajjame, James Cheney, Daniel Garijo, Timothy Lebo, Stian Soiland-Reyes, and Stephan Zednik </span><span class="delete">Provenance Formal Model</span><span class="delete">. 2011, Working Draft. URL: </span><span class="delete">http://www.w3.org/TR/prov-o/</span>
+<span class="delete">[PROV-PRIMER]</span><span class="delete">Yolanda Gil and Simon Miles (eds.) Khalid Belhajjame, Helena Deus, Daniel Garijo, Graham Klyne, Paolo Missier, Stian Soiland-Reyes, and Stephan Zednik </span><span class="delete">Prov Model Primer</span><span class="delete">. 2011, Working Draft. URL: </span><span class="delete">http://www.w3.org/TR/prov-primer/</span>
+<span class="delete">[PROV-SEM]</span><span class="delete">James Cheney </span><span class="delete">Formal Semantics Strawman</span><span class="delete">. 2011, Work in progress. URL: </span><span class="delete">http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman</span>
+</section> 
+
+ </body>
+</html>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/diff/Makefile	Tue Apr 17 09:36:19 2012 +0100
@@ -0,0 +1,4 @@
+dm.diff:
+	htmldiff ../releases/ED-prov-dm-20120402/prov-dm.html ../prov-dm.html > ../diff.html
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/diff/README.md	Tue Apr 17 09:36:19 2012 +0100
@@ -0,0 +1,25 @@
+htmldiff.py
+-----------
+
+Usage: `htmldiff version1.html version2.html > diff.html`
+
+htmldiff outputs HTML that shows the differences in text between
+two versions of an HTML document. Differences in markup are not
+shown.
+
+Original version is from [Ian Bicking][1].
+
+Using with Mercurial
+--------------------
+
+Put `htmldiff` on the path, and add the following to `~/.hgrc`:
+
+    [extensions]
+    hgext.extdiff =
+
+    [extdiff]
+    cmd.htmldiff = htmldiff
+
+Then you can do: `hg htmldiff index.html > diff.html`
+
+   [1]: https://github.com/ianb
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/diff/htmldiff	Tue Apr 17 09:36:19 2012 +0100
@@ -0,0 +1,263 @@
+#!/usr/bin/env python
+"""
+htmldiff.py
+Original is (C) Ian Bicking <ianb@colorstudy.com>
+With changes from Richard Cyganiak <richard@cyganiak.de>
+
+Finds the differences between two HTML files.  *Not* line-by-line
+comparison (more word-by-word).
+
+Command-line usage:
+  ./htmldiff.py test1.html test2.html
+
+Better results if you use mxTidy first.  The output is HTML.
+"""
+
+from difflib import SequenceMatcher
+import re
+try:
+    from cStringIO import StringIO
+except ImportError:
+    from StringIO import StringIO
+import cgi
+
+def htmlEncode(s, esc=cgi.escape):
+    return esc(s, 1)
+
+commentRE = re.compile('<!--.*?-->', re.S)
+tagRE = re.compile('<script.*?>.*?</script>|<.*?>', re.S)
+headRE = re.compile('<\s*head\s*>', re.S | re.I)
+
+class HTMLMatcher(SequenceMatcher):
+
+    def __init__(self, source1, source2):
+        SequenceMatcher.__init__(self, None, source1, source2)
+
+    def set_seq1(self, a):
+        SequenceMatcher.set_seq1(self, self.splitHTML(a))
+
+    def set_seq2(self, b):
+        SequenceMatcher.set_seq2(self, self.splitHTML(b))
+        
+    def splitTags(self, t):
+        result = []
+        pos = 0
+        while 1:
+            match = tagRE.search(t, pos=pos)
+            if not match:
+                result.append(t[pos:])
+                break
+            result.append(t[pos:match.start()])
+            result.append(match.group(0))
+            pos = match.end()
+        return result
+
+    def splitWords(self, t):
+        return re.findall(r'([^ \n\r\t]+|[ \n\r\t]+)', t)
+
+    def splitHTML(self, t):
+        t = commentRE.sub('', t)
+        r = self.splitTags(t)
+        result = []
+        for item in r:
+            if item.startswith('<'):
+                result.append(item)
+            else:
+                result.extend(self.splitWords(item))
+        return result
+
+    def htmlDiff(self, addStylesheet=False):
+        opcodes = self.get_opcodes()
+        a = self.a
+        b = self.b
+        out = StringIO()
+        #print [o[0] for o in opcodes]
+        for tag, i1, i2, j1, j2 in opcodes:
+            if tag == 'equal':
+                for item in a[i1:i2]:
+                    out.write(item)
+            if tag == 'delete' or tag == 'replace':
+                self.textDelete(a[i1:i2], out)
+            if tag == 'insert' or tag == 'replace':
+                self.textInsert(b[j1:j2], out)
+        html = out.getvalue()
+        out.close()
+        if addStylesheet:
+            html = self.addStylesheet(html, self.stylesheet())
+        return html
+
+    def textDelete(self, lst, out):
+        text = ''
+        for item in lst:
+            if item.startswith('<'):
+                self.outDelete(text, out)
+                text = ''
+                out.write(self.formatDeleteTag(item))
+            else:
+                text += item
+        self.outDelete(text, out)
+
+    def textInsert(self, lst, out):
+        text = ''
+        for item in lst:
+            if item.startswith('<'):
+                self.outInsert(text, out)
+                text = ''
+                out.write(self.formatInsertTag(item))
+                out.write(item)
+            else:
+                text += item
+        self.outInsert(text, out)
+
+    def outDelete(self, s, out):
+        if s.strip() == '':
+            out.write(s)
+        else:
+            out.write(self.startDeleteText())
+            out.write(s)
+            out.write(self.endDeleteText())
+
+    def outInsert(self, s, out):
+        if s.strip() == '':
+            out.write(s)
+        else:
+            out.write(self.startInsertText())
+            out.write(s)
+            out.write(self.endInsertText())
+
+    def stylesheet(self):
+        return '''
+.insert { background-color: #aaffaa }
+.delete { background-color: #ff8888; text-decoration: line-through }
+.tagInsert { background-color: #007700; color: #ffffff }
+.tagDelete { background-color: #770000; color: #ffffff }
+'''
+
+    def addStylesheet(self, html, ss):
+        match = headRE.search(html)
+        if match:
+            pos = match.end()
+        else:
+            pos = 0
+        return ('%s<style type="text/css"><!--\n%s\n--></style>%s'
+                % (html[:pos], ss, html[pos:]))
+
+    def startInsertText(self):
+        return '<span class="insert">'
+    def endInsertText(self):
+        return '</span>'
+    def startDeleteText(self):
+        return '<span class="delete">'
+    def endDeleteText(self):
+        return '</span>'
+    def formatInsertTag(self, tag):
+        return '<span class="tagInsert">insert: <tt>%s</tt></span>' % htmlEncode(tag)
+    def formatDeleteTag(self, tag):
+        return '<span class="tagDelete">delete: <tt>%s</tt></span>' % htmlEncode(tag)
+
+class NoTagHTMLMatcher(HTMLMatcher):
+    def formatInsertTag(self, tag):
+        return ''
+    def formatDeleteTag(self, tag):
+        return ''
+
+def htmldiff(source1, source2, addStylesheet=False):
+    """
+    Return the difference between two pieces of HTML
+
+        >>> htmldiff('test1', 'test2')
+        '<span class="delete">test1 </span> <span class="insert">test2 </span> '
+        >>> htmldiff('test1', 'test1')
+        'test1 '
+        >>> htmldiff('<b>test1</b>', '<i>test1</i>')
+        '<span class="tagDelete">delete: <tt>&lt;b&gt;</tt></span> <span class="tagInsert">insert: <tt>&lt;i&gt;</tt></span> <i> test1 <span class="tagDelete">delete: <tt>&lt;/b&gt;</tt></span> <span class="tagInsert">insert: <tt>&lt;/i&gt;</tt></span> </i> '
+    """
+#    h = HTMLMatcher(source1, source2)
+    h = NoTagHTMLMatcher(source1, source2)
+    return h.htmlDiff(addStylesheet)
+
+def diffFiles(f1, f2):
+    source1 = open(f1).read()
+    source2 = open(f2).read()
+    return htmldiff(source1, source2, True)
+
+class SimpleHTMLMatcher(HTMLMatcher):
+    """
+    Like HTMLMatcher, but returns a simpler diff
+    """
+    def startInsertText(self):
+        return '+['
+    def endInsertText(self):
+        return ']'
+    def startDeleteText(self):
+        return '-['
+    def endDeleteText(self):
+        return ']'
+    def formatInsertTag(self, tag):
+        return '+[%s]' % tag
+    def formatDeleteTag(self, tag):
+        return '-[%s]' % tag
+
+def simplehtmldiff(source1, source2):
+    """
+    Simpler form of htmldiff; mostly for testing, like:
+
+        >>> simplehtmldiff('test1', 'test2')
+        '-[test1 ]+[test2 ]'
+        >>> simplehtmldiff('<b>Hello world!</b>', '<i>Hello you!</i>')
+        '-[<b>]+[<i>]<i> Hello -[world! ]-[</b>]+[you! ]+[</i>]</i> '
+    """
+    h = SimpleHTMLMatcher(source1, source2)
+    return h.htmlDiff()
+
+class TextMatcher(HTMLMatcher):
+
+
+    def set_seq1(self, a):
+        SequenceMatcher.set_seq1(self, a.split('\n'))
+
+    def set_seq2(self, b):
+        SequenceMatcher.set_seq2(self, b.split('\n'))
+
+    def htmlDiff(self, addStylesheet=False):
+        opcodes = self.get_opcodes()
+        a = self.a
+        b = self.b
+        out = StringIO()
+        for tag, i1, i2, j1, j2 in opcodes:
+            if tag == 'equal':
+                self.writeLines(a[i1:i2], out)
+            if tag == 'delete' or tag == 'replace':
+                out.write(self.startDeleteText())
+                self.writeLines(a[i1:i2], out)
+                out.write(self.endDeleteText())
+            if tag == 'insert' or tag == 'replace':
+                out.write(self.startInsertText())
+                self.writeLines(b[j1:j2], out)
+                out.write(self.endInsertText())
+        html = out.getvalue()
+        out.close()
+        if addStylesheet:
+            html = self.addStylesheet(html, self.stylesheet())
+        return html
+
+    def writeLines(self, lines, out):
+        for line in lines:
+            line = htmlEncode(line)
+            line = line.replace('  ', '&nbsp; ')
+            line = line.replace('\t', '&nbsp; &nbsp; &nbsp; &nbsp; ')
+            if line.startswith(' '):
+                line = '&nbsp;' + line[1:]
+            out.write('<tt>%s</tt><br>\n' % line)
+
+if __name__ == '__main__':
+    import sys
+    if not sys.argv[1:]:
+        print "Usage: %s file1 file2" % sys.argv[0]
+        print "or to test: %s test" % sys.argv[0]
+    elif sys.argv[1] == 'test' and not sys.argv[2:]:
+        import doctest
+        doctest.testmod()
+    else:
+        print diffFiles(sys.argv[1], sys.argv[2])
+