staged prov-n CR
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Mon, 19 Nov 2012 14:30:13 +0000
changeset 4802 54e0559d0ac1
parent 4801 35cc1da2a4c9
child 4803 1cd569365345
staged prov-n CR
model/diff-n.html
model/diff/Makefile
model/prov-n.html
model/releases/CR-prov-n-20121211/Overview.html
model/releases/CR-prov-n-20121211/diff-n.html
model/releases/CR-prov-n-20121211/grammar.txt
--- a/model/diff-n.html	Mon Nov 19 14:11:27 2012 +0000
+++ b/model/diff-n.html	Mon Nov 19 14:30:13 2012 +0000
@@ -12,8 +12,55 @@
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
     
 
-    <style type="text/css"><span class="delete">
-
+    <style type="text/css">
+
+<span class="insert">
+      .note { font-size:small; margin-left:50px }
+table.thinborder {
+	border-width: 1px;
+	border-spacing: 0px;
+	border-style: none;
+	border-color: gray;
+	border-collapse: collapse;
+}
+table.thinborder th {
+	border-width: 1px;
+	padding: 0px;
+	border-style: solid;
+	border-color: gray;
+}
+table.thinborder td {
+	border-width: 1px;
+	padding: 2px;
+	border-style: solid;
+	border-color: gray;
+}
+</span></style>
+
+    
+
+
+     
+     
+    
+    
+
+    
+
+    
+
+
+    
+
+     
+  <link href="http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css" rel="stylesheet" type="text/css" charset="utf-8"><link href="http://www.w3.org/StyleSheets/TR/W3C-CR" 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"><span class="insert">PROV-N: The Provenance Notation</span></h1><h2 id="w3c-candidate-recommendation-11-december-2012"><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> Candidate Recommendation 11 December 2012</span></h2><dl><dt><span class="insert">This version:</span></dt><dd><a href="http://www.w3.org/TR/2012/CR-prov-n-20121211/"><span class="insert">http://www.w3.org/TR/2012/CR-prov-n-20121211/</span></a></dd><dt><span class="insert">Latest published version:</span></dt><dd><a href="http://www.w3.org/TR/prov-n/"><span class="insert">http://www.w3.org/TR/prov-n/</span></a></dd><dt><span class="insert">Latest editor's draft:</span></dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html"><span class="insert">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</span></a></dd><dt><span class="insert">Previous version:</span></dt><dd><a href="http://www.w3.org/TR/2012/WD-prov-n-20120724/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-n-20120724/</span></a><span class="insert"> (</span><a href="diff-n.html"><span class="insert">color-coded diffs</span></a><span class="insert">)</span></dd><dt><span class="insert">Editors:</span></dt><dd><a href="http://www.ecs.soton.ac.uk/~lavm/"><span class="insert">Luc Moreau</span></a><span class="insert">, University of Southampton</span></dd>
+<dd><a href="http://www.cs.ncl.ac.uk/people/Paolo.Missier"><span class="insert">Paolo Missier</span></a><span class="insert">, Newcastle University</span></dd>
+<dt><span class="insert">Contributors:</span></dt><dd><a href="http://homepages.inf.ed.ac.uk/jcheney/"><span class="insert">James Cheney</span></a><span class="insert">, University of Edinburgh</span></dd>
+<dd><a href="http://soiland-reyes.com/stian/"><span class="insert">Stian Soiland-Reyes</span></a><span class="insert">, University of Manchester</span></dd>
+</dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"><span class="insert">Copyright</span></a><span class="insert"> © 2012 </span><a href="http://www.w3.org/"><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym></a><sup><span class="insert">®</span></sup><span class="insert"> (</span><a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology"><span class="insert">MIT</span></acronym></a><span class="insert">, </span><a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics"><span class="insert">ERCIM</span></acronym></a><span class="insert">, </span><a href="http://www.keio.ac.jp/"><span class="insert">Keio</span></a><span class="insert">), All Rights Reserved. </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer"><span class="insert">liability</span></a><span class="insert">, </span><a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks"><span class="insert">trademark</span></a><span class="insert"> and </span><a href="http://www.w3.org/Consortium/Legal/copyright-documents"><span class="insert">document use</span></a><span class="insert"> rules apply.</span></p><hr></div> 
+    <style type="text/css">
 /* --- EDITORIAL NOTES --- */
 .pending {
     padding:    1em;
@@ -34,6 +81,11 @@
 }
 
 
+
+
+
+
+
 .resolved {
     padding:    1em;
     margin: 1em 0em 0em;
@@ -58,7 +110,15 @@
     margin: 1em 0em 0em;
     border: 1px solid #f00;
     background: #fff;
-}
+}<span class="insert">
+
+
+.inference-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}</span>
 
 /* .inference[id]::before { */
 /*     content:    "Inference: " attr(id); */
@@ -129,7 +189,14 @@
     background: #fff;
 }
 
-/* .constraint[id]::before { */
+<span class="insert">.constraint-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+</span>/* .constraint[id]::before { */
 /*     content:    "Constraint: " attr(id); */
 /*     width:  380px;  /\* How can we compute the length of "Constraint: " attr(id) *\/ */
 /* } */
@@ -179,7 +246,14 @@
     background: #fff;
 }
 
-/* .definition[id]::before { */
+<span class="insert">.definition-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #777;
+    background: #fff;
+}
+
+</span>/* .definition[id]::before { */
 /*     content:    "Definition: " attr(id); */
 /*     width:  380px;  */
 /* } */
@@ -257,7 +331,12 @@
 
 .name {
     font-family: monospace;
-}
+}<span class="insert">
+
+.math {
+    font-family: roman;
+    font-style:italic;
+}</span>
 
 
 .xmpl {
@@ -460,9 +539,8 @@
     font-family: sans-serif;
     font-size: 1.6ex;
     font-weight: bold;
-}
-
-      </span>
+}<span class="delete">
+
       .note { font-size:small; margin-left:50px }
 table.thinborder {
 	border-width: 1px;
@@ -483,7 +561,7 @@
 	border-style: solid;
 	border-color: gray;
 }
-</style>
+</span>
 
     
 
@@ -499,7 +577,7 @@
     
 
      
-  <style type="text/css">
+  <span class="delete">
 /*****************************************************************
  * ReSpec CSS
  * Robin Berjon (robin at berjon dot com)
@@ -827,32 +905,49 @@
 }
 
 /* --- EDITORIAL NOTES --- */
-.issue {
+.issue</span><span class="insert">
+
+
+
+
+.remark</span> {
     padding:    1em;
     margin: 1em 0em 0em;
-    border: 1px solid #f00;
-    background: #ffc;
+    border: 1px <span class="delete">solid #f00;</span><span class="insert">dashed #000;</span>
+    background: <span class="delete">#ffc;</span><span class="insert">#F0F0F0;</span>
 }
 
-.issue::before {
-    content:    "Issue";
+<span class="delete">.issue::before</span><span class="insert">.remark::before</span> {
+    content:    <span class="delete">"Issue";</span><span class="insert">"Remark";</span>
     display:    block;
     width:  150px;
     margin: -1.5em 0 0.5em 0;
     font-weight:    bold;
-    border: 1px solid #f00;
+    border: 1px solid <span class="delete">#f00;</span><span class="insert">#000;</span>
     background: #fff;
     padding:    3px 1em;
 }
 
-.note {
+<span class="delete">.note</span><span class="insert">table.thinborder</span> {<span class="delete">
     margin: 1em 0em 0em;
-    padding:    1em;
+    </span><span class="insert">
+	border-width: 1px;
+	border-spacing: 0px;
+	border-style: none;
+	border-color: gray;
+	border-collapse: collapse;
+}
+table.thinborder th {
+	border-width: 1px;
+	</span>padding:<span class="delete">    1em;
     border: 2px solid #cff6d9;
-    background: #e2fff0;
-}
-
-.note::before {
+    background: #e2fff0;</span><span class="insert"> 0px;
+	border-style: solid;
+	border-color: gray;</span>
+}<span class="delete">
+
+.note::before</span><span class="insert">
+table.thinborder td</span> {<span class="delete">
     content:    "Note";
     display:    block;
     width:  150px;
@@ -860,8 +955,12 @@
     font-weight:    bold;
     border: 1px solid #cff6d9;
     background: #fff;
-    padding:    3px 1em;
-}
+    </span><span class="insert">
+	border-width: 1px;
+	</span>padding:<span class="delete">    3px 1em;</span><span class="insert"> 2px;
+	border-style: solid;
+	border-color: gray;</span>
+}<span class="delete">
 
 /* --- Best Practices --- */
 div.practice {
@@ -964,12 +1063,17 @@
 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-N: The Provenance Notation</h1><h2 id="subtitle"><a href="diff-n.html"><span class="insert">Diffs</span></a><span class="insert"> since LC Release </span></h2><h2 id="w3c-editor-s-draft-06-november-2012"><acronym title="World Wide Web Consortium">W3C</acronym> <span class="delete">Working</span><span class="insert">Editor's</span> Draft <span class="delete">24 July</span><span class="insert">06 November</span> 2012</h2><dl><dt>This version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-n-20120724/</span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html"><span class="insert">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</span></a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</a></dd><dt>Previous version:</dt><dd><span class="delete">http://www.w3.org/TR/2012/WD-prov-n-20120503/</span><span class="delete">  (</span><span class="delete">color-coded diffs</span><span class="delete">)</span><a href="http://www.w3.org/TR/2012/WD-prov-n-20120724/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-n-20120724/</span></a></dd><dt>Editors:</dt><dd><a href="http://www.ecs.soton.ac.uk/~lavm/">Luc Moreau</a>, University of Southampton</dd>
-<dd><a href="http://www.cs.ncl.ac.uk/people/Paolo.Missier">Paolo Missier</a>, Newcastle University</dd>
-<dt><span class="delete">Contributors:</span><span class="insert">Authors:</span></dt><dd><a href="http://homepages.inf.ed.ac.uk/jcheney/">James Cheney</a>, University of Edinburgh</dd>
-<dd><a href="http://soiland-reyes.com/stian/">Stian Soiland-Reyes</a>, University of Manchester</dd>
-</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> 
+</span>
+
+
+</style> 
+  <span class="delete">PROV-N: The Provenance Notation</span><span class="delete">W3C</span><span class="delete"> Working Draft 24 July 2012</span><span class="delete">This version:</span><span class="delete">http://www.w3.org/TR/2012/WD-prov-n-20120724/</span><span class="delete">Latest published version:</span><span class="delete">http://www.w3.org/TR/prov-n/</span><span class="delete">Latest editor's draft:</span><span class="delete">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</span><span class="delete">Previous version:</span><span class="delete">http://www.w3.org/TR/2012/WD-prov-n-20120503/</span><span class="delete">  (</span><span class="delete">color-coded diffs</span><span class="delete">)</span><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">James Cheney</span><span class="delete">, University of Edinburgh</span>
+<span class="delete">Stian Soiland-Reyes</span><span class="delete">, University of Manchester</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> 
+
+    
 
     <div id="abstract" class="introductory section"><h2>Abstract</h2>
 
@@ -995,26 +1099,31 @@
 formal semantics of PROV.  The purpose of this document is to define the PROV-N notation.
 </p>
     </div><div id="sotd" class="introductory section"><h2>Status of This Document</h2><p><em>This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current <acronym title="World Wide Web Consortium">W3C</acronym> publications and the latest revision of this technical report can be found in the <a href="http://www.w3.org/TR/"><acronym title="World Wide Web Consortium">W3C</acronym> technical reports index</a> at http://www.w3.org/TR/.</em></p>
-<h4 id="last-call">Last Call</h4>
-<p>
-This is a Last Call Working Draft. The design is not expected to change significantly, going forward, and now is the key time for external review.</p>
-
-<p>This specification identifies one  <a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi">feature at risk</a>: the expression Mention <a href="#expression-mention">(section 3.5.3)</a> might be removed from PROV if implementation experience reveals problems with supporting this construct.</p>
-
-
-
-<h4 id="prov-family-of-specifications">PROV Family of Specifications</h4>
-This document is part of the PROV family of specifications, a set of specifications defining various aspects that are necessary to achieve the vision of inter-operable
-interchange of provenance information in heterogeneous environments such as the Web.  The specifications are:
+<span class="delete">Last Call</span><h4 id="prov-family-of-documents"><span class="insert">PROV Family of Documents</span></h4>
+
+This <span class="insert">document </span>is <span class="insert">part of the PROV family of documents, </span>a <span class="delete">Last Call Working Draft. The design is not expected to change significantly, going forward, and now is the key time for external review.</span>
+
+<span class="delete">This specification identifies one  </span><span class="delete">feature at risk</span><span class="delete">: the expression Mention </span><span class="delete">(section 3.5.3)</span><span class="delete"> might be removed from PROV if implementation experience reveals problems with supporting this construct.</span>
+
+
+
+<span class="delete">PROV Family</span><span class="insert">set</span> of <span class="delete">Specifications</span><span class="delete">
+This document is part of the PROV family of specifications, a set of specifications</span><span class="insert">documents</span> defining various aspects that are necessary to achieve the vision of inter-operable
+interchange of provenance information in heterogeneous environments such as the Web.  <span class="delete">The specifications</span><span class="insert">These documents</span> are:
 <ul>
-<li> <a href="http://www.w3.org/TR/prov-dm/">PROV-DM</a>, the PROV data model for provenance;</li>
-<li> <a href="http://www.w3.org/TR/prov-constraints/">PROV-CONSTRAINTS</a>, a set of constraints applying to the PROV data model;</li>
-<li> <a href="http://www.w3.org/TR/prov-n/">PROV-N</a>, a notation for provenance aimed at human consumption  (this document);</li>
-<li> <a href="http://www.w3.org/TR/prov-o/">PROV-O</a>, the PROV ontology, an OWL2 ontology allowing the mapping of PROV to RDF;</li>
-<li> <a href="http://www.w3.org/TR/prov-aq/">PROV-AQ</a>, the mechanisms for accessing and querying provenance; </li>
-<li> <a href="http://www.w3.org/TR/prov-primer/">PROV-PRIMER</a>, a primer for the PROV data model.</li>
-
-</ul>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/"><span class="insert">PROV-OVERVIEW</span></a><span class="insert"> (Note), an overview of the PROV family of documents [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-OVERVIEW"><span class="insert">PROV-OVERVIEW</span></a></cite><span class="insert">];</span></li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><span class="insert">PROV-PRIMER</span></a><span class="insert"> (Note), a primer for the PROV data model [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-PRIMER"><span class="insert">PROV-PRIMER</span></a></cite><span class="insert">];</span></li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/"><span class="insert">PROV-O</span></a><span class="insert"> (Recommendation), the PROV ontology, an OWL2 ontology allowing the mapping of PROV to RDF [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-O"><span class="insert">PROV-O</span></a></cite><span class="insert">];</span></li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/">PROV-DM</a><span class="delete">,</span><span class="insert"> (Recommendation),</span> the PROV data model for <span class="delete">provenance;</span><span class="insert">provenance [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM"><span class="insert">PROV-DM</span></a></cite><span class="insert">];</span></li>
+<li> <span class="delete">PROV-CONSTRAINTS</span><span class="delete">, a set of constraints applying to the PROV data model;</span>
+ <a href="http://www.w3.org/TR/2012/CR-prov-n-20121211/">PROV-N</a><span class="delete">,</span><span class="insert"> (Recommendation),</span> a notation for provenance aimed at human consumption  (this document);</li>
+<li> <span class="delete">PROV-O</span><span class="delete">,</span><a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/"><span class="insert">PROV-CONSTRAINTS</span></a><span class="insert"> (Recommendation), a set of constraints applying to</span> the PROV <span class="delete">ontology, </span><span class="insert">data model [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS"><span class="insert">PROV-CONSTRAINTS</span></a></cite><span class="insert">];</span></li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/"><span class="insert">PROV-AQ</span></a><span class="insert"> (Note), the mechanisms for accessing and querying provenance [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ"><span class="insert">PROV-AQ</span></a></cite><span class="insert">]; </span></li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><span class="insert">PROV-XML</span></a><span class="insert"> (Note),  </span>an <span class="delete">OWL2 ontology allowing the mapping of</span><span class="insert">XML schema for the</span> PROV <span class="delete">to RDF;</span><span class="insert">data model [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-XML"><span class="insert">PROV-XML</span></a></cite><span class="insert">].</span></li>
+ <span class="delete">PROV-AQ</span><span class="delete">, the mechanisms for accessing and querying provenance; </span>
+ <span class="delete">PROV-PRIMER</span><span class="delete">, a primer for the PROV data model.</span></ul>
+
+
 <h4 id="how-to-read-the-prov-family-of-specifications">How to read the PROV Family of Specifications</h4>
 <ul>
 <li>The primer is the entry point to PROV offering an introduction to the provenance model.</li>
@@ -1024,7 +1133,7 @@
 <li>Readers seeking to implement other PROV serializations
 should focus on PROV-DM and PROV-CONSTRAINTS.  PROV-O and PROV-N offer examples of mapping to RDF and text, respectively.</li>
 </ul>
-<p>This document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as <span class="delete">a Last Call Working</span><span class="insert">an Editor's</span> Draft.<span class="delete"> This document is intended to become a </span><span class="delete">W3C</span><span class="delete"> Recommendation.</span> If you wish to make comments regarding this document, please send them to <a href="mailto:public-prov-comments@w3.org">public-prov-comments@w3.org</a> (<a href="mailto:public-prov-comments-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-prov-comments/">archives</a>).<span class="delete"> The Last Call period ends 18 September 2012.</span> All feedback is welcome.</p><p>Publication as <span class="delete">a Working</span><span class="insert">an Editor's</span> Draft does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.<span class="delete">This is a Last Call Working Draft and thus the Working Group has determined that this document has satisfied the relevant technical requirements and is sufficiently stable to advance through the Technical Recommendation process.</span></p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>. <acronym title="World Wide Web Consortium">W3C</acronym> maintains a <a href="http://www.w3.org/2004/01/pp-impl/46974/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>.</p></div><div id="toc" class="section"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a><ul class="toc"><li class="tocline"><a href="#purpose" class="tocxref"><span class="secno">1.1 </span>Purpose of this Document and Target Audience</a></li><li class="tocline"><a href="#compliance-with-this-document" class="tocxref"><span class="secno"><span class="insert">1.2 </span></span><span class="insert">Compliance with this Document</span></a></li><li class="tocline"><a href="#structure-of-this-document" class="tocxref"><span class="secno"><span class="delete">1.2</span><span class="insert">1.3</span> </span>Structure of this Document</a></li><li class="tocline"><a href="#notational-conventions" class="tocxref"><span class="secno"><span class="delete">1.3</span><span class="insert">1.4</span> </span>Notational Conventions</a></li></ul></li><li class="tocline"><a href="#general-conventions" class="tocxref"><span class="secno">2. </span>General grammar considerations</a><ul class="toc"><li class="tocline"><a href="#functional-syntax" class="tocxref"><span class="secno">2.1 </span>Functional-style Syntax</a></li><li class="tocline"><a href="#grammar-notation" class="tocxref"><span class="secno">2.2 </span>EBNF Grammar</a></li><li class="tocline"><a href="#main-productions" class="tocxref"><span class="secno">2.3 </span>Main Productions</a></li><li class="tocline"><a href="#prov-n-optionals" class="tocxref"><span class="secno">2.4 </span>Optional terms in expressions</a></li><li class="tocline"><a href="#prov-n-standard-terms" class="tocxref"><span class="secno">2.5 </span>Identifiers and attributes</a></li><li class="tocline"><a href="#comments" class="tocxref"><span class="secno">2.6 </span>Comments</a></li></ul></li><li class="tocline"><a href="#prov-n-expressions" class="tocxref"><span class="secno">3. </span>PROV-N Productions per Component</a><ul class="toc"><li class="tocline"><a href="#component1" class="tocxref"><span class="secno">3.1 </span>Component 1: Entities and Activities</a><ul class="toc"><li class="tocline"><a href="#expression-Entity" class="tocxref"><span class="secno">3.1.1 </span>Entity</a></li><li class="tocline"><a href="#expression-Activity" class="tocxref"><span class="secno">3.1.2 </span>Activity</a></li><li class="tocline"><a href="#expression-Generation" class="tocxref"><span class="secno">3.1.3 </span>Generation</a></li><li class="tocline"><a href="#expression-Usage" class="tocxref"><span class="secno">3.1.4 </span>Usage</a></li><li class="tocline"><a href="#expression-wasInformedBy" class="tocxref"><span class="secno">3.1.5 </span>Communication</a></li><li class="tocline"><a href="#expression-Start" class="tocxref"><span class="secno">3.1.6 </span>Start</a></li><li class="tocline"><a href="#expression-End" class="tocxref"><span class="secno">3.1.7 </span>End</a></li><li class="tocline"><a href="#expression-Invalidation" class="tocxref"><span class="secno">3.1.8 </span>Invalidation</a></li></ul></li><li class="tocline"><a href="#component2" class="tocxref"><span class="secno">3.2 </span>Component 2: Derivations</a><ul class="toc"><li class="tocline"><a href="#Derivation-Relation" class="tocxref"><span class="secno">3.2.1 </span>Derivation</a></li><li class="tocline"><a href="#expression-Revision" class="tocxref"><span class="secno">3.2.2 </span>Revision</a></li><li class="tocline"><a href="#expression-quotation" class="tocxref"><span class="secno">3.2.3 </span>Quotation</a></li><li class="tocline"><a href="#expression-primary-source" class="tocxref"><span class="secno">3.2.4 </span>Primary Source</a></li></ul></li><li class="tocline"><a href="#component3" class="tocxref"><span class="secno">3.3 </span>Component 3: Agents, Responsibility, and Influence</a><ul class="toc"><li class="tocline"><a href="#expression-Agent" class="tocxref"><span class="secno">3.3.1 </span>Agent</a></li><li class="tocline"><a href="#expression-attribution" class="tocxref"><span class="secno">3.3.2 </span>Attribution</a></li><li class="tocline"><a href="#expression-Association" class="tocxref"><span class="secno">3.3.3 </span>Association</a></li><li class="tocline"><a href="#expression-delegation" class="tocxref"><span class="secno">3.3.4 </span>Delegation</a></li><li class="tocline"><a href="#expression-influence" class="tocxref"><span class="secno">3.3.5 </span>Influence</a></li></ul></li><li class="tocline"><a href="#component4" class="tocxref"><span class="secno">3.4 </span>Component 4: Bundles</a><ul class="toc"><li class="tocline"><a href="#expression-bundle-constructor" class="tocxref"><span class="secno">3.4.1 </span>Bundle Constructor</a></li><li class="tocline"><a href="#expression-bundle-type" class="tocxref"><span class="secno">3.4.2 </span>Bundle Type</a></li></ul></li><li class="tocline"><a href="#component5" class="tocxref"><span class="secno">3.5 </span>Component 5: Alternate Entities</a><ul class="toc"><li class="tocline"><a href="#expression-alternate" class="tocxref"><span class="secno">3.5.1 </span>Alternate</a></li><li class="tocline"><a href="#expression-specialization" class="tocxref"><span class="secno">3.5.2 </span>Specialization</a></li><li class="tocline"><a href="#expression-mention" class="tocxref"><span class="secno">3.5.3 </span>Mention</a></li></ul></li><li class="tocline"><a href="#component6" class="tocxref"><span class="secno">3.6 </span>Component 6: Collections</a><ul class="toc"><li class="tocline"><a href="#expression-collection" class="tocxref"><span class="secno">3.6.1 </span>Collection</a></li><li class="tocline"><a href="#expression-collection-membership" class="tocxref"><span class="secno">3.6.2 </span>Membership</a></li></ul></li><li class="tocline"><a href="#subexpressions" class="tocxref"><span class="secno">3.7 </span>Further Expressions</a><ul class="toc"><li class="tocline"><a href="#expression-identifier" class="tocxref"><span class="secno">3.7.1 </span>Identifier</a></li><li class="tocline"><a href="#expression-attribute" class="tocxref"><span class="secno">3.7.2 </span>Attribute</a></li><li class="tocline"><a href="#expression-literal" class="tocxref"><span class="secno">3.7.3 </span>Literal</a><ul class="toc"><li class="tocline"><a href="#expression-types" class="tocxref"><span class="secno">3.7.3.1 </span>Reserved Type Values</a></li><li class="tocline"><a href="#expression-Time" class="tocxref"><span class="secno">3.7.3.2 </span>Time Values</a></li></ul></li><li class="tocline"><a href="#expression-NamespaceDeclaration" class="tocxref"><span class="secno">3.7.4 </span>Namespace Declaration</a></li><li class="tocline"><a href="#semantic-rules-summary" class="tocxref"><span class="secno">3.7.5 </span>Summary of additional semantic rules</a></li></ul></li></ul></li><li class="tocline"><a href="#document" class="tocxref"><span class="secno">4. </span><span class="delete">Toplevel Bundle</span><span class="insert">Document</span></a></li><li class="tocline"><a href="#extensibility" class="tocxref"><span class="secno">5. </span>Extensibility</a></li><li class="tocline"><a href="#media-type" class="tocxref"><span class="secno">6. </span>Media Type</a></li><li class="tocline"><a href="#changes-since-last-version" class="tocxref"><span class="secno"><span class="insert">A. </span></span><span class="insert">Changes since last version</span></a></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno"><span class="delete">A.</span><span class="insert">B.</span> </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno"><span class="delete">B.</span><span class="insert">C.</span> </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno"><span class="delete">B.1</span><span class="insert">C.1</span> </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno"><span class="delete">B.2</span><span class="insert">C.2</span> </span>Informative references</a></li></ul></li></ul></div> 
+<p>This document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as a <span class="delete">Last Call Working Draft.</span><span class="insert">Candidate Recommendation.</span> This document is intended to become a <acronym title="World Wide Web Consortium">W3C</acronym> Recommendation. If you wish to make comments regarding this document, please send them to <a href="mailto:public-prov-comments@w3.org">public-prov-comments@w3.org</a> (<a href="mailto:public-prov-comments-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-prov-comments/">archives</a>). <span class="delete">The Last Call period ends 18 September 2012.</span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> publishes a Candidate Recommendation to indicate that the document is believed to be stable and to encourage implementation by the developer community. This Candidate Recommendation is expected to advance to Proposed Recommendation no earlier than 31 January 2013.</span> All feedback is welcome.</p><p>Publication as a <span class="delete">Working Draft</span><span class="insert">Candidate Recommendation</span> does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.<span class="delete">This is a Last Call Working Draft and thus the Working Group has determined that this document has satisfied the relevant technical requirements and is sufficiently stable to advance through the Technical Recommendation process.</span></p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>. <acronym title="World Wide Web Consortium">W3C</acronym> maintains a <a href="http://www.w3.org/2004/01/pp-impl/46974/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>.</p></div><div id="toc" class="section"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a><ul class="toc"><li class="tocline"><a href="#purpose" class="tocxref"><span class="secno">1.1 </span>Purpose of this Document and Target Audience</a></li><li class="tocline"><a href="#compliance-with-this-document" class="tocxref"><span class="secno"><span class="insert">1.2 </span></span><span class="insert">Compliance with this Document</span></a></li><li class="tocline"><a href="#structure-of-this-document" class="tocxref"><span class="secno"><span class="delete">1.2</span><span class="insert">1.3</span> </span>Structure of this Document</a></li><li class="tocline"><a href="#notational-conventions" class="tocxref"><span class="secno"><span class="delete">1.3</span><span class="insert">1.4</span> </span>Notational Conventions</a></li></ul></li><li class="tocline"><a href="#general-conventions" class="tocxref"><span class="secno">2. </span>General grammar considerations</a><ul class="toc"><li class="tocline"><a href="#functional-syntax" class="tocxref"><span class="secno">2.1 </span>Functional-style Syntax</a></li><li class="tocline"><a href="#grammar-notation" class="tocxref"><span class="secno">2.2 </span>EBNF Grammar</a></li><li class="tocline"><a href="#main-productions" class="tocxref"><span class="secno">2.3 </span>Main Productions</a></li><li class="tocline"><a href="#prov-n-optionals" class="tocxref"><span class="secno">2.4 </span>Optional terms in expressions</a></li><li class="tocline"><a href="#prov-n-standard-terms" class="tocxref"><span class="secno">2.5 </span>Identifiers and attributes</a></li><li class="tocline"><a href="#comments" class="tocxref"><span class="secno">2.6 </span>Comments</a></li></ul></li><li class="tocline"><a href="#prov-n-expressions" class="tocxref"><span class="secno">3. </span>PROV-N Productions per Component</a><ul class="toc"><li class="tocline"><a href="#component1" class="tocxref"><span class="secno">3.1 </span>Component 1: Entities and Activities</a><ul class="toc"><li class="tocline"><a href="#expression-Entity" class="tocxref"><span class="secno">3.1.1 </span>Entity</a></li><li class="tocline"><a href="#expression-Activity" class="tocxref"><span class="secno">3.1.2 </span>Activity</a></li><li class="tocline"><a href="#expression-Generation" class="tocxref"><span class="secno">3.1.3 </span>Generation</a></li><li class="tocline"><a href="#expression-Usage" class="tocxref"><span class="secno">3.1.4 </span>Usage</a></li><li class="tocline"><a href="#expression-wasInformedBy" class="tocxref"><span class="secno">3.1.5 </span>Communication</a></li><li class="tocline"><a href="#expression-Start" class="tocxref"><span class="secno">3.1.6 </span>Start</a></li><li class="tocline"><a href="#expression-End" class="tocxref"><span class="secno">3.1.7 </span>End</a></li><li class="tocline"><a href="#expression-Invalidation" class="tocxref"><span class="secno">3.1.8 </span>Invalidation</a></li></ul></li><li class="tocline"><a href="#component2" class="tocxref"><span class="secno">3.2 </span>Component 2: Derivations</a><ul class="toc"><li class="tocline"><a href="#Derivation-Relation" class="tocxref"><span class="secno">3.2.1 </span>Derivation</a></li><li class="tocline"><a href="#expression-Revision" class="tocxref"><span class="secno">3.2.2 </span>Revision</a></li><li class="tocline"><a href="#expression-quotation" class="tocxref"><span class="secno">3.2.3 </span>Quotation</a></li><li class="tocline"><a href="#expression-primary-source" class="tocxref"><span class="secno">3.2.4 </span>Primary Source</a></li></ul></li><li class="tocline"><a href="#component3" class="tocxref"><span class="secno">3.3 </span>Component 3: Agents, Responsibility, and Influence</a><ul class="toc"><li class="tocline"><a href="#expression-Agent" class="tocxref"><span class="secno">3.3.1 </span>Agent</a></li><li class="tocline"><a href="#expression-attribution" class="tocxref"><span class="secno">3.3.2 </span>Attribution</a></li><li class="tocline"><a href="#expression-Association" class="tocxref"><span class="secno">3.3.3 </span>Association</a></li><li class="tocline"><a href="#expression-delegation" class="tocxref"><span class="secno">3.3.4 </span>Delegation</a></li><li class="tocline"><a href="#expression-influence" class="tocxref"><span class="secno">3.3.5 </span>Influence</a></li></ul></li><li class="tocline"><a href="#component4" class="tocxref"><span class="secno">3.4 </span>Component 4: Bundles</a><ul class="toc"><li class="tocline"><a href="#expression-bundle-constructor" class="tocxref"><span class="secno">3.4.1 </span>Bundle Constructor</a></li><li class="tocline"><a href="#expression-bundle-type" class="tocxref"><span class="secno">3.4.2 </span>Bundle Type</a></li></ul></li><li class="tocline"><a href="#component5" class="tocxref"><span class="secno">3.5 </span>Component 5: Alternate Entities</a><ul class="toc"><li class="tocline"><a href="#expression-alternate" class="tocxref"><span class="secno">3.5.1 </span>Alternate</a></li><li class="tocline"><a href="#expression-specialization" class="tocxref"><span class="secno">3.5.2 </span>Specialization</a></li><span class="delete">3.5.3 </span><span class="delete">Mention</span></ul></li><li class="tocline"><a href="#component6" class="tocxref"><span class="secno">3.6 </span>Component 6: Collections</a><ul class="toc"><li class="tocline"><a href="#expression-collection" class="tocxref"><span class="secno">3.6.1 </span>Collection</a></li><li class="tocline"><a href="#expression-collection-membership" class="tocxref"><span class="secno">3.6.2 </span>Membership</a></li></ul></li><li class="tocline"><a href="#subexpressions" class="tocxref"><span class="secno">3.7 </span>Further Expressions</a><ul class="toc"><li class="tocline"><a href="#expression-identifier" class="tocxref"><span class="secno">3.7.1 </span>Identifier</a></li><li class="tocline"><a href="#expression-attribute" class="tocxref"><span class="secno">3.7.2 </span>Attribute</a></li><li class="tocline"><a href="#expression-literal" class="tocxref"><span class="secno">3.7.3 </span>Literal</a><ul class="toc"><li class="tocline"><a href="#expression-types" class="tocxref"><span class="secno">3.7.3.1 </span>Reserved Type Values</a></li><li class="tocline"><a href="#expression-Time" class="tocxref"><span class="secno">3.7.3.2 </span>Time Values</a></li></ul></li><li class="tocline"><a href="#expression-NamespaceDeclaration" class="tocxref"><span class="secno">3.7.4 </span>Namespace Declaration</a></li><li class="tocline"><a href="#semantic-rules-summary" class="tocxref"><span class="secno">3.7.5 </span>Summary of additional semantic rules</a></li></ul></li></ul></li><li class="tocline"><a href="#document" class="tocxref"><span class="secno">4. </span><span class="delete">Toplevel Bundle</span><span class="insert">Document</span></a></li><li class="tocline"><a href="#extensibility" class="tocxref"><span class="secno">5. </span>Extensibility</a></li><li class="tocline"><a href="#media-type" class="tocxref"><span class="secno">6. </span>Media Type</a></li><li class="tocline"><a href="#changes-since-last-version" class="tocxref"><span class="secno"><span class="insert">A. </span></span><span class="insert">Changes since last version</span></a></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno"><span class="delete">A.</span><span class="insert">B.</span> </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno"><span class="delete">B.</span><span class="insert">C.</span> </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno"><span class="delete">B.1</span><span class="insert">C.1</span> </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno"><span class="delete">B.2</span><span class="insert">C.2</span> </span>Informative references</a></li></ul></li></ul></div> 
 
 
 
@@ -1054,7 +1163,7 @@
 <ul>
 <li>Technology independence. PROV-N provides a simple syntax that can be mapped to several technologies.
 
-</li><li>Human readability. PROV-N follows a functional syntax style that is meant to be easily human-readable so it can be used in illustrative examples, such as those presented in the PROV documents suite;
+</li><li>Human readability. PROV-N follows a functional syntax style that is meant to be easily human-readable so it can be used in illustrative examples, such as those presented in the PROV documents <span class="delete">suite;</span><span class="insert">suite</span>
 
 </li><li>Formality. PROV-N is defined through a formal grammar amenable to be used with parser generators.
 
@@ -1276,7 +1385,7 @@
 
 
 </p><table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-expression" name="prod-expression"></a>[<span class="prodNo">2</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">expression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-activityExpression">activityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-generationExpression">generationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-usageExpression">usageExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-startExpression">startExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-endExpression">endExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-invalidationExpression">invalidationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-communicationExpression">communicationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-agentExpression">agentExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-associationExpression">associationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-attributionExpression">attributionExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-delegationExpression">delegationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-influenceExpression">influenceExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-alternateExpression">alternateExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-specializationExpression">specializationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-mentionExpression">mentionExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-membershipExpression">membershipExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></span> )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-expression" name="prod-expression"></a>[<span class="prodNo">2</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">expression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-activityExpression">activityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-generationExpression">generationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-usageExpression">usageExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-startExpression">startExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-endExpression">endExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-invalidationExpression">invalidationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-communicationExpression">communicationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-agentExpression">agentExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-associationExpression">associationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-attributionExpression">attributionExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-delegationExpression">delegationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-influenceExpression">influenceExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-alternateExpression">alternateExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-specializationExpression">specializationExpression</a></span> | <span class="prod"><span class="delete">mentionExpression</span><span class="delete"> | </span><a class="grammarRef" href="#prod-membershipExpression">membershipExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></span> )</code></td> </tr> </tbody>
 </table>
 
 
@@ -1306,7 +1415,7 @@
 <pre class="codeexample">activity(a2, 2011-11-16T16:00:00, 2011-11-16T16:00:01)
 activity(a1)
 </pre>
-The start and end times for Activity <span class="name">a1</span> are optional. They are specified in the first expression, but not in the second.
+The start and end times for <span class="delete">Activity </span><span class="delete">a1</span><span class="insert">an activity</span> are optional. They are specified in the first expression, but not in the second.
 </div>
 
 <p>The general rule for optionals is that, if <em>none</em> of the optionals are used in the expression, then they are simply omitted, resulting in a simpler expression as in the examples above.</p>
@@ -1388,15 +1497,13 @@
 <h4><span class="secno">3.1.1 </span>Entity</h4>
 
 
-
-
-
 <p>
 
 
 
 
 
+
 </p><table class="grammar">
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-entityExpression" name="prod-entityExpression"></a>[<span class="prodNo">3</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">entityExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"entity" "(" <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-optionalAttributeValuePairs" name="prod-optionalAttributeValuePairs"></a>[<span class="prodNo">4</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">optionalAttributeValuePairs</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( "," "[" <span class="prod"><a class="grammarRef" href="#prod-attributeValuePairs">attributeValuePairs</a></span> "]" )?</code></td> </tr> </tbody>
@@ -1408,10 +1515,10 @@
 <p>The following table summarizes how each constituent of a PROV-DM Entity maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-entity">Entity</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-entity">Entity</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#entity.id"><span class="attribute" id="entity.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#entity.attributes"><span class="attribute" id="entity.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#entity.id"><span class="attribute" id="entity.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#entity.attributes"><span class="attribute" id="entity.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -1447,17 +1554,17 @@
 <p>The following table summarizes how each constituent of a PROV-DM Activity maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-activity">Activity</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-activity">Activity</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#activity.id"><span class="attribute" id="activity.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#activity.startTime"><span class="attribute" id="activity.startTime">startTime</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#activity.endTime"><span class="attribute" id="activity.endTime">endTime</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
-
-
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#activity.attributes"><span class="attribute" id="activity.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.id"><span class="attribute" id="activity.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.startTime"><span class="attribute" id="activity.startTime">startTime</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.endTime"><span class="attribute" id="activity.endTime">endTime</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.attributes"><span class="attribute" id="activity.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -1506,15 +1613,15 @@
 <p>The following table summarizes how each constituent of a PROV-DM Generation maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-wasgeneratedby">Generation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasgeneratedby">Generation</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#generation.id"><span class="attribute" id="generation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#generation.entity"><span class="attribute" id="generation.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#generation.activity"><span class="attribute" id="generation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#generation.time"><span class="attribute" id="generation.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#generation.attributes"><span class="attribute" id="generation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.id"><span class="attribute" id="generation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.entity"><span class="attribute" id="generation.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.activity"><span class="attribute" id="generation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.time"><span class="attribute" id="generation.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.attributes"><span class="attribute" id="generation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -1560,15 +1667,15 @@
 <p>The following table summarizes how each constituent of a PROV-DM Usage maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-used">Usage</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-used">Usage</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#usage.id"><span class="attribute" id="usage.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#usage.activity"><span class="attribute" id="usage.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr><tr><td><a href="http://www.w3.org/TR/prov-dm/#usage.entity"><span class="attribute" id="usage.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#usage.time"><span class="attribute" id="usage.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#usage.attributes"><span class="attribute" id="usage.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.id"><span class="attribute" id="usage.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.activity"><span class="attribute" id="usage.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr><tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.entity"><span class="attribute" id="usage.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.time"><span class="attribute" id="usage.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.attributes"><span class="attribute" id="usage.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -1617,12 +1724,12 @@
 <p>The following table summarizes how each constituent of a PROV-DM Communication maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-wasinformedby">Communication</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasinformedby">Communication</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#communication.id"><span class="attribute" id="communication.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#communication.informed"><span class="attribute" id="communication.informed">informed</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#communication.informant"><span class="attribute" id="communication.informant">informant</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#communication.attributes"><span class="attribute" id="communication.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.id"><span class="attribute" id="communication.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.informed"><span class="attribute" id="communication.informed">informed</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.informant"><span class="attribute" id="communication.informant">informant</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.attributes"><span class="attribute" id="communication.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -1657,17 +1764,17 @@
 <p>The following table summarizes how each constituent of a PROV-DM Start maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-wasstartedby">Start</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasstartedby">Start</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#start.id"><span class="attribute" id="start.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#start.activity"><span class="attribute" id="start.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#start.trigger"><span class="attribute" id="start.trigger">trigger</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#start.starter"><span class="attribute" id="start.starter">starter</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#start.time"><span class="attribute" id="start.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#start.attributes"><span class="attribute" id="start.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.id"><span class="attribute" id="start.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.activity"><span class="attribute" id="start.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.trigger"><span class="attribute" id="start.trigger">trigger</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.starter"><span class="attribute" id="start.starter">starter</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.time"><span class="attribute" id="start.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.attributes"><span class="attribute" id="start.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -1675,9 +1782,9 @@
 
 <div class="anexample" id="example_16"><div class="anexampleTitle"><a class="internalDFN" href="#example_16">Example 16</a></div>
 
-  <pre class="codeexample">wasStartedBy(s; ex:act2, ex:trigger, ex:act1, 2011-11-16T16:00:00, [ex:param="a"])
+  <pre class="codeexample"><span class="delete">wasStartedBy(s;</span><span class="insert">wasStartedBy(start;</span> ex:act2, ex:trigger, ex:act1, 2011-11-16T16:00:00, [ex:param="a"])
   </pre>
-  <p>Here <span class="name">s</span> is the optional start identifier,  <span class="name">ex:act2</span> is the identifier of the started activity,
+  <p>Here <span class="name"><span class="delete">s</span><span class="insert">start</span></span> is the optional start identifier,  <span class="name">ex:act2</span> is the identifier of the started activity,
   <span class="name">ex:trigger</span> is the optional identifier for the entity that triggered the activity start,
    <span class="name">ex:act1</span> is the optional identifier for the activity that generated the (possibly unspecified) entity   <span class="name">ex:trigger</span>,
  <span class="name">2011-11-16T16:00:00</span> is the optional start time, and <span class="name"> [ex:param="a"]</span> are optional attributes.</p>
@@ -1687,7 +1794,7 @@
 wasStartedBy(ex:act2, -, ex:act1, 2011-11-16T16:00:00)
 wasStartedBy(ex:act2, -, -, 2011-11-16T16:00:00)
 wasStartedBy(ex:act2, [ex:param="a"])
-wasStartedBy(s; ex:act2, e, ex:act1, 2011-11-16T16:00:00)
+<span class="delete">wasStartedBy(s;</span><span class="insert">wasStartedBy(start;</span> ex:act2, e, ex:act1, 2011-11-16T16:00:00)
 </pre>
 </div>
 
@@ -1716,29 +1823,29 @@
 <p>The following table summarizes how each constituent of a PROV-DM End maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-wasendedby">End</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasendedby">End</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#end.id"><span class="attribute" id="end.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#end.activity"><span class="attribute" id="end.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#end.trigger"><span class="attribute" id="end.trigger">trigger</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#end.ender"><span class="attribute" id="end.ender">ender</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#end.time"><span class="attribute" id="end.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#end.attributes"><span class="attribute" id="end.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.id"><span class="attribute" id="end.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.activity"><span class="attribute" id="end.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.trigger"><span class="attribute" id="end.trigger">trigger</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.ender"><span class="attribute" id="end.ender">ender</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.time"><span class="attribute" id="end.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.attributes"><span class="attribute" id="end.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
 
 <div class="anexample" id="example_17"><div class="anexampleTitle"><a class="internalDFN" href="#example_17">Example 17</a></div>
 
-    <pre class="codeexample">wasEndedBy(s; ex:act2, ex:trigger,ex:act3,  2011-11-16T16:00:00, [ex:param="a"])
+    <pre class="codeexample"><span class="delete">wasEndedBy(s;</span><span class="insert">wasEndedBy(end;</span> ex:act2, ex:trigger,ex:act3,  2011-11-16T16:00:00, [ex:param="a"])
   </pre>
-<p>  Here <span class="name">s</span> is the optional start identifier,  
+<p>  Here <span class="name"><span class="delete">s</span><span class="insert">end</span></span> is the optional <span class="delete">start</span><span class="insert">end</span> identifier,  
 <span class="name">ex:act2</span> is the identifier of the ending activity,
   <span class="name">ex:trigger</span> is the identifier of the entity that triggered the activity end,
-  <span class="name">ex:act3</span> is the optional identifier for the activity that generated the (possibly unspecified) entity   <span class="name">e</span>,
+  <span class="name">ex:act3</span> is the optional identifier for the activity that generated the (possibly unspecified) entity   <span class="name"><span class="delete">e</span><span class="insert">ex:trigger</span></span>,
  <span class="name">2011-11-16T16:00:00</span> is the optional usage time, and <span class="name"> [ex:param="a"]</span> are optional attributes. </p>
 The remaining examples show cases where some of the optionals are omitted.
 
@@ -1747,8 +1854,8 @@
 wasEndedBy(ex:act2, ex:trigger, -, 2011-11-16T16:00:00)
 wasEndedBy(ex:act2, -, -, 2011-11-16T16:00:00)
 wasEndedBy(ex:act2, -, -, 2011-11-16T16:00:00, [ex:param="a"])
-wasEndedBy(e; ex:act2)
-wasEndedBy(e; ex:act2, ex:trigger, -, 2011-11-16T16:00:00)
+<span class="delete">wasEndedBy(e;</span><span class="insert">wasEndedBy(end;</span> ex:act2)
+<span class="delete">wasEndedBy(e;</span><span class="insert">wasEndedBy(end;</span> ex:act2, ex:trigger, -, 2011-11-16T16:00:00)
 </pre>
 </div>
 
@@ -1784,23 +1891,23 @@
 <p>The following table summarizes how each constituent of a PROV-DM Invalidation maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-wasinvalidatedby">Invalidation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasinvalidatedby">Invalidation</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#invalidation.id"><span class="attribute" id="invalidation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#invalidation.entity"><span class="attribute" id="invalidation.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#invalidation.activity"><span class="attribute" id="invalidation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#invalidation.time"><span class="attribute" id="invalidation.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#invalidation.attributes"><span class="attribute" id="invalidation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.id"><span class="attribute" id="invalidation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.entity"><span class="attribute" id="invalidation.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.activity"><span class="attribute" id="invalidation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.time"><span class="attribute" id="invalidation.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.attributes"><span class="attribute" id="invalidation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
 <div class="anexample" id="example_18"><div class="anexampleTitle"><a class="internalDFN" href="#example_18">Example 18</a></div>
 
-<pre class="codeexample">wasInvalidatedBy(ex:i1; tr:WD-prov-dm-20111215, ex:edit1, 2011-11-16T16:00:00,  [ex:fct="save"])
+<pre class="codeexample"><span class="delete">wasInvalidatedBy(ex:i1;</span><span class="insert">wasInvalidatedBy(ex:inv;</span> tr:WD-prov-dm-20111215, ex:edit1, 2011-11-16T16:00:00,  [ex:fct="save"])
 </pre>
-<p>  Here <span class="name">ex:i1</span> is the optional invalidation identifier, <span class="name">tr:WD-prov-dm-20111215</span> is the identifier of the entity being invalidated,
+<p>  Here <span class="name"><span class="delete">ex:i1</span><span class="insert">ex:inv</span></span> is the optional invalidation identifier, <span class="name">tr:WD-prov-dm-20111215</span> is the identifier of the entity being invalidated,
   <span class="name">ex:edit1</span> is the optional identifier of the invalidating activity, <span class="name">2011-11-16T16:00:00</span> is the optional invalidation time, and <span class="name"> [ex:fct="save"]</span> are optional attributes. </p>
 The remaining examples show cases where some of the optionals are omitted.
   
@@ -1808,7 +1915,7 @@
 wasInvalidatedBy(tr:WD-prov-dm-20111215, ex:edit1, 2011-11-16T16:00:00)
 wasInvalidatedBy(e2, a1, -, [ex:fct="save"])     
 wasInvalidatedBy(e2, -, -, [ex:fct="save"])     
-wasInvalidatedBy(ex:i1; tr:WD-prov-dm-20111215, ex:edit1, -)
+<span class="delete">wasInvalidatedBy(ex:i1;</span><span class="insert">wasInvalidatedBy(ex:inv;</span> tr:WD-prov-dm-20111215, ex:edit1, -)
 wasInvalidatedBy(tr:WD-prov-dm-20111215, ex:edit1, -)
 </pre>
 </div>
@@ -1851,25 +1958,25 @@
 <p>The following table summarizes how each constituent of a PROV-DM Derivation maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-wasderivedfrom">Derivation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasderivedfrom">Derivation</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.id"><span class="attribute" id="derivation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.generatedEntity"><span class="attribute" id="derivation.generatedEntity">generatedEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.usedEntity"><span class="attribute" id="derivation.usedEntity">usedEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.activity"><span class="attribute" id="derivation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.generation"><span class="attribute" id="derivation.generation">generation</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-gIdentifierOrMarker">gIdentifierOrMarker</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.usage"><span class="attribute" id="derivation.usage">usage</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-uIdentifierOrMarker">uIdentifierOrMarker</a></code></td></tr>
-
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.attributes"><span class="attribute" id="derivation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.id"><span class="attribute" id="derivation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.generatedEntity"><span class="attribute" id="derivation.generatedEntity">generatedEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.usedEntity"><span class="attribute" id="derivation.usedEntity">usedEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.activity"><span class="attribute" id="derivation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.generation"><span class="attribute" id="derivation.generation">generation</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-gIdentifierOrMarker">gIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.usage"><span class="attribute" id="derivation.usage">usage</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-uIdentifierOrMarker">uIdentifierOrMarker</a></code></td></tr>
+
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.attributes"><span class="attribute" id="derivation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -1960,7 +2067,7 @@
 
 
 <div class="anexample" id="example_22"><div class="anexampleTitle"><a class="internalDFN" href="#example_22">Example 22</a></div>
-    <pre class="codeexample">wasDerivedFrom(src1;  ex:e1, ex:e2, ex:act, ex:g, ex:u, 
+    <pre class="codeexample"><span class="delete">wasDerivedFrom(src1;</span><span class="insert">wasDerivedFrom(sourceId1;</span>  ex:e1, ex:e2, ex:act, ex:g, ex:u, 
                [ prov:type='prov:PrimarySource' ])
 </pre>
 <p>Here, the derivation is provided with a <span class="name">prov:type</span> attribute and value <span class="name">prov:PrimarySource</span>.
@@ -1991,10 +2098,10 @@
 <p>The following table summarizes how each constituent of a PROV-DM Agent maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-agent">Agent</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-agent">Agent</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#agent.id"><span class="attribute" id="agent.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#agent.attributes"><span class="attribute" id="agent.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#agent.id"><span class="attribute" id="agent.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#agent.attributes"><span class="attribute" id="agent.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -2038,14 +2145,14 @@
 <p>The following table summarizes how each constituent of a PROV-DM Attribution maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-wasattributedto">Attribution</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasattributedto">Attribution</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#attribution.id"><span class="attribute" id="attribution.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#attribution.entity"><span class="attribute" id="attribution.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">eIdentifier</a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#attribution.agent"><span class="attribute" id="attribution.agent">agent</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#attribution.attributes"><span class="attribute" id="attribution.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.id"><span class="attribute" id="attribution.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.entity"><span class="attribute" id="attribution.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.agent"><span class="attribute" id="attribution.agent">agent</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.attributes"><span class="attribute" id="attribution.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -2053,9 +2160,9 @@
 
 <div class="anexample" id="example_24"><div class="anexampleTitle"><a class="internalDFN" href="#example_24">Example 24</a></div>
 
-<pre class="codeexample">wasAttributedTo(id; e, ag, [ex:license='cc:attributionURL' ])
+<pre class="codeexample"><span class="delete">wasAttributedTo(id;</span><span class="insert">wasAttributedTo(attr;</span> e, ag, [ex:license='cc:attributionURL' ])
   </pre>
-<p>    Here <span class="name">id</span> is the optional attribution identifier,  <span class="name">e</span> is an entity identifier,
+<p>    Here <span class="name"><span class="delete">id</span><span class="insert">attr</span></span> is the optional attribution identifier,  <span class="name">e</span> is an entity identifier,
   <span class="name">ag</span> is the identifier of the agent to whom the entity is abscribed, 
 and <span class="name">[ex:license='cc:attributionURL' ]</span> are optional attributes. </p>
 The remaining examples show cases where some of the optionals are omitted.
@@ -2086,19 +2193,19 @@
 <p>The following table summarizes how each constituent of a PROV-DM Association maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-wasassociatedwith">Association</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasassociatedwith">Association</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#association.id"><span class="attribute" id="association.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#association.activity"><span class="attribute" id="association.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#association.agent"><span class="attribute" id="association.agent">agent</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifierOrMarker">agIdentifierOrMarker</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#association.plan"><span class="attribute" id="association.plan">plan</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#association.attributes"><span class="attribute" id="association.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.id"><span class="attribute" id="association.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.activity"><span class="attribute" id="association.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.agent"><span class="attribute" id="association.agent">agent</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifierOrMarker">agIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.plan"><span class="attribute" id="association.plan">plan</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.attributes"><span class="attribute" id="association.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -2109,10 +2216,10 @@
 
 
 <div class="anexample" id="example_25"><div class="anexampleTitle"><a class="internalDFN" href="#example_25">Example 25</a></div>
-<pre class="codeexample">wasAssociatedWith(ex:agas; ex:a1, ex:ag1, ex:e1, [ex:param1="a", ex:param2="b"])
+<pre class="codeexample"><span class="delete">wasAssociatedWith(ex:agas;</span><span class="insert">wasAssociatedWith(ex:assoc;</span> ex:a1, ex:ag1, ex:e1, [ex:param1="a", ex:param2="b"])
   </pre>
 
-<p>  Here <span class="name">ex:agas</span> is the optional attribution identifier,
+<p>  Here <span class="name"><span class="delete">ex:agas</span><span class="insert">ex:assoc</span></span> is the optional attribution identifier,
   <span class="name">ex:a1</span> is an activity identifier,
   <span class="name">ex:ag1</span> is the optional identifier of the agent associated to the activity,
   <span class="name">ex:e1</span> is the optional identifier of the plan used by the agent in the context of the activity,
@@ -2134,6 +2241,18 @@
 
 
 
+
+
+
+<div class="anexample" id="example_26"><div class="anexampleTitle"><a class="internalDFN" href="#example_26"><span class="insert">Example 26</span></a></div>
+<p><span class="insert">The  following expressions illustrates a plan.
+</span></p><pre class="codeexample"><span class="insert">  entity(ex:pl1,   [ prov:type='prov:Plan' ])
+</span></pre>
+</div>
+
+
+
+
 </div>
 <div id="expression-delegation" class="section">
 <h4><span class="secno">3.3.4 </span>Delegation</h4>
@@ -2152,26 +2271,26 @@
 <p>The following table summarizes how each constituent of a PROV-DM Delegation maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-actedonbehalfof">Delegation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-actedonbehalfof">Delegation</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#delegation.id"><span class="attribute" id="delegation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#delegation.delegate"><span class="attribute" id="delegation.delegate">delegate</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#delegation.responsible"><span class="attribute" id="delegation.responsible">responsible</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#delegation.activity"><span class="attribute" id="delegation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
-
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#delegation.attributes"><span class="attribute" id="delegation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.id"><span class="attribute" id="delegation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.delegate"><span class="attribute" id="delegation.delegate">delegate</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.responsible"><span class="attribute" id="delegation.responsible">responsible</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.activity"><span class="attribute" id="delegation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.attributes"><span class="attribute" id="delegation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
 
 
-<div class="anexample" id="example_26"><div class="anexampleTitle"><a class="internalDFN" href="#example_26">Example 26</a></div>
+<div class="anexample" id="example_27"><div class="anexampleTitle"><a class="internalDFN" href="#example_27">Example <span class="delete">26</span><span class="insert">27</span></a></div>
 
   <pre class="codeexample">actedOnBehalfOf(del1; ag2, ag1, a, [prov:type="contract"])
   </pre>
@@ -2187,7 +2306,7 @@
 actedOnBehalfOf(ag1, ag2, a)
 actedOnBehalfOf(ag1, ag2, -, [prov:type="delegation"])
 actedOnBehalfOf(ag2, ag3, a, [prov:type="contract"])
-actedOnBehalfOf(r; ag2, ag3, a, [prov:type="contract"])
+<span class="delete">actedOnBehalfOf(r;</span><span class="insert">actedOnBehalfOf(del1;</span> ag2, ag3, a, [prov:type="contract"])
 </pre>
 </div>
 
@@ -2206,25 +2325,25 @@
 <p>The following table summarizes how each constituent of a PROV-DM Influence maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-wasinfluencedby">Influence</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasinfluencedby">Influence</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#influence.id"><span class="attribute" id="influence.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#influence.influencee"><span class="attribute" id="influence.influencee">influencee</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#influence.influencer"><span class="attribute" id="influence.influencer">influencer</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#influence.attributes"><span class="attribute" id="influence.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.id"><span class="attribute" id="influence.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.influencee"><span class="attribute" id="influence.influencee">influencee</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.influencer"><span class="attribute" id="influence.influencer">influencer</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.attributes"><span class="attribute" id="influence.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
 </tbody></table>
 </div>
 
 
-<div class="anexample" id="example_27"><div class="anexampleTitle"><a class="internalDFN" href="#example_27">Example 27</a></div>
-    <pre class="codeexample">wasInfluencedBy(id;e2,e1,[ex:param="a"])
+<div class="anexample" id="example_28"><div class="anexampleTitle"><a class="internalDFN" href="#example_28">Example <span class="delete">27</span><span class="insert">28</span></a></div>
+    <pre class="codeexample"><span class="delete">wasInfluencedBy(id;e2,e1,[ex:param="a"])</span><span class="insert">wasInfluencedBy(infl1;e2,e1,[ex:param="a"])</span>
   </pre>
-<p>  Here
-    <span class="name">id</span> is the optional influence identifier,
+<p>  <span class="delete">Here</span><span class="insert">Here,</span>
+    <span class="name"><span class="delete">id</span><span class="insert">infl1</span></span> is the optional influence identifier,
   <span class="name">e2</span> is an entity identifier,
   <span class="name">e1</span> is the identifier for an ancestor entity that   <span class="name">e2</span> is influenced by,
   and <span class="name">[ex:param="a"]</span> is the optional set of attributes. </p>
@@ -2233,7 +2352,7 @@
 
   <pre class="codeexample">wasInfluencedBy(e2,e1)
 wasInfluencedBy(e2,e1,[ex:param="a"])
-wasInfluencedBy(id; e2,e1)
+<span class="delete">wasInfluencedBy(id;</span><span class="insert">wasInfluencedBy(infl1;</span> e2,e1)
 </pre>
 </div>
 
@@ -2251,31 +2370,29 @@
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-bundle" name="prod-bundle"></a>[<span class="prodNo">23</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">namedBundle</span><span class="insert">bundle</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"bundle" <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> (<span class="prod"><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></span>)? (<span class="prod"><a class="grammarRef" href="#prod-expression">expression</a></span>)* "endBundle"</code></td> </tr> </tbody>
 </table>
 
-<p><span class="delete">Named bundles</span><span class="insert">Bundles</span> cannot be nested because <code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a></code> is not an <code><a class="grammarRef" href="#prod-expression">expression</a></code>, and therefore cannot <span class="delete">occurs</span><span class="insert">occur</span> inside another <code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a></code>.</p>
-
-<p><span class="delete">Named bundles are self-contained: each</span><span class="insert">Each</span> identifier occuring in a<span class="delete"> named</span> bundle, including the bundle identifier itself, <em class="rfc2119" title="must">must</em> be interpreted with respect to the namespace declarations of that <span class="delete">bundle. In other words, for every identifier</span><span class="insert">bundle, or if the identifier's prefix is not declared in the bundle,</span> with <span class="insert">respect to the namespace declaration in the document. </span></p>
+<p><span class="delete">Named bundles</span><span class="insert">Bundles</span> cannot be nested because <span class="insert">a </span><code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a></code> is not an <code><a class="grammarRef" href="#prod-expression">expression</a></code>, and therefore cannot <span class="delete">occurs</span><span class="insert">occur</span> inside another <code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a></code>.</p>
+
+<p><span class="delete">Named bundles are self-contained: each</span><span class="insert">Each</span> identifier occuring in a<span class="delete"> named</span> bundle, including the bundle identifier itself, <em class="rfc2119" title="must">must</em> be interpreted with respect to the namespace declarations of that <span class="delete">bundle. In other words, for every identifier</span><span class="insert">bundle, or if the identifier's prefix is not declared in the bundle,</span> with <span class="insert">respect to the namespace declarations in the document. </span></p>
 
 
 <p><span class="insert">The following table summarizes how each constituent of </span>a <span class="delete">prefix </span><span class="delete">p</span><span class="delete"> within</span><span class="insert">PROV-DM bundle maps to</span> a <span class="delete">named bundle, there </span><span class="delete">must</span><span class="delete"> be a namespace declaration for </span><span class="delete">p</span><span class="delete"> in this named bundled; for every identifier  without prefix, there </span><span class="delete">must</span><span class="delete"> be a default namespace declaration  in this named bundled.</span><span class="insert">PROV-N syntax element.</span></p>
-
-
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-bundle-constructor"><span class="insert">Bundle</span></a></b></td><td><b><span class="insert">Non-Terminal</span></b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-bundle-constructor"><span class="insert">Bundle</span></a></b></td><td><b><span class="insert">Non-Terminal</span></b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#bundle.constructor.id"><span class="attribute" id="bundle.id"><span class="insert">id</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier"><span class="insert">optionalIdentifier</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#bundle.constructor.descriptions"><span class="attribute" id="bundle.descriptions"><span class="insert">descriptions</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-expression"><span class="insert">expression</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#dfn-namespaceDeclaration"><span class="attribute" id="namespaceDeclaration"><span class="insert">namespaceDeclaration</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-namespaceDeclarations"><span class="insert">namespaceDeclarations</span></a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#bundle.constructor.id"><span class="attribute" id="bundle.id"><span class="insert">id</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier"><span class="insert">optionalIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#bundle.constructor.descriptions"><span class="attribute" id="bundle.descriptions"><span class="insert">descriptions</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-expression"><span class="insert">expression</span></a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-namespaceDeclaration"><span class="attribute" id="namespaceDeclaration"><span class="insert">namespaceDeclaration</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-namespaceDeclarations"><span class="insert">namespaceDeclarations</span></a></code></td></tr>
 
 
 </tbody></table>
 </div>
 
 
-<div class="anexample" id="example_28"><div class="anexampleTitle"><a class="internalDFN" href="#example_28">Example 28</a></div>
+<div class="anexample" id="anexample-bundle1"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-bundle1">Example <span class="delete">28</span><span class="insert">29</span></a></div>
     <pre class="codeexample">bundle ex:author-view
   prefix ex  &lt;http://example.org/&gt;
   agent(ex:Paolo,   [ prov:type='prov:Person' ])
@@ -2298,8 +2415,14 @@
 
 <p id="provn-type-Bundle">
 When described, a Bundle <em class="rfc2119" title="must">must</em> be expressed as an
-<code class="content"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code> with attribute <code>prov:type='prov:Bundle'</code>.</p>
-
+ <code class="content"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code> with attribute <code>prov:type='prov:Bundle'</code>.</p>
+
+<div class="anexample" id="example_30"><div class="anexampleTitle"><a class="internalDFN" href="#example_30"><span class="insert">Example 30</span></a></div>
+<p><span class="insert">The bundle of
+</span><a href="#anexample-bundle1" class="anexample-ref"><span><span class="insert">Example 29</span></span></a><span class="insert"> can be referred to as an an entity, and its provenance described.</span></p>
+<pre class="codeexample"><span class="insert">  entity(ex:author-view,   [ prov:type='prov:Bundle' ])
+</span></pre>
+</div>
 </div>
 </div>
 
@@ -2320,19 +2443,19 @@
 <p>The following table summarizes how each constituent of a PROV-DM Alternate maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-alternateof">Alternate</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-alternateof">Alternate</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#alternate.alternate1"><span class="attribute" id="alternate.alternate1">alternate1</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#alternate.alternate2"><span class="attribute" id="alternate.alternate2">alternate2</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#alternate.alternate1"><span class="attribute" id="alternate.alternate1">alternate1</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#alternate.alternate2"><span class="attribute" id="alternate.alternate2">alternate2</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
 
 </tbody></table>
 </div>
 
-<div class="anexample" id="example_29"><div class="anexampleTitle"><a class="internalDFN" href="#example_29">Example 29</a></div>
+<div class="anexample" id="example_31"><div class="anexampleTitle"><a class="internalDFN" href="#example_31">Example <span class="delete">29</span><span class="insert">31</span></a></div>
 <pre class="codeexample">alternateOf(tr:WD-prov-dm-20111215,ex:alternate-20111215)
 </pre>
   Here  <span class="name">tr:WD-prov-dm-20111215</span> is alternate for   <span class="name">ex:alternate-20111215</span>.
@@ -2358,20 +2481,20 @@
 <p>The following table summarizes how each constituent of a PROV-DM Specialization maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-specializationof">Specialization</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-specializationof">Specialization</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#specialization.specificEntity"><span class="attribute" id="specialization.specificEntity">specificEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#specialization.generalEntity"><span class="attribute" id="specialization.generalEntity">generalEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#specialization.specificEntity"><span class="attribute" id="specialization.specificEntity">specificEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#specialization.generalEntity"><span class="attribute" id="specialization.generalEntity">generalEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
 
 </tbody></table>
 </div>
 
 
-<div class="anexample" id="example_30"><div class="anexampleTitle"><a class="internalDFN" href="#example_30">Example 30</a></div>
+<div class="anexample" id="example_32"><div class="anexampleTitle"><a class="internalDFN" href="#example_32">Example <span class="delete">30</span><span class="insert">32</span></a></div>
 <pre class="codeexample">specializationOf(tr:WD-prov-dm-20111215,tr:prov-dm)
 </pre>
     Here  <span class="name">tr:WD-prov-dm-20111215</span> is a specialization of <span class="name">tr:prov-dm</span>.
@@ -2381,53 +2504,61 @@
 
 
 
-<div id="expression-mention" class="section"> 
-<h4><span class="secno">3.5.3 </span>Mention</h4>
-
-<div class="note">
-<p>Note: This feature is "<a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi">at risk</a>" and may be removed from this specification based on feedback. Please send feedback to public-prov-comments@w3.org.</p>
-
-
-<p>The expression Mention might be removed from PROV if implementation experience reveals problems with supporting this construct.</p>
-</div>
-
-
-
-<table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-mentionExpression" name="prod-mentionExpression"></a>[<span class="prodNo">26</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">mentionExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"mentionOf" "(" <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-bIdentifier">bIdentifier</a></span> ")"</code></td> </tr> </tbody>
-</table>
-
-
-<p>The following table summarizes how each constituent of a PROV-DM Mention maps to a PROV-N syntax element.</p>
-<div style="text-align: left; ">
-<table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-mentionof">Mention</a></b></td><td><b>Non-Terminal</b></td></tr>
-<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#mention.specificEntity"><span class="attribute" id="mention.specificEntity">specificEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#mention.generalEntity"><span class="attribute" id="mention.generalEntity">generalEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#mention.bundle"><span class="attribute" id="mention.bundle">bundle</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-bIdentifier">bIdentifier</a></code></td></tr>
-
-</tbody></table>
-</div>
-
-
-<div class="anexample" id="example_31"><div class="anexampleTitle"><a class="internalDFN" href="#example_31">Example 31</a></div>
-<pre class="codeexample">  mention(ex:report1_as_in_b1, ex:report1, ex:b1)   
-</pre>
-<p>  Here
-  <span class="name">ex:report1_as_in_b1</span> is an entity identifier,
-  <span class="name">ex:report1</span> is an entity identifier,
-  <span class="name">ex:b1</span> is the identifier for a bundle
-</p></div>
-
-
-
-</div>
+ 
+<span class="delete">3.5.3 </span><span class="delete">Mention</span>
+
+
+<span class="delete">Note: This feature is "</span><span class="delete">at risk</span><span class="delete">" and may be removed from this specification based on feedback. Please send feedback to public-prov-comments@w3.org.</span>
+
+
+<span class="delete">The expression Mention might be removed from PROV if implementation experience reveals problems with supporting this construct.</span>
+
+
+
+
+
+  <span class="delete">[</span><span class="delete">26</span><span class="delete">]&nbsp;&nbsp;&nbsp;</span> <span class="delete">mentionExpression</span> <span class="delete">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span> <span class="delete">"mentionOf" "(" </span><span class="delete">eIdentifier</span><span class="delete"> "," </span><span class="delete">eIdentifier</span><span class="delete"> "," </span><span class="delete">bIdentifier</span><span class="delete"> ")"</span>  
+
+
+
+<span class="delete">The following table summarizes how each constituent of a PROV-DM Mention maps to a PROV-N syntax element.</span>
+
+
+<span class="delete">Mention</span><span class="delete">Non-Terminal</span>
+
+
+
+<span class="delete">specificEntity</span><span class="delete">eIdentifier</span>
+
+
+<span class="delete">generalEntity</span><span class="delete">eIdentifier</span>
+
+<span class="delete">bundle</span><span class="delete">bIdentifier</span>
+
+
+
+
+
+<span class="delete">Example 31</span>
+<span class="delete">  mention(ex:report1_as_in_b1, ex:report1, ex:b1)   
+</span>
+<span class="delete">  Here
+  </span><span class="delete">ex:report1_as_in_b1</span><span class="delete"> is an entity identifier,
+  </span><span class="delete">ex:report1</span><span class="delete"> is an entity identifier,
+  </span><span class="delete">ex:b1</span><span class="delete"> is the identifier for a bundle
+</span>
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 
@@ -2449,6 +2580,15 @@
 <code class="content"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code> with attribute 
 <span id="provn-type-Collection"><code>prov:type='prov:Collection'</code></span>, or
 <span id="provn-type-EmptyCollection"><code>prov:type='prov:EmptyCollection'</code></span>, respectively.</p>
+
+
+
+<div class="anexample" id="example_33"><div class="anexampleTitle"><a class="internalDFN" href="#example_33"><span class="insert">Example 33</span></a></div>
+<p><span class="insert">The  following two expressions are about a collection and an empty collection, respectively.
+</span></p><pre class="codeexample"><span class="insert">  entity(ex:col1,   [ prov:type='prov:Collection' ])
+  entity(ex:col2,   [ prov:type='prov:EmptyCollection' ])
+</span></pre>
+</div>
 </div>
 
 
@@ -2458,20 +2598,20 @@
 
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-membershipExpression" name="prod-membershipExpression"></a>[<span class="prodNo">27</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">membershipExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"hadMember" "(" <span class="prod"><a class="grammarRef" href="#prod-cIdentifier">cIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ")"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-membershipExpression" name="prod-membershipExpression"></a>[<span class="prodNo"><span class="delete">27</span><span class="insert">26</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">membershipExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"hadMember" "(" <span class="prod"><a class="grammarRef" href="#prod-cIdentifier">cIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ")"</code></td> </tr> </tbody>
 </table>
 
 
 <p>The following table summarizes how each constituent of a PROV-DM Membership maps to a PROV-N syntax element.</p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><a href="http://www.w3.org/TR/prov-dm/#dfn-hadmember">Membership</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-hadmember">Membership</a></b></td><td><b>Non-Terminal</b></td></tr>
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#membership.collection"><span class="attribute" id="membership.collection">collection</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-cIdentifier">cIdentifier</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#membership.entity"><span class="attribute" id="membership.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#membership.collection"><span class="attribute" id="membership.collection">collection</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-cIdentifier">cIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#membership.entity"><span class="attribute" id="membership.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
 
 
 
@@ -2481,7 +2621,7 @@
 
 
 
-<div class="anexample" id="example_32"><div class="anexampleTitle"><a class="internalDFN" href="#example_32">Example 32</a></div>
+<div class="anexample" id="example_34"><div class="anexampleTitle"><a class="internalDFN" href="#example_34">Example <span class="delete">32</span><span class="insert">34</span></a></div>
     <pre class="codeexample">   hadMember(c, e1)   // c contained e1
    hadMember(c, e2)   // c contained e2 
   </pre>
@@ -2519,20 +2659,24 @@
 <p>Various kinds of identifiers are used in productions.</p>
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-eIdentifier" name="prod-eIdentifier"></a>[<span class="prodNo">28</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">eIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-aIdentifier" name="prod-aIdentifier"></a>[<span class="prodNo">29</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">aIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agIdentifier" name="prod-agIdentifier"></a>[<span class="prodNo">30</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">agIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifier" name="prod-gIdentifier"></a>[<span class="prodNo">31</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">gIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifier" name="prod-uIdentifier"></a>[<span class="prodNo">32</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">uIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-cIdentifier" name="prod-cIdentifier"></a>[<span class="prodNo">33</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">cIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-bIdentifier" name="prod-bIdentifier"></a>[<span class="prodNo">34</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">bIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
-
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-eIdentifierOrMarker" name="prod-eIdentifierOrMarker"></a>[<span class="prodNo">35</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">eIdentifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> | "-" )</code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-aIdentifierOrMarker" name="prod-aIdentifierOrMarker"></a>[<span class="prodNo">36</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">aIdentifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> | "-" )</code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agIdentifierOrMarker" name="prod-agIdentifierOrMarker"></a>[<span class="prodNo">37</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">agIdentifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></span> | "-" )</code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifierOrMarker" name="prod-gIdentifierOrMarker"></a>[<span class="prodNo">38</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">gIdentifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-gIdentifier">gIdentifier</a></span> | "-" )</code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifierOrMarker" name="prod-uIdentifierOrMarker"></a>[<span class="prodNo">39</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">uIdentifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-uIdentifier">uIdentifier</a></span> | "-" )</code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-identifier" name="prod-identifier"></a>[<span class="prodNo">40</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">identifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-eIdentifier" name="prod-eIdentifier"></a>[<span class="prodNo"><span class="delete">28</span><span class="insert">27</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">eIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-aIdentifier" name="prod-aIdentifier"></a>[<span class="prodNo"><span class="delete">29</span><span class="insert">28</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">aIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agIdentifier" name="prod-agIdentifier"></a>[<span class="prodNo"><span class="delete">30</span><span class="insert">29</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">agIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifier" name="prod-gIdentifier"></a>[<span class="prodNo"><span class="delete">31</span><span class="insert">30</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">gIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifier" name="prod-uIdentifier"></a>[<span class="prodNo"><span class="delete">32</span><span class="insert">31</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">uIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-cIdentifier" name="prod-cIdentifier"></a>[<span class="prodNo"><span class="delete">33</span><span class="insert">32</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">cIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-eIdentifierOrMarker" name="prod-eIdentifierOrMarker"></a><span class="insert">[</span><span class="prodNo"><span class="insert">33</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">eIdentifierOrMarker</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">( </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-aIdentifierOrMarker" name="prod-aIdentifierOrMarker"></a>[<span class="prodNo">34</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">bIdentifier</span><span class="insert">aIdentifierOrMarker</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="insert">( </span><span class="prod"><span class="delete">identifier</span><a class="grammarRef" href="#prod-aIdentifier"><span class="insert">aIdentifier</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
+
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agIdentifierOrMarker" name="prod-agIdentifierOrMarker"></a>[<span class="prodNo">35</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">eIdentifierOrMarker</span><span class="insert">agIdentifierOrMarker</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><span class="delete">eIdentifier</span><a class="grammarRef" href="#prod-agIdentifier"><span class="insert">agIdentifier</span></a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifierOrMarker" name="prod-gIdentifierOrMarker"></a>[<span class="prodNo">36</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">aIdentifierOrMarker</span><span class="insert">gIdentifierOrMarker</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><span class="delete">aIdentifier</span><a class="grammarRef" href="#prod-gIdentifier"><span class="insert">gIdentifier</span></a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifierOrMarker" name="prod-uIdentifierOrMarker"></a>[<span class="prodNo">37</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">agIdentifierOrMarker</span><span class="insert">uIdentifierOrMarker</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><span class="delete">agIdentifier</span><a class="grammarRef" href="#prod-uIdentifier"><span class="insert">uIdentifier</span></a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-identifier" name="prod-identifier"></a>[<span class="prodNo">38<span class="delete">]&nbsp;&nbsp;&nbsp;</span> <span class="delete">gIdentifierOrMarker</span> <span class="delete">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span> <span class="delete">( </span><span class="delete">gIdentifier</span><span class="delete"> | "-" )</span>  
+  <span class="delete">[</span><span class="delete">39</span><span class="delete">]&nbsp;&nbsp;&nbsp;</span> <span class="delete">uIdentifierOrMarker</span> <span class="delete">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span> <span class="delete">( </span><span class="delete">uIdentifier</span><span class="delete"> | "-" )</span>  
+  <span class="delete">[</span><span class="delete">40</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">identifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
 </table>
 
 
@@ -2570,6 +2714,7 @@
 ':' (colon),
 ';' (semi-colon),   
 '"' (double quote),
+  
 '[' (left square bracket),
 ']' (right square bracket) are used by the PROV notation as delimiters, they are not allowed in local parts. 
 Instead, among those characters, those that are permitted in SPARQL
@@ -2581,18 +2726,18 @@
 
  
 <table class="grammar">
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-QUALIFIED_NAME" name="prod-QUALIFIED_NAME"></a>[<span class="prodNo"><span class="delete">61</span><span class="insert">54</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">QUALIFIED_NAME</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> ":" )? <span class="prod"><a class="grammarRef" href="#prod-PN_LOCAL">PN_LOCAL</a></span><br> | <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> ":"</code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_LOCAL" name="prod-PN_LOCAL"></a>[<span class="prodNo"><span class="delete">62</span><span class="insert">55</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_LOCAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS_U">PN_CHARS_U</a></span> | [0-9] | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> ) ( ( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS">PN_CHARS</a></span> | "." | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> )* ( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS">PN_CHARS</a></span> | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> ) )?</code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_CHARS_OTHERS" name="prod-PN_CHARS_OTHERS"></a>[<span class="prodNo"><span class="delete">63</span><span class="insert">56</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_CHARS_OTHERS</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"/"<br> | "@"<br> | "~"<br> | "&amp;"<br> | "+"<br> | "*"<br> | "?"<br> | "#"<br> | "$"<br> | "!"<br> | <span class="prod"><a class="grammarRef" href="#prod-PERCENT">PERCENT</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_ESC">PN_CHARS_ESC</a></span></code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_CHARS_ESC" name="prod-PN_CHARS_ESC"></a>[<span class="prodNo"><span class="delete">64</span><span class="insert">57</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_CHARS_ESC</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"\" ( "=" | "'" | "(" | ")" | "," | "-" | ":" | ";" | "[" | "]" | "." )</code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PERCENT" name="prod-PERCENT"></a>[<span class="prodNo"><span class="delete">65</span><span class="insert">58</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PERCENT</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"%" <span class="prod"><a class="grammarRef" href="#prod-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-HEX">HEX</a></span></code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-HEX" name="prod-HEX"></a>[<span class="prodNo"><span class="delete">66</span><span class="insert">59</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">HEX</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">[0-9]<br> | [A-F]<br> | [a-f]</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-QUALIFIED_NAME" name="prod-QUALIFIED_NAME"></a>[<span class="prodNo"><span class="delete">61</span><span class="insert">52</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">QUALIFIED_NAME</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> ":" )? <span class="prod"><a class="grammarRef" href="#prod-PN_LOCAL">PN_LOCAL</a></span><br> | <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> ":"</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_LOCAL" name="prod-PN_LOCAL"></a>[<span class="prodNo"><span class="delete">62</span><span class="insert">53</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_LOCAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS_U">PN_CHARS_U</a></span> | [0-9] | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> ) ( ( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS">PN_CHARS</a></span> | "." | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> )* ( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS">PN_CHARS</a></span> | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> ) )?</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_CHARS_OTHERS" name="prod-PN_CHARS_OTHERS"></a>[<span class="prodNo"><span class="delete">63</span><span class="insert">54</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_CHARS_OTHERS</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"/"<br> | "@"<br> | "~"<br> | "&amp;"<br> | "+"<br> | "*"<br> | "?"<br> | "#"<br> | "$"<br> | "!"<br> | <span class="prod"><a class="grammarRef" href="#prod-PERCENT">PERCENT</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_ESC">PN_CHARS_ESC</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_CHARS_ESC" name="prod-PN_CHARS_ESC"></a>[<span class="prodNo"><span class="delete">64</span><span class="insert">55</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_CHARS_ESC</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"\" ( "=" | "'" | "(" | ")" | "," | "-" | ":" | ";" | "[" | "]" | "." )</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PERCENT" name="prod-PERCENT"></a>[<span class="prodNo"><span class="delete">65</span><span class="insert">56</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PERCENT</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"%" <span class="prod"><a class="grammarRef" href="#prod-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-HEX">HEX</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-HEX" name="prod-HEX"></a>[<span class="prodNo"><span class="delete">66</span><span class="insert">57</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">HEX</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">[0-9]<br> | [A-F]<br> | [a-f]</code></td> </tr> </tbody>
 
 </table>
 
 
 
-<div class="anexample" id="anexample-qualified-name"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name">Example 33</a></div>
+<div class="anexample" id="anexample-qualified-name"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name">Example <span class="delete">33</span><span class="insert">35</span></a></div>
 <p>Examples of articles on the BBC Web site seen as  entities.</p>
 <pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
   prefix bbc &lt;http://www.bbc.co.uk/&gt;
@@ -2609,7 +2754,7 @@
 </div>
 
 
-<div class="anexample" id="anexample-qualified-name2"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name2">Example 34</a></div>
+<div class="anexample" id="anexample-qualified-name2"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name2">Example <span class="delete">34</span><span class="insert">36</span></a></div>
 <p>Examples of entities with declared and default namespace.</p>
 <pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
   default &lt;http://example.org/2/&gt;
@@ -2628,7 +2773,7 @@
 </div>
 
 
-<div class="anexample" id="anexample-qualified-name3"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name3">Example 35</a></div>
+<div class="anexample" id="anexample-qualified-name3"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name3">Example <span class="delete">35</span><span class="insert">37</span></a></div>
 <p>Examples of \-escaped characters.</p>
 <pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
   prefix ex &lt;http://example.org/&gt;
@@ -2661,20 +2806,20 @@
 
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attribute" name="prod-attribute"></a>[<span class="prodNo">41</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">attribute</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attribute" name="prod-attribute"></a>[<span class="prodNo"><span class="delete">41</span><span class="insert">39</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">attribute</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
 </table>
 
 
 <p>The  reserved attributes in the PROV namespace are the following.
-Their meaning is explained by [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] (see <a href="http://www.w3.org/TR/prov-dm/#term-attribute">Section 5.7.2: Attribute</a>).
+Their meaning is explained by [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] (see <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute">Section 5.7.2: Attribute</a>).
 </p>
 
 <ol>
-<li>  <span class="name">prov:label</span>
-</li><li>  <span class="name">prov:location</span>
-</li><li>  <span class="name">prov:role</span>
-</li><li>  <span class="name">prov:type</span>
-</li><li>  <span class="name">prov:value</span>
+<li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-label"><span class="name">prov:label</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-location"><span class="name">prov:location</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-role"><span class="name">prov:role</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-type"><span class="name">prov:type</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-value"><span class="name">prov:value</span></a>
 </li></ol>
 
 
@@ -2690,18 +2835,18 @@
 
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-literal" name="prod-literal"></a>[<span class="prodNo">42</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">literal</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-typedLiteral">typedLiteral</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-convenienceNotation">convenienceNotation</a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-typedLiteral" name="prod-typedLiteral"></a>[<span class="prodNo">43</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">typedLiteral</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></span> "%%" <span class="prod"><a class="grammarRef" href="#prod-datatype">datatype</a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-datatype" name="prod-datatype"></a>[<span class="prodNo">44</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">datatype</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
-
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-convenienceNotation" name="prod-convenienceNotation"></a>[<span class="prodNo">45</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">convenienceNotation</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></span> (<span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rLANGTAG">LANGTAG</a></span>)?<br> | <span class="prod"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME_LITERAL">QUALIFIED_NAME_LITERAL</a></span></code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-STRING_LITERAL" name="prod-STRING_LITERAL"></a>[<span class="prodNo"><span class="delete">67</span><span class="insert">60</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">STRING_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL2">STRING_LITERAL2</a></span><br> | <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL_LONG2">STRING_LITERAL_LONG2</a></span></code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-INT_LITERAL" name="prod-INT_LITERAL"></a>[<span class="prodNo"><span class="delete">69</span><span class="insert">62</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">INT_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">("-")? (<span class="prod"><a class="grammarRef" href="#prod-DIGIT">DIGIT</a></span>)+</code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-DIGIT" name="prod-DIGIT"></a>[<span class="prodNo"><span class="delete">71</span><span class="insert">64</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">DIGIT</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">[0-9]</code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-QUALIFIED_NAME_LITERAL" name="prod-QUALIFIED_NAME_LITERAL"></a>[<span class="prodNo"><span class="delete">70</span><span class="insert">63</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">QUALIFIED_NAME_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"'" <span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span> "'"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-literal" name="prod-literal"></a>[<span class="prodNo"><span class="delete">42</span><span class="insert">40</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">literal</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-typedLiteral">typedLiteral</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-convenienceNotation">convenienceNotation</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-typedLiteral" name="prod-typedLiteral"></a>[<span class="prodNo"><span class="delete">43</span><span class="insert">41</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">typedLiteral</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></span> "%%" <span class="prod"><a class="grammarRef" href="#prod-datatype">datatype</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-datatype" name="prod-datatype"></a>[<span class="prodNo"><span class="delete">44</span><span class="insert">42</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">datatype</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-convenienceNotation" name="prod-convenienceNotation"></a>[<span class="prodNo"><span class="delete">45</span><span class="insert">43</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">convenienceNotation</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></span> (<span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rLANGTAG">LANGTAG</a></span>)?<br> | <span class="prod"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME_LITERAL">QUALIFIED_NAME_LITERAL</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-STRING_LITERAL" name="prod-STRING_LITERAL"></a>[<span class="prodNo"><span class="delete">67</span><span class="insert">58</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">STRING_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL2">STRING_LITERAL2</a></span><br> | <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL_LONG2">STRING_LITERAL_LONG2</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-INT_LITERAL" name="prod-INT_LITERAL"></a>[<span class="prodNo"><span class="delete">69</span><span class="insert">60</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">INT_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">("-")? (<span class="prod"><a class="grammarRef" href="#prod-DIGIT">DIGIT</a></span>)+</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-DIGIT" name="prod-DIGIT"></a>[<span class="prodNo"><span class="delete">71</span><span class="insert">62</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">DIGIT</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">[0-9]</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-QUALIFIED_NAME_LITERAL" name="prod-QUALIFIED_NAME_LITERAL"></a>[<span class="prodNo"><span class="delete">70</span><span class="insert">61</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">QUALIFIED_NAME_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"'" <span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span> "'"</code></td> </tr> </tbody>
 </table>
 
-<p>In production <code class="content"><a class="grammarRef" href="#prod-datatype">datatype</a></code>, the <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> is used to denote a <a href="http://www.w3.org/TR/prov-dm/#term-value">PROV data type</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>].
+<p>In production <code class="content"><a class="grammarRef" href="#prod-datatype">datatype</a></code>, the <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> is used to denote a <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-value">PROV data type</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>].
 
 
 </p><p>The non terminals
@@ -2725,7 +2870,7 @@
 <code class="content"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></code>. 
 </p>
 
-<div class="anexample" id="anexample-convenience"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-convenience">Example 36</a></div>
+<div class="anexample" id="anexample-convenience"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-convenience">Example <span class="delete">36</span><span class="insert">38</span></a></div>
 <p>
 The following examples illustrate convenience notations.</p>
 
@@ -2748,14 +2893,19 @@
 </pre>
 </div>
 
-<div class="anexample" id="anexample-value"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-value">Example 37</a></div>
+<div class="anexample" id="anexample-value"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-value">Example <span class="delete">37</span><span class="insert">39</span></a></div>
 <p>
 The following examples respectively are the string "abc", the string (in French) "bonjour", the integer number 1, and the IRI "http://example.org/foo".
-</p><pre class="codeexample">  "abc"
+</p>
+<pre class="codeexample">  "abc"
   "bonjour"@fr
   "1" %% xsd:integer
   "http://example.org/foo" %% xsd:anyURI
 </pre>
+<p><span class="insert">The following examples respectively are the floating point number 1.01 and the boolean true.</span></p>
+<pre class="codeexample"><span class="insert">  "1.01" %% xsd:float
+  "true" %% xsd:boolean
+</span></pre>
 </div>
 
 
@@ -2764,23 +2914,23 @@
 <h5><span class="secno">3.7.3.1 </span>Reserved Type Values</h5>
 
 <p>The  reserved type values in the PROV namespace are the following.
-Their meaning is defined [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] (see <a href="http://www.w3.org/TR/prov-dm/#term-attribute-type">Section 5.7.2.4: prov:type</a>).
+Their meaning is defined [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] (see <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-type">Section 5.7.2.4: prov:type</a>).
 </p>
 
 <ol>
-<li>  <span class="name">prov:Bundle</span>
-</li><li>  <span class="name">prov:Collection</span>
-</li><li>  <span class="name">prov:EmptyCollection</span>
-</li><li>  <span class="name">prov:Organization</span>
-</li><li>  <span class="name">prov:Person</span>
-</li><li>  <span class="name">prov:Plan</span>
-</li><li>  <span class="name">prov:PrimarySource</span>
-</li><li>  <span class="name">prov:Quotation</span>
-</li><li>  <span class="name">prov:Revision</span>
-</li><li>  <span class="name">prov:SoftwareAgent</span>
+<li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-bundle-entity"><span class="name">prov:Bundle</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-collection"><span class="name">prov:Collection</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-empty-collection"><span class="name">prov:EmptyCollection</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-organization"><span class="name">prov:Organization</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-person"><span class="name">prov:Person</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-plan"><span class="name">prov:Plan</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-primary-source"><span class="name">prov:PrimarySource</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-quotation"><span class="name">prov:Quotation</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-revision"><span class="name">prov:Revision</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-software-agent"><span class="name">prov:SoftwareAgent</span></a>
 </li></ol>
 
-<div class="anexample" id="anexample-types"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-types">Example 38</a></div>
+<div class="anexample" id="anexample-types"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-types">Example <span class="delete">38</span><span class="insert">40</span></a></div>
 <p>The agent <span class="name">ag</span> is a person (type: <span class="name">prov:Person</span>), whereas the entity 
 <span class="name">pl</span> is a plan (type: <span class="name">prov:Plan</span>).</p>
 <pre class="codeexample">agent(ag,  [ prov:type='prov:Person' ])
@@ -2797,11 +2947,11 @@
 <p><dfn id="dfn-time">Time instants</dfn> are defined according to xsd:dateTime [<cite><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA11-2">XMLSCHEMA11-2</a></cite>].</p> 
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-time" name="prod-time"></a>[<span class="prodNo">46</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">time</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/xmlschema11-2/#nt-dateTimeRep">DATETIME</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-time" name="prod-time"></a>[<span class="prodNo"><span class="delete">46</span><span class="insert">44</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">time</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/xmlschema11-2/#nt-dateTimeRep">DATETIME</a></span></code></td> </tr> </tbody>
 </table>
 
 
-<div class="anexample" id="anexample-time"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-time">Example 39</a></div>
+<div class="anexample" id="anexample-time"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-time">Example <span class="delete">39</span><span class="insert">41</span></a></div>
 
 <p>The third argument in the following usage expression is a time instance, namely 4pm on 2011-11-16.</p>
 <pre class="codeexample">used(ex:act2, ar3:0111, 2011-11-16T16:00:00)
@@ -2826,10 +2976,10 @@
 
 <table class="grammar">
 
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclarations" name="prod-namespaceDeclarations"></a>[<span class="prodNo">47</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespaceDeclarations</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-defaultNamespaceDeclaration">defaultNamespaceDeclaration</a></span> | <span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></span> ) (<span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></span>)*</code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclaration" name="prod-namespaceDeclaration"></a>[<span class="prodNo">48</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespaceDeclaration</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"prefix" <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> <span class="prod"><a class="grammarRef" href="#prod-namespace">namespace</a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-defaultNamespaceDeclaration" name="prod-defaultNamespaceDeclaration"></a>[<span class="prodNo">49</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">defaultNamespaceDeclaration</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"default" <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespace" name="prod-namespace"></a>[<span class="prodNo">50</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespace</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclarations" name="prod-namespaceDeclarations"></a>[<span class="prodNo"><span class="delete">47</span><span class="insert">45</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespaceDeclarations</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-defaultNamespaceDeclaration">defaultNamespaceDeclaration</a></span> | <span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></span> ) (<span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></span>)*</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclaration" name="prod-namespaceDeclaration"></a>[<span class="prodNo"><span class="delete">48</span><span class="insert">46</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespaceDeclaration</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"prefix" <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> <span class="prod"><a class="grammarRef" href="#prod-namespace">namespace</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-defaultNamespaceDeclaration" name="prod-defaultNamespaceDeclaration"></a>[<span class="prodNo"><span class="delete">49</span><span class="insert">47</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">defaultNamespaceDeclaration</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"default" <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespace" name="prod-namespace"></a>[<span class="prodNo"><span class="delete">50</span><span class="insert">48</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespace</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></span></code></td> </tr> </tbody>
 
 </table>
 
@@ -2841,7 +2991,7 @@
 <span class="delete">
 the scope of a namespace</span><span class="insert">prefix-namespace</span> declaration directly occurring in a <code><a class="grammarRef" href="#prod-bundle"><span class="delete">toplevel </span>bundle</a></code> is the <code><a class="grammarRef" href="#prod-bundle"><span class="delete">toplevel </span>bundle</a></code> <span class="delete">itself, except and</span><span class="insert">itself.</span></li>
 <li><span class="insert">
-The scope of a prefix-namespace declaration directly occurring in a</span> <code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code><span class="insert"> is the </span><code><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code><span class="insert"> including the </span><code><a class="grammarRef" href="#prod-bundle"><span class="insert">bundles</span></a></code> it <span class="delete">may contain.</span><span class="insert">contains but excluding those </span><code><a class="grammarRef" href="#prod-bundle"><span class="insert">bundles</span></a></code><span class="insert"> that redeclare this prefix-namespace pair.</span></li>
+The scope of a prefix-namespace declaration directly occurring in a</span> <code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code><span class="insert"> is the </span><code><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code><span class="insert"> including the </span><code><a class="grammarRef" href="#prod-bundle"><span class="insert">bundles</span></a></code> it <span class="delete">may contain.</span><span class="insert">contains but excluding those </span><code><a class="grammarRef" href="#prod-bundle"><span class="insert">bundles</span></a></code><span class="insert"> that redeclare this prefix.</span></li>
 </ul>
 
 <p>A set of namespace declarations <code><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></code> <em class="rfc2119" title="must not">must not</em> re-declare the same prefix.</p>
@@ -2852,7 +3002,7 @@
 
 
 
-<div class="anexample" id="anexample-namespace"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace">Example 40</a></div>
+<div class="anexample" id="anexample-namespace"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace">Example <span class="delete">40</span><span class="insert">42</span></a></div>
 <p>The following example declares three namespaces, one default, and two with explicit prefixes <span class="name">ex1</span> and <span class="name">ex2</span>.</p>
 <pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
   default &lt;http://example.org/0/&gt;
@@ -2864,14 +3014,14 @@
 </div>
 
 
-<div class="anexample" id="anexample-namespace-scope"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace-scope">Example 41</a></div>
+<div class="anexample" id="anexample-namespace-scope"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace-scope">Example <span class="delete">41</span><span class="insert">43</span></a></div>
 <p>In the following example, a <span class="delete">toplevel bundle</span><span class="insert">document</span> declares a default namespace and the occurrence of
 <code>e001</code> directly occurring in the <span class="delete">toplevel</span><span class="insert">document refers to that namespace.
 A nested</span> bundle <span class="delete">refers to</span><span class="insert">also declares a default namespace, but with a different IRI.
 In</span> that<span class="delete"> namespace.
 A nested named bundle also declares a default namespace, but with a different IRI.
 In that named </span>  bundle, the occurrences of
-<code>e001</code>, including for the bundle name, refer to the latest default namespace.</p>
+<code>e001</code>, including <span class="delete">for </span>the bundle name, refer to the latest default namespace.</p>
 <pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
   default &lt;http://example.org/1/&gt;
   entity(e001)                             // IRI: http://example.org/1/e001
@@ -2885,7 +3035,7 @@
 </div>
 
 
-<div class="anexample" id="anexample-namespace-scope2"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace-scope2"><span class="insert">Example 42</span></a></div>
+<div class="anexample" id="anexample-namespace-scope2"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace-scope2"><span class="insert">Example 44</span></a></div>
 <p><span class="insert">In the following example, a document declares a namespace with prefix </span><code><span class="insert">ex</span></code><span class="insert"> and the occurrence of
 </span><code><span class="insert">ex:e001</span></code><span class="insert"> directly occurring in the document refers to that namespace.
 In a nested bundle, the occurrence of
@@ -2926,34 +3076,34 @@
 <tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
 <tr><td><a class="grammarRef" href="#prod-generationExpression">Generation expression</a></td>
     <td><span class="name">wasGeneratedBy(e2, -, -)</span><br><span class="name">wasGeneratedBy(-; e2, -, -)</span></td>
-    <td>At least one  of <a href="http://www.w3.org/TR/prov-dm/#generation.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/prov-dm/#generation.activity"><span class="attribute">activity</span></a>, <a href="http://www.w3.org/TR/prov-dm/#generation.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/prov-dm/#generation.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present.</td>  
+    <td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.activity"><span class="attribute">activity</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present.</td>  
 </tr>
 <tr><td><a class="grammarRef" href="#prod-usageExpression">Usage expression</a></td>
 <td><span class="name">used(a2, -, -)</span><br><span class="name">used(-; a2, -, -)</span></td>
-<td>At least one  of <a href="http://www.w3.org/TR/prov-dm/#usage.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/prov-dm/#usage.entity"><span class="attribute">entity</span></a>, <a href="http://www.w3.org/TR/prov-dm/#usage.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/prov-dm/#usage.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.entity"><span class="attribute">entity</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
 </tr>
 <tr>
 <td><a class="grammarRef" href="#prod-startExpression">Start expression</a></td>
 <td> <span class="name">wasStartedBy(e2, -, -, -)</span><br><span class="name">wasStartedBy(-; e2, -, -, -)</span></td>
-<td>At least one  of <a href="http://www.w3.org/TR/prov-dm/#start.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/prov-dm/#start.trigger"><span class="attribute">trigger</span></a>, <a href="http://www.w3.org/TR/prov-dm/#start.starter"><span class="attribute">starter</span></a>, <a href="http://www.w3.org/TR/prov-dm/#start.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/prov-dm/#start.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.trigger"><span class="attribute">trigger</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.starter"><span class="attribute">starter</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
 </tr>
 
 <tr>
 <td><a class="grammarRef" href="#prod-endExpression">End expression</a></td>
 <td><span class="name">wasEndedBy(e2, -, -, -)</span><br><span class="name">wasEndedBy(-; e2, -, -, -)</span></td>
-<td>At least one  of <a href="http://www.w3.org/TR/prov-dm/#end.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/prov-dm/#end.trigger"><span class="attribute">trigger</span></a>, <a href="http://www.w3.org/TR/prov-dm/#end.ender"><span class="attribute">ender</span></a>, <a href="http://www.w3.org/TR/prov-dm/#end.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/prov-dm/#end.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.trigger"><span class="attribute">trigger</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.ender"><span class="attribute">ender</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
 </tr>
 
 <tr>
 <td><a class="grammarRef" href="#prod-invalidationExpression">Invalidation expression</a></td>
 <td><span class="name">wasInvalidatedBy(e2, -, -)</span>  <br><span class="name">wasInvalidatedBy(-; e2, -, -)</span></td>
-<td>At least one  of <a href="http://www.w3.org/TR/prov-dm/#invalidation.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/prov-dm/#invalidation.activity"><span class="attribute">activity</span></a>, <a href="http://www.w3.org/TR/prov-dm/#invalidation.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/prov-dm/#invalidation.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.activity"><span class="attribute">activity</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
 </tr>
 
 <tr>
 <td><a class="grammarRef" href="#prod-associationExpression">Association expression</a></td>
 <td><span class="name">wasAssociatedWith(a, -, -)</span> <br><span class="name">wasAssociatedWith(-; a, -, -)</span></td>
-<td>At least one of <a href="http://www.w3.org/TR/prov-dm/#association.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/prov-dm/#association.agent"><span class="attribute">agent</span></a>,  <a href="http://www.w3.org/TR/prov-dm/#association.plan"><span class="attribute">plan</span></a>, and  <a href="http://www.w3.org/TR/prov-dm/#association.attributes"><span class="attribute">attributes</span></a>  <em class="rfc2119" title="must">must</em> be present</td>
+<td>At least one of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.agent"><span class="attribute">agent</span></a>,  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.plan"><span class="attribute">plan</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.attributes"><span class="attribute">attributes</span></a>  <em class="rfc2119" title="must">must</em> be present</td>
 </tr>
 
 </tbody></table>
@@ -2989,25 +3139,25 @@
 
 <p>A <span class="delete">toplevel bundle</span><span class="insert">document</span> contains:
 </p><ul>
-<li><em>namespaceDeclarations</em>: a set of namespace declarations <code><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></code>, declaring namespaces and associated prefixes, which can be used in <a title="attribute">attributes</a> and  <a title="identifier">identifiers</a> occurring inside  <span class="name">exprs</span>;</li>
-<li><em>expressions</em>:  a set of expressions matching <code><a class="grammarRef" href="#prod-expression">expression</a></code>;</li>
-<li><em><span class="delete">namedBundles</span><span class="insert">bundles</span></em>:  a  set of
+<li><em>namespaceDeclarations</em>: a set of namespace declarations <code><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></code>, declaring namespaces and associated prefixes, which can be used in <a title="attribute">attributes</a> and  <a title="identifier">identifiers</a> occurring inside  <span class="delete">exprs</span><em><span class="insert">expressions</span></em><span class="insert"> or </span><em><span class="insert">bundles</span></em>;</li>
+<li><em>expressions</em>:  a set of <span class="delete">expressions</span><span class="insert">expressions, each</span> matching <code><a class="grammarRef" href="#prod-expression">expression</a></code>;</li>
+<li><em><span class="delete">namedBundles</span><span class="insert">bundles</span></em>:  a  set of<span class="insert"> expressions, each matching</span>
 <code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a></code>.</li>
 </ul>
 
 
-<p>Thus, <span class="delete">named </span>bundles <span class="delete">can occur inside a toplevel bundle. 
-Named bundles are self-contained: each identifier occuring in a named bundle, including the named bundle's identifier itself, </span><span class="delete">must</span><span class="delete"> be interpreted with respect to the namespace declarations of that named bundle. In other words, named bundles </span><span class="delete">should</span><span class="delete"> not inherit namespaces declarations from the toplevel bundle.
-</span>
-
-
-
-<span class="delete">Example 42</span>
-<span class="delete">
-The following bundle contains expressions related to the provenance of entity 
-</span><span class="delete">e2</span><span class="delete">.
-</span>
-<span class="delete">bundle
+<p>Thus, <span class="delete">named </span>bundles <span class="delete">can</span><em class="rfc2119" title="may"><span class="insert">may</span></em> occur inside a <span class="delete">toplevel bundle. 
+Named bundles are self-contained: each identifier occuring in a named bundle, including the named bundle's identifier itself, </span><span class="delete">must</span><span class="delete"> be interpreted with respect to the namespace declarations of that named bundle. In</span><span class="insert">document, but do not appear inside</span> other <span class="delete">words, named bundles </span><span class="delete">should</span><span class="delete"> not inherit namespaces declarations from the toplevel bundle.</span><span class="insert">bundles.</span>
+</p>
+
+
+
+<div class="anexample" id="example_45"><div class="anexampleTitle"><a class="internalDFN" href="#example_45">Example <span class="delete">42</span><span class="insert">45</span></a></div>
+<p>
+The following <span class="delete">bundle</span><span class="insert">document</span> contains expressions related to the provenance of entity 
+<span class="name">e2</span>.
+</p>
+<pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
   default &lt;http://anotherexample.org/&gt;
   prefix ex &lt;http://example.org/&gt;
 
@@ -3018,64 +3168,10 @@
   wasAssociatedWith(a1, ag2, -, [prov:role="author"])
   agent(ag2, [ prov:type='prov:Person', ex:name="Bob" ])
 
-endBundle
-</span>
-<span class="delete">This container could for instance be returned as the result of a query to a provenance store for the provenance of entity </span><span class="delete">e2</span><span class="delete"> [</span><span class="delete">PROV-AQ</span><span class="delete">].  
-</span>
-
-
-
-
-
-
-
-<span class="delete">5. </span><span class="delete">Extensibility</span>
-
-<span class="delete">The PROV data model is extensible by means of attributes </span><span class="delete">prov:type</span><span class="delete"> and </span><span class="delete">prov:role</span><span class="delete"> allowing subtyping of expressions.  For some applications, novel  syntax may also be convenient. Hence, the normative requirements are as follow.
-</span>
-<span class="delete"> PROV-N compliant parsers </span><span class="delete">must</span><span class="delete"> be able to parse expressions matching the </span><span class="delete">extensibilityExpression</span><span class="delete"> production defined below.
-</span><span class="delete"> As PROV provides no definition for these expressions, PROV compliant implementations 
- </span><em class="rfc2119" title="may">may</em> <span class="delete">ignore these expressions.</span>
-<span class="delete"> Extensions to PROV and PROV-N </span><span class="delete">may</span><span class="delete"> specify more specific productions and interpretations for these expressions, which applications </span><span class="delete">may</span><span class="delete"> adopt to follow. </span>
-
-
-
-
-
-  <span class="delete">[</span><span class="delete">51</span><span class="delete">]&nbsp;&nbsp;&nbsp;</span> <span class="delete">extensibilityExpression</span> <span class="delete">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span> <span class="delete">QUALIFIED_NAME</span><span class="delete"> "(" </span><span class="delete">optionalIdentifier</span> <span class="delete">extensibilityArgument</span><span class="delete"> ( "," </span><span class="delete">extensibilityArgument</span><span class="delete"> )* </span><span class="delete">optionalAttributeValuePairs</span><span class="delete"> ")"</span>  
-  <span class="delete">[</span><span class="delete">52</span><span class="delete">]&nbsp;&nbsp;&nbsp;</span> <span class="delete">extensibilityArgument</span> <span class="delete">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span> <span class="delete">( </span><span class="delete">identifierOrMarker</span><span class="delete"> | </span><span class="delete">literal</span><span class="delete"> | </span><span class="delete">time</span><span class="delete"> | </span><span class="delete">extensibilityExpression</span><span class="delete"> | </span><span class="delete">extensibilityTuple</span><span class="delete"> )</span>  
-  <span class="delete">[</span><span class="delete">53</span><span class="delete">]&nbsp;&nbsp;&nbsp;</span> <span class="delete">extensibilityTuple</span> <span class="delete">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span> <span class="delete">"{" </span><span class="delete">extensibilityArgument</span><span class="delete"> ( "," </span><span class="delete">extensibilityArgument</span><span class="delete"> )* "}"</span><span class="delete"> | "(" </span><span class="delete">extensibilityArgument</span><span class="delete"> ( "," </span><span class="delete">extensibilityArgument</span><span class="delete"> )* ")"</span>  
-
-
-
-<span class="delete">Expressions compatible with the
-</span><span class="delete">extensibilityExpression</span><span class="delete"> production follow</span><span class="insert">occur inside</span> a <span class="delete">general form of functional syntax, in which the predicate </span><span class="delete">must</span><span class="delete"> be a
-</span><span class="delete">qualifiedName</span><span class="delete">
-with a non-empty </span><span class="delete">prefix</span><span class="delete">.</span><span class="insert">document, but do not appear inside other bundles.
-</span></p>
-
-
-
-<div class="anexample" id="example_43"><div class="anexampleTitle"><a class="internalDFN" href="#example_43">Example 43</a></div>
-<p>
-<span class="insert">The following document contains expressions related to the provenance of entity 
-</span><span class="name"><span class="insert">e2</span></span><span class="insert">.
-</span></p>
-<pre class="codeexample"><span class="insert">document
-  default &lt;http://anotherexample.org/&gt;
-  prefix ex &lt;http://example.org/&gt;
-
-  entity(e2, [ prov:type="File", ex:path="/shared/crime.txt", ex:creator="Alice", 
-               ex:content="There was a lot of crime in London last month."])
-  activity(a1, 2011-11-16T16:05:00, -, [prov:type="edit"])
-  wasGeneratedBy(e2, a1, -, [ex:fct="save"])     
-  wasAssociatedWith(a1, ag2, -, [prov:role="author"])
-  agent(ag2, [ prov:type='prov:Person', ex:name="Bob" ])
-
-endDocument
-</span></pre>
-<p><span class="insert">This container could for instance be returned as the result of a query to a provenance store for the provenance of entity </span><span class="name"><span class="insert">e2</span></span><span class="insert"> [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ"><span class="insert">PROV-AQ</span></a></cite><span class="insert">].  
-</span></p>
+<span class="delete">endBundle</span><span class="insert">endDocument</span>
+</pre>
+<p>This container could for instance be returned as the result of a query to a provenance store for the provenance of entity <span class="name">e2</span> [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ">PROV-AQ</a></cite>].  
+</p>
 </div>
 
 
@@ -3083,42 +3179,46 @@
 </div>
 
 <div id="extensibility" class="section">
-<h2><span class="secno"><span class="insert">5. </span></span><span class="insert">Extensibility</span></h2>
-
-<p><span class="insert">The PROV data model is extensible by means of attributes </span><span class="name"><span class="insert">prov:type</span></span><span class="insert"> and </span><span class="name"><span class="insert">prov:role</span></span><span class="insert"> allowing subtyping of expressions.  For some applications, novel  syntax may also be convenient. Hence, the normative requirements are as follow.</span></p>
+<h2><span class="secno">5. </span>Extensibility</h2>
+
+<p>The PROV data model is extensible by means of attributes <span class="name">prov:type</span> and <span class="name">prov:role</span> allowing subtyping of expressions.  For some applications, novel  syntax may also be convenient. Hence, the normative requirements are as follow.
+</p>
 <ul>
-<li><span class="insert"> PROV-N compliant parsers </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be able to parse expressions matching the </span><code class="content"><a class="grammarRef" href="#prod-extensibilityExpression"><span class="insert">extensibilityExpression</span></a></code><span class="insert"> production defined below.
-</span></li><li><span class="insert"> As PROV provides no definition for these expressions, PROV compliant implementations 
- </span><em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> ignore these expressions.</span></li>
-<li><span class="insert"> Extensions to PROV and PROV-N </span><em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> specify more specific productions and interpretations for these expressions, which applications </span><em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> adopt to follow. </span></li>
+<li> PROV-N compliant parsers <em class="rfc2119" title="must">must</em> be able to parse expressions matching the <code class="content"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></code> production defined below.
+</li><li> As PROV provides no definition for these expressions, PROV compliant implementations 
+ <em class="rfc2119" title="may">may</em> ignore these expressions.</li>
+<li> Extensions to PROV and PROV-N <em class="rfc2119" title="may">may</em> specify more specific productions and interpretations for these expressions, which applications <em class="rfc2119" title="may">may</em> <span class="delete">adopt</span><span class="insert">elect</span> to follow. </li>
 </ul>
 
 
+
+
+
 <table class="grammar">
 
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityExpression" name="prod-extensibilityExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">51</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">extensibilityExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></span><span class="insert"> "(" </span><span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier"><span class="insert">optionalIdentifier</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument"><span class="insert">extensibilityArgument</span></a></span><span class="insert"> ( "," </span><span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument"><span class="insert">extensibilityArgument</span></a></span><span class="insert"> )* </span><span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></span><span class="insert"> ")"</span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityArgument" name="prod-extensibilityArgument"></a><span class="insert">[</span><span class="prodNo"><span class="insert">52</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">extensibilityArgument</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">( </span><span class="prod"><a class="grammarRef" href="#prod-identifierOrMarker"><span class="insert">identifierOrMarker</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-literal"><span class="insert">literal</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-time"><span class="insert">time</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-extensibilityExpression"><span class="insert">extensibilityExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-extensibilityTuple"><span class="insert">extensibilityTuple</span></a></span><span class="insert"> )</span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityTuple" name="prod-extensibilityTuple"></a><span class="insert">[</span><span class="prodNo"><span class="insert">53</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">extensibilityTuple</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"{" </span><span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument"><span class="insert">extensibilityArgument</span></a></span><span class="insert"> ( "," </span><span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument"><span class="insert">extensibilityArgument</span></a></span><span class="insert"> )* "}"</span><br><span class="insert"> | "(" </span><span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument"><span class="insert">extensibilityArgument</span></a></span><span class="insert"> ( "," </span><span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument"><span class="insert">extensibilityArgument</span></a></span><span class="insert"> )* ")"</span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityExpression" name="prod-extensibilityExpression"></a>[<span class="prodNo"><span class="delete">51</span><span class="insert">49</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">extensibilityExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span> "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> )* <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityArgument" name="prod-extensibilityArgument"></a>[<span class="prodNo"><span class="delete">52</span><span class="insert">50</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">extensibilityArgument</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-identifierOrMarker">identifierOrMarker</a></span> | <span class="prod"><a class="grammarRef" href="#prod-literal">literal</a></span> | <span class="prod"><a class="grammarRef" href="#prod-time">time</a></span> | <span class="prod"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-extensibilityTuple">extensibilityTuple</a></span> )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityTuple" name="prod-extensibilityTuple"></a>[<span class="prodNo"><span class="delete">53</span><span class="insert">51</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">extensibilityTuple</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"{" <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> )* "}"<br> | "(" <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> )* ")"</code></td> </tr> </tbody>
 
 </table>
 
-<p><span class="insert">Expressions compatible with the
-</span><code class="content"><a class="grammarRef" href="#prod-extensibilityExpression"><span class="insert">extensibilityExpression</span></a></code><span class="insert"> production follow a general form of functional syntax, in which the predicate </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be a
-</span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">qualifiedName</span></a></code><span class="insert">
-with a non-empty </span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX"><span class="insert">prefix</span></a></code><span class="insert">.</span></p>
-
-
-
-<div class="anexample" id="example_44"><div class="anexampleTitle"><a class="internalDFN" href="#example_44"><span class="insert">Example 44</span></a></div>
+<p>Expressions compatible with the
+<code class="content"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></code> production follow a general form of functional syntax, in which the predicate <em class="rfc2119" title="must">must</em> be a
+<code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">qualifiedName</a></code>
+with a non-empty <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">prefix</a></code>.</p>
+
+
+
+<div class="anexample" id="example_46"><div class="anexampleTitle"><a class="internalDFN" href="#example_46">Example <span class="delete">43</span><span class="insert">46</span></a></div>
 <p>
 <a href="#component6">Collections</a> are sets of entities, whose membership can be expressed using the <span class="name">hadMember</span> relation.  The following example shows how one can express membership for <em><span class="insert">dictionaries</span></em><span class="insert">, </span>an <span class="insert">illustrative </span>extension of <span class="delete">Collections, namely</span><span class="insert">Collections consisting of</span> sets of <span class="delete">key-value pairs.</span><span class="insert">key-entity pairs, where a key is a </span><code><a class="grammarRef" href="#prod-literal"><span class="insert">literal</span></a></code><span class="insert">.</span> The notation is a variation of that used for Collections membership, allowing multiple member elements to be declared, and in which the elements are pairs. The name of the relation is qualified with the extension-specific namespace <span class="name">http://example.org/dictionaries</span>.
 </p>
-<pre class="codeexample">  prefix dictExt &lt;http://example.org/dictionaries&gt;
+<pre class="codeexample">  prefix dictExt <span class="delete">&lt;http://example.org/dictionaries&gt;</span><span class="insert">&lt;http://example.org/dictionaries#&gt;</span>
   dictExt:hadMembers(mId; d, {("k1",e1), ("k2",e2), ("k3",e3)}, []) 
 </pre>
 
 Note that the generic <code class="content"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></code> production  above allows for alternative notations to be used for expressing membership, if the designers of the extensions so desire. Here is an alternate syntax that is consistent with the productions:
-<pre class="codeexample">  prefix dictExt &lt;http://example.org/dictionaries&gt;
+<pre class="codeexample">  prefix dictExt <span class="delete">&lt;http://example.org/dictionaries&gt;</span><span class="insert">&lt;http://example.org/dictionaries#&gt;</span>
   dictExt:hadMembers(mid; d, dictExt:set(dictExt:pair("k1",e1), 
                                          dictExt:pair("k2",e2), 
                                          dictExt:pair("k3",e3)), 
@@ -3156,7 +3256,7 @@
     <p>The Internet Media Type / MIME Type for PROV-N is "text/provenance-notation".</p> 
     <p>It is recommended that PROV-N files have the extension ".provn" (all lowercase) on all platforms.</p> 
     <p>It is recommended that PROV-N files stored on Macintosh HFS file systems be given a file type of "TEXT".</p> 
-    <p>This information that follows <span class="delete">is being </span><span class="insert">has been </span><a href="TBD">submitted to the IESG</a> for review, approval, and registration with IANA.</p> 
+    <p><span class="delete">This</span><span class="insert">The</span> information that follows <span class="delete">is being </span><span class="insert">has been </span><a href="TBD">submitted to the IESG</a> for review, approval, and registration with IANA.</p> 
     <dl> 
       <dt>Type name:</dt> 
       <dd>text</dd> 
@@ -3196,7 +3296,7 @@
       <dd>There are no known interoperability issues.</dd> 
       <dt>Published specification:</dt> 
       <dd>PROV-N: The Provenance Notation, Moreau, Missier, (eds), Cheney, Soiland-Reyes
-      <a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a></dd> 
+      <a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a><span class="insert">, 2012.</span></dd> 
       <dt>Applications which use this media type:</dt> 
       <dd><span class="delete">No widely deployed applications are known</span><span class="insert">It may be used by any application for publishing provenance information. This format is designed</span> to <span class="delete">use this media type. It may </span>be <span class="delete">used by some web services and clients consuming their data.</span><span class="insert">a human-readable form of provenance. </span></dd> 
       <dt>Additional information:</dt> 
@@ -3236,7 +3336,8 @@
 </span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/496"><span class="insert">ISSUE-496</span></a><span class="insert">: For each prov-n term, added a cross-reference to corresponding prov-dm term (see table following each production). Rephrased text related to scope of a namespace declaration. Added an informative file with all productions.
 </span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/573"><span class="insert">ISSUE-573</span></a><span class="insert">: Updated Media Type section. 
 </span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/589"><span class="insert">ISSUE-589</span></a><span class="insert">: Updated scoping rule for prefix-namespace declaration. Also refrained from saying bundles are self-contained. 
-
+</span></li><li><span class="insert"> Moved feature at Risk mention into a separate note.
+</span></li><li><span class="insert"> Editorial's pass pre-publication.
 </span></li></ul>
 </div>
 
@@ -3314,7 +3415,10 @@
 
  
 <div id="references" class="appendix section"><h2><span class="secno"><span class="delete">B.</span><span class="insert">C.</span> </span>References</h2><div id="normative-references" class="section"><h3><span class="secno"><span class="delete">B.1</span><span class="insert">C.1</span> </span>Normative references</h3><dl class="bibliography"><dt id="bib-IRI">[IRI]</dt><dd>M. Duerst, M. Suignard. <a href="http://www.ietf.org/rfc/rfc3987.txt"><cite>Internationalized Resource Identifiers (IRI).</cite></a> January 2005. Internet RFC 3987. URL: <a href="http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3987.txt</a> 
-</dd><dt id="bib-RDF-SPARQL-QUERY">[RDF-SPARQL-QUERY]</dt><dd>Andy Seaborne; Eric Prud'hommeaux. <a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115"><cite>SPARQL Query Language for RDF.</cite></a> 15 January 2008. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115">http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115</a> 
+</dd><dt id="bib-PROV-CONSTRAINTS"><span class="insert">[PROV-CONSTRAINTS]</span></dt><dd><span class="insert">James Cheney, Paolo Missier, and Luc Moreau (eds.), Tom De Nies. </span><a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/"><cite><span class="insert">Constraints of the PROV Data Model</span></cite></a><span class="insert">. 2012, Candidate Recommendation. URL: </span><a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/"><span class="insert">http://www.w3.org/TR/2012/CR-prov-constraints-20121211/</span></a><span class="insert">.
+</span></dd><dt id="bib-PROV-DM"><span class="insert">[PROV-DM]</span></dt><dd><span class="insert">Luc Moreau and Paolo Missier (eds.) Khalid Belhajjame, Reza B'Far, James Cheney, Sam Coppens, Stephen Cresswell, Yolanda Gil, Paul Groth, Graham Klyne, Tim Lebo, Jim McCusker, Simon Miles, James Myers, Satya Sahoo, and Curt Tilmes </span><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/"><cite><span class="insert">PROV-DM: The PROV Data Model</span></cite></a><span class="insert">. 2012, Working Draft. URL: </span><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/"><span class="insert">http://www.w3.org/TR/2012/CR-prov-dm-20121211/</span></a>
+</dd><dt id="bib-PROV-O"><span class="insert">[PROV-O]</span></dt><dd><span class="insert">Timothy Lebo, Satya Sahoo and Deborah McGuinness (eds.) Khalid Belhajjame, James Cheney, David Corsar, Daniel Garijo, Stian Soiland-Reyes, Stephan Zednik, and Jun Zhao. </span><a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/"><cite><span class="insert">Provenance Formal Model</span></cite></a><span class="insert">. 2012, Candidate Recommendation. URL: </span><a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/"><span class="insert">http://www.w3.org/TR/2012/CR-prov-o-20121211/</span></a><span class="insert">.
+</span></dd><dt id="bib-RDF-SPARQL-QUERY">[RDF-SPARQL-QUERY]</dt><dd>Andy Seaborne; Eric Prud'hommeaux. <a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115"><cite>SPARQL Query Language for RDF.</cite></a> 15 January 2008. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115">http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115</a> 
 </dd><dt id="bib-RFC2119">[RFC2119]</dt><dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key words for use in RFCs to Indicate Requirement Levels.</cite></a> March 1997. Internet RFC 2119.  URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a> 
 </dd><dt id="bib-RFC3023">[RFC3023]</dt><dd>M. Murata; S. St.Laurent; D. Kohn. <a href="http://www.ietf.org/rfc/rfc3023.txt"><cite>XML Media Types</cite></a> January 2001. Internet RFC 3023. URL: <a href="http://www.ietf.org/rfc/rfc3023.txt">http://www.ietf.org/rfc/rfc3023.txt</a> 
 </dd><dt id="bib-RFC3986">[RFC3986]</dt><dd>T. Berners-Lee; R. Fielding; L. Masinter. <a href="http://www.ietf.org/rfc/rfc3986.txt"><cite>Uniform Resource Identifier (URI): Generic Syntax.</cite></a> January 2005. Internet RFC 3986. URL: <a href="http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3986.txt</a> 
@@ -3325,13 +3429,14 @@
 </dd><dt id="bib-XML-NAMES">[XML-NAMES]</dt><dd>Richard Tobin; et al. <a href="http://www.w3.org/TR/2009/REC-xml-names-20091208/"><cite>Namespaces in XML 1.0 (Third Edition).</cite></a> 8 December 2009. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2009/REC-xml-names-20091208/">http://www.w3.org/TR/2009/REC-xml-names-20091208/</a> 
 </dd><dt id="bib-XML11">[XML11]</dt><dd>Eve Maler; et al. <a href="http://www.w3.org/TR/2006/REC-xml11-20060816"><cite>Extensible Markup Language (XML) 1.1 (Second Edition).</cite></a> 16 August 2006. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2006/REC-xml11-20060816">http://www.w3.org/TR/2006/REC-xml11-20060816</a> 
 </dd><dt id="bib-XMLSCHEMA11-2">[XMLSCHEMA11-2]</dt><dd>Henry S. Thompson; et al. <a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/"><cite>W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes.</cite></a> 5 April 2012. W3C Recommendation URL: <a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/">http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/</a> 
-</dd></dl></div><div id="informative-references" class="section"><h3><span class="secno"><span class="delete">B.2</span><span class="insert">C.2</span> </span>Informative references</h3><dl class="bibliography"><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-CONSTRAINTS">[PROV-CONSTRAINTS]</dt><dd>James Cheney, Paolo Missier, and Luc Moreau (eds.)<a href="http://www.w3.org/TR/prov-constraints/"><cite>Constraints of the Prov Data Model</cite></a>. 2012, Working Draft. URL: <a href="http://www.w3.org/TR/prov-constraints/">http://www.w3.org/TR/prov-constraints/</a>
-</dd><dt id="bib-PROV-DM">[PROV-DM]</dt><dd>Luc Moreau and Paolo Missier (eds.) Khalid Belhajjame, Reza B'Far, Stephen Cresswell, Yolanda Gil, Paul Groth, Graham Klyne, Jim McCusker, Simon Miles, James Myers, Satya Sahoo, and Curt Tilmes<a href="http://www.w3.org/TR/prov-dm/"><cite>PROV-DM: The PROV Data Model</cite></a>. 2012, Working Draft. URL: <a href="http://www.w3.org/TR/prov-dm/">http://www.w3.org/TR/prov-dm/</a>
-</dd><dt id="bib-PROV-RDF">[PROV-RDF]</dt><dd>James Cheney<a href="http://www.w3.org/2011/prov/wiki/ProvRDF"><cite>PROV-RDF Mapping </cite></a>2012, Working in Progress. URL: <a href="http://www.w3.org/2011/prov/wiki/ProvRDF">http://www.w3.org/2011/prov/wiki/ProvRDF</a>
-</dd><dt id="bib-PROV-SEM">[PROV-SEM]</dt><dd>James Cheney <a href="http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman"><cite>Formal Semantics Strawman</cite></a>. 2011, Work in progress. URL: <a href="http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman">http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman</a>
-</dd><dt id="bib-PROV-XML">[PROV-XML]</dt><dd>James Cheney <a href="http://www.w3.org/2011/prov/wiki/ProvXML"><cite>PROV-XML Mapping </cite></a>2012, Working in Progress. URL: <a href="http://www.w3.org/2011/prov/wiki/ProvXML">http://www.w3.org/2011/prov/wiki/ProvXML</a>
-</dd><span class="delete">[UNICODE5]</span><span class="delete">The Unicode Consortium. </span><span class="delete">The Unicode Standard, Version 5.1.0.</span><span class="delete"> Addison-Wesley. 2007. ISBN 0-321-48091-0. URL: </span><span class="delete">http://www.unicode.org/versions/Unicode5.1.0/</span> 
-<dt id="bib-UNISEC">[UNISEC]</dt><dd> Mark Davis and Michel Suignard. <a href="http://www.unicode.org/reports/tr36/"><cite>Unicode Security Considerations<cite></cite></cite></a>.  4 August 2010. URL: <a href="http://www.unicode.org/reports/tr36/">http://www.unicode.org/reports/tr36/</a>
+</dd></dl></div><div id="informative-references" class="section"><h3><span class="secno"><span class="delete">B.2</span><span class="insert">C.2</span> </span>Informative references</h3><dl class="bibliography"><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 <span class="delete">Miles </span><span class="insert">Miles. </span><a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/"><cite>Provenance Access and Query</cite></a>. <span class="delete">2011,</span><span class="insert">2012,</span> Working Draft. URL: <span class="delete">http://www.w3.org/TR/prov-aq/</span><a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-aq-20120619/</span></a><span class="insert">.</span>
+</dd><span class="delete">[PROV-CONSTRAINTS]</span><dt id="bib-PROV-OVERVIEW"><span class="insert">[PROV-OVERVIEW]</span></dt><dd><span class="delete">James Cheney, Paolo Missier, and Luc Moreau (eds.)</span><span class="insert">AUTHORS TBD. </span><a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/"><cite><span class="delete">Constraints</span><span class="insert">PROV-OVERVIEW: The PROV Family</span> of <span class="delete">the Prov Data Model</span><span class="insert">Documents</span></cite></a>. 2012, Working Draft. URL: <span class="delete">http://www.w3.org/TR/prov-constraints/</span><a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-overview-20121211/</span></a><span class="insert">.</span>
+</dd><span class="delete">[PROV-DM]</span><dt id="bib-PROV-PRIMER"><span class="insert">[PROV-PRIMER]</span></dt><dd><span class="delete">Luc Moreau</span><span class="insert">Yolanda Gil</span> and <span class="insert">Simon Miles (eds.) Khalid Belhajjame, Helena Deus, Daniel Garijo, Graham Klyne, </span>Paolo <span class="delete">Missier (eds.) Khalid Belhajjame, Reza B'Far, Stephen Cresswell, Yolanda Gil, Paul Groth, Graham Klyne, Jim McCusker, Simon Miles, James Myers, Satya Sahoo,</span><span class="insert">Missier, Stian Soiland-Reyes,</span> and <span class="delete">Curt Tilmes</span><span class="insert">Stephan Zednik. </span><a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><cite><span class="delete">PROV-DM: The PROV Data</span><span class="insert">Prov</span> Model<span class="insert"> Primer</span></cite></a>. 2012, Working Draft. URL: <span class="delete">http://www.w3.org/TR/prov-dm/</span><a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-primer-20121211/</span></a><span class="insert">.</span>
+</dd><dt id="bib-PROV-RDF">[PROV-RDF]</dt><dd>James Cheney <a href="http://www.w3.org/2011/prov/wiki/ProvRDF"><cite>PROV-RDF Mapping </cite></a>2012, Working in Progress. URL: <a href="http://www.w3.org/2011/prov/wiki/ProvRDF">http://www.w3.org/2011/prov/wiki/ProvRDF</a>
+</dd><dt id="bib-PROV-SEM">[PROV-SEM]</dt><dd>James <span class="delete">Cheney</span><span class="insert">Cheney.</span> <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><span class="insert">.</span>
+</dd><dt id="bib-PROV-XML">[PROV-XML]</dt><dd><span class="delete">James Cheney </span><span class="insert">Hook Hua, Curt Tilmes, and Stephan Zednik (eds.) Luc Moreau. </span><a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><cite><span class="delete">PROV-XML Mapping </span><span class="insert">PROV-XML: The PROV XML Schema</span></cite></a><span class="insert">. </span>2012, <span class="delete">Working in Progress.</span><span class="insert">Candidate Recommendation.</span> URL: <span class="delete">http://www.w3.org/2011/prov/wiki/ProvXML</span>
+<span class="delete">[UNICODE5]</span><span class="delete">The Unicode Consortium. </span><span class="delete">The Unicode Standard, Version 5.1.0.</span><span class="delete"> Addison-Wesley. 2007. ISBN 0-321-48091-0. URL: </span><span class="delete">http://www.unicode.org/versions/Unicode5.1.0/</span> 
+<a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-xml-20121211/</span></a><span class="insert">.
+</span></dd><dt id="bib-UNISEC">[UNISEC]</dt><dd> Mark Davis and Michel Suignard. <a href="http://www.unicode.org/reports/tr36/"><cite>Unicode Security Considerations<cite></cite></cite></a>.  4 August 2010. URL: <a href="http://www.unicode.org/reports/tr36/">http://www.unicode.org/reports/tr36/</a>
 </dd></dl></div></div></body></html>
 
--- a/model/diff/Makefile	Mon Nov 19 14:11:27 2012 +0000
+++ b/model/diff/Makefile	Mon Nov 19 14:30:13 2012 +0000
@@ -10,10 +10,10 @@
 	./htmldiff ../releases/WD-prov-n-20120724/Overview.html prov-n.html > ../diff-n.html
 
 rel:
-	htmldiff ../releases/WD-prov-n-20120503/Overview.html ../releases/WD-prov-n-20120724/Overview.html > ../diff-n.html
-	htmldiff ../releases/WD-prov-dm-20120503/Overview.html ../releases/WD-prov-dm-20120724/Overview.html > ../diff.html
-	cp ../diff-n.html ../releases/WD-prov-n-20120724/
-	cp ../diff.html ../releases/WD-prov-dm-20120724/
+	./htmldiff ../releases/WD-prov-n-20120724/Overview.html ../releases/CR-prov-n-20121211/Overview.html  > ../diff-n.html
+#	./htmldiff ../releases/WD-prov-dm-20120724/Overview.html ../releases/CR-prov-dm-20121211/Overview.html > ../diff.html
+	cp ../diff-n.html ../releases/CR-prov-n-20121211/
+#	cp ../diff.html ../releases/CR-prov-dm-20121211/
 
 
 
--- a/model/prov-n.html	Mon Nov 19 14:11:27 2012 +0000
+++ b/model/prov-n.html	Mon Nov 19 14:30:13 2012 +0000
@@ -229,7 +229,7 @@
  
           // 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"],
+          extraCSS:             ["http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css"],
  
           // editors, add as many as you like
           // only "name" is required
@@ -275,7 +275,529 @@
       };
     </script> 
   </head> 
+
   <body> 
+    <style type="text/css">
+/* --- EDITORIAL NOTES --- */
+.pending {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #BFEFFF;
+}
+
+.pending::before {
+    content:    "Pending Review";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+
+
+
+.resolved {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #9BCD9B;
+}
+
+.resolved::before {
+    content:    "Resolved";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+
+.inference {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}
+
+
+.inference-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}
+
+/* .inference[id]::before { */
+/*     content:    "Inference: " attr(id); */
+/*     width:  380px;  /\* How can we compute the length of "Constraint: " attr(id) *\/ */
+/* } */
+
+
+/* .inference::before { */
+/*     content:    "Inference"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #f00; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
+.syntax {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}
+
+.syntax[id]::before {
+    content:    "Syntax: " attr(id);
+    width:  380px;  /* How can we compute the length of "Constraint: " attr(id) */
+}
+
+
+.syntax::before {
+    content:    "Syntax";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+.unamedconstraint {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+
+.unamedconstraint::before {
+    content:    "Constraint";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #00f;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+
+
+.constraint {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+.constraint-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+/* .constraint[id]::before { */
+/*     content:    "Constraint: " attr(id); */
+/*     width:  380px;  /\* How can we compute the length of "Constraint: " attr(id) *\/ */
+/* } */
+
+
+/* .constraint::before { */
+/*     content:    "Constraint"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #00f; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
+
+
+.interpretation {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+.interpretation[id]::before {
+    content:    "Interpretation: " attr(id);
+    width:  380px;  /* How can we compute the length of "Interpretation: " attr(id) */
+}
+
+
+.interpretation::before {
+    content:    "Interpretation";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #00f;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+.definition {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #777;
+    background: #fff;
+}
+
+.definition-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #777;
+    background: #fff;
+}
+
+/* .definition[id]::before { */
+/*     content:    "Definition: " attr(id); */
+/*     width:  380px;  */
+/* } */
+
+
+/* .definition::before { */
+/*     content:    "Definition"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #000; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
+
+.deprecatedconstraint {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+.deprecatedconstraint[id]::before {
+    content:    "Deprecated: " attr(id);
+    width:  380px;  /* How can we compute the length of "Deprecatedconstraint: " attr(id) */
+}
+
+
+.deprecatedconstraint::before {
+    content:    "Deprecated";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #00f;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+.glossary-ref {
+    font-style:    italic;
+}
+
+.dfn {
+    font-weight:    bold;
+}
+
+
+.attribute {
+    font-style: italic;
+}
+
+
+.conditional {
+    color: blue;
+}
+
+.grammar {
+    margin-top: 1ex;
+    margin-bottom: 1ex;
+    padding-left: 1ex;
+    padding-right: 1ex;
+    padding-top: 1ex;
+    padding-bottom: 0.6ex;
+    border: 1px dashed #2f6fab;
+    font-size: 95%;
+}
+.nonterminal {
+    font-weight: bold;
+    font-family: sans-serif;
+    font-size: 95%;
+}
+
+.name {
+    font-family: monospace;
+}
+
+.math {
+    font-family: roman;
+    font-style:italic;
+}
+
+
+.xmpl {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}
+
+.xmpl::before {
+    content:    "Example";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+/*
+.anexample[count]::before {
+    content: "Example " attr(count) ;
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+
+.anexample:before {
+    content: "Example:";
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+
+*/
+
+.anexample {
+    margin-top: 1ex;
+    margin-bottom: 1ex;
+    padding-left: 1ex;
+    padding-right: 1ex;
+    padding-top: 1ex;
+    padding-bottom: 0.6ex;
+    border: 1px dashed #2f6fab;
+    background-color: #f9f9f9;
+}
+.anexample table {
+    background-color: #f9f9f9;
+}
+
+.conceptexample:before {
+    content: "Example:";
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+.conceptexample {
+    margin-top: 1ex;
+    margin-bottom: 1ex;
+    padding-left: 1ex;
+    padding-right: 1ex;
+    padding-top: 1ex;
+    padding-bottom: 0.6ex;
+    border: 1px dashed #2f6fab;
+    background-color: #f9f9f9;
+}
+
+.pnExpression {
+    font-weight: normal;
+    font-size:120%;
+    font-family: monospace;
+}
+
+
+div[class="grammar"] span[class="name"]:before {
+    content: "'";
+}
+
+div[class="grammar"] span[class="name"]:after {
+    content: "'";
+}
+
+
+div[class="grammar"] span[class="optional"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="optional"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")?";
+}
+
+
+div[class="grammar"] span[class="plus"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="plus"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")+";
+}
+
+
+div[class="grammar"] span[class="star"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="star"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")*";
+}
+
+div[class="grammar"] span[class="choice"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="choice"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")";
+}
+
+div[class="grammar"] span[class="group"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="group"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")";
+}
+
+table {
+    background-color: #f9f9f9;
+}
+
+.component1-color {
+ background-color: rgba(255,42,42,0.2);
+}
+
+.component2-color {
+ background-color: rgba(0,68,170,0.2);
+}
+
+.component3-color {
+ background-color: rgba(0,170,0,0.2);
+}
+.component4-color {
+ background-color: rgba(204,255,0,0.2);
+}
+
+.component5-color {
+ background-color: rgba(11,40,40,0.2);
+}
+
+.component6-color {
+ background-color: rgba(244,105,14,0.2);
+}
+
+.interpretation-forward::before {
+    content:    "Interpretation: ";
+    font-weight:    bold;
+}
+
+.structural-forward::before {
+    content:    "Structural constraint: ";
+    font-weight:    bold;
+}
+
+
+code {
+    color:  black;
+}
+
+.ruleTitle {
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+
+
+
+
+.remark {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px dashed #000;
+    background: #F0F0F0;
+}
+
+.remark::before {
+    content:    "Remark";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #000;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+table.thinborder {
+	border-width: 1px;
+	border-spacing: 0px;
+	border-style: none;
+	border-color: gray;
+	border-collapse: collapse;
+}
+table.thinborder th {
+	border-width: 1px;
+	padding: 0px;
+	border-style: solid;
+	border-color: gray;
+}
+table.thinborder td {
+	border-width: 1px;
+	padding: 2px;
+	border-style: solid;
+	border-color: gray;
+}
+
+
+</style>
 
     <section id="abstract">
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/releases/CR-prov-n-20121211/Overview.html	Mon Nov 19 14:30:13 2012 +0000
@@ -0,0 +1,2823 @@
+<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>
+<html lang="en" dir="ltr">
+<head> 
+    <title>PROV-N: The Provenance Notation</title> 
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
+    <!-- 
+      === NOTA BENE ===
+      For the three scripts below, if your spec resides on dev.w3 you can check them
+      out in the same tree and use relative links so that they'll work offline,
+     -->
+<!-- PM -->
+    <style type="text/css">
+      .note { font-size:small; margin-left:50px }
+table.thinborder {
+	border-width: 1px;
+	border-spacing: 0px;
+	border-style: none;
+	border-color: gray;
+	border-collapse: collapse;
+}
+table.thinborder th {
+	border-width: 1px;
+	padding: 0px;
+	border-style: solid;
+	border-color: gray;
+}
+table.thinborder td {
+	border-width: 1px;
+	padding: 2px;
+	border-style: solid;
+	border-color: gray;
+}
+</style>
+
+    
+
+
+     
+     
+    
+    
+
+    
+
+    
+
+
+    
+
+     
+  <link href="http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css" rel="stylesheet" type="text/css" charset="utf-8"><link href="http://www.w3.org/StyleSheets/TR/W3C-CR" rel="stylesheet" type="text/css" charset="utf-8"></head> 
+
+  <body style="display: inherit; "><div class="head"><p><a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C"></a></p><h1 class="title" id="title">PROV-N: The Provenance Notation</h1><h2 id="w3c-candidate-recommendation-11-december-2012"><acronym title="World Wide Web Consortium">W3C</acronym> Candidate Recommendation 11 December 2012</h2><dl><dt>This version:</dt><dd><a href="http://www.w3.org/TR/2012/CR-prov-n-20121211/">http://www.w3.org/TR/2012/CR-prov-n-20121211/</a></dd><dt>Latest published version:</dt><dd><a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a></dd><dt>Latest editor's draft:</dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</a></dd><dt>Previous version:</dt><dd><a href="http://www.w3.org/TR/2012/WD-prov-n-20120724/">http://www.w3.org/TR/2012/WD-prov-n-20120724/</a> (<a href="diff-n.html">color-coded diffs</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>Contributors:</dt><dd><a href="http://homepages.inf.ed.ac.uk/jcheney/">James Cheney</a>, University of Edinburgh</dd>
+<dd><a href="http://soiland-reyes.com/stian/">Stian Soiland-Reyes</a>, University of Manchester</dd>
+</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> 
+    <style type="text/css">
+/* --- EDITORIAL NOTES --- */
+.pending {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #BFEFFF;
+}
+
+.pending::before {
+    content:    "Pending Review";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+
+
+
+.resolved {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #9BCD9B;
+}
+
+.resolved::before {
+    content:    "Resolved";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+
+.inference {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}
+
+
+.inference-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}
+
+/* .inference[id]::before { */
+/*     content:    "Inference: " attr(id); */
+/*     width:  380px;  /\* How can we compute the length of "Constraint: " attr(id) *\/ */
+/* } */
+
+
+/* .inference::before { */
+/*     content:    "Inference"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #f00; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
+.syntax {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}
+
+.syntax[id]::before {
+    content:    "Syntax: " attr(id);
+    width:  380px;  /* How can we compute the length of "Constraint: " attr(id) */
+}
+
+
+.syntax::before {
+    content:    "Syntax";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+.unamedconstraint {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+
+.unamedconstraint::before {
+    content:    "Constraint";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #00f;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+
+
+.constraint {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+.constraint-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+/* .constraint[id]::before { */
+/*     content:    "Constraint: " attr(id); */
+/*     width:  380px;  /\* How can we compute the length of "Constraint: " attr(id) *\/ */
+/* } */
+
+
+/* .constraint::before { */
+/*     content:    "Constraint"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #00f; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
+
+
+.interpretation {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+.interpretation[id]::before {
+    content:    "Interpretation: " attr(id);
+    width:  380px;  /* How can we compute the length of "Interpretation: " attr(id) */
+}
+
+
+.interpretation::before {
+    content:    "Interpretation";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #00f;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+.definition {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #777;
+    background: #fff;
+}
+
+.definition-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #777;
+    background: #fff;
+}
+
+/* .definition[id]::before { */
+/*     content:    "Definition: " attr(id); */
+/*     width:  380px;  */
+/* } */
+
+
+/* .definition::before { */
+/*     content:    "Definition"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #000; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
+
+.deprecatedconstraint {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+.deprecatedconstraint[id]::before {
+    content:    "Deprecated: " attr(id);
+    width:  380px;  /* How can we compute the length of "Deprecatedconstraint: " attr(id) */
+}
+
+
+.deprecatedconstraint::before {
+    content:    "Deprecated";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #00f;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+.glossary-ref {
+    font-style:    italic;
+}
+
+.dfn {
+    font-weight:    bold;
+}
+
+
+.attribute {
+    font-style: italic;
+}
+
+
+.conditional {
+    color: blue;
+}
+
+.grammar {
+    margin-top: 1ex;
+    margin-bottom: 1ex;
+    padding-left: 1ex;
+    padding-right: 1ex;
+    padding-top: 1ex;
+    padding-bottom: 0.6ex;
+    border: 1px dashed #2f6fab;
+    font-size: 95%;
+}
+.nonterminal {
+    font-weight: bold;
+    font-family: sans-serif;
+    font-size: 95%;
+}
+
+.name {
+    font-family: monospace;
+}
+
+.math {
+    font-family: roman;
+    font-style:italic;
+}
+
+
+.xmpl {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}
+
+.xmpl::before {
+    content:    "Example";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+/*
+.anexample[count]::before {
+    content: "Example " attr(count) ;
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+
+.anexample:before {
+    content: "Example:";
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+
+*/
+
+.anexample {
+    margin-top: 1ex;
+    margin-bottom: 1ex;
+    padding-left: 1ex;
+    padding-right: 1ex;
+    padding-top: 1ex;
+    padding-bottom: 0.6ex;
+    border: 1px dashed #2f6fab;
+    background-color: #f9f9f9;
+}
+.anexample table {
+    background-color: #f9f9f9;
+}
+
+.conceptexample:before {
+    content: "Example:";
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+.conceptexample {
+    margin-top: 1ex;
+    margin-bottom: 1ex;
+    padding-left: 1ex;
+    padding-right: 1ex;
+    padding-top: 1ex;
+    padding-bottom: 0.6ex;
+    border: 1px dashed #2f6fab;
+    background-color: #f9f9f9;
+}
+
+.pnExpression {
+    font-weight: normal;
+    font-size:120%;
+    font-family: monospace;
+}
+
+
+div[class="grammar"] span[class="name"]:before {
+    content: "'";
+}
+
+div[class="grammar"] span[class="name"]:after {
+    content: "'";
+}
+
+
+div[class="grammar"] span[class="optional"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="optional"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")?";
+}
+
+
+div[class="grammar"] span[class="plus"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="plus"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")+";
+}
+
+
+div[class="grammar"] span[class="star"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="star"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")*";
+}
+
+div[class="grammar"] span[class="choice"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="choice"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")";
+}
+
+div[class="grammar"] span[class="group"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="group"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")";
+}
+
+table {
+    background-color: #f9f9f9;
+}
+
+.component1-color {
+ background-color: rgba(255,42,42,0.2);
+}
+
+.component2-color {
+ background-color: rgba(0,68,170,0.2);
+}
+
+.component3-color {
+ background-color: rgba(0,170,0,0.2);
+}
+.component4-color {
+ background-color: rgba(204,255,0,0.2);
+}
+
+.component5-color {
+ background-color: rgba(11,40,40,0.2);
+}
+
+.component6-color {
+ background-color: rgba(244,105,14,0.2);
+}
+
+.interpretation-forward::before {
+    content:    "Interpretation: ";
+    font-weight:    bold;
+}
+
+.structural-forward::before {
+    content:    "Structural constraint: ";
+    font-weight:    bold;
+}
+
+
+code {
+    color:  black;
+}
+
+.ruleTitle {
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+
+
+
+
+.remark {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px dashed #000;
+    background: #F0F0F0;
+}
+
+.remark::before {
+    content:    "Remark";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #000;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+table.thinborder {
+	border-width: 1px;
+	border-spacing: 0px;
+	border-style: none;
+	border-color: gray;
+	border-collapse: collapse;
+}
+table.thinborder th {
+	border-width: 1px;
+	padding: 0px;
+	border-style: solid;
+	border-color: gray;
+}
+table.thinborder td {
+	border-width: 1px;
+	padding: 2px;
+	border-style: solid;
+	border-color: gray;
+}
+
+
+</style>
+
+    <div id="abstract" class="introductory section"><h2>Abstract</h2>
+
+<p>
+Provenance is information about entities, activities, and people
+involved in producing a piece of data or thing, which can be used
+ to form assessments about its quality, reliability or trustworthiness.
+PROV-DM is the conceptual data model that forms a basis for the <acronym title="World Wide Web Consortium">W3C</acronym>
+provenance (PROV) family of specifications.
+PROV-DM distinguishes core structures, forming the essence of provenance information, from
+extended structures catering for more specific uses of provenance. 
+PROV-DM is organized in six components, respectively dealing with: 
+(1) entities and activities, and the time at which they were created, used, or ended;
+(2) derivations of entities from entities;
+(3) agents bearing responsibility for entities that were generated and activities that happened;
+(4) a notion of bundle, a mechanism to support provenance of provenance; and,
+(5) properties to link entities that refer to the same thing;
+(6) collections forming a logical structure for its members.
+</p>
+<p>To provide examples of the PROV data model, the PROV notation (PROV-N) is introduced: aimed at human consumption, PROV-N allows serializations of PROV
+instances to be created in a compact manner. PROV-N facilitates the
+mapping of the PROV data model to concrete syntax, and is used as the basis for a
+formal semantics of PROV.  The purpose of this document is to define the PROV-N notation.
+</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-documents">PROV Family of Documents</h4>
+This document is part of the PROV family of documents, a set of documents defining various aspects that are necessary to achieve the vision of inter-operable
+interchange of provenance information in heterogeneous environments such as the Web.  These documents are:
+<ul>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/">PROV-OVERVIEW</a> (Note), an overview of the PROV family of documents [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-OVERVIEW">PROV-OVERVIEW</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/">PROV-PRIMER</a> (Note), a primer for the PROV data model [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-PRIMER">PROV-PRIMER</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/">PROV-O</a> (Recommendation), the PROV ontology, an OWL2 ontology allowing the mapping of PROV to RDF [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-O">PROV-O</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/">PROV-DM</a> (Recommendation), the PROV data model for provenance [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-n-20121211/">PROV-N</a> (Recommendation), a notation for provenance aimed at human consumption  (this document);</li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/">PROV-CONSTRAINTS</a> (Recommendation), a set of constraints applying to the PROV data model [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>];</li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/">PROV-AQ</a> (Note), the mechanisms for accessing and querying provenance [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ">PROV-AQ</a></cite>]; </li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/">PROV-XML</a> (Note),  an XML schema for the PROV data model [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-XML">PROV-XML</a></cite>].</li>
+</ul>
+
+<h4 id="how-to-read-the-prov-family-of-specifications">How to read the PROV Family of Specifications</h4>
+<ul>
+<li>The primer is the entry point to PROV offering an introduction to the provenance model.</li>
+<li>The Linked Data and Semantic Web community should focus on PROV-O defining PROV classes and properties specified in an OWL2 ontology. For further details, PROV-DM and PROV-CONSTRAINTS specify the constraints applicable to the data model, and its interpretation. <!--PROV-SEM provides a mathematical semantics.--></li>
+<!-- <li>The XML community should focus on PROV-XML defining an XML schema for PROV. Further details can also be found in PROV-DM, PROV-CONSTRAINTS, and PROV-SEM.</li> -->
+<li>Developers seeking to retrieve or publish provenance should focus on PROV-AQ.</li>
+<li>Readers seeking to implement other PROV serializations
+should focus on PROV-DM and PROV-CONSTRAINTS.  PROV-O and PROV-N offer examples of mapping to RDF and text, respectively.</li>
+</ul>
+<p>This document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as a Candidate Recommendation. This document is intended to become a <acronym title="World Wide Web Consortium">W3C</acronym> Recommendation. If you wish to make comments regarding this document, please send them to <a href="mailto:public-prov-comments@w3.org">public-prov-comments@w3.org</a> (<a href="mailto:public-prov-comments-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-prov-comments/">archives</a>). <acronym title="World Wide Web Consortium">W3C</acronym> publishes a Candidate Recommendation to indicate that the document is believed to be stable and to encourage implementation by the developer community. This Candidate Recommendation is expected to advance to Proposed Recommendation no earlier than 31 January 2013. All feedback is welcome.</p><p>Publication as a Candidate Recommendation 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</a><ul class="toc"><li class="tocline"><a href="#purpose" class="tocxref"><span class="secno">1.1 </span>Purpose of this Document and Target Audience</a></li><li class="tocline"><a href="#compliance-with-this-document" class="tocxref"><span class="secno">1.2 </span>Compliance with this Document</a></li><li class="tocline"><a href="#structure-of-this-document" class="tocxref"><span class="secno">1.3 </span>Structure of this Document</a></li><li class="tocline"><a href="#notational-conventions" class="tocxref"><span class="secno">1.4 </span>Notational Conventions</a></li></ul></li><li class="tocline"><a href="#general-conventions" class="tocxref"><span class="secno">2. </span>General grammar considerations</a><ul class="toc"><li class="tocline"><a href="#functional-syntax" class="tocxref"><span class="secno">2.1 </span>Functional-style Syntax</a></li><li class="tocline"><a href="#grammar-notation" class="tocxref"><span class="secno">2.2 </span>EBNF Grammar</a></li><li class="tocline"><a href="#main-productions" class="tocxref"><span class="secno">2.3 </span>Main Productions</a></li><li class="tocline"><a href="#prov-n-optionals" class="tocxref"><span class="secno">2.4 </span>Optional terms in expressions</a></li><li class="tocline"><a href="#prov-n-standard-terms" class="tocxref"><span class="secno">2.5 </span>Identifiers and attributes</a></li><li class="tocline"><a href="#comments" class="tocxref"><span class="secno">2.6 </span>Comments</a></li></ul></li><li class="tocline"><a href="#prov-n-expressions" class="tocxref"><span class="secno">3. </span>PROV-N Productions per Component</a><ul class="toc"><li class="tocline"><a href="#component1" class="tocxref"><span class="secno">3.1 </span>Component 1: Entities and Activities</a><ul class="toc"><li class="tocline"><a href="#expression-Entity" class="tocxref"><span class="secno">3.1.1 </span>Entity</a></li><li class="tocline"><a href="#expression-Activity" class="tocxref"><span class="secno">3.1.2 </span>Activity</a></li><li class="tocline"><a href="#expression-Generation" class="tocxref"><span class="secno">3.1.3 </span>Generation</a></li><li class="tocline"><a href="#expression-Usage" class="tocxref"><span class="secno">3.1.4 </span>Usage</a></li><li class="tocline"><a href="#expression-wasInformedBy" class="tocxref"><span class="secno">3.1.5 </span>Communication</a></li><li class="tocline"><a href="#expression-Start" class="tocxref"><span class="secno">3.1.6 </span>Start</a></li><li class="tocline"><a href="#expression-End" class="tocxref"><span class="secno">3.1.7 </span>End</a></li><li class="tocline"><a href="#expression-Invalidation" class="tocxref"><span class="secno">3.1.8 </span>Invalidation</a></li></ul></li><li class="tocline"><a href="#component2" class="tocxref"><span class="secno">3.2 </span>Component 2: Derivations</a><ul class="toc"><li class="tocline"><a href="#Derivation-Relation" class="tocxref"><span class="secno">3.2.1 </span>Derivation</a></li><li class="tocline"><a href="#expression-Revision" class="tocxref"><span class="secno">3.2.2 </span>Revision</a></li><li class="tocline"><a href="#expression-quotation" class="tocxref"><span class="secno">3.2.3 </span>Quotation</a></li><li class="tocline"><a href="#expression-primary-source" class="tocxref"><span class="secno">3.2.4 </span>Primary Source</a></li></ul></li><li class="tocline"><a href="#component3" class="tocxref"><span class="secno">3.3 </span>Component 3: Agents, Responsibility, and Influence</a><ul class="toc"><li class="tocline"><a href="#expression-Agent" class="tocxref"><span class="secno">3.3.1 </span>Agent</a></li><li class="tocline"><a href="#expression-attribution" class="tocxref"><span class="secno">3.3.2 </span>Attribution</a></li><li class="tocline"><a href="#expression-Association" class="tocxref"><span class="secno">3.3.3 </span>Association</a></li><li class="tocline"><a href="#expression-delegation" class="tocxref"><span class="secno">3.3.4 </span>Delegation</a></li><li class="tocline"><a href="#expression-influence" class="tocxref"><span class="secno">3.3.5 </span>Influence</a></li></ul></li><li class="tocline"><a href="#component4" class="tocxref"><span class="secno">3.4 </span>Component 4: Bundles</a><ul class="toc"><li class="tocline"><a href="#expression-bundle-constructor" class="tocxref"><span class="secno">3.4.1 </span>Bundle Constructor</a></li><li class="tocline"><a href="#expression-bundle-type" class="tocxref"><span class="secno">3.4.2 </span>Bundle Type</a></li></ul></li><li class="tocline"><a href="#component5" class="tocxref"><span class="secno">3.5 </span>Component 5: Alternate Entities</a><ul class="toc"><li class="tocline"><a href="#expression-alternate" class="tocxref"><span class="secno">3.5.1 </span>Alternate</a></li><li class="tocline"><a href="#expression-specialization" class="tocxref"><span class="secno">3.5.2 </span>Specialization</a></li></ul></li><li class="tocline"><a href="#component6" class="tocxref"><span class="secno">3.6 </span>Component 6: Collections</a><ul class="toc"><li class="tocline"><a href="#expression-collection" class="tocxref"><span class="secno">3.6.1 </span>Collection</a></li><li class="tocline"><a href="#expression-collection-membership" class="tocxref"><span class="secno">3.6.2 </span>Membership</a></li></ul></li><li class="tocline"><a href="#subexpressions" class="tocxref"><span class="secno">3.7 </span>Further Expressions</a><ul class="toc"><li class="tocline"><a href="#expression-identifier" class="tocxref"><span class="secno">3.7.1 </span>Identifier</a></li><li class="tocline"><a href="#expression-attribute" class="tocxref"><span class="secno">3.7.2 </span>Attribute</a></li><li class="tocline"><a href="#expression-literal" class="tocxref"><span class="secno">3.7.3 </span>Literal</a><ul class="toc"><li class="tocline"><a href="#expression-types" class="tocxref"><span class="secno">3.7.3.1 </span>Reserved Type Values</a></li><li class="tocline"><a href="#expression-Time" class="tocxref"><span class="secno">3.7.3.2 </span>Time Values</a></li></ul></li><li class="tocline"><a href="#expression-NamespaceDeclaration" class="tocxref"><span class="secno">3.7.4 </span>Namespace Declaration</a></li><li class="tocline"><a href="#semantic-rules-summary" class="tocxref"><span class="secno">3.7.5 </span>Summary of additional semantic rules</a></li></ul></li></ul></li><li class="tocline"><a href="#document" class="tocxref"><span class="secno">4. </span>Document</a></li><li class="tocline"><a href="#extensibility" class="tocxref"><span class="secno">5. </span>Extensibility</a></li><li class="tocline"><a href="#media-type" class="tocxref"><span class="secno">6. </span>Media Type</a></li><li class="tocline"><a href="#changes-since-last-version" class="tocxref"><span class="secno">A. </span>Changes since last version</a></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno">B. </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">C. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">C.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">C.2 </span>Informative references</a></li></ul></li></ul></div> 
+
+
+
+
+
+
+
+
+<div id="introduction" class="section"> 
+<!--OddPage--><h2><span class="secno">1. </span>Introduction</h2>
+
+<p> Provenance is a record that describes the people,
+institutions, entities, and activities, involved in producing,
+influencing, or delivering a piece of data or a thing in the world.  Two
+companion specifications respectively define PROV-DM, a data model for
+provenance, allowing provenance descriptions to be expressed  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>]  and a set of constraints that provenance descriptions are expected to satisfy   [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>].
+</p>
+
+<div id="purpose" class="section"> 
+<h3><span class="secno">1.1 </span>Purpose of this Document and Target Audience</h3>
+
+A key goal of PROV is the specification of a machine-processable data model for provenance. However, communicating provenance between humans is also important when teaching, illustrating, formalizing, and discussing provenance-related issues. 
+
+<!-- As such, representations of PROV-DM are available in RDF and XML. -->
+
+With these two requirements in mind, this document introduces PROV-N, the PROV notation, a syntax designed to  write instances of the PROV data model according to the following design principles:
+<ul>
+<li>Technology independence. PROV-N provides a simple syntax that can be mapped to several technologies.
+
+</li><li>Human readability. PROV-N follows a functional syntax style that is meant to be easily human-readable so it can be used in illustrative examples, such as those presented in the PROV documents suite
+
+</li><li>Formality. PROV-N is defined through a formal grammar amenable to be used with parser generators.
+
+ </li></ul>
+  
+PROV-N has several known uses:
+<ul>
+<li> It is the notation used in the examples found in  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>], as well as in the definition of PROV constraints [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>]; </li>
+<li>  It is a source language for the encoding of PROV data model instances into a variety of target languages, including amongst others  RDF [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-RDF">PROV-RDF</a></cite>] and XML [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-XML">PROV-XML</a></cite>]; </li>
+<li> It provides the basis for a formal semantics of the PROV data model  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM">PROV-SEM</a></cite>], in which an interpretation is given to each element of the PROV-N language.
+</li></ul>
+
+<p>This document introduces the PROV-N grammar along with examples of its usage.</p>
+<p>Its target audience is twofold:
+</p><ul>
+<li>Developers of provenance management applications, as well as implementors of new PROV data model encodings, and thus in particular of PROV-N parsers. These readers may be interested in the entire structure of the grammar, starting from the top level nonterminal 
+<code><a class="grammarRef" href="#prod-document">document</a></code>.</li>
+<li>Readers of the  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] and of  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>] documents, who are interested in the details of the formal language underpinning the notation used in the examples and in the definition of the constraints. Those readers may find the  <code><a class="grammarRef" href="#prod-expression">expression</a></code> nonterminal a useful entry point into the grammar.</li>
+</ul>
+
+</div>
+
+<div id="compliance-with-this-document" class="section"> 
+<h3><span class="secno">1.2 </span>Compliance with this Document</h3>
+
+
+<p>For the purpose of compliance, all sections of this document are normative, except 
+<a href="#changes-since-last-version">Appendix A</a>, 
+<a href="#acknowledgements">Appendix B</a>,  and
+<a href="#informative-references">Appendix C.2</a>.
+</p><ul>
+<li> Information in tables is normative. </li>
+<li> Text in boxes labeled "Example" is informative.
+</li><li> Productions (displayed in boxes) are normative, as opposed to the separate <a href="grammar.txt">file</a> grouping  all productions for convenience of programmers, which is informative.
+</li></ul>
+</div>
+
+
+    <div id="structure-of-this-document" class="section"> 
+<h3><span class="secno">1.3 </span>Structure of this Document</h3>
+
+<p>This document is structured as follows.
+
+</p><p><a href="#general-conventions">Section 2</a> provides general consideration about the PROV-N grammar.</p>
+
+<p><a href="#prov-n-expressions">Section 3</a> presents the grammar of all expressions of the language grouped according to the PROV data model components.</p>
+
+<p><a href="#document">Section 4</a> defines the grammar of document, a house-keeping construct of PROV-N capable of packaging up PROV-N expressions and namespace declarations.</p>
+
+<p><a href="#extensibility">Section 5</a> defines the extensibility mechanism for the PROV-N notation.</p>
+
+<p><a href="#media-type">Section 6</a> defines media type for the PROV-N notation.</p>
+
+
+    </div> 
+
+
+<div id="notational-conventions" class="section">
+ <h3><span class="secno">1.4 </span>Notational Conventions</h3>
+
+<!--
+<p>The PROV namespace is <span class="name">http://www.w3.org/ns/prov#</span> with prefix <span class="name">prov:</span>.</p>
+
+<p> All the elements, predicates, reserved names and attributes introduced in this specification belong to the PROV namespace.</p>
+</section>
+
+<section id="conventions"> 
+<h3>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>
+
+
+
+
+<p>
+The following namespaces prefixes are used throughout this document.
+
+</p><div style="text-align: left;">
+<table border="1" style="margin-left: auto; margin-right: auto;">
+<caption id="namespace-table">Table 1: Prefix and Namespaces used in this specification</caption>
+<tbody><tr><td><a><b>prefix</b></a></td><td><b>namespace uri</b></td> <td><b>definition</b></td></tr>
+<tr><td><a>prov</a></td><td>http://www.w3.org/ns/prov#</td><td>The PROV namespace (see Section <a href="#expression-NamespaceDeclaration">3.7.4</a>)</td></tr>
+<tr><td><a>xsd</a></td><td>http://www.w3.org/2000/10/XMLSchema#</td><td>XML Schema Namespace [<cite><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA11-2">XMLSCHEMA11-2</a></cite>]</td></tr>
+<tr><td><a>(others)</a></td><td>(various)</td><td>All other namespace prefixes are used in examples only. <br> In particular, URIs starting with "http://example.com" represent<br> some application-dependent URI [<cite><a class="bibref" rel="biblioentry" href="#bib-URI">URI</a></cite>]</td></tr>
+</tbody></table>
+</div>
+
+</div> 
+
+</div> 
+
+<div id="general-conventions" class="section">
+<!--OddPage--><h2><span class="secno">2. </span>General grammar considerations</h2>
+
+<p>For convenience, all productions presented in this document have been grouped in a
+separate <a href="grammar.txt">file</a>.</p>
+
+<div id="functional-syntax" class="section"> 
+<h3><span class="secno">2.1 </span>Functional-style Syntax</h3>
+
+<p> PROV-N adopts a functional-style syntax consisting of a predicate name and an ordered list of terms.</p>
+
+<p>
+All PROV data model types have an identifier. Furthermore, some expressions also admit additional elements that further characterize it. </p>
+<div class="anexample" id="example_1"><div class="anexampleTitle"><a class="internalDFN" href="#example_1">Example 1</a></div>
+<p>The following expression should be read as "entity <span class="name">e1</span>". 
+</p><pre class="codeexample">entity(e1)
+</pre>
+  </div>
+<div class="anexample" id="example_2"><div class="anexampleTitle"><a class="internalDFN" href="#example_2">Example 2</a></div>
+<p>The following expression should be read as "activity <span class="name">a2</span>, which occurred
+between <code>2011-11-16T16:00:00</code> and <code>2011-11-16T16:00:01</code>". 
+</p><pre class="codeexample">entity(e1)
+activity(a2, 2011-11-16T16:00:00, 2011-11-16T16:00:01)
+</pre>
+  </div>
+
+<p>
+All PROV data model relations involve two primary elements, the <em>subject</em> and the <em>object</em>, in this order. Furthermore, some expressions also admit additional elements that further characterize it.
+</p><div class="anexample" id="example_3"><div class="anexampleTitle"><a class="internalDFN" href="#example_3">Example 3</a></div>
+<p>The following expression should be read as "<span class="name">e2</span> was derived from <span class="name">e1</span>". Here <span class="name">e2</span> is the subject, and  <span class="name">e1</span> is the object.
+</p><pre class="codeexample">wasDerivedFrom(e2, e1)
+</pre>
+  </div>
+  
+<div class="anexample" id="example_4"><div class="anexampleTitle"><a class="internalDFN" href="#example_4">Example 4</a></div>
+<p>The following expression expands the above derivation relation by providing
+additional elements the optional activity <span class="name">a</span>, the generation <span class="name">g2</span>, and the usage <span class="name">u1</span>:
+</p><pre class="codeexample">wasDerivedFrom(e2, e1, a, g2, u1)
+</pre>
+</div>
+
+</div>
+
+<div id="grammar-notation" class="section">
+<h3><span class="secno">2.2 </span>EBNF Grammar</h3>
+
+<p>The grammar is specified using a subset of the Extended Backus-Naur
+Form (EBNF) notation, as defined in Extensible Markup Language (XML) 1.1
+[<cite><a class="bibref" rel="biblioentry" href="#bib-XML11">XML11</a></cite>] section <a href="http://www.w3.org/TR/2006/REC-xml11-20060816/#sec-notation">6
+Notation</a>.
+</p>
+
+<p>
+The text below provides an introduction to the EBNF notation used in
+this document.</p>
+
+
+<p>
+  EBNF specifies a series of production rules (<dfn id="dfn-production">production</dfn>). 
+A production rule in the grammar defines a symbol 
+ <code class="grammarRef">expr</code>  (<dfn id="dfn-nonterminal-symbol">nonterminal symbol</dfn>)
+  using the following form:</p>
+
+
+<div class="grammar">
+ <code class="grammarRef">expr</code> &nbsp;::= <em>term</em>
+</div>
+<p>Symbols are written with an initial capital letter if they are the start symbol of a regular language, otherwise with an initial lowercase letter. 
+A production rule in the grammar defines a symbol 
+ <code class="grammarRef">&lt;TERMINAL&gt;</code>  (<dfn id="dfn-terminal-symbol">terminal symbol</dfn>)
+  using the following form:</p>
+<div class="grammar">
+ <code class="grammarRef">&lt;TERMINAL&gt;</code> &nbsp;::= <em>term</em>
+</div>
+
+
+
+
+
+<p>Within the term on the right-hand side of a rule, the following
+<em>term</em>s are used to match strings of one or more characters:
+</p><ul>
+<li> 
+ <code class="grammarRef">expr</code>: matches production for nonterminal symbol <code class="grammarRef">expr</code>
+</li>
+
+
+<li> 
+ <code class="grammarRef">TERMINAL</code>: matches production for terminal symbol <code class="grammarRef">TERMINAL</code>
+</li>
+
+<li> 
+ <code class="grammarRef">"abc"</code>: matches the literal string inside the single quotes.
+</li>
+
+
+<li> 
+ <code class="grammarRef">(term)?</code>: optional, matches <em>term</em> or nothing.
+</li>
+
+<li> 
+ <code class="grammarRef">(term)+</code>: matches one or more occurrences of <em>term</em>.
+</li>
+
+<li> 
+ <code class="grammarRef">(term)*</code>: matches zero or more occurrences of <em>term</em>.
+</li>
+
+<li> 
+ <code class="grammarRef">(term | term)</code>: matches one of the two <em>terms</em>.
+</li>
+
+</ul>
+
+
+<p>Where suitable, the PROV-N grammar reuses production and terminal names of the SPARQL grammar [<cite><a class="bibref" rel="biblioentry" href="#bib-RDF-SPARQL-QUERY">RDF-SPARQL-QUERY</a></cite>].</p>
+
+</div>
+
+<div id="main-productions" class="section">
+<h3><span class="secno">2.3 </span>Main Productions</h3>
+
+<p>Two productions are entry points to the grammar.</p>
+
+<p>The production <code class="grammarRef"><a class="grammarRef" href="#prod-expression">expression</a></code>
+provides the structure for the <em>core expressions</em> of PROV-N. 
+
+
+
+
+</p><table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-expression" name="prod-expression"></a>[<span class="prodNo">2</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">expression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-activityExpression">activityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-generationExpression">generationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-usageExpression">usageExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-startExpression">startExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-endExpression">endExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-invalidationExpression">invalidationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-communicationExpression">communicationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-agentExpression">agentExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-associationExpression">associationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-attributionExpression">attributionExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-delegationExpression">delegationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-influenceExpression">influenceExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-alternateExpression">alternateExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-specializationExpression">specializationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-membershipExpression">membershipExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></span> )</code></td> </tr> </tbody>
+</table>
+
+
+<p>Each of the symbols included in <code>expression</code> above, i.e., <code><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code>,  <code><a class="grammarRef" href="#prod-activityExpression">activityExpression</a></code> etc., corresponds to one concept (e.g., Entity, Activity, etc.) of the PROV data model.</p>
+
+
+<p>Alternatively,  the production rule <code><a href="#prod-document"><span class="grammarRef">document</span></a></code>
+provides the overall structure of PROV-N descriptions.  It is a wrapper  for
+ a set of expressions, such that the text for an element matches the corresponding <code><a class="grammarRef" href="#prod-expression">expression</a></code> production,  and some namespace declarations.</p>
+
+</div>
+
+
+<div id="prov-n-optionals" class="section"> 
+<h3><span class="secno">2.4 </span>Optional terms in expressions</h3>
+
+Some terms in an expression may be optional. For example:
+
+<div class="anexample" id="example_5"><div class="anexampleTitle"><a class="internalDFN" href="#example_5">Example 5</a></div>
+<pre class="codeexample">wasDerivedFrom(e2, e1, a, g2, u1)
+wasDerivedFrom(e2, e1)
+</pre>
+In a derivation expression, the activity, generation, and usage are optional terms. They are specified in the first derivation, but not in the second.
+</div>
+
+<div class="anexample" id="example_6"><div class="anexampleTitle"><a class="internalDFN" href="#example_6">Example 6</a></div>
+<pre class="codeexample">activity(a2, 2011-11-16T16:00:00, 2011-11-16T16:00:01)
+activity(a1)
+</pre>
+The start and end times for an activity are optional. They are specified in the first expression, but not in the second.
+</div>
+
+<p>The general rule for optionals is that, if <em>none</em> of the optionals are used in the expression, then they are simply omitted, resulting in a simpler expression as in the examples above.</p>
+However, it may be the case that only some of the optional terms are omitted. Because the position of the terms in the expression matters, an additional marker must be used to indicate that a particular term is not available. The symbol  <span class="name">'-'</span> is used for this purpose.
+
+<div class="anexample" id="example_7"><div class="anexampleTitle"><a class="internalDFN" href="#example_7">Example 7</a></div>
+<p>In the first expression below, all optionals are specified. However in the second and third, only one optional is specified, forcing the use of the marker for the missing terms. 
+
+</p><pre class="codeexample">wasDerivedFrom(e2, e1, a, g2, u1)
+wasDerivedFrom(e2, e1, -, -, u1)
+wasDerivedFrom(e2, e1, a, -, -)
+</pre>
+</div>
+Note that the more succinct form is just shorthand for a complete expression with all the markers specified:
+<div class="anexample" id="example_8"><div class="anexampleTitle"><a class="internalDFN" href="#example_8">Example 8</a></div>
+<pre class="codeexample">activity(a1)
+activity(a1, -, -)
+</pre>
+</div>
+
+
+</div>
+
+<div id="prov-n-standard-terms" class="section"> 
+<h3><span class="secno">2.5 </span>Identifiers and attributes</h3>
+
+<p>Almost all expressions defined in the grammar include an identifier (see <a href="#expression-identifier">Section 3.7.1</a> for the full syntax of identifiers). Most expressions
+can aslo include a set of attribute-value pairs, delimited by square brackets. Identifiers are optional except for Entities, Activites, and Agents. Identifiers are always the first term in any expression.  <em>Optional</em> identifiers <em class="rfc2119" title="must">must</em> be separated using a semi-colon ';', but where the identifiers are required, a regular comma ',' <em class="rfc2119" title="must">must</em> be used. This makes it possible to completely omit an optional identifier with no ambiguity arising. Also, if the set of attribute-value pairs is present, it is always the last term in any expression.</p>
+
+<div class="anexample" id="example_9"><div class="anexampleTitle"><a class="internalDFN" href="#example_9">Example 9</a></div>
+<p>Derivation has an optional identifier. In the first expression, the identifier is not available, while it is explicit in the second. The third example shows that one can optionally indicate the missing identifier using the <span class="name">-</span> marker. This is equivalent to the first expression. </p>
+<pre class="codeexample">wasDerivedFrom(e2, e1)
+wasDerivedFrom(d; e2, e1)
+wasDerivedFrom(-; e2, e1)
+</pre>
+</div>
+
+Lack of attributes can be equivalently expressed by omitting the list, or by using an empty list.
+
+<!-- Expressions with no attributes A distinction is made between expressions with no attributes, and expressions that include an empty list of attributes.  -->
+
+<div class="anexample" id="example_10"><div class="anexampleTitle"><a class="internalDFN" href="#example_10">Example 10</a></div>
+<p>The first and second activity expressions do not speciy any attributes, and are equivalent.
+<!-- does not have any attributes. The second has an empty list of attributes. -->
+The third activity expression specifies two attributes. 
+</p><pre class="codeexample">activity(ex:a1)
+activity(ex:a1, [])
+activity(ex:a1, [ex:param1="a", ex:param2="b"])
+</pre>
+</div>
+
+</div>
+
+<div id="comments" class="section">
+<h3><span class="secno">2.6 </span>Comments</h3>
+
+
+Comments in PROV-N take two forms:
+<ul>
+<li> '//'  outside an <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></code> or <code class="content"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></code>; such comments continue to the end of line (marked by characters U+000D or U+000A) or end of file if there is no end of line after the comment marker. 
+
+</li><li> '/*' ... '*/', outside an <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></code> or <code class="content"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></code>.
+</li></ul>
+<p>Comments are treated as white space.</p>
+
+</div>
+
+</div>
+
+<div id="prov-n-expressions" class="section"> 
+<!--OddPage--><h2><span class="secno">3. </span>PROV-N Productions per Component</h2>
+
+<p>This section  introduces grammar productions for each expression, followed by small examples of expressions illustrating the grammar. Strings conforming to the grammar are valid expressions in the PROV-N language.</p>
+
+<div id="component1" class="section"> 
+<h3><span class="secno">3.1 </span>Component 1: Entities and Activities</h3>
+
+<div id="expression-Entity" class="section"> 
+<h4><span class="secno">3.1.1 </span>Entity</h4>
+
+
+<p>
+
+</p><table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-entityExpression" name="prod-entityExpression"></a>[<span class="prodNo">3</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">entityExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"entity" "(" <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-optionalAttributeValuePairs" name="prod-optionalAttributeValuePairs"></a>[<span class="prodNo">4</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">optionalAttributeValuePairs</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( "," "[" <span class="prod"><a class="grammarRef" href="#prod-attributeValuePairs">attributeValuePairs</a></span> "]" )?</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attributeValuePairs" name="prod-attributeValuePairs"></a>[<span class="prodNo">5</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">attributeValuePairs</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">(  | <span class="prod"><a class="grammarRef" href="#prod-attributeValuePair">attributeValuePair</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-attributeValuePair">attributeValuePair</a></span> )* )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attributeValuePair" name="prod-attributeValuePair"></a>[<span class="prodNo">6</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">attributeValuePair</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-attribute">attribute</a></span> "=" <span class="prod"><a class="grammarRef" href="#prod-literal">literal</a></span></code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Entity maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-entity">Entity</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#entity.id"><span class="attribute" id="entity.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#entity.attributes"><span class="attribute" id="entity.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_11"><div class="anexampleTitle"><a class="internalDFN" href="#example_11">Example 11</a></div>
+<pre class="codeexample">entity(tr:WD-prov-dm-20111215, [ prov:type="document" ])
+</pre>
+  Here <span class="name">tr:WD-prov-dm-20111215</span> is the entity identifier, and <span class="name">[ prov:type="document" ]</span> groups the optional attributes, only one in this example,  with their values.
+  <pre class="codeexample"><!-- entity(tr:WD-prov-dm-20111215, [ prov:type="document", ex:version=2 ]) -->
+entity(tr:WD-prov-dm-20111215)
+</pre>
+Here, the optional attributes are absent.
+</div>
+
+
+
+</div> 
+<div id="expression-Activity" class="section"> 
+<h4><span class="secno">3.1.2 </span>Activity</h4>
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-activityExpression" name="prod-activityExpression"></a>[<span class="prodNo">7</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">activityExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"activity" "(" <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-timeOrMarker" name="prod-timeOrMarker"></a>[<span class="prodNo">8</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">timeOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-time">time</a></span> | "-" )</code></td> </tr> </tbody>
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Activity maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-activity">Activity</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.id"><span class="attribute" id="activity.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.startTime"><span class="attribute" id="activity.startTime">startTime</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.endTime"><span class="attribute" id="activity.endTime">endTime</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.attributes"><span class="attribute" id="activity.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_12"><div class="anexampleTitle"><a class="internalDFN" href="#example_12">Example 12</a></div>
+<pre class="codeexample">activity(ex:a10, 2011-11-16T16:00:00, 2011-11-16T16:00:01, [prov:type="createFile"])
+</pre>
+<p>Here <span class="name">ex:a10</span> is the  activity identifier, <span class="name">2011-11-16T16:00:00</span> and <span class="name">2011-11-16T16:00:01</span> are the optional start and end times for the activity, and <span class="name">[prov:type="createFile"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+<pre class="codeexample">activity(ex:a10)
+activity(ex:a10, -, -)
+activity(ex:a10, -, -, [prov:type="edit"])
+activity(ex:a10, -, 2011-11-16T16:00:00)
+activity(ex:a10, 2011-11-16T16:00:00, -)
+activity(ex:a10, 2011-11-16T16:00:00, -, [prov:type="createFile"])
+activity(ex:a10, [prov:type="edit"])
+</pre>
+</div>
+
+
+</div>
+<div id="expression-Generation" class="section">
+<h4><span class="secno">3.1.3 </span>Generation</h4>
+
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-generationExpression" name="prod-generationExpression"></a>[<span class="prodNo">9</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">generationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasGeneratedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-optionalIdentifier" name="prod-optionalIdentifier"></a>[<span class="prodNo">10</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">optionalIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-identifierOrMarker">identifierOrMarker</a></span> ";" )?</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-identifierOrMarker" name="prod-identifierOrMarker"></a>[<span class="prodNo">11</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">identifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> | "-" )</code></td> </tr> </tbody>
+
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Generation maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasgeneratedby">Generation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.id"><span class="attribute" id="generation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.entity"><span class="attribute" id="generation.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.activity"><span class="attribute" id="generation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.time"><span class="attribute" id="generation.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.attributes"><span class="attribute" id="generation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="example_13"><div class="anexampleTitle"><a class="internalDFN" href="#example_13">Example 13</a></div>
+
+<pre class="codeexample">wasGeneratedBy(ex:g1; tr:WD-prov-dm-20111215, ex:edit1, 2011-11-16T16:00:00,  [ex:fct="save"])
+</pre>
+<p>  Here <span class="name">ex:g1</span> is the optional generation identifier, <span class="name">tr:WD-prov-dm-20111215</span> is the identifier of the entity being generated,
+  <span class="name">ex:edit1</span> is the optional identifier of the generating activity, <span class="name">2011-11-16T16:00:00</span> is the optional generation time, and <span class="name"> [ex:fct="save"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+  
+<pre class="codeexample">wasGeneratedBy(e2, a1, -)
+wasGeneratedBy(e2, a1, 2011-11-16T16:00:00)
+wasGeneratedBy(e2, a1, -, [ex:fct="save"])     
+wasGeneratedBy(e2, [ex:fct="save"])     
+wasGeneratedBy(ex:g1; e)
+wasGeneratedBy(ex:g1; e, a, tr:WD-prov-dm-20111215)
+</pre>
+</div>
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-generationExpression">generationExpression</a></code>.</p>
+
+<!--
+<p><strong>Note:</strong> Even though the production  allows for expressions <span class="name">wasGeneratedBy(e2, -, -)</span>  and <span class="name">wasGeneratedBy(-; e2, -, -)</span>, these expressions are not valid in PROV-N, since at least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.id"><span class='attribute'>id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.activity"><span class='attribute'>activity</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.time"><span class='attribute'>time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.attributes"><span class='attribute'>attributes</span></a> MUST be present.</p>
+-->
+
+
+
+</div>
+
+<div id="expression-Usage" class="section">
+<h4><span class="secno">3.1.4 </span>Usage</h4>
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-usageExpression" name="prod-usageExpression"></a>[<span class="prodNo">12</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">usageExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"used" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Usage maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-used">Usage</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.id"><span class="attribute" id="usage.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.activity"><span class="attribute" id="usage.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr><tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.entity"><span class="attribute" id="usage.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.time"><span class="attribute" id="usage.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.attributes"><span class="attribute" id="usage.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+<div class="anexample" id="example_14"><div class="anexampleTitle"><a class="internalDFN" href="#example_14">Example 14</a></div>
+  
+<pre class="codeexample">used(ex:u1; ex:act2, ar3:0111, 2011-11-16T16:00:00, [ex:fct="load"])
+ </pre>
+<p>  Here <span class="name">ex:u1</span> is the optional usage identifier,  <span class="name">ex:act2</span> is the identifier of the using activity,
+  <span class="name">ar3:0111</span> is the identifier of the entity being used,
+ <span class="name">2011-11-16T16:00:00</span> is the optional usage time, and <span class="name"> [ex:fct="load"]</span> are optional attributes.</p>
+The remaining examples show cases where some of the optionals are omitted.
+
+  <pre class="codeexample">used(ex:act2)
+used(ex:act2, ar3:0111, 2011-11-16T16:00:00)
+used(a1,e1, -, [ex:fct="load"])
+used(ex:u1; ex:act2, ar3:0111, -)
+</pre>
+</div>
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-usageExpression">usageExpression</a></code>.</p>
+
+
+
+</div>
+
+<div id="expression-wasInformedBy" class="section">
+<h4><span class="secno">3.1.5 </span>Communication</h4>
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-communicationExpression" name="prod-communicationExpression"></a>[<span class="prodNo">13</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">communicationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasInformedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Communication maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasinformedby">Communication</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.id"><span class="attribute" id="communication.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.informed"><span class="attribute" id="communication.informed">informed</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.informant"><span class="attribute" id="communication.informant">informant</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.attributes"><span class="attribute" id="communication.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_15"><div class="anexampleTitle"><a class="internalDFN" href="#example_15">Example 15</a></div>
+<pre class="codeexample">wasInformedBy(ex:inf1; ex:a1, ex:a2, [ex:param1="a", ex:param2="b"])
+</pre>
+<p>  Here <span class="name">ex:inf1</span> is the optional communication identifier,  <span class="name">ex:a1</span> is the identifier of the informed activity,
+  <span class="name">ex:a2</span> is the identifier of the informant activity,
+and <span class="name">[ex:param1="a", ex:param2="b"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+<pre class="codeexample">wasInformedBy(ex:a1, ex:a2)
+wasInformedBy(ex:a1, ex:a2, [ex:param1="a", ex:param2="b"])
+wasInformedBy(i; ex:a1, ex:a2)
+wasInformedBy(i; ex:a1, ex:a2, [ex:param1="a", ex:param2="b"])
+</pre>
+</div>
+</div>
+
+
+
+<div id="expression-Start" class="section">
+<h4><span class="secno">3.1.6 </span>Start</h4>
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-startExpression" name="prod-startExpression"></a>[<span class="prodNo">14</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">startExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasStartedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Start maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasstartedby">Start</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.id"><span class="attribute" id="start.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.activity"><span class="attribute" id="start.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.trigger"><span class="attribute" id="start.trigger">trigger</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.starter"><span class="attribute" id="start.starter">starter</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.time"><span class="attribute" id="start.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.attributes"><span class="attribute" id="start.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_16"><div class="anexampleTitle"><a class="internalDFN" href="#example_16">Example 16</a></div>
+
+  <pre class="codeexample">wasStartedBy(start; ex:act2, ex:trigger, ex:act1, 2011-11-16T16:00:00, [ex:param="a"])
+  </pre>
+  <p>Here <span class="name">start</span> is the optional start identifier,  <span class="name">ex:act2</span> is the identifier of the started activity,
+  <span class="name">ex:trigger</span> is the optional identifier for the entity that triggered the activity start,
+   <span class="name">ex:act1</span> is the optional identifier for the activity that generated the (possibly unspecified) entity   <span class="name">ex:trigger</span>,
+ <span class="name">2011-11-16T16:00:00</span> is the optional start time, and <span class="name"> [ex:param="a"]</span> are optional attributes.</p>
+  The remaining examples show cases where some of the optionals are omitted.
+  
+  <pre class="codeexample">wasStartedBy(ex:act2, -, ex:act1, -)
+wasStartedBy(ex:act2, -, ex:act1, 2011-11-16T16:00:00)
+wasStartedBy(ex:act2, -, -, 2011-11-16T16:00:00)
+wasStartedBy(ex:act2, [ex:param="a"])
+wasStartedBy(start; ex:act2, e, ex:act1, 2011-11-16T16:00:00)
+</pre>
+</div>
+
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-startExpression">startExpression</a></code>.</p>
+
+
+</div>
+
+<div id="expression-End" class="section">
+<h4><span class="secno">3.1.7 </span>End</h4>
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-endExpression" name="prod-endExpression"></a>[<span class="prodNo">15</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">endExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasEndedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM End maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasendedby">End</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.id"><span class="attribute" id="end.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.activity"><span class="attribute" id="end.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.trigger"><span class="attribute" id="end.trigger">trigger</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.ender"><span class="attribute" id="end.ender">ender</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.time"><span class="attribute" id="end.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.attributes"><span class="attribute" id="end.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="example_17"><div class="anexampleTitle"><a class="internalDFN" href="#example_17">Example 17</a></div>
+
+    <pre class="codeexample">wasEndedBy(end; ex:act2, ex:trigger,ex:act3,  2011-11-16T16:00:00, [ex:param="a"])
+  </pre>
+<p>  Here <span class="name">end</span> is the optional end identifier,  
+<span class="name">ex:act2</span> is the identifier of the ending activity,
+  <span class="name">ex:trigger</span> is the identifier of the entity that triggered the activity end,
+  <span class="name">ex:act3</span> is the optional identifier for the activity that generated the (possibly unspecified) entity   <span class="name">ex:trigger</span>,
+ <span class="name">2011-11-16T16:00:00</span> is the optional usage time, and <span class="name"> [ex:param="a"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+  
+<pre class="codeexample">wasEndedBy(ex:act2, ex:trigger, -, -)
+wasEndedBy(ex:act2, ex:trigger, -, 2011-11-16T16:00:00)
+wasEndedBy(ex:act2, -, -, 2011-11-16T16:00:00)
+wasEndedBy(ex:act2, -, -, 2011-11-16T16:00:00, [ex:param="a"])
+wasEndedBy(end; ex:act2)
+wasEndedBy(end; ex:act2, ex:trigger, -, 2011-11-16T16:00:00)
+</pre>
+</div>
+
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-endExpression">endExpression</a></code>.</p>
+
+</div>
+
+
+
+<div id="expression-Invalidation" class="section">
+<h4><span class="secno">3.1.8 </span>Invalidation</h4>
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-invalidationExpression" name="prod-invalidationExpression"></a>[<span class="prodNo">16</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">invalidationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasInvalidatedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Invalidation maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasinvalidatedby">Invalidation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.id"><span class="attribute" id="invalidation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.entity"><span class="attribute" id="invalidation.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.activity"><span class="attribute" id="invalidation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.time"><span class="attribute" id="invalidation.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.attributes"><span class="attribute" id="invalidation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+<div class="anexample" id="example_18"><div class="anexampleTitle"><a class="internalDFN" href="#example_18">Example 18</a></div>
+
+<pre class="codeexample">wasInvalidatedBy(ex:inv; tr:WD-prov-dm-20111215, ex:edit1, 2011-11-16T16:00:00,  [ex:fct="save"])
+</pre>
+<p>  Here <span class="name">ex:inv</span> is the optional invalidation identifier, <span class="name">tr:WD-prov-dm-20111215</span> is the identifier of the entity being invalidated,
+  <span class="name">ex:edit1</span> is the optional identifier of the invalidating activity, <span class="name">2011-11-16T16:00:00</span> is the optional invalidation time, and <span class="name"> [ex:fct="save"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+  
+<pre class="codeexample">wasInvalidatedBy(tr:WD-prov-dm-20111215, ex:edit1, -)
+wasInvalidatedBy(tr:WD-prov-dm-20111215, ex:edit1, 2011-11-16T16:00:00)
+wasInvalidatedBy(e2, a1, -, [ex:fct="save"])     
+wasInvalidatedBy(e2, -, -, [ex:fct="save"])     
+wasInvalidatedBy(ex:inv; tr:WD-prov-dm-20111215, ex:edit1, -)
+wasInvalidatedBy(tr:WD-prov-dm-20111215, ex:edit1, -)
+</pre>
+</div>
+
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-invalidationExpression">invalidationExpression</a></code>.</p>
+
+
+</div>
+
+
+
+
+</div>
+
+<div id="component2" class="section"> 
+<h3><span class="secno">3.2 </span>Component 2: Derivations</h3>
+<div id="Derivation-Relation" class="section">
+<h4><span class="secno">3.2.1 </span>Derivation</h4>
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-derivationExpression" name="prod-derivationExpression"></a>[<span class="prodNo">17</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">derivationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasDerivedFrom" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-gIdentifierOrMarker">gIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-uIdentifierOrMarker">uIdentifierOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Derivation maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasderivedfrom">Derivation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.id"><span class="attribute" id="derivation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.generatedEntity"><span class="attribute" id="derivation.generatedEntity">generatedEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.usedEntity"><span class="attribute" id="derivation.usedEntity">usedEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.activity"><span class="attribute" id="derivation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.generation"><span class="attribute" id="derivation.generation">generation</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-gIdentifierOrMarker">gIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.usage"><span class="attribute" id="derivation.usage">usage</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-uIdentifierOrMarker">uIdentifierOrMarker</a></code></td></tr>
+
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.attributes"><span class="attribute" id="derivation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+
+
+
+<div class="anexample" id="anexample-derivation"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-derivation">Example 19</a></div>
+    <pre class="codeexample">wasDerivedFrom(d; e2, e1, a, g2, u1, [ex:comment="a righteous derivation"])
+  </pre>
+<p>  Here
+    <span class="name">d</span> is the optional derivation identifier,
+  <span class="name">e2</span> is the identifier for the entity being derived,
+  <span class="name">e1</span> is the  identifier of the entity from which <span class="name">e2</span> is derived,
+  <span class="name">a</span> is the optional identifier of the activity which used/generated the entities,
+  <span class="name">g2</span> is the optional identifier of the generation,
+  <span class="name">u1</span> is the optional identifier of the usage,
+  and <span class="name">[ex:comment="a righteous derivation"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+  
+<pre class="codeexample">wasDerivedFrom(e2, e1)
+wasDerivedFrom(e2, e1, a, g2, u1)
+wasDerivedFrom(e2, e1, -, g2, u1)
+wasDerivedFrom(e2, e1, a, -, u1)
+wasDerivedFrom(e2, e1, a, g2, -)
+wasDerivedFrom(e2, e1, a, -, -)
+wasDerivedFrom(e2, e1, -, -, u1)
+wasDerivedFrom(e2, e1, -, -, -)
+wasDerivedFrom(d; e2, e1, a, g2, u1)
+wasDerivedFrom(-; e2, e1, a, g2, u1)
+</pre>
+</div>
+
+</div>
+<div id="expression-Revision" class="section">
+<h4><span class="secno">3.2.2 </span>Revision</h4>
+
+<p id="provn-type-Revision">
+PROV-N provides no dedicated syntax for Revision. Instead, a Revision <em class="rfc2119" title="must">must</em> be expressed as a 
+<code class="content"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression</a></code> with attribute <code>prov:type='prov:Revision'</code>.</p>
+
+
+
+<div class="anexample" id="example_20"><div class="anexampleTitle"><a class="internalDFN" href="#example_20">Example 20</a></div>
+    <pre class="codeexample">wasDerivedFrom(d; e2, e1, a, g2, u1, 
+               [prov:type='prov:Revision', 
+                ex:comment="a righteous derivation"])
+  </pre>
+<p>Here, the derivation from
+<a href="#anexample-derivation" class="anexample-ref"><span>Example 19</span></a>
+is extended with a <span class="name">prov:type</span> attribute and value <span class="name">prov:Revision</span>.  The expression <code>'prov:Revision'</code> is <code class="content"><a class="grammarRef" href="#prod-convenienceNotation">convenienceNotation</a></code> to denote a <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> literal (See  <a href="#expression-literal">Section 3.7.3. Literal</a>).
+</p></div>
+
+
+</div>  <!-- end revision -->
+<div id="expression-quotation" class="section">
+<h4><span class="secno">3.2.3 </span>Quotation</h4>
+
+<p id="provn-type-Quotation">
+PROV-N provides no dedicated syntax for Quotation. Instead, a Quotation <em class="rfc2119" title="must">must</em> be  expressed as a 
+<code class="content"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression</a></code> with attribute <code>prov:type='prov:Quotation'</code>.</p>
+
+
+
+
+
+<div class="anexample" id="example_21"><div class="anexampleTitle"><a class="internalDFN" href="#example_21">Example 21</a></div>
+    <pre class="codeexample">wasDerivedFrom(quoteId1; ex:blockQuote,ex:blog, ex:act1, ex:g, ex:u,
+               [ prov:type='prov:Quotation' ]) 
+ </pre>
+
+<p>Here, the derivation is provided with a <span class="name">prov:type</span> attribute and value <span class="name">prov:Quotation</span>.
+</p></div>
+
+
+</div>  <!-- end quotation -->
+
+
+<div id="expression-primary-source" class="section">
+<h4><span class="secno">3.2.4 </span>Primary Source</h4>
+
+
+<p id="provn-type-Primary-Source">
+PROV-N provides no dedicated syntax for PrimarySource. Instead, a PrimarySource <em class="rfc2119" title="must">must</em> be expressed as a 
+<code class="content"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression</a></code> with attribute <code>prov:type='prov:Primary-Source'</code>.</p>
+
+
+<div class="anexample" id="example_22"><div class="anexampleTitle"><a class="internalDFN" href="#example_22">Example 22</a></div>
+    <pre class="codeexample">wasDerivedFrom(sourceId1;  ex:e1, ex:e2, ex:act, ex:g, ex:u, 
+               [ prov:type='prov:PrimarySource' ])
+</pre>
+<p>Here, the derivation is provided with a <span class="name">prov:type</span> attribute and value <span class="name">prov:PrimarySource</span>.
+  </p>
+</div>
+
+
+</div>  <!-- end primary source -->
+
+</div>
+
+
+<div id="component3" class="section"> 
+<h3><span class="secno">3.3 </span>Component 3: Agents, Responsibility, and Influence</h3>
+<div id="expression-Agent" class="section">
+<h4><span class="secno">3.3.1 </span>Agent</h4>
+
+<!--
+<div class='grammar'>
+<span class="nonterminal">agentExpression</span>&nbsp;::= 
+<span class="name">agent</span>
+<span class="name">(</span>
+<span class="nonterminal">identifier</span>
+<span class="nonterminal">optional-attribute-values</span>
+<span class="name">)</span>
+</div>
+</div>
+-->
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agentExpression" name="prod-agentExpression"></a>[<span class="prodNo">18</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">agentExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"agent" "(" <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Agent maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-agent">Agent</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#agent.id"><span class="attribute" id="agent.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#agent.attributes"><span class="attribute" id="agent.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+<p>
+PROV-N provides no dedicated syntax for Person, Organization, SoftwareAgent. Instead, a Person, an Organization, or a SoftwareAgent <em class="rfc2119" title="must">must</em> be expressed as an
+<code class="content"><a class="grammarRef" href="#prod-agentExpression">agentExpression</a></code> with attribute 
+<span id="provn-type-Person"><code>prov:type='prov:Person'</code></span>,
+<span id="provn-type-Organization"><code>prov:type='prov:Organization'</code></span>, or
+<span id="provn-type-SoftwareAgent"><code>prov:type='prov:SoftwareAgent'</code></span>, respectively.</p>
+
+
+<div class="anexample" id="example_23"><div class="anexampleTitle"><a class="internalDFN" href="#example_23">Example 23</a></div>
+<pre class="codeexample">agent(ag4, [ prov:type='prov:Person', ex:name="David" ])
+</pre>
+<p>Here <span class="name">ag</span> is the agent identifier, and
+   <span class="name">[ prov:type='prov:Person', ex:name="David" ]</span> are optional attributes. </p>
+In the next example, the optional attributes are omitted.
+
+<pre class="codeexample">agent(ag4)
+</pre>
+</div>
+
+
+</div>
+<div id="expression-attribution" class="section">
+<h4><span class="secno">3.3.2 </span>Attribution</h4>
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attributionExpression" name="prod-attributionExpression"></a>[<span class="prodNo">19</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">attributionExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasAttributedTo" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Attribution maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasattributedto">Attribution</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.id"><span class="attribute" id="attribution.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.entity"><span class="attribute" id="attribution.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.agent"><span class="attribute" id="attribution.agent">agent</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.attributes"><span class="attribute" id="attribution.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_24"><div class="anexampleTitle"><a class="internalDFN" href="#example_24">Example 24</a></div>
+
+<pre class="codeexample">wasAttributedTo(attr; e, ag, [ex:license='cc:attributionURL' ])
+  </pre>
+<p>    Here <span class="name">attr</span> is the optional attribution identifier,  <span class="name">e</span> is an entity identifier,
+  <span class="name">ag</span> is the identifier of the agent to whom the entity is abscribed, 
+and <span class="name">[ex:license='cc:attributionURL' ]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+<pre class="codeexample">wasAttributedTo(e, ag)
+wasAttributedTo(e, ag, [ex:license='cc:attributionURL' ])
+</pre>
+</div>
+
+</div>  <!-- end attribution -->
+
+
+<div id="expression-Association" class="section">
+<h4><span class="secno">3.3.3 </span>Association</h4>
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-associationExpression" name="prod-associationExpression"></a>[<span class="prodNo">20</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">associationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasAssociatedWith" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-agIdentifierOrMarker">agIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Association maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasassociatedwith">Association</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.id"><span class="attribute" id="association.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.activity"><span class="attribute" id="association.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.agent"><span class="attribute" id="association.agent">agent</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifierOrMarker">agIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.plan"><span class="attribute" id="association.plan">plan</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.attributes"><span class="attribute" id="association.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+<p id="provn-type-Plan">
+PROV-N provides no dedicated syntax for Plan. Instead, a Plan <em class="rfc2119" title="must">must</em> be expressed as an
+<code class="content"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code> with attribute <code>prov:type='prov:Plan'</code>.</p>
+
+
+<div class="anexample" id="example_25"><div class="anexampleTitle"><a class="internalDFN" href="#example_25">Example 25</a></div>
+<pre class="codeexample">wasAssociatedWith(ex:assoc; ex:a1, ex:ag1, ex:e1, [ex:param1="a", ex:param2="b"])
+  </pre>
+
+<p>  Here <span class="name">ex:assoc</span> is the optional attribution identifier,
+  <span class="name">ex:a1</span> is an activity identifier,
+  <span class="name">ex:ag1</span> is the optional identifier of the agent associated to the activity,
+  <span class="name">ex:e1</span> is the optional identifier of the plan used by the agent in the context of the activity,
+  and <span class="name"> [ex:param1="a", ex:param2="b"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+  
+  
+<pre class="codeexample">wasAssociatedWith(ex:a1, -, ex:e1)
+wasAssociatedWith(ex:a1, ex:ag1)
+wasAssociatedWith(ex:a1, ex:ag1, ex:e1)
+wasAssociatedWith(ex:a1, ex:ag1, ex:e1, [ex:param1="a", ex:param2="b"])
+wasAssociatedWith(a; ex:a1, -, ex:e1)
+</pre>
+</div>
+
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-associationExpression">associationExpression</a></code>.</p>
+
+
+<div class="anexample" id="example_26"><div class="anexampleTitle"><a class="internalDFN" href="#example_26">Example 26</a></div>
+<p>The  following expressions illustrates a plan.
+</p><pre class="codeexample">  entity(ex:pl1,   [ prov:type='prov:Plan' ])
+</pre>
+</div>
+
+
+<!--
+<p><strong>Note:</strong>The production <code class="content"><a class="grammarRef" href="#prod-associationExpression">associationExpression</a></code> allows for expressions <span class="name">wasAssociatedWith(a, -, -)</span>  and <span class="name">wasAssociatedWith(-; a, -, -)</span>. However, these expressions are not valid in PROV-N, 
+since
+at least one of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.id"><span class='attribute'>id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.agent"><span class='attribute'>agent</span></a>,  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.plan"><span class='attribute'>plan</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.attributes"><span class='attribute'>attributes</span></a>  MUST be present.</p>
+-->
+
+</div>
+<div id="expression-delegation" class="section">
+<h4><span class="secno">3.3.4 </span>Delegation</h4>
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-delegationExpression" name="prod-delegationExpression"></a>[<span class="prodNo">21</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">delegationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"actedOnBehalfOf" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Delegation maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-actedonbehalfof">Delegation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.id"><span class="attribute" id="delegation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.delegate"><span class="attribute" id="delegation.delegate">delegate</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.responsible"><span class="attribute" id="delegation.responsible">responsible</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.activity"><span class="attribute" id="delegation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.attributes"><span class="attribute" id="delegation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_27"><div class="anexampleTitle"><a class="internalDFN" href="#example_27">Example 27</a></div>
+
+  <pre class="codeexample">actedOnBehalfOf(del1; ag2, ag1, a, [prov:type="contract"])
+  </pre>
+<p>  Here <span class="name">del1</span> is the optional delegation identifier,
+  <span class="name">ag2</span> is the identifier for the delegate agent,
+  <span class="name">ag1</span> is the  identifier of the responsible agent,
+  <span class="name">a</span> is the optional identifier of the activity for which the delegation link holds,
+  and <span class="name">[prov:type="contract"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+
+<pre class="codeexample">actedOnBehalfOf(ag1, ag2)
+actedOnBehalfOf(ag1, ag2, a)
+actedOnBehalfOf(ag1, ag2, -, [prov:type="delegation"])
+actedOnBehalfOf(ag2, ag3, a, [prov:type="contract"])
+actedOnBehalfOf(del1; ag2, ag3, a, [prov:type="contract"])
+</pre>
+</div>
+
+
+</div>
+
+<div id="expression-influence" class="section">
+<h4><span class="secno">3.3.5 </span>Influence</h4>
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-influenceExpression" name="prod-influenceExpression"></a>[<span class="prodNo">22</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">influenceExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasInfluencedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Influence maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasinfluencedby">Influence</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.id"><span class="attribute" id="influence.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.influencee"><span class="attribute" id="influence.influencee">influencee</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.influencer"><span class="attribute" id="influence.influencer">influencer</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.attributes"><span class="attribute" id="influence.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="example_28"><div class="anexampleTitle"><a class="internalDFN" href="#example_28">Example 28</a></div>
+    <pre class="codeexample">wasInfluencedBy(infl1;e2,e1,[ex:param="a"])
+  </pre>
+<p>  Here,
+    <span class="name">infl1</span> is the optional influence identifier,
+  <span class="name">e2</span> is an entity identifier,
+  <span class="name">e1</span> is the identifier for an ancestor entity that   <span class="name">e2</span> is influenced by,
+  and <span class="name">[ex:param="a"]</span> is the optional set of attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+
+  <pre class="codeexample">wasInfluencedBy(e2,e1)
+wasInfluencedBy(e2,e1,[ex:param="a"])
+wasInfluencedBy(infl1; e2,e1)
+</pre>
+</div>
+
+</div>
+
+</div>
+
+<div id="component4" class="section"> 
+<h3><span class="secno">3.4 </span>Component 4: Bundles</h3>
+
+<div id="expression-bundle-constructor" class="section"> 
+<h4><span class="secno">3.4.1 </span>Bundle Constructor</h4>
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-bundle" name="prod-bundle"></a>[<span class="prodNo">23</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">bundle</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"bundle" <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> (<span class="prod"><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></span>)? (<span class="prod"><a class="grammarRef" href="#prod-expression">expression</a></span>)* "endBundle"</code></td> </tr> </tbody>
+</table>
+
+<p>Bundles cannot be nested because a <code><a class="grammarRef" href="#prod-bundle">bundle</a></code> is not an <code><a class="grammarRef" href="#prod-expression">expression</a></code>, and therefore cannot occur inside another <code><a class="grammarRef" href="#prod-bundle">bundle</a></code>.</p>
+
+<p>Each identifier occuring in a bundle, including the bundle identifier itself, <em class="rfc2119" title="must">must</em> be interpreted with respect to the namespace declarations of that bundle, or if the identifier's prefix is not declared in the bundle, with respect to the namespace declarations in the document. </p>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM bundle maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-bundle-constructor">Bundle</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#bundle.constructor.id"><span class="attribute" id="bundle.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#bundle.constructor.descriptions"><span class="attribute" id="bundle.descriptions">descriptions</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-expression">expression</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-namespaceDeclaration"><span class="attribute" id="namespaceDeclaration">namespaceDeclaration</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></code></td></tr>
+
+
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="anexample-bundle1"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-bundle1">Example 29</a></div>
+    <pre class="codeexample">bundle ex:author-view
+  prefix ex  &lt;http://example.org/&gt;
+  agent(ex:Paolo,   [ prov:type='prov:Person' ])
+  agent(ex:Simon,   [ prov:type='prov:Person' ])
+  //...
+endBundle
+  </pre>
+<p> Here  <span class="name">ex:author-view</span> is the name of the bundle. 
+</p>
+
+
+
+
+</div>
+
+</div>
+
+<div id="expression-bundle-type" class="section"> 
+<h4><span class="secno">3.4.2 </span>Bundle Type</h4>
+
+<p id="provn-type-Bundle">
+When described, a Bundle <em class="rfc2119" title="must">must</em> be expressed as an <code class="content"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code> with attribute <code>prov:type='prov:Bundle'</code>.</p>
+
+<div class="anexample" id="example_30"><div class="anexampleTitle"><a class="internalDFN" href="#example_30">Example 30</a></div>
+<p>The bundle of
+<a href="#anexample-bundle1" class="anexample-ref"><span>Example 29</span></a> can be referred to as an an entity, and its provenance described.</p>
+<pre class="codeexample">  entity(ex:author-view,   [ prov:type='prov:Bundle' ])
+</pre>
+</div>
+</div>
+</div>
+
+<div id="component5" class="section"> 
+<h3><span class="secno">3.5 </span>Component 5: Alternate Entities</h3>
+<div id="expression-alternate" class="section">
+<h4><span class="secno">3.5.1 </span>Alternate</h4>
+
+<!--
+<div class='grammar'>
+   <span class="nonterminal">alternateExpression</span>&nbsp;::=
+  <span class="name">alternateOf</span> 
+<span class="name">(</span> 
+<span class="nonterminal">eIdentifier</span> 
+<span class="name">,</span> 
+<span class="nonterminal">eIdentifier</span> 
+<span class="name">)</span>  
+</div>
+-->
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-alternateExpression" name="prod-alternateExpression"></a>[<span class="prodNo">24</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">alternateExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"alternateOf" "(" <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Alternate maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-alternateof">Alternate</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#alternate.alternate1"><span class="attribute" id="alternate.alternate1">alternate1</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#alternate.alternate2"><span class="attribute" id="alternate.alternate2">alternate2</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+</tbody></table>
+</div>
+
+<div class="anexample" id="example_31"><div class="anexampleTitle"><a class="internalDFN" href="#example_31">Example 31</a></div>
+<pre class="codeexample">alternateOf(tr:WD-prov-dm-20111215,ex:alternate-20111215)
+</pre>
+  Here  <span class="name">tr:WD-prov-dm-20111215</span> is alternate for   <span class="name">ex:alternate-20111215</span>.
+</div>
+
+
+</div>
+<div id="expression-specialization" class="section">
+<h4><span class="secno">3.5.2 </span>Specialization</h4>
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-specializationExpression" name="prod-specializationExpression"></a>[<span class="prodNo">25</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">specializationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"specializationOf" "(" <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Specialization maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-specializationof">Specialization</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#specialization.specificEntity"><span class="attribute" id="specialization.specificEntity">specificEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#specialization.generalEntity"><span class="attribute" id="specialization.generalEntity">generalEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="example_32"><div class="anexampleTitle"><a class="internalDFN" href="#example_32">Example 32</a></div>
+<pre class="codeexample">specializationOf(tr:WD-prov-dm-20111215,tr:prov-dm)
+</pre>
+    Here  <span class="name">tr:WD-prov-dm-20111215</span> is a specialization of <span class="name">tr:prov-dm</span>.
+</div>
+
+</div>
+
+
+
+
+
+
+
+</div>
+
+
+
+<div id="component6" class="section"> 
+<h3><span class="secno">3.6 </span>Component 6: Collections</h3>
+
+
+<div id="expression-collection" class="section">
+<h4><span class="secno">3.6.1 </span>Collection</h4>
+
+
+<p>
+PROV-N provides no dedicated syntax for Collection and EmptyCollection. Instead, a Collection or an EmptyCollection <em class="rfc2119" title="must">must</em> be expressed as an
+<code class="content"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code> with attribute 
+<span id="provn-type-Collection"><code>prov:type='prov:Collection'</code></span>, or
+<span id="provn-type-EmptyCollection"><code>prov:type='prov:EmptyCollection'</code></span>, respectively.</p>
+
+
+
+<div class="anexample" id="example_33"><div class="anexampleTitle"><a class="internalDFN" href="#example_33">Example 33</a></div>
+<p>The  following two expressions are about a collection and an empty collection, respectively.
+</p><pre class="codeexample">  entity(ex:col1,   [ prov:type='prov:Collection' ])
+  entity(ex:col2,   [ prov:type='prov:EmptyCollection' ])
+</pre>
+</div>
+</div>
+
+
+<div id="expression-collection-membership" class="section">
+<h4><span class="secno">3.6.2 </span>Membership</h4>
+
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-membershipExpression" name="prod-membershipExpression"></a>[<span class="prodNo">26</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">membershipExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"hadMember" "(" <span class="prod"><a class="grammarRef" href="#prod-cIdentifier">cIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Membership maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-hadmember">Membership</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#membership.collection"><span class="attribute" id="membership.collection">collection</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-cIdentifier">cIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#membership.entity"><span class="attribute" id="membership.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+
+<div class="anexample" id="example_34"><div class="anexampleTitle"><a class="internalDFN" href="#example_34">Example 34</a></div>
+    <pre class="codeexample">   hadMember(c, e1)   // c contained e1
+   hadMember(c, e2)   // c contained e2 
+  </pre>
+<p>  Here
+  <span class="name">c</span> is the  identifier for the collection whose membership is stated, and 
+  <span class="name">e1</span> and <span class="name">e2</span> are the entities that are members of collection c 
+<!--
+    <span class="name">true</span> is the complete flag indicating that the collection member is believed to be closed,
+    and <span class="name">[prov:label="A beautiful collection"]</span> is the optional set of attributes. </p>  
+-->
+
+</p></div>
+
+</div>
+
+</div>   <!-- end collections-->
+
+
+
+
+
+<div id="subexpressions" class="section">
+<h3><span class="secno">3.7 </span>Further Expressions</h3>
+
+This section defines further expressions of PROV-N.
+
+
+<div id="expression-identifier" class="section">
+<h4><span class="secno">3.7.1 </span>Identifier</h4>
+
+<p>Various kinds of identifiers are used in productions.</p>
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-eIdentifier" name="prod-eIdentifier"></a>[<span class="prodNo">27</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">eIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-aIdentifier" name="prod-aIdentifier"></a>[<span class="prodNo">28</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">aIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agIdentifier" name="prod-agIdentifier"></a>[<span class="prodNo">29</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">agIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifier" name="prod-gIdentifier"></a>[<span class="prodNo">30</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">gIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifier" name="prod-uIdentifier"></a>[<span class="prodNo">31</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">uIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-cIdentifier" name="prod-cIdentifier"></a>[<span class="prodNo">32</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">cIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-eIdentifierOrMarker" name="prod-eIdentifierOrMarker"></a>[<span class="prodNo">33</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">eIdentifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-aIdentifierOrMarker" name="prod-aIdentifierOrMarker"></a>[<span class="prodNo">34</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">aIdentifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agIdentifierOrMarker" name="prod-agIdentifierOrMarker"></a>[<span class="prodNo">35</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">agIdentifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifierOrMarker" name="prod-gIdentifierOrMarker"></a>[<span class="prodNo">36</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">gIdentifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-gIdentifier">gIdentifier</a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifierOrMarker" name="prod-uIdentifierOrMarker"></a>[<span class="prodNo">37</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">uIdentifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-uIdentifier">uIdentifier</a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-identifier" name="prod-identifier"></a>[<span class="prodNo">38</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">identifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
+</table>
+
+
+<p>
+A <dfn id="dfn-qualifiedName">qualified name</dfn> is a name subject to <a>namespace</a> interpretation. It consists of a <a>namespace</a>, denoted by an optional prefix, and a local name.
+The PROV data model  stipulates that a qualified name can be mapped to an IRI
+ by concatenating the IRI associated with the prefix and the local part.  This section provides the exact details of this procedure for qualified names defined by PROV-N. </p>
+
+<p>A qualified name's prefix is <em class="rfc2119" title="optional">optional</em>. If a prefix occurs in a
+ qualified name, the prefix <em class="rfc2119" title="must">must</em> refer to a <a>namespace</a> declared in a namespace declaration.  In the absence of prefix, the qualified name 
+ belongs to the <a title="default namespace declaration">default namespace</a>.</p>
+
+<!--
+<div class='grammar'>
+<span class="nonterminal">eIdentifier</span>&nbsp;::=  <span class="nonterminal">identifier</span><br/>
+<span class="nonterminal">aIdentifier</span>&nbsp;::=  <span class="nonterminal">identifier</span><br/>
+<span class="nonterminal">agIdentifier</span>&nbsp;::=  <span class="nonterminal">identifier</span><br/>
+<span class="nonterminal">gIdentifier</span>&nbsp;::=  <span class="nonterminal">identifier</span><br/>
+
+<span class="nonterminal">identifier</span>&nbsp;::=  <span class="nonterminal">QUALIFIED_NAME</span><br/>
+<span class="nonterminal">eIdentifier</span>&nbsp;::=  <span class="nonterminal">identifier</span>  <em>(intended to denote an entity)</em><br/>
+<span class="nonterminal">aIdentifier</span>&nbsp;::=  <span class="nonterminal">identifier</span>  <em>(intended to denote an activity)</em><br/>
+<span class="nonterminal">agIdentifier</span>&nbsp;::=  <span class="nonterminal">identifier</span>  <em>(intended to denote an agent)</em><br/>
+<span class="nonterminal">gIdentifier</span>::=  <span class="nonterminal">identifier</span> <em>(intended to denote a generation)</em><br/>
+<span class="nonterminal">uIdentifier</span>::=  <span class="nonterminal">identifier</span> <em>(intended to denote a usage)</em><br/>
+<span class="nonterminal">nIdentifier</span>::=  <span class="nonterminal">identifier</span> <em>(intended to denote a note)</em><br/>
+<span class="nonterminal">cIdentifier</span>::=  <span class="nonterminal">identifier</span> <em>(intended to denote a collection)</em><br/>
+</div>
+-->
+
+
+<p>A PROV-N qualified name (production <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code>) has a more permissive syntax then XML's <code class="content"><a href="http://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-QName">QName</a></code> [<cite><a class="bibref" rel="biblioentry" href="#bib-XML-NAMES">XML-NAMES</a></cite>]
+and SPARQL <code class="content"><a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPrefixedName">PrefixedName</a></code> [<cite><a class="bibref" rel="biblioentry" href="#bib-RDF-SPARQL-QUERY">RDF-SPARQL-QUERY</a></cite>]. 
+A <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> consists of a prefix and a local part. Prefixes follow the production <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></code> defined by SPARQL [<cite><a class="bibref" rel="biblioentry" href="#bib-RDF-SPARQL-QUERY">RDF-SPARQL-QUERY</a></cite>]. Local parts have to be conformant with <code class="content"><a class="grammarRef" href="#prod-PN_LOCAL">PN_LOCAL</a></code>, which extends the original SPARQL <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_LOCAL">PN_LOCAL</a></code> definition 
+by allowing further characters (see <code class="content"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></code>):</p>
+<ul>
+<li> an extra set of characters commonly encountered in IRIs;
+</li><li> %-escaped characters (see <code class="content"><a class="grammarRef" href="#prod-PERCENT">PERCENT</a></code>) to be interpreted as per
+ Section 3.1.  Mapping of IRIs to URIs in [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3987">RFC3987</a></cite>];</li>
+<li> and \-escaped characters (see <code class="content"><a class="grammarRef" href="#prod-PN_CHARS_ESC">PN_CHARS_ESC</a></code>).</li>
+</ul>
+
+
+
+<p>Given that 
+'=' (equal),
+''' (single quote),
+'(' (left bracket),
+')' (right bracket),
+',' (comma),
+':' (colon),
+';' (semi-colon),   
+'"' (double quote),  <!-- " -->
+'[' (left square bracket),
+']' (right square bracket) are used by the PROV notation as delimiters, they are not allowed in local parts. 
+Instead, among those characters, those that are permitted in SPARQL
+<code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></code>  are also allowed in <code class="content"><a class="grammarRef" href="#prod-PN_LOCAL">PN_LOCAL</a></code> if they are escaped by the '\' (backslash character) as per production <code class="content"><a class="grammarRef" href="#prod-PN_CHARS_ESC">PN_CHARS_ESC</a></code>. Furthermore, '.' (dot), ':' (colon), '-' (hyphen) can also be \-escaped.</p>
+
+
+
+<p>A PROV-N qualified name <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> can be mapped to a valid IRI [<cite><a class="bibref" rel="biblioentry" href="#bib-IRI">IRI</a></cite>] by concatenating the namespace denoted  its local name <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></code> to the local name <code class="content"><a class="grammarRef" href="#prod-PN_LOCAL">PN_LOCAL</a></code>, whose \-escaped characters have been unescaped by dropping the character '\' (backslash).</p>
+
+ 
+<table class="grammar">
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-QUALIFIED_NAME" name="prod-QUALIFIED_NAME"></a>[<span class="prodNo">52</span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">QUALIFIED_NAME</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> ":" )? <span class="prod"><a class="grammarRef" href="#prod-PN_LOCAL">PN_LOCAL</a></span><br> | <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> ":"</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_LOCAL" name="prod-PN_LOCAL"></a>[<span class="prodNo">53</span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_LOCAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS_U">PN_CHARS_U</a></span> | [0-9] | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> ) ( ( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS">PN_CHARS</a></span> | "." | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> )* ( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS">PN_CHARS</a></span> | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> ) )?</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_CHARS_OTHERS" name="prod-PN_CHARS_OTHERS"></a>[<span class="prodNo">54</span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_CHARS_OTHERS</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"/"<br> | "@"<br> | "~"<br> | "&amp;"<br> | "+"<br> | "*"<br> | "?"<br> | "#"<br> | "$"<br> | "!"<br> | <span class="prod"><a class="grammarRef" href="#prod-PERCENT">PERCENT</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_ESC">PN_CHARS_ESC</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_CHARS_ESC" name="prod-PN_CHARS_ESC"></a>[<span class="prodNo">55</span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_CHARS_ESC</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"\" ( "=" | "'" | "(" | ")" | "," | "-" | ":" | ";" | "[" | "]" | "." )</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PERCENT" name="prod-PERCENT"></a>[<span class="prodNo">56</span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PERCENT</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"%" <span class="prod"><a class="grammarRef" href="#prod-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-HEX">HEX</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-HEX" name="prod-HEX"></a>[<span class="prodNo">57</span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">HEX</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">[0-9]<br> | [A-F]<br> | [a-f]</code></td> </tr> </tbody>
+
+</table>
+
+
+
+<div class="anexample" id="anexample-qualified-name"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name">Example 35</a></div>
+<p>Examples of articles on the BBC Web site seen as  entities.</p>
+<pre class="codeexample">document
+  prefix bbc &lt;http://www.bbc.co.uk/&gt;
+  prefix bbcNews &lt;http://www.bbc.co.uk/news/&gt;
+
+  entity(bbc:)                          // bbc site itself
+  entity(bbc:news/)                     // bbc news
+  entity(bbc:news/world-asia-17507976)  // a given news article
+
+  entity(bbcNews:)                      // an alternative way of referring to the bbc news site
+
+endDocument
+</pre>
+</div>
+
+
+<div class="anexample" id="anexample-qualified-name2"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name2">Example 36</a></div>
+<p>Examples of entities with declared and default namespace.</p>
+<pre class="codeexample">document
+  default &lt;http://example.org/2/&gt;
+  prefix ex &lt;http://example.org/1/&gt;
+
+  entity(ex:a)     //  corresponds to IRI http://example.org/1/a
+  entity(ex:a/)    //  corresponds to IRI http://example.org/1/a/
+  entity(ex:a/b)   //  corresponds to IRI http://example.org/1/a/b
+  entity(b)        //  corresponds to IRI http://example.org/2/b
+  entity(ex:1234)  //  corresponds to IRI http://example.org/1/1234
+  entity(4567)     //  corresponds to IRI http://example.org/2/4567
+  entity(c/)       //  corresponds to IRI http://example.org/2/c/
+  entity(ex:/)     //  corresponds to IRI http://example.org/1//
+endDocument
+</pre>
+</div>
+
+
+<div class="anexample" id="anexample-qualified-name3"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name3">Example 37</a></div>
+<p>Examples of \-escaped characters.</p>
+<pre class="codeexample">document
+  prefix ex &lt;http://example.org/&gt;
+  default &lt;http://example.org/default&gt;
+
+  entity(ex:foo?a\=1)            // corresponds to IRI http://example.org/foo?a=1
+  entity(ex:\-)                  // corresponds to IRI http://example.org/-
+  entity(ex:?fred\=fish%20soup)  // corresponds to IRI http://example.org/?fred=fish%20soup
+
+  used(-;a1,e1,-)                // identifier not specified for usage  
+  used(\-;a1,e1,-)               // usage identifier corresponds to http://example.org/default-
+endDocument
+</pre>
+</div>
+
+
+<p><b>Note:</b>The productions for the terminals  <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> and  <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></code> are conflicting.
+Indeed,  for a tokenizer operating independently of the parse tree, <code>abc</code> matches both 
+<code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> and
+<code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></code>.
+  In the context of a <code class="content"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></code>, a tokenizer should give  preference to the production <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></code>.
+</p>
+
+
+</div>
+
+<div id="expression-attribute" class="section">
+<h4><span class="secno">3.7.2 </span>Attribute</h4>
+
+<!--
+<div class='grammar'>
+<span class="nonterminal">attribute</span>&nbsp;::=  <span class="nonterminal">qualifiedName</span><br/>
+</div>
+-->
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attribute" name="prod-attribute"></a>[<span class="prodNo">39</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">attribute</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
+</table>
+
+
+<p>The  reserved attributes in the PROV namespace are the following.
+Their meaning is explained by [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] (see <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute">Section 5.7.2: Attribute</a>).
+</p>
+
+<ol>
+<li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-label"><span class="name">prov:label</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-location"><span class="name">prov:location</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-role"><span class="name">prov:role</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-type"><span class="name">prov:type</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-value"><span class="name">prov:value</span></a>
+</li></ol>
+
+
+</div>
+
+
+
+
+
+<div id="expression-literal" class="section">
+<h4><span class="secno">3.7.3 </span>Literal</h4>
+
+<!--
+<div class='grammar'>
+<span class="nonterminal">Literal</span> &nbsp;::= <span class="nonterminal">typedLiteral</span> | <span class="nonterminal">convenienceNotation</span> <br/>
+<span class="nonterminal">typedLiteral</span> ::= <span class="nonterminal">quotedString</span> <span class="name">%%</span> <span class="nonterminal">datatype</span><br/>
+<span class="nonterminal">datatype</span> ::= <span class="nonterminal">qualifiedName</span> <em> listed in Table <a href="#permitted-datatypes">permitted-datatypes</a></em><br/>
+<span class="nonterminal">convenienceNotation</span> &nbsp;::= <span class="nonterminal">stringLiteral</span> | <span class="nonterminal">intLiteral</span><br/>
+<span class="nonterminal">stringLiteral</span> ::= <span class="nonterminal">quotedString</span><br/>
+<span class="nonterminal">quotedString</span> ::= <em>a finite sequence of characters in which &quot; (#x22) and \ (#x5C) occur only in pairs of the form \&quot; (#x5C, #x22) and \\ (#x5C,
+#x5C), enclosed in a pair of &quot; (#x22) characters</em><br/>
+<span class="nonterminal">intLiteral</span> ::= <em>a finite-length non-empty sequence of decimal digits (#x30-#x39) with an optional leading negative sign (-)</em>
+</div>
+-->
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-literal" name="prod-literal"></a>[<span class="prodNo">40</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">literal</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-typedLiteral">typedLiteral</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-convenienceNotation">convenienceNotation</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-typedLiteral" name="prod-typedLiteral"></a>[<span class="prodNo">41</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">typedLiteral</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></span> "%%" <span class="prod"><a class="grammarRef" href="#prod-datatype">datatype</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-datatype" name="prod-datatype"></a>[<span class="prodNo">42</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">datatype</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-convenienceNotation" name="prod-convenienceNotation"></a>[<span class="prodNo">43</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">convenienceNotation</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></span> (<span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rLANGTAG">LANGTAG</a></span>)?<br> | <span class="prod"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME_LITERAL">QUALIFIED_NAME_LITERAL</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-STRING_LITERAL" name="prod-STRING_LITERAL"></a>[<span class="prodNo">58</span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">STRING_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL2">STRING_LITERAL2</a></span><br> | <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL_LONG2">STRING_LITERAL_LONG2</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-INT_LITERAL" name="prod-INT_LITERAL"></a>[<span class="prodNo">60</span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">INT_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">("-")? (<span class="prod"><a class="grammarRef" href="#prod-DIGIT">DIGIT</a></span>)+</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-DIGIT" name="prod-DIGIT"></a>[<span class="prodNo">62</span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">DIGIT</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">[0-9]</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-QUALIFIED_NAME_LITERAL" name="prod-QUALIFIED_NAME_LITERAL"></a>[<span class="prodNo">61</span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">QUALIFIED_NAME_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"'" <span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span> "'"</code></td> </tr> </tbody>
+</table>
+
+<p>In production <code class="content"><a class="grammarRef" href="#prod-datatype">datatype</a></code>, the <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> is used to denote a <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-value">PROV data type</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>].
+
+
+</p><p>The non terminals
+<code class="content"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></code>,
+<code class="content"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></code>, and
+<code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME_LITERAL">QUALIFIED_NAME_LITERAL</a></code>
+are syntactic sugar for quoted strings with datatype 
+<code class="content"><a href="http://www.w3.org/TR/xmlschema11-2/#string"><span class="name">xsd:string</span></a></code>,
+<code class="content"><a href="http://www.w3.org/TR/xmlschema11-2/#int"><span class="name">xsd:int</span></a></code>, and
+<code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">prov:QUALIFIED_NAME</a></code>
+respectively.
+</p>
+
+<p> In particular, a Literal may be an IRI-typed string (with datatype <span class="name">xsd:anyURI</span>);  such IRI has no specific interpretation in the context of PROV.</p>
+
+
+<p><b>Note:</b>The productions for terminals <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> and
+<code class="content"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></code> are conflicting.  
+Indeed, for a tokenizer operating independently of the parse tree, <code>1234</code> matches both <code class="content"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></code> and <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> (local name without prefix). In the context of
+a <code class="content"><a class="grammarRef" href="#prod-convenienceNotation">convenienceNotation</a></code>, a tokenizer should give preference to the production
+<code class="content"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></code>. 
+</p>
+
+<div class="anexample" id="anexample-convenience"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-convenience">Example 38</a></div>
+<p>
+The following examples illustrate convenience notations.</p>
+
+<p>The two following expressions are strings; if <code class="content"><a class="grammarRef" href="#prod-datatype">datatype</a></code> is not specified, it is <code>xsd:string</code>.</p>
+<pre class="codeexample">  "abc" %% xsd:string
+  "abc"
+</pre>
+
+
+<p>The two following expressions are integers. For convenience, numbers, expressed as digits optionally preceded by a minus sign, can occur without quotes.</p>
+<pre class="codeexample">  "1234" %% xsd:integer
+  1234
+  "-1234" %% xsd:integer
+  -1234
+</pre>
+
+<p>The two following expressions are qualified names. Values of type qualified name can be conveniently expressed within single quotes.</p>
+<pre class="codeexample">  "ex:value" %% prov:QUALIFIED_NAME
+  'ex:value'
+</pre>
+</div>
+
+<div class="anexample" id="anexample-value"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-value">Example 39</a></div>
+<p>
+The following examples respectively are the string "abc", the string (in French) "bonjour", the integer number 1, and the IRI "http://example.org/foo".</p>
+<pre class="codeexample">  "abc"
+  "bonjour"@fr
+  "1" %% xsd:integer
+  "http://example.org/foo" %% xsd:anyURI
+</pre>
+<p>The following examples respectively are the floating point number 1.01 and the boolean true.</p>
+<pre class="codeexample">  "1.01" %% xsd:float
+  "true" %% xsd:boolean
+</pre>
+</div>
+
+
+
+<div id="expression-types" class="section">
+<h5><span class="secno">3.7.3.1 </span>Reserved Type Values</h5>
+
+<p>The  reserved type values in the PROV namespace are the following.
+Their meaning is defined [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] (see <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-type">Section 5.7.2.4: prov:type</a>).
+</p>
+
+<ol>
+<li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-bundle-entity"><span class="name">prov:Bundle</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-collection"><span class="name">prov:Collection</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-empty-collection"><span class="name">prov:EmptyCollection</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-organization"><span class="name">prov:Organization</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-person"><span class="name">prov:Person</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-plan"><span class="name">prov:Plan</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-primary-source"><span class="name">prov:PrimarySource</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-quotation"><span class="name">prov:Quotation</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-revision"><span class="name">prov:Revision</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-software-agent"><span class="name">prov:SoftwareAgent</span></a>
+</li></ol>
+
+<div class="anexample" id="anexample-types"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-types">Example 40</a></div>
+<p>The agent <span class="name">ag</span> is a person (type: <span class="name">prov:Person</span>), whereas the entity 
+<span class="name">pl</span> is a plan (type: <span class="name">prov:Plan</span>).</p>
+<pre class="codeexample">agent(ag,  [ prov:type='prov:Person' ])
+entity(pl, [ prov:type='prov:Plan' ])
+</pre>
+</div>
+
+
+</div>
+
+<div id="expression-Time" class="section">
+<h5><span class="secno">3.7.3.2 </span>Time Values</h5>
+
+<p><dfn id="dfn-time">Time instants</dfn> are defined according to xsd:dateTime [<cite><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA11-2">XMLSCHEMA11-2</a></cite>].</p> 
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-time" name="prod-time"></a>[<span class="prodNo">44</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">time</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/xmlschema11-2/#nt-dateTimeRep">DATETIME</a></span></code></td> </tr> </tbody>
+</table>
+
+
+<div class="anexample" id="anexample-time"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-time">Example 41</a></div>
+
+<p>The third argument in the following usage expression is a time instance, namely 4pm on 2011-11-16.</p>
+<pre class="codeexample">used(ex:act2, ar3:0111, 2011-11-16T16:00:00)
+</pre>
+</div>
+
+
+
+
+</div>
+
+
+</div>
+
+
+
+
+
+<div id="expression-NamespaceDeclaration" class="section">
+<h4><span class="secno">3.7.4 </span>Namespace Declaration</h4>
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclarations" name="prod-namespaceDeclarations"></a>[<span class="prodNo">45</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespaceDeclarations</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-defaultNamespaceDeclaration">defaultNamespaceDeclaration</a></span> | <span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></span> ) (<span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></span>)*</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclaration" name="prod-namespaceDeclaration"></a>[<span class="prodNo">46</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespaceDeclaration</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"prefix" <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> <span class="prod"><a class="grammarRef" href="#prod-namespace">namespace</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-defaultNamespaceDeclaration" name="prod-defaultNamespaceDeclaration"></a>[<span class="prodNo">47</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">defaultNamespaceDeclaration</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"default" <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespace" name="prod-namespace"></a>[<span class="prodNo">48</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespace</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></span></code></td> </tr> </tbody>
+
+</table>
+
+<p>A <code><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></code> consists of a binding between a prefix and a namespace. Every qualified name with this prefix in the scope of this declaration belongs to this namespace. 
+A <code><a class="grammarRef" href="#prod-defaultNamespaceDeclaration">defaultNamespaceDeclaration</a></code> consists of a namespace. Every qualified name without prefix in the scope of this declaration belongs to this namespace. Scope of a prefix-namespace declaration is specified as follows:</p>
+<ul>
+<li> 
+The scope of a prefix-namespace declaration directly occurring in a <code><a class="grammarRef" href="#prod-bundle">bundle</a></code> is the <code><a class="grammarRef" href="#prod-bundle">bundle</a></code> itself.</li>
+<li>
+The scope of a prefix-namespace declaration directly occurring in a <code><a class="grammarRef" href="#prod-document">document</a></code> is the <code><a class="grammarRef" href="#prod-document">document</a></code> including the <code><a class="grammarRef" href="#prod-bundle">bundles</a></code> it contains but excluding those <code><a class="grammarRef" href="#prod-bundle">bundles</a></code> that redeclare this prefix.</li>
+</ul>
+
+<p>A set of namespace declarations <code><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></code> <em class="rfc2119" title="must not">must not</em> re-declare the same prefix.</p>
+
+<p>A set of namespace declarations <code><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></code> occurring in a bundle <em class="rfc2119" title="may">may</em> re-declare a prefix declared in a surrounding document.</p>
+
+<p>A namespace declaration <code><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></code> <em class="rfc2119" title="must not">must not</em> declare prefixes <span class="name">prov</span> and <span class="name">xsd</span>  (see <a href="#namespace-table">Table 1</a> for their IRI).</p>
+
+
+
+<div class="anexample" id="anexample-namespace"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace">Example 42</a></div>
+<p>The following example declares three namespaces, one default, and two with explicit prefixes <span class="name">ex1</span> and <span class="name">ex2</span>.</p>
+<pre class="codeexample">document
+  default &lt;http://example.org/0/&gt;
+  prefix ex1 &lt;http://example.org/1/&gt;
+  prefix ex2 &lt;http://example.org/2/&gt;
+...
+endDocument
+</pre>
+</div>
+
+
+<div class="anexample" id="anexample-namespace-scope"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace-scope">Example 43</a></div>
+<p>In the following example, a document declares a default namespace and the occurrence of
+<code>e001</code> directly occurring in the document refers to that namespace.
+A nested bundle also declares a default namespace, but with a different IRI.
+In that  bundle, the occurrences of
+<code>e001</code>, including the bundle name, refer to the latest default namespace.</p>
+<pre class="codeexample">document
+  default &lt;http://example.org/1/&gt;
+  entity(e001)                             // IRI: http://example.org/1/e001
+
+  bundle e001                              // IRI: http://example.org/2/e001
+    default &lt;http://example.org/2/&gt;
+    entity(e001)                           // IRI: http://example.org/2/e001
+  endBundle
+endDocument
+</pre>
+</div>
+
+
+<div class="anexample" id="anexample-namespace-scope2"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace-scope2">Example 44</a></div>
+<p>In the following example, a document declares a namespace with prefix <code>ex</code> and the occurrence of
+<code>ex:e001</code> directly occurring in the document refers to that namespace.
+In a nested bundle, the occurrence of
+<code>ex:e001</code> also  refers to the same namespace.</p>
+<pre class="codeexample">document
+  prefix ex &lt;http://example.org/1/&gt;
+  entity(ex:e001)                            // IRI: http://example.org/1/e001
+
+  bundle b
+    entity(ex:001)                           // IRI: http://example.org/1/e001
+  endBundle
+endDocument
+</pre>
+</div>
+
+
+
+
+</div>
+
+
+
+
+
+<div id="semantic-rules-summary" class="section">
+<h4><span class="secno">3.7.5 </span>Summary of additional semantic rules</h4>
+
+<p>Some of the grammar productions allow for expressions that are syntactically correct, and yet according to [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] they are not acceptable, because additional semantic rules are defined for those expressions.
+ The following table provides a summary of such expressions along with examples of syntactically correct but unacceptable forms, and the additional semantic rules.</p>
+
+<div style="text-align: left;">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<caption id="validity-rules-table">Summary of additional semantic rules for grammar productions</caption>
+<tbody><tr><td><a href="#dfn-production" class="internalDFN"><b>Production</b></a></td>
+     <td><b>Examples of syntactically correct expressions</b></td>
+     <td><b>Additional semantic rule</b></td>
+</tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a class="grammarRef" href="#prod-generationExpression">Generation expression</a></td>
+    <td><span class="name">wasGeneratedBy(e2, -, -)</span><br><span class="name">wasGeneratedBy(-; e2, -, -)</span></td>
+    <td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.activity"><span class="attribute">activity</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present.</td>  
+</tr>
+<tr><td><a class="grammarRef" href="#prod-usageExpression">Usage expression</a></td>
+<td><span class="name">used(a2, -, -)</span><br><span class="name">used(-; a2, -, -)</span></td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.entity"><span class="attribute">entity</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+</tr>
+<tr>
+<td><a class="grammarRef" href="#prod-startExpression">Start expression</a></td>
+<td> <span class="name">wasStartedBy(e2, -, -, -)</span><br><span class="name">wasStartedBy(-; e2, -, -, -)</span></td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.trigger"><span class="attribute">trigger</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.starter"><span class="attribute">starter</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+</tr>
+
+<tr>
+<td><a class="grammarRef" href="#prod-endExpression">End expression</a></td>
+<td><span class="name">wasEndedBy(e2, -, -, -)</span><br><span class="name">wasEndedBy(-; e2, -, -, -)</span></td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.trigger"><span class="attribute">trigger</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.ender"><span class="attribute">ender</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+</tr>
+
+<tr>
+<td><a class="grammarRef" href="#prod-invalidationExpression">Invalidation expression</a></td>
+<td><span class="name">wasInvalidatedBy(e2, -, -)</span>  <br><span class="name">wasInvalidatedBy(-; e2, -, -)</span></td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.activity"><span class="attribute">activity</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+</tr>
+
+<tr>
+<td><a class="grammarRef" href="#prod-associationExpression">Association expression</a></td>
+<td><span class="name">wasAssociatedWith(a, -, -)</span> <br><span class="name">wasAssociatedWith(-; a, -, -)</span></td>
+<td>At least one of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.agent"><span class="attribute">agent</span></a>,  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.plan"><span class="attribute">plan</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.attributes"><span class="attribute">attributes</span></a>  <em class="rfc2119" title="must">must</em> be present</td>
+</tr>
+
+</tbody></table>
+</div>
+</div>
+
+</div>
+
+
+</div>  <!-- end sec 3 -->
+
+
+
+
+
+<div id="document" class="section">
+<!--OddPage--><h2><span class="secno">4. </span>Document</h2>
+
+<p>A <dfn id="dfn-document">document</dfn> is a house-keeping construct of PROV-N capable of packaging up PROV-N <a title="expression">expressions</a> and namespace declarations.  A document forms a self-contained package of provenance descriptions for the purpose of <em>exchanging</em> them.  A document may be used
+ to  package up PROV-N <a title="record">expressions</a> in response to a request for the provenance of something ([<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ">PROV-AQ</a></cite>]).</p>
+
+<p> Given its status of house keeping construct for the purpose of exchanging provenance expressions,  a document is not defined as a PROV-N expression (production <code class="content"><a class="grammarRef" href="#prod-expression">expression</a></code>).</p> 
+
+
+
+
+
+<p>A document's text matches the <code class="content"><a class="grammarRef" href="#prod-document">document</a></code> production.</p>
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-document" name="prod-document"></a>[<span class="prodNo">1</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">document</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"document" (<span class="prod"><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></span>)? (<span class="prod"><a class="grammarRef" href="#prod-expression">expression</a></span>)* (<span class="prod"><a class="grammarRef" href="#prod-bundle">bundle</a></span>)* "endDocument"</code></td> </tr> </tbody>
+</table>
+
+<p>A document contains:
+</p><ul>
+<li><em>namespaceDeclarations</em>: a set of namespace declarations <code><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></code>, declaring namespaces and associated prefixes, which can be used in <a title="attribute">attributes</a> and  <a title="identifier">identifiers</a> occurring inside  <em>expressions</em> or <em>bundles</em>;</li>
+<li><em>expressions</em>:  a set of expressions, each matching <code><a class="grammarRef" href="#prod-expression">expression</a></code>;</li>
+<li><em>bundles</em>:  a  set of expressions, each matching
+<code><a class="grammarRef" href="#prod-bundle">bundle</a></code>.</li>
+</ul>
+
+
+<p>Thus, bundles <em class="rfc2119" title="may">may</em> occur inside a document, but do not appear inside other bundles.
+</p>
+
+
+
+<div class="anexample" id="example_45"><div class="anexampleTitle"><a class="internalDFN" href="#example_45">Example 45</a></div>
+<p>
+The following document contains expressions related to the provenance of entity 
+<span class="name">e2</span>.
+</p>
+<pre class="codeexample">document
+  default &lt;http://anotherexample.org/&gt;
+  prefix ex &lt;http://example.org/&gt;
+
+  entity(e2, [ prov:type="File", ex:path="/shared/crime.txt", ex:creator="Alice", 
+               ex:content="There was a lot of crime in London last month."])
+  activity(a1, 2011-11-16T16:05:00, -, [prov:type="edit"])
+  wasGeneratedBy(e2, a1, -, [ex:fct="save"])     
+  wasAssociatedWith(a1, ag2, -, [prov:role="author"])
+  agent(ag2, [ prov:type='prov:Person', ex:name="Bob" ])
+
+endDocument
+</pre>
+<p>This container could for instance be returned as the result of a query to a provenance store for the provenance of entity <span class="name">e2</span> [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ">PROV-AQ</a></cite>].  
+</p>
+</div>
+
+
+
+</div>
+
+<div id="extensibility" class="section">
+<!--OddPage--><h2><span class="secno">5. </span>Extensibility</h2>
+
+<p>The PROV data model is extensible by means of attributes <span class="name">prov:type</span> and <span class="name">prov:role</span> allowing subtyping of expressions.  For some applications, novel  syntax may also be convenient. Hence, the normative requirements are as follow.</p>
+<ul>
+<li> PROV-N compliant parsers <em class="rfc2119" title="must">must</em> be able to parse expressions matching the <code class="content"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></code> production defined below.
+</li><li> As PROV provides no definition for these expressions, PROV compliant implementations 
+ <em class="rfc2119" title="may">may</em> ignore these expressions.</li>
+<li> Extensions to PROV and PROV-N <em class="rfc2119" title="may">may</em> specify more specific productions and interpretations for these expressions, which applications <em class="rfc2119" title="may">may</em> elect to follow. </li>
+</ul>
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityExpression" name="prod-extensibilityExpression"></a>[<span class="prodNo">49</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">extensibilityExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span> "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> )* <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityArgument" name="prod-extensibilityArgument"></a>[<span class="prodNo">50</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">extensibilityArgument</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-identifierOrMarker">identifierOrMarker</a></span> | <span class="prod"><a class="grammarRef" href="#prod-literal">literal</a></span> | <span class="prod"><a class="grammarRef" href="#prod-time">time</a></span> | <span class="prod"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-extensibilityTuple">extensibilityTuple</a></span> )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityTuple" name="prod-extensibilityTuple"></a>[<span class="prodNo">51</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">extensibilityTuple</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"{" <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> )* "}"<br> | "(" <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> )* ")"</code></td> </tr> </tbody>
+
+</table>
+
+<p>Expressions compatible with the
+<code class="content"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></code> production follow a general form of functional syntax, in which the predicate <em class="rfc2119" title="must">must</em> be a
+<code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">qualifiedName</a></code>
+with a non-empty <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">prefix</a></code>.</p>
+
+
+
+<div class="anexample" id="example_46"><div class="anexampleTitle"><a class="internalDFN" href="#example_46">Example 46</a></div>
+<p>
+<a href="#component6">Collections</a> are sets of entities, whose membership can be expressed using the <span class="name">hadMember</span> relation.  The following example shows how one can express membership for <em>dictionaries</em>, an illustrative extension of Collections consisting of sets of key-entity pairs, where a key is a <code><a class="grammarRef" href="#prod-literal">literal</a></code>. The notation is a variation of that used for Collections membership, allowing multiple member elements to be declared, and in which the elements are pairs. The name of the relation is qualified with the extension-specific namespace <span class="name">http://example.org/dictionaries</span>.
+</p>
+<pre class="codeexample">  prefix dictExt &lt;http://example.org/dictionaries#&gt;
+  dictExt:hadMembers(mId; d, {("k1",e1), ("k2",e2), ("k3",e3)}, []) 
+</pre>
+
+Note that the generic <code class="content"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></code> production  above allows for alternative notations to be used for expressing membership, if the designers of the extensions so desire. Here is an alternate syntax that is consistent with the productions:
+<pre class="codeexample">  prefix dictExt &lt;http://example.org/dictionaries#&gt;
+  dictExt:hadMembers(mid; d, dictExt:set(dictExt:pair("k1",e1), 
+                                         dictExt:pair("k2",e2), 
+                                         dictExt:pair("k3",e3)), 
+                            [dictExt:uniqueKeys="true"]) 
+</pre>
+
+  
+</div>
+
+
+
+
+</div>
+
+
+<div id="media-type" class="section">
+<!--OddPage--><h2><span class="secno">6. </span>Media Type</h2>
+
+<p>
+The media type of PROV-N is <span class="name">text/provenance-notation</span>. The content encoding of PROV-N content is UTF-8.
+</p>
+
+
+ <dl> 
+      <dt>Contact:</dt> 
+      <dd>Ivan Herman</dd> 
+      <dt>See also:</dt> 
+      <dd><a href="http://www.w3.org/2002/06/registering-mediatype">How to Register a Media Type for a <acronym title="World Wide Web Consortium">W3C</acronym> Specification</a></dd> 
+      <dd><a href="http://www.w3.org/2001/tag/2002/0129-mime">Internet Media Type registration, consistency of use</a><br>TAG Finding 3 June 2002 (Revised 4 September 2002)</dd> 
+    </dl> 
+    <p>The Internet Media Type / MIME Type for PROV-N is "text/provenance-notation".</p> 
+    <p>It is recommended that PROV-N files have the extension ".provn" (all lowercase) on all platforms.</p> 
+    <p>It is recommended that PROV-N files stored on Macintosh HFS file systems be given a file type of "TEXT".</p> 
+    <p>The information that follows has been <a href="TBD">submitted to the IESG</a> for review, approval, and registration with IANA.</p> 
+    <dl> 
+      <dt>Type name:</dt> 
+      <dd>text</dd> 
+      <dt>Subtype name:</dt> 
+      <dd>provenance-notation</dd> 
+      <dt>Required parameters:</dt> 
+      <dd><kbd>charset</kbd> — the value of <kbd>charset</kbd> <em class="rfc2119" title="must">must</em> always be <kbd>UTF-8</kbd>.</dd> 
+      <dt>Optional parameters:</dt> 
+      <dd>None</dd> 
+
+      <dt>Encoding considerations: 8bit</dt> 
+      <dd>The syntax of PROV-N is expressed over code points in Unicode [<cite><a class="bibref" rel="biblioentry" href="#bib-UNICODE">UNICODE</a></cite>]. The encoding is always UTF-8 [<cite><a class="bibref" rel="biblioentry" href="#bib-UTF-8">UTF-8</a></cite>].</dd> 
+      <dd>Unicode code points may also be expressed using an \uXXXX (U+0 to U+FFFF) or \UXXXXXXXX syntax (for U+10000 onwards) where X is a hexadecimal digit [0-9A-F]</dd> 
+      <dt>Security considerations:</dt> 
+      <dd>PROV-N is a general-purpose language for describing the provenance of things; applications may evaluate given data to infer more descriptions or to dereference URIs, invoking the security considerations of the scheme for that URI. Note in particular, the privacy issues in [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3023">RFC3023</a></cite>] section 10 for HTTP URIs. Data obtained from an inaccurate or malicious data source may lead to inaccurate or misleading conclusions, as well as the dereferencing of unintended URIs. Care must be taken to align the trust in consulted resources with the sensitivity of the intended use of the data.</dd> 
+      <dd>PROV-N is used to express the provenance of arbitrary application data; security considerations will vary by domain of use. Security tools and protocols applicable to text (e.g. PGP encryption, MD5 sum validation, password-protected compression) may also be used on PROV-N documents. Security/privacy protocols must be imposed which reflect the sensitivity of the embedded information.  </dd> 
+      <dd>PROV-N can express data which is presented to the user, for example, by means of label attributes. Application rendering strings retrieved from untrusted PROV-N documents must ensure that malignant strings may not be used to mislead the reader. The security considerations in the media type registration for XML ([<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3023">RFC3023</a></cite>] section 10) provide additional guidance around the expression of arbitrary data and markup.</dd> 
+      <dd>PROV-N is a language for describing the provenance of things, and therefore a PROV-N document is metadata for other resources.  Untrusted PROV-N documents may mislead its consumers by indicating that a third-party resource has a reputable lineage, when it has not. Provenance of PROV-N document should be sought. </dd>
+      <dd>PROV-N uses qualified names mappeable to IRIs as term identifiers. Applications interpreting data expressed in PROV-N should address the security issues of
+  <a class="norm" href="http://www.ietf.org/rfc/rfc3987.txt">Internationalized Resource Identifiers (IRIs)</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3987">RFC3987</a></cite>] Section 8, as well as
+  <a class="norm" href="http://www.ietf.org/rfc/rfc3986.txt">Uniform Resource Identifier (URI): Generic Syntax</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3986">RFC3986</a></cite>] Section 7.</dd> 
+      <dd>Multiple IRIs may have the same appearance. Characters in different scripts may 
+look similar (a Cyrillic "о" may appear similar to a Latin "o"). A character followed 
+by combining characters may have the same visual representation as another character 
+(LATIN SMALL LETTER E followed by COMBINING ACUTE ACCENT has the same visual representation 
+as LATIN SMALL LETTER E WITH ACUTE).
+<!-- (<code>foo:resum&#40751;code> and <code>f&#1086;&#1086;:resume&#769;</code>)--> 
+Any person or application that is writing or interpreting data in PROV-N must take care to use the IRI that matches the intended semantics, and avoid IRIs that make look similar.
+Further information about matching of similar characters can be found 
+in <a class="inform" href="http://www.unicode.org/reports/tr36/">Unicode Security 
+Considerations</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-UNISEC">UNISEC</a></cite>] and
+<a class="norm" href="http://www.ietf.org/rfc/rfc3987.txt">Internationalized Resource 
+Identifiers (IRIs)</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3987">RFC3987</a></cite>] Section 8.
+</dd> 
+ 
+      <dt>Interoperability considerations:</dt> 
+      <dd>There are no known interoperability issues.</dd> 
+      <dt>Published specification:</dt> 
+      <dd>PROV-N: The Provenance Notation, Moreau, Missier, (eds), Cheney, Soiland-Reyes
+      <a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a>, 2012.</dd> 
+      <dt>Applications which use this media type:</dt> 
+      <dd>It may be used by any application for publishing provenance information. This format is designed to be a human-readable form of provenance. </dd> 
+      <dt>Additional information:</dt> 
+      <dt>Magic number(s):</dt> 
+      <dd>PROV-N documents may have the strings 'document' near the beginning of the document.</dd> 
+      <dt>File extension(s):</dt> 
+      <dd>".provn"</dd> 
+      <dt>Base URI:</dt> 
+      <dd>There are no constructs in the PROV-N Syntax to change the Base IRI.</dd> 
+      <dt>Macintosh file type code(s):</dt> 
+      <dd>"TEXT"</dd> 
+      <dt>Person &amp; email address to contact for further information:</dt> 
+      <dd>Ivan Herman, ivan@w3.org</dd> 
+      <dt>Intended usage:</dt> 
+      <dd>COMMON</dd> 
+      <dt>Restrictions on usage:</dt> 
+      <dd>None</dd> 
+      <dt>Author/Change controller:</dt> 
+      <dd>The PROV-N specification is the product of the World Wide Web Consortium's PROV Working Group. The <acronym title="World Wide Web Consortium">W3C</acronym> has change control over this specification.</dd> 
+    </dl> 
+ 
+</div>
+
+
+
+
+
+
+
+<div class="appendix informative section" id="changes-since-last-version"> 
+      <!--OddPage--><h2><span class="secno">A. </span>Changes since last version</h2><p><em>This section is non-normative.</em></p> 
+<p> Please see the <a href="http://www.w3.org/2011/prov/wiki/ResponsesToPublicComments">Responses to Public Comments on the Last Call Working Draft</a> for more details about the justification of these changes.</p>
+<ul>
+<li> <a href="http://www.w3.org/2011/prov/track/issues/543">ISSUE-543</a>: Uses key-entity pair terminology for example 43.
+</li><li> <a href="http://www.w3.org/2011/prov/track/issues/538">ISSUE-538</a>: Rephrasing of text in example 10.
+</li><li> <a href="http://www.w3.org/2011/prov/track/issues/547">ISSUE-547</a>: Aligned terminology and productions with prov-constraints document, renaming 'toplevel bundle' to 'document', and renaming 'named bundle' to 'bundle'.
+</li><li> <a href="http://www.w3.org/2011/prov/track/issues/496">ISSUE-496</a>: For each prov-n term, added a cross-reference to corresponding prov-dm term (see table following each production). Rephrased text related to scope of a namespace declaration. Added an informative file with all productions.
+</li><li> <a href="http://www.w3.org/2011/prov/track/issues/573">ISSUE-573</a>: Updated Media Type section. 
+</li><li> <a href="http://www.w3.org/2011/prov/track/issues/589">ISSUE-589</a>: Updated scoping rule for prefix-namespace declaration. Also refrained from saying bundles are self-contained. 
+</li><li> Moved feature at Risk mention into a separate note.
+</li><li> Editorial's pass pre-publication.
+</li></ul>
+</div>
+
+<div class="appendix informative section" id="acknowledgements"> 
+      <!--OddPage--><h2><span class="secno">B. </span>Acknowledgements</h2><p><em>This section is non-normative.</em></p> 
+      <p> 
+
+This  document has been produced by the PROV Working Group, and its contents reflect extensive discussion within the Working Group as a whole. 
+      </p> 
+
+<p>
+Members of the PROV Working Group at the time of publication of this document were:
+
+Ilkay Altintas (Invited expert),
+Reza B'Far (Oracle Corporation),
+Khalid Belhajjame (University of Manchester),
+James Cheney (University of Edinburgh, School of Informatics),
+Sam Coppens (IBBT),
+David Corsar (University of Aberdeen, Computing Science),
+Stephen Cresswell (The National Archives),
+Tom De Nies (IBBT),
+Helena Deus (DERI Galway at the National University of Ireland, Galway, Ireland),
+Simon Dobson (Invited expert),
+Martin Doerr (Foundation for Research and Technology - Hellas(FORTH)),
+Kai Eckert (Invited expert),
+Jean-Pierre EVAIN (European Broadcasting Union, EBU-UER),
+James Frew (Invited expert),
+Irini Fundulaki (Foundation for Research and Technology - Hellas(FORTH)),
+Daniel Garijo (Universidad Politécnica de Madrid),
+Yolanda Gil (Invited expert),
+Ryan Golden (Oracle Corporation),
+Paul Groth (Vrije Universiteit),
+Olaf Hartig (Invited expert),
+David Hau (National Cancer Institute, NCI),
+Sandro Hawke (<acronym title="World Wide Web Consortium">W3C</acronym>/<acronym title="Massachusetts Institute of Technology">MIT</acronym>),
+Jörn Hees (German Research Center for Artificial Intelligence (DFKI) Gmbh),
+Ivan Herman, (<acronym title="World Wide Web Consortium">W3C</acronym>/<acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym>),
+Ralph Hodgson (TopQuadrant),
+Hook Hua (Invited expert),
+Trung Dong Huynh (University of Southampton),
+Graham Klyne (University of Oxford),
+Michael Lang (Revelytix, Inc.),
+Timothy Lebo (Rensselaer Polytechnic Institute),
+James McCusker (Rensselaer Polytechnic Institute),
+Deborah McGuinness (Rensselaer Polytechnic Institute),
+Simon Miles (Invited expert),
+Paolo Missier (School of Computing Science, Newcastle university),
+Luc Moreau (University of Southampton),
+James Myers (Rensselaer Polytechnic Institute),
+Vinh Nguyen (Wright State University),
+Edoardo Pignotti (University of Aberdeen, Computing Science),
+Paulo da Silva Pinheiro (Rensselaer Polytechnic Institute),
+Carl Reed (Open Geospatial Consortium),
+Adam Retter (Invited Expert),
+Christine Runnegar (Invited expert),
+Satya Sahoo (Invited expert),
+David Schaengold (Revelytix, Inc.),
+Daniel Schutzer (FSTC, Financial Services Technology Consortium),
+Yogesh Simmhan (Invited expert),
+Stian Soiland-Reyes (University of Manchester),
+Eric Stephan (Pacific Northwest National Laboratory),
+Linda Stewart (The National Archives),
+Ed Summers (Library of Congress),
+Maria Theodoridou (Foundation for Research and Technology - Hellas(FORTH)),
+Ted Thibodeau (OpenLink Software Inc.),
+Curt Tilmes (National Aeronautics and Space Administration),
+Craig Trim (IBM Corporation),
+Stephan Zednik (Rensselaer Polytechnic Institute),
+Jun Zhao (University of Oxford),
+Yuting Zhao (University of Aberdeen, Computing Science).
+</p>
+
+    </div> 
+
+
+ 
+<div id="references" class="appendix section"><!--OddPage--><h2><span class="secno">C. </span>References</h2><div id="normative-references" class="section"><h3><span class="secno">C.1 </span>Normative references</h3><dl class="bibliography"><dt id="bib-IRI">[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-PROV-CONSTRAINTS">[PROV-CONSTRAINTS]</dt><dd>James Cheney, Paolo Missier, and Luc Moreau (eds.), Tom De Nies. <a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/"><cite>Constraints of the PROV Data Model</cite></a>. 2012, Candidate Recommendation. URL: <a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/">http://www.w3.org/TR/2012/CR-prov-constraints-20121211/</a>.
+</dd><dt id="bib-PROV-DM">[PROV-DM]</dt><dd>Luc Moreau and Paolo Missier (eds.) Khalid Belhajjame, Reza B'Far, James Cheney, Sam Coppens, Stephen Cresswell, Yolanda Gil, Paul Groth, Graham Klyne, Tim Lebo, Jim McCusker, Simon Miles, James Myers, Satya Sahoo, and Curt Tilmes <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/"><cite>PROV-DM: The PROV Data Model</cite></a>. 2012, Working Draft. URL: <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/">http://www.w3.org/TR/2012/CR-prov-dm-20121211/</a>
+</dd><dt id="bib-PROV-O">[PROV-O]</dt><dd>Timothy Lebo, Satya Sahoo and Deborah McGuinness (eds.) Khalid Belhajjame, James Cheney, David Corsar, Daniel Garijo, Stian Soiland-Reyes, Stephan Zednik, and Jun Zhao. <a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/"><cite>Provenance Formal Model</cite></a>. 2012, Candidate Recommendation. URL: <a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/">http://www.w3.org/TR/2012/CR-prov-o-20121211/</a>.
+</dd><dt id="bib-RDF-SPARQL-QUERY">[RDF-SPARQL-QUERY]</dt><dd>Andy Seaborne; Eric Prud'hommeaux. <a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115"><cite>SPARQL Query Language for RDF.</cite></a> 15 January 2008. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115">http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115</a> 
+</dd><dt id="bib-RFC2119">[RFC2119]</dt><dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key words for use in RFCs to Indicate Requirement Levels.</cite></a> March 1997. Internet RFC 2119.  URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a> 
+</dd><dt id="bib-RFC3023">[RFC3023]</dt><dd>M. Murata; S. St.Laurent; D. Kohn. <a href="http://www.ietf.org/rfc/rfc3023.txt"><cite>XML Media Types</cite></a> January 2001. Internet RFC 3023. URL: <a href="http://www.ietf.org/rfc/rfc3023.txt">http://www.ietf.org/rfc/rfc3023.txt</a> 
+</dd><dt id="bib-RFC3986">[RFC3986]</dt><dd>T. Berners-Lee; R. Fielding; L. Masinter. <a href="http://www.ietf.org/rfc/rfc3986.txt"><cite>Uniform Resource Identifier (URI): Generic Syntax.</cite></a> January 2005. Internet RFC 3986. URL: <a href="http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3986.txt</a> 
+</dd><dt id="bib-RFC3987">[RFC3987]</dt><dd>M. Dürst; M. Suignard. <a href="http://www.ietf.org/rfc/rfc3987.txt"><cite>Internationalized Resource Identifiers (IRIs).</cite></a> January 2005. Internet RFC 3987. URL: <a href="http://www.ietf.org/rfc/rfc3987.txt">http://www.ietf.org/rfc/rfc3987.txt</a> 
+</dd><dt id="bib-UNICODE">[UNICODE]</dt><dd>The Unicode Consortium.  <a href="http://www.unicode.org/unicode/standard/versions/enumeratedversions.html"><cite>The Unicode Standard.</cite></a>.  Defined by: The Unicode Standard, Version 6.2.0, (Mountain View, CA: The Unicode Consortium, 2012. ISBN 978-1-936213-07-8) , as updated from time to time by the publication of new versions URL: <a href="http://www.unicode.org/unicode/standard/versions/enumeratedversions.html">http://www.unicode.org/unicode/standard/versions/enumeratedversions.html</a> 
+</dd><dt id="bib-URI">[URI]</dt><dd>T. Berners-Lee; R. Fielding; L. Masinter. <a href="http://www.ietf.org/rfc/rfc3986.txt"><cite>Uniform Resource Identifiers (URI): generic syntax.</cite></a> January 2005. Internet RFC 3986. URL: <a href="http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3986.txt</a> 
+</dd><dt id="bib-UTF-8">[UTF-8]</dt><dd>F. Yergeau. <a href="http://www.ietf.org/rfc/rfc3629.txt"><cite>UTF-8, a transformation format of ISO 10646</cite></a>. IETF RFC 3629. November 2003. URL: <a href="http://www.ietf.org/rfc/rfc3629.txt">http://www.ietf.org/rfc/rfc3629.txt</a>
+</dd><dt id="bib-XML-NAMES">[XML-NAMES]</dt><dd>Richard Tobin; et al. <a href="http://www.w3.org/TR/2009/REC-xml-names-20091208/"><cite>Namespaces in XML 1.0 (Third Edition).</cite></a> 8 December 2009. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2009/REC-xml-names-20091208/">http://www.w3.org/TR/2009/REC-xml-names-20091208/</a> 
+</dd><dt id="bib-XML11">[XML11]</dt><dd>Eve Maler; et al. <a href="http://www.w3.org/TR/2006/REC-xml11-20060816"><cite>Extensible Markup Language (XML) 1.1 (Second Edition).</cite></a> 16 August 2006. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2006/REC-xml11-20060816">http://www.w3.org/TR/2006/REC-xml11-20060816</a> 
+</dd><dt id="bib-XMLSCHEMA11-2">[XMLSCHEMA11-2]</dt><dd>Henry S. Thompson; et al. <a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/"><cite>W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes.</cite></a> 5 April 2012. W3C Recommendation URL: <a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/">http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/</a> 
+</dd></dl></div><div id="informative-references" class="section"><h3><span class="secno">C.2 </span>Informative references</h3><dl class="bibliography"><dt id="bib-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/2012/WD-prov-aq-20120619/"><cite>Provenance Access and Query</cite></a>. 2012, Working Draft. URL: <a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/">http://www.w3.org/TR/2012/WD-prov-aq-20120619/</a>.
+</dd><dt id="bib-PROV-OVERVIEW">[PROV-OVERVIEW]</dt><dd>AUTHORS TBD. <a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/"><cite>PROV-OVERVIEW: The PROV Family of Documents</cite></a>. 2012, Working Draft. URL: <a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/">http://www.w3.org/TR/2012/WD-prov-overview-20121211/</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/2012/WD-prov-primer-20121211/"><cite>Prov Model Primer</cite></a>. 2012, Working Draft. URL: <a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/">http://www.w3.org/TR/2012/WD-prov-primer-20121211/</a>.
+</dd><dt id="bib-PROV-RDF">[PROV-RDF]</dt><dd>James Cheney <a href="http://www.w3.org/2011/prov/wiki/ProvRDF"><cite>PROV-RDF Mapping </cite></a>2012, Working in Progress. URL: <a href="http://www.w3.org/2011/prov/wiki/ProvRDF">http://www.w3.org/2011/prov/wiki/ProvRDF</a>
+</dd><dt id="bib-PROV-SEM">[PROV-SEM]</dt><dd>James Cheney. <a href="http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman"><cite>Formal Semantics Strawman</cite></a>. 2011, Work in progress. URL: <a href="http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman">http://www.w3.org/2011/prov/wiki/FormalSemanticsStrawman</a>.
+</dd><dt id="bib-PROV-XML">[PROV-XML]</dt><dd>Hook Hua, Curt Tilmes, and Stephan Zednik (eds.) Luc Moreau. <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><cite>PROV-XML: The PROV XML Schema</cite></a>. 2012, Candidate Recommendation. URL: <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/">http://www.w3.org/TR/2012/WD-prov-xml-20121211/</a>.
+</dd><dt id="bib-UNISEC">[UNISEC]</dt><dd> Mark Davis and Michel Suignard. <a href="http://www.unicode.org/reports/tr36/"><cite>Unicode Security Considerations<cite></cite></cite></a>.  4 August 2010. URL: <a href="http://www.unicode.org/reports/tr36/">http://www.unicode.org/reports/tr36/</a>
+</dd></dl></div></div></body></html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/releases/CR-prov-n-20121211/diff-n.html	Mon Nov 19 14:30:13 2012 +0000
@@ -0,0 +1,3442 @@
+<!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"><!--
+
+.insert { background-color: #aaffaa }
+.delete { background-color: #ff8888; text-decoration: line-through }
+.tagInsert { background-color: #007700; color: #ffffff }
+.tagDelete { background-color: #770000; color: #ffffff }
+
+--></style> 
+    <title>PROV-N: The Provenance Notation</title> 
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
+    
+
+    <style type="text/css">
+
+<span class="insert">
+      .note { font-size:small; margin-left:50px }
+table.thinborder {
+	border-width: 1px;
+	border-spacing: 0px;
+	border-style: none;
+	border-color: gray;
+	border-collapse: collapse;
+}
+table.thinborder th {
+	border-width: 1px;
+	padding: 0px;
+	border-style: solid;
+	border-color: gray;
+}
+table.thinborder td {
+	border-width: 1px;
+	padding: 2px;
+	border-style: solid;
+	border-color: gray;
+}
+</span></style>
+
+    
+
+
+     
+     
+    
+    
+
+    
+
+    
+
+
+    
+
+     
+  <link href="http://dev.w3.org/2009/dap/ReSpec.js/css/respec.css" rel="stylesheet" type="text/css" charset="utf-8"><link href="http://www.w3.org/StyleSheets/TR/W3C-CR" 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"><span class="insert">PROV-N: The Provenance Notation</span></h1><h2 id="w3c-candidate-recommendation-11-december-2012"><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> Candidate Recommendation 11 December 2012</span></h2><dl><dt><span class="insert">This version:</span></dt><dd><a href="http://www.w3.org/TR/2012/CR-prov-n-20121211/"><span class="insert">http://www.w3.org/TR/2012/CR-prov-n-20121211/</span></a></dd><dt><span class="insert">Latest published version:</span></dt><dd><a href="http://www.w3.org/TR/prov-n/"><span class="insert">http://www.w3.org/TR/prov-n/</span></a></dd><dt><span class="insert">Latest editor's draft:</span></dt><dd><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html"><span class="insert">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</span></a></dd><dt><span class="insert">Previous version:</span></dt><dd><a href="http://www.w3.org/TR/2012/WD-prov-n-20120724/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-n-20120724/</span></a><span class="insert"> (</span><a href="diff-n.html"><span class="insert">color-coded diffs</span></a><span class="insert">)</span></dd><dt><span class="insert">Editors:</span></dt><dd><a href="http://www.ecs.soton.ac.uk/~lavm/"><span class="insert">Luc Moreau</span></a><span class="insert">, University of Southampton</span></dd>
+<dd><a href="http://www.cs.ncl.ac.uk/people/Paolo.Missier"><span class="insert">Paolo Missier</span></a><span class="insert">, Newcastle University</span></dd>
+<dt><span class="insert">Contributors:</span></dt><dd><a href="http://homepages.inf.ed.ac.uk/jcheney/"><span class="insert">James Cheney</span></a><span class="insert">, University of Edinburgh</span></dd>
+<dd><a href="http://soiland-reyes.com/stian/"><span class="insert">Stian Soiland-Reyes</span></a><span class="insert">, University of Manchester</span></dd>
+</dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"><span class="insert">Copyright</span></a><span class="insert"> © 2012 </span><a href="http://www.w3.org/"><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym></a><sup><span class="insert">®</span></sup><span class="insert"> (</span><a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology"><span class="insert">MIT</span></acronym></a><span class="insert">, </span><a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics"><span class="insert">ERCIM</span></acronym></a><span class="insert">, </span><a href="http://www.keio.ac.jp/"><span class="insert">Keio</span></a><span class="insert">), All Rights Reserved. </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer"><span class="insert">liability</span></a><span class="insert">, </span><a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks"><span class="insert">trademark</span></a><span class="insert"> and </span><a href="http://www.w3.org/Consortium/Legal/copyright-documents"><span class="insert">document use</span></a><span class="insert"> rules apply.</span></p><hr></div> 
+    <style type="text/css">
+/* --- EDITORIAL NOTES --- */
+.pending {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #BFEFFF;
+}
+
+.pending::before {
+    content:    "Pending Review";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+
+
+
+
+
+
+.resolved {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #9BCD9B;
+}
+
+.resolved::before {
+    content:    "Resolved";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+
+.inference {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}<span class="insert">
+
+
+.inference-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}</span>
+
+/* .inference[id]::before { */
+/*     content:    "Inference: " attr(id); */
+/*     width:  380px;  /\* How can we compute the length of "Constraint: " attr(id) *\/ */
+/* } */
+
+
+/* .inference::before { */
+/*     content:    "Inference"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #f00; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
+.syntax {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}
+
+.syntax[id]::before {
+    content:    "Syntax: " attr(id);
+    width:  380px;  /* How can we compute the length of "Constraint: " attr(id) */
+}
+
+
+.syntax::before {
+    content:    "Syntax";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+.unamedconstraint {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+
+.unamedconstraint::before {
+    content:    "Constraint";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #00f;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+
+
+.constraint {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+<span class="insert">.constraint-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+</span>/* .constraint[id]::before { */
+/*     content:    "Constraint: " attr(id); */
+/*     width:  380px;  /\* How can we compute the length of "Constraint: " attr(id) *\/ */
+/* } */
+
+
+/* .constraint::before { */
+/*     content:    "Constraint"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #00f; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
+
+
+.interpretation {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+.interpretation[id]::before {
+    content:    "Interpretation: " attr(id);
+    width:  380px;  /* How can we compute the length of "Interpretation: " attr(id) */
+}
+
+
+.interpretation::before {
+    content:    "Interpretation";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #00f;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+.definition {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #777;
+    background: #fff;
+}
+
+<span class="insert">.definition-example {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #777;
+    background: #fff;
+}
+
+</span>/* .definition[id]::before { */
+/*     content:    "Definition: " attr(id); */
+/*     width:  380px;  */
+/* } */
+
+
+/* .definition::before { */
+/*     content:    "Definition"; */
+/*     display:    block; */
+/*     width:  150px; */
+/*     margin: -1.5em 0 0.5em 0; */
+/*     font-weight:    bold; */
+/*     border: 1px solid #000; */
+/*     background: #fff; */
+/*     padding:    3px 1em; */
+/* } */
+
+
+.deprecatedconstraint {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #00f;
+    background: #fff;
+}
+
+.deprecatedconstraint[id]::before {
+    content:    "Deprecated: " attr(id);
+    width:  380px;  /* How can we compute the length of "Deprecatedconstraint: " attr(id) */
+}
+
+
+.deprecatedconstraint::before {
+    content:    "Deprecated";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #00f;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+.glossary-ref {
+    font-style:    italic;
+}
+
+.dfn {
+    font-weight:    bold;
+}
+
+
+.attribute {
+    font-style: italic;
+}
+
+
+.conditional {
+    color: blue;
+}
+
+.grammar {
+    margin-top: 1ex;
+    margin-bottom: 1ex;
+    padding-left: 1ex;
+    padding-right: 1ex;
+    padding-top: 1ex;
+    padding-bottom: 0.6ex;
+    border: 1px dashed #2f6fab;
+    font-size: 95%;
+}
+.nonterminal {
+    font-weight: bold;
+    font-family: sans-serif;
+    font-size: 95%;
+}
+
+.name {
+    font-family: monospace;
+}<span class="insert">
+
+.math {
+    font-family: roman;
+    font-style:italic;
+}</span>
+
+
+.xmpl {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px solid #f00;
+    background: #fff;
+}
+
+.xmpl::before {
+    content:    "Example";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #f00;
+    background: #fff;
+    padding:    3px 1em;
+}
+
+/*
+.anexample[count]::before {
+    content: "Example " attr(count) ;
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+
+.anexample:before {
+    content: "Example:";
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+
+*/
+
+.anexample {
+    margin-top: 1ex;
+    margin-bottom: 1ex;
+    padding-left: 1ex;
+    padding-right: 1ex;
+    padding-top: 1ex;
+    padding-bottom: 0.6ex;
+    border: 1px dashed #2f6fab;
+    background-color: #f9f9f9;
+}
+.anexample table {
+    background-color: #f9f9f9;
+}
+
+.conceptexample:before {
+    content: "Example:";
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}
+.conceptexample {
+    margin-top: 1ex;
+    margin-bottom: 1ex;
+    padding-left: 1ex;
+    padding-right: 1ex;
+    padding-top: 1ex;
+    padding-bottom: 0.6ex;
+    border: 1px dashed #2f6fab;
+    background-color: #f9f9f9;
+}
+
+.pnExpression {
+    font-weight: normal;
+    font-size:120%;
+    font-family: monospace;
+}
+
+
+div[class="grammar"] span[class="name"]:before {
+    content: "'";
+}
+
+div[class="grammar"] span[class="name"]:after {
+    content: "'";
+}
+
+
+div[class="grammar"] span[class="optional"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="optional"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")?";
+}
+
+
+div[class="grammar"] span[class="plus"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="plus"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")+";
+}
+
+
+div[class="grammar"] span[class="star"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="star"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")*";
+}
+
+div[class="grammar"] span[class="choice"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="choice"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")";
+}
+
+div[class="grammar"] span[class="group"]:before {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: "(";
+}
+
+div[class="grammar"] span[class="group"]:after {
+    font-weight: normal;
+    font-size:130%;
+    font-family: monospace;
+    content: ")";
+}
+
+table {
+    background-color: #f9f9f9;
+}
+
+.component1-color {
+ background-color: rgba(255,42,42,0.2);
+}
+
+.component2-color {
+ background-color: rgba(0,68,170,0.2);
+}
+
+.component3-color {
+ background-color: rgba(0,170,0,0.2);
+}
+.component4-color {
+ background-color: rgba(204,255,0,0.2);
+}
+
+.component5-color {
+ background-color: rgba(11,40,40,0.2);
+}
+
+.component6-color {
+ background-color: rgba(244,105,14,0.2);
+}
+
+.interpretation-forward::before {
+    content:    "Interpretation: ";
+    font-weight:    bold;
+}
+
+.structural-forward::before {
+    content:    "Structural constraint: ";
+    font-weight:    bold;
+}
+
+
+code {
+    color:  black;
+}
+
+.ruleTitle {
+    font-family: sans-serif;
+    font-size: 1.6ex;
+    font-weight: bold;
+}<span class="delete">
+
+      .note { font-size:small; margin-left:50px }
+table.thinborder {
+	border-width: 1px;
+	border-spacing: 0px;
+	border-style: none;
+	border-color: gray;
+	border-collapse: collapse;
+}
+table.thinborder th {
+	border-width: 1px;
+	padding: 0px;
+	border-style: solid;
+	border-color: gray;
+}
+table.thinborder td {
+	border-width: 1px;
+	padding: 2px;
+	border-style: solid;
+	border-color: gray;
+}
+</span>
+
+    
+
+
+     
+     
+    
+    
+
+    
+
+
+    
+
+     
+  <span class="delete">
+/*****************************************************************
+ * ReSpec CSS
+ * Robin Berjon (robin at berjon dot com)
+ * v0.05 - 2009-07-31
+ *****************************************************************/
+
+
+/* --- INLINES --- */
+em.rfc2119 { 
+    text-transform:     lowercase;
+    font-variant:       small-caps;
+    font-style:         normal;
+    color:              #900;
+}
+
+h1 acronym, h2 acronym, h3 acronym, h4 acronym, h5 acronym, h6 acronym, a acronym,
+h1 abbr, h2 abbr, h3 abbr, h4 abbr, h5 abbr, h6 abbr, a abbr {
+    border: none;
+}
+
+dfn {
+    font-weight:    bold;
+}
+
+a.internalDFN {
+    color:  inherit;
+    border-bottom:  1px solid #99c;
+    text-decoration:    none;
+}
+
+a.externalDFN {
+    color:  inherit;
+    border-bottom:  1px dotted #ccc;
+    text-decoration:    none;
+}
+
+a.bibref {
+    text-decoration:    none;
+}
+
+code {
+    color:  #ff4500;
+}
+
+
+/* --- WEB IDL --- */
+pre.idl {
+    border-top: 1px solid #90b8de;
+    border-bottom: 1px solid #90b8de;
+    padding:    1em;
+    line-height:    120%;
+}
+
+pre.idl::before {
+    content:    "WebIDL";
+    display:    block;
+    width:      150px;
+    background: #90b8de;
+    color:  #fff;
+    font-family:    initial;
+    padding:    3px;
+    font-weight:    bold;
+    margin: -1em 0 1em -1em;
+}
+
+.idlType {
+    color:  #ff4500;
+    font-weight:    bold;
+    text-decoration:    none;
+}
+
+/*.idlModule*/
+/*.idlModuleID*/
+/*.idlInterface*/
+.idlInterfaceID, .idlDictionaryID {
+    font-weight:    bold;
+    color:  #005a9c;
+}
+
+.idlSuperclass {
+    font-style: italic;
+    color:  #005a9c;
+}
+
+/*.idlAttribute*/
+.idlAttrType, .idlFieldType, .idlMemberType {
+    color:  #005a9c;
+}
+.idlAttrName, .idlFieldName, .idlMemberName {
+    color:  #ff4500;
+}
+.idlAttrName a, .idlFieldName a, .idlMemberName a {
+    color:  #ff4500;
+    border-bottom:  1px dotted #ff4500;
+    text-decoration: none;
+}
+
+/*.idlMethod*/
+.idlMethType {
+    color:  #005a9c;
+}
+.idlMethName {
+    color:  #ff4500;
+}
+.idlMethName a {
+    color:  #ff4500;
+    border-bottom:  1px dotted #ff4500;
+    text-decoration: none;
+}
+
+/*.idlParam*/
+.idlParamType {
+    color:  #005a9c;
+}
+.idlParamName {
+    font-style: italic;
+}
+
+.extAttr {
+    color:  #666;
+}
+
+/*.idlConst*/
+.idlConstType {
+    color:  #005a9c;
+}
+.idlConstName {
+    color:  #ff4500;
+}
+.idlConstName a {
+    color:  #ff4500;
+    border-bottom:  1px dotted #ff4500;
+    text-decoration: none;
+}
+
+/*.idlException*/
+.idlExceptionID {
+    font-weight:    bold;
+    color:  #c00;
+}
+
+.idlTypedefID, .idlTypedefType {
+    color:  #005a9c;
+}
+
+.idlRaises, .idlRaises a.idlType, .idlRaises a.idlType code, .excName a, .excName a code {
+    color:  #c00;
+    font-weight:    normal;
+}
+
+.excName a {
+    font-family:    monospace;
+}
+
+.idlRaises a.idlType, .excName a.idlType {
+    border-bottom:  1px dotted #c00;
+}
+
+.excGetSetTrue, .excGetSetFalse, .prmNullTrue, .prmNullFalse, .prmOptTrue, .prmOptFalse {
+    width:  45px;
+    text-align: center;
+}
+.excGetSetTrue, .prmNullTrue, .prmOptTrue { color:  #0c0; }
+.excGetSetFalse, .prmNullFalse, .prmOptFalse { color:  #c00; }
+
+.idlImplements a {
+    font-weight:    bold;
+}
+
+dl.attributes, dl.methods, dl.constants, dl.fields, dl.dictionary-members {
+    margin-left:    2em;
+}
+
+.attributes dt, .methods dt, .constants dt, .fields dt, .dictionary-members dt {
+    font-weight:    normal;
+}
+
+.attributes dt code, .methods dt code, .constants dt code, .fields dt code, .dictionary-members dt code {
+    font-weight:    bold;
+    color:  #000;
+    font-family:    monospace;
+}
+
+.attributes dt code, .fields dt code, .dictionary-members dt code {
+    background:  #ffffd2;
+}
+
+.attributes dt .idlAttrType code, .fields dt .idlFieldType code, .dictionary-members dt .idlMemberType code {
+    color:  #005a9c;
+    background:  transparent;
+    font-family:    inherit;
+    font-weight:    normal;
+    font-style: italic;
+}
+
+.methods dt code {
+    background:  #d9e6f8;
+}
+
+.constants dt code {
+    background:  #ddffd2;
+}
+
+.attributes dd, .methods dd, .constants dd, .fields dd, .dictionary-members dd {
+    margin-bottom:  1em;
+}
+
+table.parameters, table.exceptions {
+    border-spacing: 0;
+    border-collapse:    collapse;
+    margin: 0.5em 0;
+    width:  100%;
+}
+table.parameters { border-bottom:  1px solid #90b8de; }
+table.exceptions { border-bottom:  1px solid #deb890; }
+
+.parameters th, .exceptions th {
+    color:  #fff;
+    padding:    3px 5px;
+    text-align: left;
+    font-family:    initial;
+    font-weight:    normal;
+    text-shadow:    #666 1px 1px 0;
+}
+.parameters th { background: #90b8de; }
+.exceptions th { background: #deb890; }
+
+.parameters td, .exceptions td {
+    padding:    3px 10px;
+    border-top: 1px solid #ddd;
+    vertical-align: top;
+}
+
+.parameters tr:first-child td, .exceptions tr:first-child td {
+    border-top: none;
+}
+
+.parameters td.prmName, .exceptions td.excName, .exceptions td.excCodeName {
+    width:  100px;
+}
+
+.parameters td.prmType {
+    width:  120px;
+}
+
+table.exceptions table {
+    border-spacing: 0;
+    border-collapse:    collapse;
+    width:  100%;
+}
+
+/* --- TOC --- */
+.toc a {
+    text-decoration:    none;
+}
+
+a .secno {
+    color:  #000;
+}
+
+/* --- TABLE --- */
+table.simple {
+    border-spacing: 0;
+    border-collapse:    collapse;
+    border-bottom:  3px solid #005a9c;
+}
+
+.simple th {
+    background: #005a9c;
+    color:  #fff;
+    padding:    3px 5px;
+    text-align: left;
+}
+
+.simple th[scope="row"] {
+    background: inherit;
+    color:  inherit;
+    border-top: 1px solid #ddd;
+}
+
+.simple td {
+    padding:    3px 10px;
+    border-top: 1px solid #ddd;
+}
+
+.simple tr:nth-child(even) {
+    background: #f0f6ff;
+}
+
+/* --- DL --- */
+.section dd > p:first-child {
+    margin-top: 0;
+}
+
+.section dd > p:last-child {
+    margin-bottom: 0;
+}
+
+.section dd {
+    margin-bottom:  1em;
+}
+
+.section dl.attrs dd, .section dl.eldef dd {
+    margin-bottom:  0;
+}
+
+/* --- EXAMPLES --- */
+pre.example {
+    border-top: 1px solid #ff4500;
+    border-bottom: 1px solid #ff4500;
+    padding:    1em;
+    margin-top: 1em;
+}
+
+pre.example::before {
+    content:    "Example";
+    display:    block;
+    width:      150px;
+    background: #ff4500;
+    color:  #fff;
+    font-family:    initial;
+    padding:    3px;
+    font-weight:    bold;
+    margin: -1em 0 1em -1em;
+}
+
+/* --- EDITORIAL NOTES --- */
+.issue</span><span class="insert">
+
+
+
+
+.remark</span> {
+    padding:    1em;
+    margin: 1em 0em 0em;
+    border: 1px <span class="delete">solid #f00;</span><span class="insert">dashed #000;</span>
+    background: <span class="delete">#ffc;</span><span class="insert">#F0F0F0;</span>
+}
+
+<span class="delete">.issue::before</span><span class="insert">.remark::before</span> {
+    content:    <span class="delete">"Issue";</span><span class="insert">"Remark";</span>
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid <span class="delete">#f00;</span><span class="insert">#000;</span>
+    background: #fff;
+    padding:    3px 1em;
+}
+
+<span class="delete">.note</span><span class="insert">table.thinborder</span> {<span class="delete">
+    margin: 1em 0em 0em;
+    </span><span class="insert">
+	border-width: 1px;
+	border-spacing: 0px;
+	border-style: none;
+	border-color: gray;
+	border-collapse: collapse;
+}
+table.thinborder th {
+	border-width: 1px;
+	</span>padding:<span class="delete">    1em;
+    border: 2px solid #cff6d9;
+    background: #e2fff0;</span><span class="insert"> 0px;
+	border-style: solid;
+	border-color: gray;</span>
+}<span class="delete">
+
+.note::before</span><span class="insert">
+table.thinborder td</span> {<span class="delete">
+    content:    "Note";
+    display:    block;
+    width:  150px;
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
+    border: 1px solid #cff6d9;
+    background: #fff;
+    </span><span class="insert">
+	border-width: 1px;
+	</span>padding:<span class="delete">    3px 1em;</span><span class="insert"> 2px;
+	border-style: solid;
+	border-color: gray;</span>
+}<span class="delete">
+
+/* --- Best Practices --- */
+div.practice {
+    border: solid #bebebe 1px;
+    margin: 2em 1em 1em 2em;
+}
+
+span.practicelab {
+    margin: 1.5em 0.5em 1em 1em;
+    font-weight: bold;
+    font-style: italic;
+}
+
+span.practicelab   { background: #dfffff; }
+
+span.practicelab {
+    position: relative;
+    padding: 0 0.5em;
+    top: -1.5em;
+}
+
+p.practicedesc {
+    margin: 1.5em 0.5em 1em 1em;
+}
+
+@media screen {
+    p.practicedesc {
+        position: relative;
+        top: -2em;
+        padding: 0;
+        margin: 1.5em 0.5em -1em 1em;
+    }
+}
+
+/* --- SYNTAX HIGHLIGHTING --- */
+pre.sh_sourceCode {
+  background-color: white;
+  color: black;
+  font-style: normal;
+  font-weight: normal;
+}
+
+pre.sh_sourceCode .sh_keyword { color: #005a9c; font-weight: bold; }           /* language keywords */
+pre.sh_sourceCode .sh_type { color: #666; }                            /* basic types */
+pre.sh_sourceCode .sh_usertype { color: teal; }                             /* user defined types */
+pre.sh_sourceCode .sh_string { color: red; font-family: monospace; }        /* strings and chars */
+pre.sh_sourceCode .sh_regexp { color: orange; font-family: monospace; }     /* regular expressions */
+pre.sh_sourceCode .sh_specialchar { color: 	#ffc0cb; font-family: monospace; }  /* e.g., \n, \t, \\ */
+pre.sh_sourceCode .sh_comment { color: #A52A2A; font-style: italic; }         /* comments */
+pre.sh_sourceCode .sh_number { color: purple; }                             /* literal numbers */
+pre.sh_sourceCode .sh_preproc { color: #00008B; font-weight: bold; }       /* e.g., #include, import */
+pre.sh_sourceCode .sh_symbol { color: blue; }                            /* e.g., *, + */
+pre.sh_sourceCode .sh_function { color: black; font-weight: bold; }         /* function calls and declarations */
+pre.sh_sourceCode .sh_cbracket { color: red; }                              /* block brackets (e.g., {, }) */
+pre.sh_sourceCode .sh_todo { font-weight: bold; background-color: #00FFFF; }   /* TODO and FIXME */
+
+/* Predefined variables and functions (for instance glsl) */
+pre.sh_sourceCode .sh_predef_var { color: #00008B; }
+pre.sh_sourceCode .sh_predef_func { color: #00008B; font-weight: bold; }
+
+/* for OOP */
+pre.sh_sourceCode .sh_classname { color: teal; }
+
+/* line numbers (not yet implemented) */
+pre.sh_sourceCode .sh_linenum { display: none; }
+
+/* Internet related */
+pre.sh_sourceCode .sh_url { color: blue; text-decoration: underline; font-family: monospace; }
+
+/* for ChangeLog and Log files */
+pre.sh_sourceCode .sh_date { color: blue; font-weight: bold; }
+pre.sh_sourceCode .sh_time, pre.sh_sourceCode .sh_file { color: #00008B; font-weight: bold; }
+pre.sh_sourceCode .sh_ip, pre.sh_sourceCode .sh_name { color: #006400; }
+
+/* for Prolog, Perl... */
+pre.sh_sourceCode .sh_variable { color: #006400; }
+
+/* for LaTeX */
+pre.sh_sourceCode .sh_italics { color: #006400; font-style: italic; }
+pre.sh_sourceCode .sh_bold { color: #006400; font-weight: bold; }
+pre.sh_sourceCode .sh_underline { color: #006400; text-decoration: underline; }
+pre.sh_sourceCode .sh_fixed { color: green; font-family: monospace; }
+pre.sh_sourceCode .sh_argument { color: #006400; }
+pre.sh_sourceCode .sh_optionalargument { color: purple; }
+pre.sh_sourceCode .sh_math { color: orange; }
+pre.sh_sourceCode .sh_bibtex { color: blue; }
+
+/* for diffs */
+pre.sh_sourceCode .sh_oldfile { color: orange; }
+pre.sh_sourceCode .sh_newfile { color: #006400; }
+pre.sh_sourceCode .sh_difflines { color: blue; }
+
+/* for css */
+pre.sh_sourceCode .sh_selector { color: purple; }
+pre.sh_sourceCode .sh_property { color: blue; }
+pre.sh_sourceCode .sh_value { color: #006400; font-style: italic; }
+
+/* other */
+pre.sh_sourceCode .sh_section { color: black; font-weight: bold; }
+pre.sh_sourceCode .sh_paren { color: red; }
+pre.sh_sourceCode .sh_attribute { color: #006400; }
+
+</span>
+
+
+</style> 
+  <span class="delete">PROV-N: The Provenance Notation</span><span class="delete">W3C</span><span class="delete"> Working Draft 24 July 2012</span><span class="delete">This version:</span><span class="delete">http://www.w3.org/TR/2012/WD-prov-n-20120724/</span><span class="delete">Latest published version:</span><span class="delete">http://www.w3.org/TR/prov-n/</span><span class="delete">Latest editor's draft:</span><span class="delete">http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html</span><span class="delete">Previous version:</span><span class="delete">http://www.w3.org/TR/2012/WD-prov-n-20120503/</span><span class="delete">  (</span><span class="delete">color-coded diffs</span><span class="delete">)</span><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">James Cheney</span><span class="delete">, University of Edinburgh</span>
+<span class="delete">Stian Soiland-Reyes</span><span class="delete">, University of Manchester</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> 
+
+    
+
+    <div id="abstract" class="introductory section"><h2>Abstract</h2>
+
+<p>
+Provenance is information about entities, activities, and people
+involved in producing a piece of data or thing, which can be used
+ to form assessments about its quality, reliability or trustworthiness.
+PROV-DM is the conceptual data model that forms a basis for the <acronym title="World Wide Web Consortium">W3C</acronym>
+provenance (PROV) family of specifications.
+PROV-DM distinguishes core structures, forming the essence of provenance information, from
+extended structures catering for more specific uses of provenance. 
+PROV-DM is organized in six components, respectively dealing with: 
+(1) entities and activities, and the time at which they were created, used, or ended;
+(2) derivations of entities from entities;
+(3) agents bearing responsibility for entities that were generated and activities that happened;
+(4) a notion of bundle, a mechanism to support provenance of provenance; and,
+(5) properties to link entities that refer to the same thing;
+(6) collections forming a logical structure for its members.
+</p>
+<p>To provide examples of the PROV data model, the PROV notation (PROV-N) is introduced: aimed at human consumption, PROV-N allows serializations of PROV
+instances to be created in a compact manner. PROV-N facilitates the
+mapping of the PROV data model to concrete syntax, and is used as the basis for a
+formal semantics of PROV.  The purpose of this document is to define the PROV-N notation.
+</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>
+<span class="delete">Last Call</span><h4 id="prov-family-of-documents"><span class="insert">PROV Family of Documents</span></h4>
+
+This <span class="insert">document </span>is <span class="insert">part of the PROV family of documents, </span>a <span class="delete">Last Call Working Draft. The design is not expected to change significantly, going forward, and now is the key time for external review.</span>
+
+<span class="delete">This specification identifies one  </span><span class="delete">feature at risk</span><span class="delete">: the expression Mention </span><span class="delete">(section 3.5.3)</span><span class="delete"> might be removed from PROV if implementation experience reveals problems with supporting this construct.</span>
+
+
+
+<span class="delete">PROV Family</span><span class="insert">set</span> of <span class="delete">Specifications</span><span class="delete">
+This document is part of the PROV family of specifications, a set of specifications</span><span class="insert">documents</span> defining various aspects that are necessary to achieve the vision of inter-operable
+interchange of provenance information in heterogeneous environments such as the Web.  <span class="delete">The specifications</span><span class="insert">These documents</span> are:
+<ul>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/"><span class="insert">PROV-OVERVIEW</span></a><span class="insert"> (Note), an overview of the PROV family of documents [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-OVERVIEW"><span class="insert">PROV-OVERVIEW</span></a></cite><span class="insert">];</span></li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><span class="insert">PROV-PRIMER</span></a><span class="insert"> (Note), a primer for the PROV data model [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-PRIMER"><span class="insert">PROV-PRIMER</span></a></cite><span class="insert">];</span></li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/"><span class="insert">PROV-O</span></a><span class="insert"> (Recommendation), the PROV ontology, an OWL2 ontology allowing the mapping of PROV to RDF [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-O"><span class="insert">PROV-O</span></a></cite><span class="insert">];</span></li>
+<li> <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/">PROV-DM</a><span class="delete">,</span><span class="insert"> (Recommendation),</span> the PROV data model for <span class="delete">provenance;</span><span class="insert">provenance [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM"><span class="insert">PROV-DM</span></a></cite><span class="insert">];</span></li>
+<li> <span class="delete">PROV-CONSTRAINTS</span><span class="delete">, a set of constraints applying to the PROV data model;</span>
+ <a href="http://www.w3.org/TR/2012/CR-prov-n-20121211/">PROV-N</a><span class="delete">,</span><span class="insert"> (Recommendation),</span> a notation for provenance aimed at human consumption  (this document);</li>
+<li> <span class="delete">PROV-O</span><span class="delete">,</span><a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/"><span class="insert">PROV-CONSTRAINTS</span></a><span class="insert"> (Recommendation), a set of constraints applying to</span> the PROV <span class="delete">ontology, </span><span class="insert">data model [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS"><span class="insert">PROV-CONSTRAINTS</span></a></cite><span class="insert">];</span></li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/"><span class="insert">PROV-AQ</span></a><span class="insert"> (Note), the mechanisms for accessing and querying provenance [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ"><span class="insert">PROV-AQ</span></a></cite><span class="insert">]; </span></li>
+<li> <a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><span class="insert">PROV-XML</span></a><span class="insert"> (Note),  </span>an <span class="delete">OWL2 ontology allowing the mapping of</span><span class="insert">XML schema for the</span> PROV <span class="delete">to RDF;</span><span class="insert">data model [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-XML"><span class="insert">PROV-XML</span></a></cite><span class="insert">].</span></li>
+ <span class="delete">PROV-AQ</span><span class="delete">, the mechanisms for accessing and querying provenance; </span>
+ <span class="delete">PROV-PRIMER</span><span class="delete">, a primer for the PROV data model.</span></ul>
+
+
+<h4 id="how-to-read-the-prov-family-of-specifications">How to read the PROV Family of Specifications</h4>
+<ul>
+<li>The primer is the entry point to PROV offering an introduction to the provenance model.</li>
+<li>The Linked Data and Semantic Web community should focus on PROV-O defining PROV classes and properties specified in an OWL2 ontology. For further details, PROV-DM and PROV-CONSTRAINTS specify the constraints applicable to the data model, and its interpretation. </li>
+
+<li>Developers seeking to retrieve or publish provenance should focus on PROV-AQ.</li>
+<li>Readers seeking to implement other PROV serializations
+should focus on PROV-DM and PROV-CONSTRAINTS.  PROV-O and PROV-N offer examples of mapping to RDF and text, respectively.</li>
+</ul>
+<p>This document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as a <span class="delete">Last Call Working Draft.</span><span class="insert">Candidate Recommendation.</span> This document is intended to become a <acronym title="World Wide Web Consortium">W3C</acronym> Recommendation. If you wish to make comments regarding this document, please send them to <a href="mailto:public-prov-comments@w3.org">public-prov-comments@w3.org</a> (<a href="mailto:public-prov-comments-request@w3.org?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-prov-comments/">archives</a>). <span class="delete">The Last Call period ends 18 September 2012.</span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> publishes a Candidate Recommendation to indicate that the document is believed to be stable and to encourage implementation by the developer community. This Candidate Recommendation is expected to advance to Proposed Recommendation no earlier than 31 January 2013.</span> All feedback is welcome.</p><p>Publication as a <span class="delete">Working Draft</span><span class="insert">Candidate Recommendation</span> does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.<span class="delete">This is a Last Call Working Draft and thus the Working Group has determined that this document has satisfied the relevant technical requirements and is sufficiently stable to advance through the Technical Recommendation process.</span></p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>. <acronym title="World Wide Web Consortium">W3C</acronym> maintains a <a href="http://www.w3.org/2004/01/pp-impl/46974/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>.</p></div><div id="toc" class="section"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a><ul class="toc"><li class="tocline"><a href="#purpose" class="tocxref"><span class="secno">1.1 </span>Purpose of this Document and Target Audience</a></li><li class="tocline"><a href="#compliance-with-this-document" class="tocxref"><span class="secno"><span class="insert">1.2 </span></span><span class="insert">Compliance with this Document</span></a></li><li class="tocline"><a href="#structure-of-this-document" class="tocxref"><span class="secno"><span class="delete">1.2</span><span class="insert">1.3</span> </span>Structure of this Document</a></li><li class="tocline"><a href="#notational-conventions" class="tocxref"><span class="secno"><span class="delete">1.3</span><span class="insert">1.4</span> </span>Notational Conventions</a></li></ul></li><li class="tocline"><a href="#general-conventions" class="tocxref"><span class="secno">2. </span>General grammar considerations</a><ul class="toc"><li class="tocline"><a href="#functional-syntax" class="tocxref"><span class="secno">2.1 </span>Functional-style Syntax</a></li><li class="tocline"><a href="#grammar-notation" class="tocxref"><span class="secno">2.2 </span>EBNF Grammar</a></li><li class="tocline"><a href="#main-productions" class="tocxref"><span class="secno">2.3 </span>Main Productions</a></li><li class="tocline"><a href="#prov-n-optionals" class="tocxref"><span class="secno">2.4 </span>Optional terms in expressions</a></li><li class="tocline"><a href="#prov-n-standard-terms" class="tocxref"><span class="secno">2.5 </span>Identifiers and attributes</a></li><li class="tocline"><a href="#comments" class="tocxref"><span class="secno">2.6 </span>Comments</a></li></ul></li><li class="tocline"><a href="#prov-n-expressions" class="tocxref"><span class="secno">3. </span>PROV-N Productions per Component</a><ul class="toc"><li class="tocline"><a href="#component1" class="tocxref"><span class="secno">3.1 </span>Component 1: Entities and Activities</a><ul class="toc"><li class="tocline"><a href="#expression-Entity" class="tocxref"><span class="secno">3.1.1 </span>Entity</a></li><li class="tocline"><a href="#expression-Activity" class="tocxref"><span class="secno">3.1.2 </span>Activity</a></li><li class="tocline"><a href="#expression-Generation" class="tocxref"><span class="secno">3.1.3 </span>Generation</a></li><li class="tocline"><a href="#expression-Usage" class="tocxref"><span class="secno">3.1.4 </span>Usage</a></li><li class="tocline"><a href="#expression-wasInformedBy" class="tocxref"><span class="secno">3.1.5 </span>Communication</a></li><li class="tocline"><a href="#expression-Start" class="tocxref"><span class="secno">3.1.6 </span>Start</a></li><li class="tocline"><a href="#expression-End" class="tocxref"><span class="secno">3.1.7 </span>End</a></li><li class="tocline"><a href="#expression-Invalidation" class="tocxref"><span class="secno">3.1.8 </span>Invalidation</a></li></ul></li><li class="tocline"><a href="#component2" class="tocxref"><span class="secno">3.2 </span>Component 2: Derivations</a><ul class="toc"><li class="tocline"><a href="#Derivation-Relation" class="tocxref"><span class="secno">3.2.1 </span>Derivation</a></li><li class="tocline"><a href="#expression-Revision" class="tocxref"><span class="secno">3.2.2 </span>Revision</a></li><li class="tocline"><a href="#expression-quotation" class="tocxref"><span class="secno">3.2.3 </span>Quotation</a></li><li class="tocline"><a href="#expression-primary-source" class="tocxref"><span class="secno">3.2.4 </span>Primary Source</a></li></ul></li><li class="tocline"><a href="#component3" class="tocxref"><span class="secno">3.3 </span>Component 3: Agents, Responsibility, and Influence</a><ul class="toc"><li class="tocline"><a href="#expression-Agent" class="tocxref"><span class="secno">3.3.1 </span>Agent</a></li><li class="tocline"><a href="#expression-attribution" class="tocxref"><span class="secno">3.3.2 </span>Attribution</a></li><li class="tocline"><a href="#expression-Association" class="tocxref"><span class="secno">3.3.3 </span>Association</a></li><li class="tocline"><a href="#expression-delegation" class="tocxref"><span class="secno">3.3.4 </span>Delegation</a></li><li class="tocline"><a href="#expression-influence" class="tocxref"><span class="secno">3.3.5 </span>Influence</a></li></ul></li><li class="tocline"><a href="#component4" class="tocxref"><span class="secno">3.4 </span>Component 4: Bundles</a><ul class="toc"><li class="tocline"><a href="#expression-bundle-constructor" class="tocxref"><span class="secno">3.4.1 </span>Bundle Constructor</a></li><li class="tocline"><a href="#expression-bundle-type" class="tocxref"><span class="secno">3.4.2 </span>Bundle Type</a></li></ul></li><li class="tocline"><a href="#component5" class="tocxref"><span class="secno">3.5 </span>Component 5: Alternate Entities</a><ul class="toc"><li class="tocline"><a href="#expression-alternate" class="tocxref"><span class="secno">3.5.1 </span>Alternate</a></li><li class="tocline"><a href="#expression-specialization" class="tocxref"><span class="secno">3.5.2 </span>Specialization</a></li><span class="delete">3.5.3 </span><span class="delete">Mention</span></ul></li><li class="tocline"><a href="#component6" class="tocxref"><span class="secno">3.6 </span>Component 6: Collections</a><ul class="toc"><li class="tocline"><a href="#expression-collection" class="tocxref"><span class="secno">3.6.1 </span>Collection</a></li><li class="tocline"><a href="#expression-collection-membership" class="tocxref"><span class="secno">3.6.2 </span>Membership</a></li></ul></li><li class="tocline"><a href="#subexpressions" class="tocxref"><span class="secno">3.7 </span>Further Expressions</a><ul class="toc"><li class="tocline"><a href="#expression-identifier" class="tocxref"><span class="secno">3.7.1 </span>Identifier</a></li><li class="tocline"><a href="#expression-attribute" class="tocxref"><span class="secno">3.7.2 </span>Attribute</a></li><li class="tocline"><a href="#expression-literal" class="tocxref"><span class="secno">3.7.3 </span>Literal</a><ul class="toc"><li class="tocline"><a href="#expression-types" class="tocxref"><span class="secno">3.7.3.1 </span>Reserved Type Values</a></li><li class="tocline"><a href="#expression-Time" class="tocxref"><span class="secno">3.7.3.2 </span>Time Values</a></li></ul></li><li class="tocline"><a href="#expression-NamespaceDeclaration" class="tocxref"><span class="secno">3.7.4 </span>Namespace Declaration</a></li><li class="tocline"><a href="#semantic-rules-summary" class="tocxref"><span class="secno">3.7.5 </span>Summary of additional semantic rules</a></li></ul></li></ul></li><li class="tocline"><a href="#document" class="tocxref"><span class="secno">4. </span><span class="delete">Toplevel Bundle</span><span class="insert">Document</span></a></li><li class="tocline"><a href="#extensibility" class="tocxref"><span class="secno">5. </span>Extensibility</a></li><li class="tocline"><a href="#media-type" class="tocxref"><span class="secno">6. </span>Media Type</a></li><li class="tocline"><a href="#changes-since-last-version" class="tocxref"><span class="secno"><span class="insert">A. </span></span><span class="insert">Changes since last version</span></a></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno"><span class="delete">A.</span><span class="insert">B.</span> </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno"><span class="delete">B.</span><span class="insert">C.</span> </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno"><span class="delete">B.1</span><span class="insert">C.1</span> </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno"><span class="delete">B.2</span><span class="insert">C.2</span> </span>Informative references</a></li></ul></li></ul></div> 
+
+
+
+
+
+
+
+
+<div id="introduction" class="section"> 
+<h2><span class="secno">1. </span>Introduction</h2>
+
+<p> Provenance is a record that describes the people,
+institutions, entities, and activities, involved in producing,
+influencing, or delivering a piece of data or a thing in the world.  Two
+companion specifications respectively define PROV-DM, a data model for
+provenance, allowing provenance descriptions to be expressed  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>]  and a set of constraints that provenance descriptions are expected to satisfy   [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>].
+</p>
+
+<div id="purpose" class="section"> 
+<h3><span class="secno">1.1 </span>Purpose of this Document and Target Audience</h3>
+
+A key goal of PROV is the specification of a machine-processable data model for provenance. However, communicating provenance between humans is also important when teaching, illustrating, formalizing, and discussing provenance-related issues. 
+
+
+
+With these two requirements in mind, this document introduces PROV-N, the PROV notation, a syntax designed to  write instances of the PROV data model according to the following design principles:
+<ul>
+<li>Technology independence. PROV-N provides a simple syntax that can be mapped to several technologies.
+
+</li><li>Human readability. PROV-N follows a functional syntax style that is meant to be easily human-readable so it can be used in illustrative examples, such as those presented in the PROV documents <span class="delete">suite;</span><span class="insert">suite</span>
+
+</li><li>Formality. PROV-N is defined through a formal grammar amenable to be used with parser generators.
+
+ </li></ul>
+  
+PROV-N has several known uses:
+<ul>
+<li> It is the notation used in the examples found in  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>], as well as in the definition of PROV constraints [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>]; </li>
+<li>  It is a source language for the encoding of PROV data model instances into a variety of target languages, including amongst others  RDF [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-RDF">PROV-RDF</a></cite>] and XML [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-XML">PROV-XML</a></cite>]; </li>
+<li> It provides the basis for a formal semantics of the PROV data model  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-SEM">PROV-SEM</a></cite>], in which an interpretation is given to each element of the PROV-N language.
+</li></ul>
+
+<p>This document introduces the PROV-N grammar along with examples of its usage.</p>
+<p>Its target audience is twofold:
+</p><ul>
+<li>Developers of provenance management applications, as well as implementors of new PROV data model encodings, and thus in particular of PROV-N parsers. These readers may be interested in the entire structure of the grammar, starting from the top level nonterminal 
+<code><span class="delete">bundle</span><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code>.</li>
+<li>Readers of the  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] and of  [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-CONSTRAINTS">PROV-CONSTRAINTS</a></cite>] documents, who are interested in the details of the formal language underpinning the notation used in the examples and in the definition of the constraints. Those readers may find the  <code><a class="grammarRef" href="#prod-expression">expression</a></code> nonterminal a useful entry point into the grammar.</li>
+</ul>
+
+</div>
+
+    
+
+<div id="compliance-with-this-document" class="section"> 
+<h3><span class="secno"><span class="insert">1.2 </span></span><span class="insert">Compliance with this Document</span></h3>
+
+
+<p><span class="insert">For the purpose of compliance, all sections of this document are normative, except 
+</span><a href="#changes-since-last-version"><span class="insert">Appendix A</span></a><span class="insert">, 
+</span><a href="#acknowledgements"><span class="insert">Appendix B</span></a><span class="insert">,  and
+</span><a href="#informative-references"><span class="insert">Appendix C.2</span></a><span class="insert">.
+</span></p><ul>
+<li><span class="insert"> Information in tables is normative. </span></li>
+<li><span class="insert"> Text in boxes labeled "Example" is informative.
+</span></li><li><span class="insert"> Productions (displayed in boxes) are normative, as opposed to the separate </span><a href="grammar.txt"><span class="insert">file</span></a><span class="insert"> grouping  all productions for convenience of programmers, which is informative.
+</span></li></ul>
+</div>
+
+
+    <div id="structure-of-this-document" class="section"> 
+<h3><span class="secno"><span class="delete">1.2</span><span class="insert">1.3</span> </span>Structure of this Document</h3>
+
+<p>This document is structured as follows.
+
+</p><p><a href="#general-conventions">Section 2</a> provides general consideration about the PROV-N grammar.</p>
+
+<p><a href="#prov-n-expressions">Section 3</a> presents the grammar of all expressions of the language grouped according to the PROV data model components.</p>
+
+<p><a href="#document">Section 4</a> defines the grammar of <span class="delete">toplevel bundles,</span><span class="insert">document,</span> a house-keeping construct of PROV-N capable of packaging up PROV-N expressions and namespace declarations.</p>
+
+<p><a href="#extensibility">Section 5</a> defines the extensibility mechanism for the PROV-N notation.</p>
+
+<p><a href="#media-type">Section 6</a> defines media type for the PROV-N notation.</p>
+
+
+    </div> 
+
+
+<div id="notational-conventions" class="section">
+ <h3><span class="secno"><span class="delete">1.3</span><span class="insert">1.4</span> </span>Notational 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>
+
+
+
+
+<p>
+The following namespaces prefixes are used throughout this document.
+
+</p><div style="text-align: left;">
+<table border="1" style="margin-left: auto; margin-right: auto;">
+<caption id="namespace-table">Table 1: Prefix and Namespaces used in this specification</caption>
+<tbody><tr><td><a><b>prefix</b></a></td><td><b>namespace uri</b></td> <td><b>definition</b></td></tr>
+<tr><td><a>prov</a></td><td>http://www.w3.org/ns/prov#</td><td>The PROV namespace (see Section <a href="#expression-NamespaceDeclaration">3.7.4</a>)</td></tr>
+<tr><td><a>xsd</a></td><td>http://www.w3.org/2000/10/XMLSchema#</td><td>XML Schema Namespace [<cite><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA11-2">XMLSCHEMA11-2</a></cite>]</td></tr>
+<tr><td><a>(others)</a></td><td>(various)</td><td>All other namespace prefixes are used in examples only. <br> In particular, URIs starting with "http://example.com" represent<br> some application-dependent URI [<cite><a class="bibref" rel="biblioentry" href="#bib-URI">URI</a></cite>]</td></tr>
+</tbody></table>
+</div>
+
+</div> 
+
+</div> 
+
+<div id="general-conventions" class="section">
+<h2><span class="secno">2. </span>General grammar considerations</h2>
+
+<p><span class="insert">For convenience, all productions presented in this document have been grouped in a
+separate </span><a href="grammar.txt"><span class="insert">file</span></a><span class="insert">.</span></p>
+
+<div id="functional-syntax" class="section"> 
+<h3><span class="secno">2.1 </span>Functional-style Syntax</h3>
+
+<p> PROV-N adopts a functional-style syntax consisting of a predicate name and an ordered list of terms.</p>
+
+<p>
+All PROV data model types have an identifier. Furthermore, some expressions also admit additional elements that further characterize it. </p>
+<div class="anexample" id="example_1"><div class="anexampleTitle"><a class="internalDFN" href="#example_1">Example 1</a></div>
+<p>The following expression should be read as "entity <span class="name">e1</span>". 
+</p><pre class="codeexample">entity(e1)
+</pre>
+  </div>
+<div class="anexample" id="example_2"><div class="anexampleTitle"><a class="internalDFN" href="#example_2">Example 2</a></div>
+<p>The following expression should be read as "activity <span class="name">a2</span>, which occurred
+between <code>2011-11-16T16:00:00</code> and <code>2011-11-16T16:00:01</code>". 
+</p><pre class="codeexample">entity(e1)
+activity(a2, 2011-11-16T16:00:00, 2011-11-16T16:00:01)
+</pre>
+  </div>
+
+<p>
+All PROV data model relations involve two primary elements, the <em>subject</em> and the <em>object</em>, in this order. Furthermore, some expressions also admit additional elements that further characterize it.
+</p><div class="anexample" id="example_3"><div class="anexampleTitle"><a class="internalDFN" href="#example_3">Example 3</a></div>
+<p>The following expression should be read as "<span class="name">e2</span> was derived from <span class="name">e1</span>". Here <span class="name">e2</span> is the subject, and  <span class="name">e1</span> is the object.
+</p><pre class="codeexample">wasDerivedFrom(e2, e1)
+</pre>
+  </div>
+  
+<div class="anexample" id="example_4"><div class="anexampleTitle"><a class="internalDFN" href="#example_4">Example 4</a></div>
+<p>The following expression expands the above derivation relation by providing
+additional elements the optional activity <span class="name">a</span>, the generation <span class="name">g2</span>, and the usage <span class="name">u1</span>:
+</p><pre class="codeexample">wasDerivedFrom(e2, e1, a, g2, u1)
+</pre>
+</div>
+
+</div>
+
+<div id="grammar-notation" class="section">
+<h3><span class="secno">2.2 </span>EBNF Grammar</h3>
+
+<p>The grammar is specified using a subset of the Extended Backus-Naur
+Form (EBNF) notation, as defined in Extensible Markup Language (XML) 1.1
+[<cite><a class="bibref" rel="biblioentry" href="#bib-XML11">XML11</a></cite>] section <a href="http://www.w3.org/TR/2006/REC-xml11-20060816/#sec-notation">6
+Notation</a>.
+</p>
+
+<p>
+The text below provides an introduction to the EBNF notation used in
+this document.</p>
+
+
+<p>
+  EBNF specifies a series of production rules (<dfn id="dfn-production">production</dfn>). 
+A production rule in the grammar defines a symbol 
+ <code class="grammarRef">expr</code>  (<dfn id="dfn-nonterminal-symbol">nonterminal symbol</dfn>)
+  using the following form:</p>
+
+
+<div class="grammar">
+ <code class="grammarRef">expr</code> &nbsp;::= <em>term</em>
+</div>
+<p>Symbols are written with an initial capital letter if they are the start symbol of a regular language, otherwise with an initial lowercase letter. 
+A production rule in the grammar defines a symbol 
+ <code class="grammarRef">&lt;TERMINAL&gt;</code>  (<dfn id="dfn-terminal-symbol">terminal symbol</dfn>)
+  using the following form:</p>
+<div class="grammar">
+ <code class="grammarRef">&lt;TERMINAL&gt;</code> &nbsp;::= <em>term</em>
+</div>
+
+
+
+
+
+<p>Within the term on the right-hand side of a rule, the following
+<em>term</em>s are used to match strings of one or more characters:
+</p><ul>
+<li> 
+ <code class="grammarRef">expr</code>: matches production for nonterminal symbol <code class="grammarRef">expr</code>
+</li>
+
+
+<li> 
+ <code class="grammarRef">TERMINAL</code>: matches production for terminal symbol <code class="grammarRef">TERMINAL</code>
+</li>
+
+<li> 
+ <code class="grammarRef">"abc"</code>: matches the literal string inside the single quotes.
+</li>
+
+
+<li> 
+ <code class="grammarRef">(term)?</code>: optional, matches <em>term</em> or nothing.
+</li>
+
+<li> 
+ <code class="grammarRef">(term)+</code>: matches one or more occurrences of <em>term</em>.
+</li>
+
+<li> 
+ <code class="grammarRef">(term)*</code>: matches zero or more occurrences of <em>term</em>.
+</li>
+
+<li> 
+ <code class="grammarRef">(term | term)</code>: matches one of the two <em>terms</em>.
+</li>
+
+</ul>
+
+
+<p>Where suitable, the PROV-N grammar reuses production and terminal names of the SPARQL grammar [<cite><a class="bibref" rel="biblioentry" href="#bib-RDF-SPARQL-QUERY">RDF-SPARQL-QUERY</a></cite>].</p>
+
+</div>
+
+<div id="main-productions" class="section">
+<h3><span class="secno">2.3 </span>Main Productions</h3>
+
+<p>Two productions are entry points to the grammar.</p>
+
+<p>The production <code class="grammarRef"><a class="grammarRef" href="#prod-expression">expression</a></code>
+provides the structure for the <em>core expressions</em> of PROV-N. 
+
+
+
+
+</p><table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-expression" name="prod-expression"></a>[<span class="prodNo">2</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">expression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-activityExpression">activityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-generationExpression">generationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-usageExpression">usageExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-startExpression">startExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-endExpression">endExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-invalidationExpression">invalidationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-communicationExpression">communicationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-agentExpression">agentExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-associationExpression">associationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-attributionExpression">attributionExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-delegationExpression">delegationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-influenceExpression">influenceExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-alternateExpression">alternateExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-specializationExpression">specializationExpression</a></span> | <span class="prod"><span class="delete">mentionExpression</span><span class="delete"> | </span><a class="grammarRef" href="#prod-membershipExpression">membershipExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></span> )</code></td> </tr> </tbody>
+</table>
+
+
+<p>Each of the symbols included in <code>expression</code> above, i.e., <code><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code>,  <code><a class="grammarRef" href="#prod-activityExpression">activityExpression</a></code> etc., corresponds to one concept (e.g., Entity, Activity, etc.) of the PROV data model.</p>
+
+
+<p>Alternatively,  the production rule <code><a href="#prod-document"><span class="grammarRef"><span class="delete">bundle</span><span class="insert">document</span></span></a></code>
+provides the overall structure of PROV-N descriptions.  It is a wrapper  for
+ a set of expressions, such that the text for an element matches the corresponding <code><a class="grammarRef" href="#prod-expression">expression</a></code> production,  and some namespace declarations.</p>
+
+</div>
+
+
+<div id="prov-n-optionals" class="section"> 
+<h3><span class="secno">2.4 </span>Optional terms in expressions</h3>
+
+Some terms in an expression may be optional. For example:
+
+<div class="anexample" id="example_5"><div class="anexampleTitle"><a class="internalDFN" href="#example_5">Example 5</a></div>
+<pre class="codeexample">wasDerivedFrom(e2, e1, a, g2, u1)
+wasDerivedFrom(e2, e1)
+</pre>
+In a derivation expression, the activity, generation, and usage are optional terms. They are specified in the first derivation, but not in the second.
+</div>
+
+<div class="anexample" id="example_6"><div class="anexampleTitle"><a class="internalDFN" href="#example_6">Example 6</a></div>
+<pre class="codeexample">activity(a2, 2011-11-16T16:00:00, 2011-11-16T16:00:01)
+activity(a1)
+</pre>
+The start and end times for <span class="delete">Activity </span><span class="delete">a1</span><span class="insert">an activity</span> are optional. They are specified in the first expression, but not in the second.
+</div>
+
+<p>The general rule for optionals is that, if <em>none</em> of the optionals are used in the expression, then they are simply omitted, resulting in a simpler expression as in the examples above.</p>
+However, it may be the case that only some of the optional terms are omitted. Because the position of the terms in the expression matters, an additional marker must be used to indicate that a particular term is not available. The symbol  <span class="name">'-'</span> is used for this purpose.
+
+<div class="anexample" id="example_7"><div class="anexampleTitle"><a class="internalDFN" href="#example_7">Example 7</a></div>
+<p>In the first expression below, all optionals are specified. However in the second and third, only one optional is specified, forcing the use of the marker for the missing terms. 
+
+</p><pre class="codeexample">wasDerivedFrom(e2, e1, a, g2, u1)
+wasDerivedFrom(e2, e1, -, -, u1)
+wasDerivedFrom(e2, e1, a, -, -)
+</pre>
+</div>
+Note that the more succinct form is just shorthand for a complete expression with all the markers specified:
+<div class="anexample" id="example_8"><div class="anexampleTitle"><a class="internalDFN" href="#example_8">Example 8</a></div>
+<pre class="codeexample">activity(a1)
+activity(a1, -, -)
+</pre>
+</div>
+
+
+</div>
+
+<div id="prov-n-standard-terms" class="section"> 
+<h3><span class="secno">2.5 </span>Identifiers and attributes</h3>
+
+<p>Almost all expressions defined in the grammar include an identifier (see <a href="#expression-identifier">Section 3.7.1</a> for the full syntax of identifiers). Most expressions
+can aslo include a set of attribute-value pairs, delimited by square brackets. Identifiers are optional except for Entities, Activites, and Agents. Identifiers are always the first term in any expression.  <em>Optional</em> identifiers <em class="rfc2119" title="must">must</em> be separated using a semi-colon ';', but where the identifiers are required, a regular comma ',' <em class="rfc2119" title="must">must</em> be used. This makes it possible to completely omit an optional identifier with no ambiguity arising. Also, if the set of attribute-value pairs is present, it is always the last term in any expression.</p>
+
+<div class="anexample" id="example_9"><div class="anexampleTitle"><a class="internalDFN" href="#example_9">Example 9</a></div>
+<p>Derivation has an optional identifier. In the first expression, the identifier is not available, while it is explicit in the second. The third example shows that one can optionally indicate the missing identifier using the <span class="name">-</span> marker. This is equivalent to the first expression. </p>
+<pre class="codeexample">wasDerivedFrom(e2, e1)
+wasDerivedFrom(d; e2, e1)
+wasDerivedFrom(-; e2, e1)
+</pre>
+</div>
+
+Lack of attributes can be equivalently expressed by omitting the list, or by using an empty list.
+
+
+
+<div class="anexample" id="example_10"><div class="anexampleTitle"><a class="internalDFN" href="#example_10">Example 10</a></div>
+<p>The first and second activity expressions <span class="delete">have no</span><span class="insert">do not speciy any</span> attributes, and are equivalent.
+
+The third activity expression <span class="delete">has</span><span class="insert">specifies</span> two attributes. 
+</p><pre class="codeexample">activity(ex:a1)
+activity(ex:a1, [])
+activity(ex:a1, [ex:param1="a", ex:param2="b"])
+</pre>
+</div>
+
+</div>
+
+<div id="comments" class="section">
+<h3><span class="secno">2.6 </span>Comments</h3>
+
+
+Comments in PROV-N take two forms:
+<ul>
+<li> '//'  outside an <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></code> or <code class="content"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></code>; such comments continue to the end of line (marked by characters U+000D or U+000A) or end of file if there is no end of line after the comment marker. 
+
+</li><li> '/*' ... '*/', outside an <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></code> or <code class="content"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></code>.
+</li></ul>
+<p>Comments are treated as white space.</p>
+
+</div>
+
+</div>
+
+<div id="prov-n-expressions" class="section"> 
+<h2><span class="secno">3. </span>PROV-N Productions per Component</h2>
+
+<p>This section  introduces grammar productions for each expression, followed by small examples of expressions illustrating the grammar. Strings conforming to the grammar are valid expressions in the PROV-N language.</p>
+
+<div id="component1" class="section"> 
+<h3><span class="secno">3.1 </span>Component 1: Entities and Activities</h3>
+
+<div id="expression-Entity" class="section"> 
+<h4><span class="secno">3.1.1 </span>Entity</h4>
+
+
+<p>
+
+
+
+
+
+
+</p><table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-entityExpression" name="prod-entityExpression"></a>[<span class="prodNo">3</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">entityExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"entity" "(" <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-optionalAttributeValuePairs" name="prod-optionalAttributeValuePairs"></a>[<span class="prodNo">4</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">optionalAttributeValuePairs</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( "," "[" <span class="prod"><a class="grammarRef" href="#prod-attributeValuePairs">attributeValuePairs</a></span> "]" )?</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attributeValuePairs" name="prod-attributeValuePairs"></a>[<span class="prodNo">5</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">attributeValuePairs</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">(  | <span class="prod"><a class="grammarRef" href="#prod-attributeValuePair">attributeValuePair</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-attributeValuePair">attributeValuePair</a></span> )* )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attributeValuePair" name="prod-attributeValuePair"></a>[<span class="prodNo">6</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">attributeValuePair</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-attribute">attribute</a></span> "=" <span class="prod"><a class="grammarRef" href="#prod-literal">literal</a></span></code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Entity maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-entity">Entity</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#entity.id"><span class="attribute" id="entity.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#entity.attributes"><span class="attribute" id="entity.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_11"><div class="anexampleTitle"><a class="internalDFN" href="#example_11">Example 11</a></div>
+<pre class="codeexample">entity(tr:WD-prov-dm-20111215, [ prov:type="document" ])
+</pre>
+  Here <span class="name">tr:WD-prov-dm-20111215</span> is the entity identifier, and <span class="name">[ prov:type="document" ]</span> groups the optional attributes, only one in this example,  with their values.
+  <pre class="codeexample">
+entity(tr:WD-prov-dm-20111215)
+</pre>
+Here, the optional attributes are absent.
+</div>
+
+
+
+</div> 
+<div id="expression-Activity" class="section"> 
+<h4><span class="secno">3.1.2 </span>Activity</h4>
+
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-activityExpression" name="prod-activityExpression"></a>[<span class="prodNo">7</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">activityExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"activity" "(" <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-timeOrMarker" name="prod-timeOrMarker"></a>[<span class="prodNo">8</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">timeOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-time">time</a></span> | "-" )</code></td> </tr> </tbody>
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Activity maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-activity">Activity</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.id"><span class="attribute" id="activity.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.startTime"><span class="attribute" id="activity.startTime">startTime</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.endTime"><span class="attribute" id="activity.endTime">endTime</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#activity.attributes"><span class="attribute" id="activity.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_12"><div class="anexampleTitle"><a class="internalDFN" href="#example_12">Example 12</a></div>
+<pre class="codeexample">activity(ex:a10, 2011-11-16T16:00:00, 2011-11-16T16:00:01, [prov:type="createFile"])
+</pre>
+<p>Here <span class="name">ex:a10</span> is the  activity identifier, <span class="name">2011-11-16T16:00:00</span> and <span class="name">2011-11-16T16:00:01</span> are the optional start and end times for the activity, and <span class="name">[prov:type="createFile"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+<pre class="codeexample">activity(ex:a10)
+activity(ex:a10, -, -)
+activity(ex:a10, -, -, [prov:type="edit"])
+activity(ex:a10, -, 2011-11-16T16:00:00)
+activity(ex:a10, 2011-11-16T16:00:00, -)
+activity(ex:a10, 2011-11-16T16:00:00, -, [prov:type="createFile"])
+activity(ex:a10, [prov:type="edit"])
+</pre>
+</div>
+
+
+</div>
+<div id="expression-Generation" class="section">
+<h4><span class="secno">3.1.3 </span>Generation</h4>
+
+
+
+
+
+
+
+
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-generationExpression" name="prod-generationExpression"></a>[<span class="prodNo">9</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">generationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasGeneratedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-optionalIdentifier" name="prod-optionalIdentifier"></a>[<span class="prodNo">10</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">optionalIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-identifierOrMarker">identifierOrMarker</a></span> ";" )?</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-identifierOrMarker" name="prod-identifierOrMarker"></a>[<span class="prodNo">11</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">identifierOrMarker</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> | "-" )</code></td> </tr> </tbody>
+
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Generation maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasgeneratedby">Generation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.id"><span class="attribute" id="generation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.entity"><span class="attribute" id="generation.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.activity"><span class="attribute" id="generation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.time"><span class="attribute" id="generation.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.attributes"><span class="attribute" id="generation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="example_13"><div class="anexampleTitle"><a class="internalDFN" href="#example_13">Example 13</a></div>
+
+<pre class="codeexample">wasGeneratedBy(ex:g1; tr:WD-prov-dm-20111215, ex:edit1, 2011-11-16T16:00:00,  [ex:fct="save"])
+</pre>
+<p>  Here <span class="name">ex:g1</span> is the optional generation identifier, <span class="name">tr:WD-prov-dm-20111215</span> is the identifier of the entity being generated,
+  <span class="name">ex:edit1</span> is the optional identifier of the generating activity, <span class="name">2011-11-16T16:00:00</span> is the optional generation time, and <span class="name"> [ex:fct="save"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+  
+<pre class="codeexample">wasGeneratedBy(e2, a1, -)
+wasGeneratedBy(e2, a1, 2011-11-16T16:00:00)
+wasGeneratedBy(e2, a1, -, [ex:fct="save"])     
+wasGeneratedBy(e2, [ex:fct="save"])     
+wasGeneratedBy(ex:g1; e)
+wasGeneratedBy(ex:g1; e, a, tr:WD-prov-dm-20111215)
+</pre>
+</div>
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-generationExpression">generationExpression</a></code>.</p>
+
+
+
+
+
+</div>
+
+<div id="expression-Usage" class="section">
+<h4><span class="secno">3.1.4 </span>Usage</h4>
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-usageExpression" name="prod-usageExpression"></a>[<span class="prodNo">12</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">usageExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"used" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Usage maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-used">Usage</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.id"><span class="attribute" id="usage.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.activity"><span class="attribute" id="usage.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr><tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.entity"><span class="attribute" id="usage.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.time"><span class="attribute" id="usage.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.attributes"><span class="attribute" id="usage.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+<div class="anexample" id="example_14"><div class="anexampleTitle"><a class="internalDFN" href="#example_14">Example 14</a></div>
+  
+<pre class="codeexample">used(ex:u1; ex:act2, ar3:0111, 2011-11-16T16:00:00, [ex:fct="load"])
+ </pre>
+<p>  Here <span class="name">ex:u1</span> is the optional usage identifier,  <span class="name">ex:act2</span> is the identifier of the using activity,
+  <span class="name">ar3:0111</span> is the identifier of the entity being used,
+ <span class="name">2011-11-16T16:00:00</span> is the optional usage time, and <span class="name"> [ex:fct="load"]</span> are optional attributes.</p>
+The remaining examples show cases where some of the optionals are omitted.
+
+  <pre class="codeexample">used(ex:act2)
+used(ex:act2, ar3:0111, 2011-11-16T16:00:00)
+used(a1,e1, -, [ex:fct="load"])
+used(ex:u1; ex:act2, ar3:0111, -)
+</pre>
+</div>
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-usageExpression">usageExpression</a></code>.</p>
+
+
+
+
+
+
+
+
+</div>
+
+<div id="expression-wasInformedBy" class="section">
+<h4><span class="secno">3.1.5 </span>Communication</h4>
+
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-communicationExpression" name="prod-communicationExpression"></a>[<span class="prodNo">13</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">communicationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasInformedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Communication maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasinformedby">Communication</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.id"><span class="attribute" id="communication.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.informed"><span class="attribute" id="communication.informed">informed</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.informant"><span class="attribute" id="communication.informant">informant</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#communication.attributes"><span class="attribute" id="communication.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_15"><div class="anexampleTitle"><a class="internalDFN" href="#example_15">Example 15</a></div>
+<pre class="codeexample">wasInformedBy(ex:inf1; ex:a1, ex:a2, [ex:param1="a", ex:param2="b"])
+</pre>
+<p>  Here <span class="name">ex:inf1</span> is the optional communication identifier,  <span class="name">ex:a1</span> is the identifier of the informed activity,
+  <span class="name">ex:a2</span> is the identifier of the informant activity,
+and <span class="name">[ex:param1="a", ex:param2="b"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+<pre class="codeexample">wasInformedBy(ex:a1, ex:a2)
+wasInformedBy(ex:a1, ex:a2, [ex:param1="a", ex:param2="b"])
+wasInformedBy(i; ex:a1, ex:a2)
+wasInformedBy(i; ex:a1, ex:a2, [ex:param1="a", ex:param2="b"])
+</pre>
+</div>
+</div>
+
+
+
+<div id="expression-Start" class="section">
+<h4><span class="secno">3.1.6 </span>Start</h4>
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-startExpression" name="prod-startExpression"></a>[<span class="prodNo">14</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">startExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasStartedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Start maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasstartedby">Start</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.id"><span class="attribute" id="start.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.activity"><span class="attribute" id="start.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.trigger"><span class="attribute" id="start.trigger">trigger</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.starter"><span class="attribute" id="start.starter">starter</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.time"><span class="attribute" id="start.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.attributes"><span class="attribute" id="start.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_16"><div class="anexampleTitle"><a class="internalDFN" href="#example_16">Example 16</a></div>
+
+  <pre class="codeexample"><span class="delete">wasStartedBy(s;</span><span class="insert">wasStartedBy(start;</span> ex:act2, ex:trigger, ex:act1, 2011-11-16T16:00:00, [ex:param="a"])
+  </pre>
+  <p>Here <span class="name"><span class="delete">s</span><span class="insert">start</span></span> is the optional start identifier,  <span class="name">ex:act2</span> is the identifier of the started activity,
+  <span class="name">ex:trigger</span> is the optional identifier for the entity that triggered the activity start,
+   <span class="name">ex:act1</span> is the optional identifier for the activity that generated the (possibly unspecified) entity   <span class="name">ex:trigger</span>,
+ <span class="name">2011-11-16T16:00:00</span> is the optional start time, and <span class="name"> [ex:param="a"]</span> are optional attributes.</p>
+  The remaining examples show cases where some of the optionals are omitted.
+  
+  <pre class="codeexample">wasStartedBy(ex:act2, -, ex:act1, -)
+wasStartedBy(ex:act2, -, ex:act1, 2011-11-16T16:00:00)
+wasStartedBy(ex:act2, -, -, 2011-11-16T16:00:00)
+wasStartedBy(ex:act2, [ex:param="a"])
+<span class="delete">wasStartedBy(s;</span><span class="insert">wasStartedBy(start;</span> ex:act2, e, ex:act1, 2011-11-16T16:00:00)
+</pre>
+</div>
+
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-startExpression">startExpression</a></code>.</p>
+
+
+
+
+
+
+</div>
+
+<div id="expression-End" class="section">
+<h4><span class="secno">3.1.7 </span>End</h4>
+
+
+
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-endExpression" name="prod-endExpression"></a>[<span class="prodNo">15</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">endExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasEndedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM End maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasendedby">End</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.id"><span class="attribute" id="end.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.activity"><span class="attribute" id="end.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.trigger"><span class="attribute" id="end.trigger">trigger</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.ender"><span class="attribute" id="end.ender">ender</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.time"><span class="attribute" id="end.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.attributes"><span class="attribute" id="end.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="example_17"><div class="anexampleTitle"><a class="internalDFN" href="#example_17">Example 17</a></div>
+
+    <pre class="codeexample"><span class="delete">wasEndedBy(s;</span><span class="insert">wasEndedBy(end;</span> ex:act2, ex:trigger,ex:act3,  2011-11-16T16:00:00, [ex:param="a"])
+  </pre>
+<p>  Here <span class="name"><span class="delete">s</span><span class="insert">end</span></span> is the optional <span class="delete">start</span><span class="insert">end</span> identifier,  
+<span class="name">ex:act2</span> is the identifier of the ending activity,
+  <span class="name">ex:trigger</span> is the identifier of the entity that triggered the activity end,
+  <span class="name">ex:act3</span> is the optional identifier for the activity that generated the (possibly unspecified) entity   <span class="name"><span class="delete">e</span><span class="insert">ex:trigger</span></span>,
+ <span class="name">2011-11-16T16:00:00</span> is the optional usage time, and <span class="name"> [ex:param="a"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+  
+<pre class="codeexample">wasEndedBy(ex:act2, ex:trigger, -, -)
+wasEndedBy(ex:act2, ex:trigger, -, 2011-11-16T16:00:00)
+wasEndedBy(ex:act2, -, -, 2011-11-16T16:00:00)
+wasEndedBy(ex:act2, -, -, 2011-11-16T16:00:00, [ex:param="a"])
+<span class="delete">wasEndedBy(e;</span><span class="insert">wasEndedBy(end;</span> ex:act2)
+<span class="delete">wasEndedBy(e;</span><span class="insert">wasEndedBy(end;</span> ex:act2, ex:trigger, -, 2011-11-16T16:00:00)
+</pre>
+</div>
+
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-endExpression">endExpression</a></code>.</p>
+
+
+
+
+
+</div>
+
+
+
+<div id="expression-Invalidation" class="section">
+<h4><span class="secno">3.1.8 </span>Invalidation</h4>
+
+
+
+
+
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-invalidationExpression" name="prod-invalidationExpression"></a>[<span class="prodNo">16</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">invalidationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasInvalidatedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Invalidation maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasinvalidatedby">Invalidation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.id"><span class="attribute" id="invalidation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.entity"><span class="attribute" id="invalidation.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.activity"><span class="attribute" id="invalidation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.time"><span class="attribute" id="invalidation.time">time</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker">timeOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.attributes"><span class="attribute" id="invalidation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+<div class="anexample" id="example_18"><div class="anexampleTitle"><a class="internalDFN" href="#example_18">Example 18</a></div>
+
+<pre class="codeexample"><span class="delete">wasInvalidatedBy(ex:i1;</span><span class="insert">wasInvalidatedBy(ex:inv;</span> tr:WD-prov-dm-20111215, ex:edit1, 2011-11-16T16:00:00,  [ex:fct="save"])
+</pre>
+<p>  Here <span class="name"><span class="delete">ex:i1</span><span class="insert">ex:inv</span></span> is the optional invalidation identifier, <span class="name">tr:WD-prov-dm-20111215</span> is the identifier of the entity being invalidated,
+  <span class="name">ex:edit1</span> is the optional identifier of the invalidating activity, <span class="name">2011-11-16T16:00:00</span> is the optional invalidation time, and <span class="name"> [ex:fct="save"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+  
+<pre class="codeexample">wasInvalidatedBy(tr:WD-prov-dm-20111215, ex:edit1, -)
+wasInvalidatedBy(tr:WD-prov-dm-20111215, ex:edit1, 2011-11-16T16:00:00)
+wasInvalidatedBy(e2, a1, -, [ex:fct="save"])     
+wasInvalidatedBy(e2, -, -, [ex:fct="save"])     
+<span class="delete">wasInvalidatedBy(ex:i1;</span><span class="insert">wasInvalidatedBy(ex:inv;</span> tr:WD-prov-dm-20111215, ex:edit1, -)
+wasInvalidatedBy(tr:WD-prov-dm-20111215, ex:edit1, -)
+</pre>
+</div>
+
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-invalidationExpression">invalidationExpression</a></code>.</p>
+
+
+
+
+
+
+
+
+</div>
+
+
+
+
+
+
+
+
+
+
+</div>
+
+<div id="component2" class="section"> 
+<h3><span class="secno">3.2 </span>Component 2: Derivations</h3>
+<div id="Derivation-Relation" class="section">
+<h4><span class="secno">3.2.1 </span>Derivation</h4>
+
+
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-derivationExpression" name="prod-derivationExpression"></a>[<span class="prodNo">17</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">derivationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasDerivedFrom" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-gIdentifierOrMarker">gIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-uIdentifierOrMarker">uIdentifierOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Derivation maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasderivedfrom">Derivation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.id"><span class="attribute" id="derivation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.generatedEntity"><span class="attribute" id="derivation.generatedEntity">generatedEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.usedEntity"><span class="attribute" id="derivation.usedEntity">usedEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.activity"><span class="attribute" id="derivation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.generation"><span class="attribute" id="derivation.generation">generation</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-gIdentifierOrMarker">gIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.usage"><span class="attribute" id="derivation.usage">usage</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-uIdentifierOrMarker">uIdentifierOrMarker</a></code></td></tr>
+
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#derivation.attributes"><span class="attribute" id="derivation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+
+
+
+<div class="anexample" id="anexample-derivation"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-derivation">Example 19</a></div>
+    <pre class="codeexample">wasDerivedFrom(d; e2, e1, a, g2, u1, [ex:comment="a righteous derivation"])
+  </pre>
+<p>  Here
+    <span class="name">d</span> is the optional derivation identifier,
+  <span class="name">e2</span> is the identifier for the entity being derived,
+  <span class="name">e1</span> is the  identifier of the entity from which <span class="name">e2</span> is derived,
+  <span class="name">a</span> is the optional identifier of the activity which used/generated the entities,
+  <span class="name">g2</span> is the optional identifier of the generation,
+  <span class="name">u1</span> is the optional identifier of the usage,
+  and <span class="name">[ex:comment="a righteous derivation"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+  
+<pre class="codeexample">wasDerivedFrom(e2, e1)
+wasDerivedFrom(e2, e1, a, g2, u1)
+wasDerivedFrom(e2, e1, -, g2, u1)
+wasDerivedFrom(e2, e1, a, -, u1)
+wasDerivedFrom(e2, e1, a, g2, -)
+wasDerivedFrom(e2, e1, a, -, -)
+wasDerivedFrom(e2, e1, -, -, u1)
+wasDerivedFrom(e2, e1, -, -, -)
+wasDerivedFrom(d; e2, e1, a, g2, u1)
+wasDerivedFrom(-; e2, e1, a, g2, u1)
+</pre>
+</div>
+
+</div>
+<div id="expression-Revision" class="section">
+<h4><span class="secno">3.2.2 </span>Revision</h4>
+
+<p id="provn-type-Revision">
+PROV-N provides no dedicated syntax for Revision. Instead, a Revision <em class="rfc2119" title="must">must</em> be expressed as a 
+<code class="content"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression</a></code> with attribute <code>prov:type='prov:Revision'</code>.</p>
+
+
+
+<div class="anexample" id="example_20"><div class="anexampleTitle"><a class="internalDFN" href="#example_20">Example 20</a></div>
+    <pre class="codeexample">wasDerivedFrom(d; e2, e1, a, g2, u1, 
+               [prov:type='prov:Revision', 
+                ex:comment="a righteous derivation"])
+  </pre>
+<p>Here, the derivation from
+<a href="#anexample-derivation" class="anexample-ref"><span>Example 19</span></a>
+is extended with a <span class="name">prov:type</span> attribute and value <span class="name">prov:Revision</span>.  The expression <code>'prov:Revision'</code> is <code class="content"><a class="grammarRef" href="#prod-convenienceNotation">convenienceNotation</a></code> to denote a <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> literal (See  <a href="#expression-literal">Section 3.7.3. Literal</a>).
+</p></div>
+
+
+</div>  
+<div id="expression-quotation" class="section">
+<h4><span class="secno">3.2.3 </span>Quotation</h4>
+
+<p id="provn-type-Quotation">
+PROV-N provides no dedicated syntax for Quotation. Instead, a Quotation <em class="rfc2119" title="must">must</em> be  expressed as a 
+<code class="content"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression</a></code> with attribute <code>prov:type='prov:Quotation'</code>.</p>
+
+
+
+
+
+<div class="anexample" id="example_21"><div class="anexampleTitle"><a class="internalDFN" href="#example_21">Example 21</a></div>
+    <pre class="codeexample">wasDerivedFrom(quoteId1; ex:blockQuote,ex:blog, ex:act1, ex:g, ex:u,
+               [ prov:type='prov:Quotation' ]) 
+ </pre>
+
+<p>Here, the derivation is provided with a <span class="name">prov:type</span> attribute and value <span class="name">prov:Quotation</span>.
+</p></div>
+
+
+</div>  
+
+
+<div id="expression-primary-source" class="section">
+<h4><span class="secno">3.2.4 </span>Primary Source</h4>
+
+
+<p id="provn-type-Primary-Source">
+PROV-N provides no dedicated syntax for PrimarySource. Instead, a PrimarySource <em class="rfc2119" title="must">must</em> be expressed as a 
+<code class="content"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression</a></code> with attribute <code>prov:type='prov:Primary-Source'</code>.</p>
+
+
+<div class="anexample" id="example_22"><div class="anexampleTitle"><a class="internalDFN" href="#example_22">Example 22</a></div>
+    <pre class="codeexample"><span class="delete">wasDerivedFrom(src1;</span><span class="insert">wasDerivedFrom(sourceId1;</span>  ex:e1, ex:e2, ex:act, ex:g, ex:u, 
+               [ prov:type='prov:PrimarySource' ])
+</pre>
+<p>Here, the derivation is provided with a <span class="name">prov:type</span> attribute and value <span class="name">prov:PrimarySource</span>.
+  
+
+  </p>
+</div>
+
+
+</div>  
+
+</div>
+
+
+<div id="component3" class="section"> 
+<h3><span class="secno">3.3 </span>Component 3: Agents, Responsibility, and Influence</h3>
+<div id="expression-Agent" class="section">
+<h4><span class="secno">3.3.1 </span>Agent</h4>
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agentExpression" name="prod-agentExpression"></a>[<span class="prodNo">18</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">agentExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"agent" "(" <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Agent maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-agent">Agent</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#agent.id"><span class="attribute" id="agent.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#agent.attributes"><span class="attribute" id="agent.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+<p>
+PROV-N provides no dedicated syntax for Person, Organization, SoftwareAgent. Instead, a Person, an Organization, or a SoftwareAgent <em class="rfc2119" title="must">must</em> be expressed as an
+<code class="content"><a class="grammarRef" href="#prod-agentExpression">agentExpression</a></code> with attribute 
+<span id="provn-type-Person"><code>prov:type='prov:Person'</code></span>,
+<span id="provn-type-Organization"><code>prov:type='prov:Organization'</code></span>, or
+<span id="provn-type-SoftwareAgent"><code>prov:type='prov:SoftwareAgent'</code></span>, respectively.</p>
+
+
+<div class="anexample" id="example_23"><div class="anexampleTitle"><a class="internalDFN" href="#example_23">Example 23</a></div>
+<pre class="codeexample">agent(ag4, [ prov:type='prov:Person', ex:name="David" ])
+</pre>
+<p>Here <span class="name">ag</span> is the agent identifier, and
+   <span class="name">[ prov:type='prov:Person', ex:name="David" ]</span> are optional attributes. </p>
+In the next example, the optional attributes are omitted.
+
+<pre class="codeexample">agent(ag4)
+</pre>
+</div>
+
+
+</div>
+<div id="expression-attribution" class="section">
+<h4><span class="secno">3.3.2 </span>Attribution</h4>
+
+
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attributionExpression" name="prod-attributionExpression"></a>[<span class="prodNo">19</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">attributionExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasAttributedTo" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Attribution maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasattributedto">Attribution</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.id"><span class="attribute" id="attribution.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.entity"><span class="attribute" id="attribution.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">eIdentifier</a></code></td></tr>
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.agent"><span class="attribute" id="attribution.agent">agent</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#attribution.attributes"><span class="attribute" id="attribution.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_24"><div class="anexampleTitle"><a class="internalDFN" href="#example_24">Example 24</a></div>
+
+<pre class="codeexample"><span class="delete">wasAttributedTo(id;</span><span class="insert">wasAttributedTo(attr;</span> e, ag, [ex:license='cc:attributionURL' ])
+  </pre>
+<p>    Here <span class="name"><span class="delete">id</span><span class="insert">attr</span></span> is the optional attribution identifier,  <span class="name">e</span> is an entity identifier,
+  <span class="name">ag</span> is the identifier of the agent to whom the entity is abscribed, 
+and <span class="name">[ex:license='cc:attributionURL' ]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+<pre class="codeexample">wasAttributedTo(e, ag)
+wasAttributedTo(e, ag, [ex:license='cc:attributionURL' ])
+</pre>
+</div>
+
+</div>  
+
+
+<div id="expression-Association" class="section">
+<h4><span class="secno">3.3.3 </span>Association</h4>
+
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-associationExpression" name="prod-associationExpression"></a>[<span class="prodNo">20</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">associationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasAssociatedWith" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-agIdentifierOrMarker">agIdentifierOrMarker</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Association maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasassociatedwith">Association</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.id"><span class="attribute" id="association.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.activity"><span class="attribute" id="association.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.agent"><span class="attribute" id="association.agent">agent</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifierOrMarker">agIdentifierOrMarker</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.plan"><span class="attribute" id="association.plan">plan</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker">eIdentifierOrMarker</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.attributes"><span class="attribute" id="association.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+<p id="provn-type-Plan">
+PROV-N provides no dedicated syntax for Plan. Instead, a Plan <em class="rfc2119" title="must">must</em> be expressed as an
+<code class="content"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code> with attribute <code>prov:type='prov:Plan'</code>.</p>
+
+
+<div class="anexample" id="example_25"><div class="anexampleTitle"><a class="internalDFN" href="#example_25">Example 25</a></div>
+<pre class="codeexample"><span class="delete">wasAssociatedWith(ex:agas;</span><span class="insert">wasAssociatedWith(ex:assoc;</span> ex:a1, ex:ag1, ex:e1, [ex:param1="a", ex:param2="b"])
+  </pre>
+
+<p>  Here <span class="name"><span class="delete">ex:agas</span><span class="insert">ex:assoc</span></span> is the optional attribution identifier,
+  <span class="name">ex:a1</span> is an activity identifier,
+  <span class="name">ex:ag1</span> is the optional identifier of the agent associated to the activity,
+  <span class="name">ex:e1</span> is the optional identifier of the plan used by the agent in the context of the activity,
+  and <span class="name"> [ex:param1="a", ex:param2="b"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+  
+  
+<pre class="codeexample">wasAssociatedWith(ex:a1, -, ex:e1)
+wasAssociatedWith(ex:a1, ex:ag1)
+wasAssociatedWith(ex:a1, ex:ag1, ex:e1)
+wasAssociatedWith(ex:a1, ex:ag1, ex:e1, [ex:param1="a", ex:param2="b"])
+wasAssociatedWith(a; ex:a1, -, ex:e1)
+</pre>
+</div>
+
+
+<p>Additional semantic rules (<a href="#semantic-rules-summary">Section 3.7.5</a>) apply to <code class="content"><a class="grammarRef" href="#prod-associationExpression">associationExpression</a></code>.</p>
+
+
+
+
+
+
+<div class="anexample" id="example_26"><div class="anexampleTitle"><a class="internalDFN" href="#example_26"><span class="insert">Example 26</span></a></div>
+<p><span class="insert">The  following expressions illustrates a plan.
+</span></p><pre class="codeexample"><span class="insert">  entity(ex:pl1,   [ prov:type='prov:Plan' ])
+</span></pre>
+</div>
+
+
+
+
+</div>
+<div id="expression-delegation" class="section">
+<h4><span class="secno">3.3.4 </span>Delegation</h4>
+
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-delegationExpression" name="prod-delegationExpression"></a>[<span class="prodNo">21</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">delegationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"actedOnBehalfOf" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></span> )? <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Delegation maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-actedonbehalfof">Delegation</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.id"><span class="attribute" id="delegation.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.delegate"><span class="attribute" id="delegation.delegate">delegate</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.responsible"><span class="attribute" id="delegation.responsible">responsible</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.activity"><span class="attribute" id="delegation.activity">activity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker">aIdentifierOrMarker</a></code></td></tr>
+
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#delegation.attributes"><span class="attribute" id="delegation.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_27"><div class="anexampleTitle"><a class="internalDFN" href="#example_27">Example <span class="delete">26</span><span class="insert">27</span></a></div>
+
+  <pre class="codeexample">actedOnBehalfOf(del1; ag2, ag1, a, [prov:type="contract"])
+  </pre>
+<p>  Here <span class="name">del1</span> is the optional delegation identifier,
+  <span class="name">ag2</span> is the identifier for the delegate agent,
+  <span class="name">ag1</span> is the  identifier of the responsible agent,
+  <span class="name">a</span> is the optional identifier of the activity for which the delegation link holds,
+  and <span class="name">[prov:type="contract"]</span> are optional attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+
+<pre class="codeexample">actedOnBehalfOf(ag1, ag2)
+actedOnBehalfOf(ag1, ag2, a)
+actedOnBehalfOf(ag1, ag2, -, [prov:type="delegation"])
+actedOnBehalfOf(ag2, ag3, a, [prov:type="contract"])
+<span class="delete">actedOnBehalfOf(r;</span><span class="insert">actedOnBehalfOf(del1;</span> ag2, ag3, a, [prov:type="contract"])
+</pre>
+</div>
+
+
+</div>
+
+<div id="expression-influence" class="section">
+<h4><span class="secno">3.3.5 </span>Influence</h4>
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-influenceExpression" name="prod-influenceExpression"></a>[<span class="prodNo">22</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">influenceExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"wasInfluencedBy" "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Influence maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-wasinfluencedby">Influence</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.id"><span class="attribute" id="influence.id">id</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.influencee"><span class="attribute" id="influence.influencee">influencee</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.influencer"><span class="attribute" id="influence.influencer">influencer</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#influence.attributes"><span class="attribute" id="influence.attributes">attributes</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></code></td></tr>
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="example_28"><div class="anexampleTitle"><a class="internalDFN" href="#example_28">Example <span class="delete">27</span><span class="insert">28</span></a></div>
+    <pre class="codeexample"><span class="delete">wasInfluencedBy(id;e2,e1,[ex:param="a"])</span><span class="insert">wasInfluencedBy(infl1;e2,e1,[ex:param="a"])</span>
+  </pre>
+<p>  <span class="delete">Here</span><span class="insert">Here,</span>
+    <span class="name"><span class="delete">id</span><span class="insert">infl1</span></span> is the optional influence identifier,
+  <span class="name">e2</span> is an entity identifier,
+  <span class="name">e1</span> is the identifier for an ancestor entity that   <span class="name">e2</span> is influenced by,
+  and <span class="name">[ex:param="a"]</span> is the optional set of attributes. </p>
+The remaining examples show cases where some of the optionals are omitted.
+
+
+  <pre class="codeexample">wasInfluencedBy(e2,e1)
+wasInfluencedBy(e2,e1,[ex:param="a"])
+<span class="delete">wasInfluencedBy(id;</span><span class="insert">wasInfluencedBy(infl1;</span> e2,e1)
+</pre>
+</div>
+
+</div>
+
+</div>
+
+<div id="component4" class="section"> 
+<h3><span class="secno">3.4 </span>Component 4: Bundles</h3>
+
+<div id="expression-bundle-constructor" class="section"> 
+<h4><span class="secno">3.4.1 </span>Bundle Constructor</h4>
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-bundle" name="prod-bundle"></a>[<span class="prodNo">23</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">namedBundle</span><span class="insert">bundle</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"bundle" <span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span> (<span class="prod"><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></span>)? (<span class="prod"><a class="grammarRef" href="#prod-expression">expression</a></span>)* "endBundle"</code></td> </tr> </tbody>
+</table>
+
+<p><span class="delete">Named bundles</span><span class="insert">Bundles</span> cannot be nested because <span class="insert">a </span><code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a></code> is not an <code><a class="grammarRef" href="#prod-expression">expression</a></code>, and therefore cannot <span class="delete">occurs</span><span class="insert">occur</span> inside another <code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a></code>.</p>
+
+<p><span class="delete">Named bundles are self-contained: each</span><span class="insert">Each</span> identifier occuring in a<span class="delete"> named</span> bundle, including the bundle identifier itself, <em class="rfc2119" title="must">must</em> be interpreted with respect to the namespace declarations of that <span class="delete">bundle. In other words, for every identifier</span><span class="insert">bundle, or if the identifier's prefix is not declared in the bundle,</span> with <span class="insert">respect to the namespace declarations in the document. </span></p>
+
+
+<p><span class="insert">The following table summarizes how each constituent of </span>a <span class="delete">prefix </span><span class="delete">p</span><span class="delete"> within</span><span class="insert">PROV-DM bundle maps to</span> a <span class="delete">named bundle, there </span><span class="delete">must</span><span class="delete"> be a namespace declaration for </span><span class="delete">p</span><span class="delete"> in this named bundled; for every identifier  without prefix, there </span><span class="delete">must</span><span class="delete"> be a default namespace declaration  in this named bundled.</span><span class="insert">PROV-N syntax element.</span></p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-bundle-constructor"><span class="insert">Bundle</span></a></b></td><td><b><span class="insert">Non-Terminal</span></b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#bundle.constructor.id"><span class="attribute" id="bundle.id"><span class="insert">id</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalIdentifier"><span class="insert">optionalIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#bundle.constructor.descriptions"><span class="attribute" id="bundle.descriptions"><span class="insert">descriptions</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-expression"><span class="insert">expression</span></a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-namespaceDeclaration"><span class="attribute" id="namespaceDeclaration"><span class="insert">namespaceDeclaration</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-namespaceDeclarations"><span class="insert">namespaceDeclarations</span></a></code></td></tr>
+
+
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="anexample-bundle1"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-bundle1">Example <span class="delete">28</span><span class="insert">29</span></a></div>
+    <pre class="codeexample">bundle ex:author-view
+  prefix ex  &lt;http://example.org/&gt;
+  agent(ex:Paolo,   [ prov:type='prov:Person' ])
+  agent(ex:Simon,   [ prov:type='prov:Person' ])
+  //...
+endBundle
+  </pre>
+<p> Here  <span class="name">ex:author-view</span> is the name of the bundle. 
+</p>
+
+
+
+
+</div>
+
+</div>
+
+<div id="expression-bundle-type" class="section"> 
+<h4><span class="secno">3.4.2 </span>Bundle Type</h4>
+
+<p id="provn-type-Bundle">
+When described, a Bundle <em class="rfc2119" title="must">must</em> be expressed as an
+ <code class="content"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code> with attribute <code>prov:type='prov:Bundle'</code>.</p>
+
+<div class="anexample" id="example_30"><div class="anexampleTitle"><a class="internalDFN" href="#example_30"><span class="insert">Example 30</span></a></div>
+<p><span class="insert">The bundle of
+</span><a href="#anexample-bundle1" class="anexample-ref"><span><span class="insert">Example 29</span></span></a><span class="insert"> can be referred to as an an entity, and its provenance described.</span></p>
+<pre class="codeexample"><span class="insert">  entity(ex:author-view,   [ prov:type='prov:Bundle' ])
+</span></pre>
+</div>
+</div>
+</div>
+
+<div id="component5" class="section"> 
+<h3><span class="secno">3.5 </span>Component 5: Alternate Entities</h3>
+<div id="expression-alternate" class="section">
+<h4><span class="secno">3.5.1 </span>Alternate</h4>
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-alternateExpression" name="prod-alternateExpression"></a>[<span class="prodNo">24</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">alternateExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"alternateOf" "(" <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Alternate maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-alternateof">Alternate</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#alternate.alternate1"><span class="attribute" id="alternate.alternate1">alternate1</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#alternate.alternate2"><span class="attribute" id="alternate.alternate2">alternate2</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+</tbody></table>
+</div>
+
+<div class="anexample" id="example_31"><div class="anexampleTitle"><a class="internalDFN" href="#example_31">Example <span class="delete">29</span><span class="insert">31</span></a></div>
+<pre class="codeexample">alternateOf(tr:WD-prov-dm-20111215,ex:alternate-20111215)
+</pre>
+  Here  <span class="name">tr:WD-prov-dm-20111215</span> is alternate for   <span class="name">ex:alternate-20111215</span>.
+</div>
+
+
+</div>
+<div id="expression-specialization" class="section">
+<h4><span class="secno">3.5.2 </span>Specialization</h4>
+
+
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-specializationExpression" name="prod-specializationExpression"></a>[<span class="prodNo">25</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">specializationExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"specializationOf" "(" <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ")"</code></td> </tr> </tbody>
+
+</table>
+
+<p>The following table summarizes how each constituent of a PROV-DM Specialization maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-specializationof">Specialization</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#specialization.specificEntity"><span class="attribute" id="specialization.specificEntity">specificEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#specialization.generalEntity"><span class="attribute" id="specialization.generalEntity">generalEntity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="example_32"><div class="anexampleTitle"><a class="internalDFN" href="#example_32">Example <span class="delete">30</span><span class="insert">32</span></a></div>
+<pre class="codeexample">specializationOf(tr:WD-prov-dm-20111215,tr:prov-dm)
+</pre>
+    Here  <span class="name">tr:WD-prov-dm-20111215</span> is a specialization of <span class="name">tr:prov-dm</span>.
+</div>
+
+</div>
+
+
+
+ 
+<span class="delete">3.5.3 </span><span class="delete">Mention</span>
+
+
+<span class="delete">Note: This feature is "</span><span class="delete">at risk</span><span class="delete">" and may be removed from this specification based on feedback. Please send feedback to public-prov-comments@w3.org.</span>
+
+
+<span class="delete">The expression Mention might be removed from PROV if implementation experience reveals problems with supporting this construct.</span>
+
+
+
+
+
+  <span class="delete">[</span><span class="delete">26</span><span class="delete">]&nbsp;&nbsp;&nbsp;</span> <span class="delete">mentionExpression</span> <span class="delete">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span> <span class="delete">"mentionOf" "(" </span><span class="delete">eIdentifier</span><span class="delete"> "," </span><span class="delete">eIdentifier</span><span class="delete"> "," </span><span class="delete">bIdentifier</span><span class="delete"> ")"</span>  
+
+
+
+<span class="delete">The following table summarizes how each constituent of a PROV-DM Mention maps to a PROV-N syntax element.</span>
+
+
+<span class="delete">Mention</span><span class="delete">Non-Terminal</span>
+
+
+
+<span class="delete">specificEntity</span><span class="delete">eIdentifier</span>
+
+
+<span class="delete">generalEntity</span><span class="delete">eIdentifier</span>
+
+<span class="delete">bundle</span><span class="delete">bIdentifier</span>
+
+
+
+
+
+<span class="delete">Example 31</span>
+<span class="delete">  mention(ex:report1_as_in_b1, ex:report1, ex:b1)   
+</span>
+<span class="delete">  Here
+  </span><span class="delete">ex:report1_as_in_b1</span><span class="delete"> is an entity identifier,
+  </span><span class="delete">ex:report1</span><span class="delete"> is an entity identifier,
+  </span><span class="delete">ex:b1</span><span class="delete"> is the identifier for a bundle
+</span>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+</div>
+
+
+
+<div id="component6" class="section"> 
+<h3><span class="secno">3.6 </span>Component 6: Collections</h3>
+
+
+<div id="expression-collection" class="section">
+<h4><span class="secno">3.6.1 </span>Collection</h4>
+
+
+<p>
+PROV-N provides no dedicated syntax for Collection and EmptyCollection. Instead, a Collection or an EmptyCollection <em class="rfc2119" title="must">must</em> be expressed as an
+<code class="content"><a class="grammarRef" href="#prod-entityExpression">entityExpression</a></code> with attribute 
+<span id="provn-type-Collection"><code>prov:type='prov:Collection'</code></span>, or
+<span id="provn-type-EmptyCollection"><code>prov:type='prov:EmptyCollection'</code></span>, respectively.</p>
+
+
+
+<div class="anexample" id="example_33"><div class="anexampleTitle"><a class="internalDFN" href="#example_33"><span class="insert">Example 33</span></a></div>
+<p><span class="insert">The  following two expressions are about a collection and an empty collection, respectively.
+</span></p><pre class="codeexample"><span class="insert">  entity(ex:col1,   [ prov:type='prov:Collection' ])
+  entity(ex:col2,   [ prov:type='prov:EmptyCollection' ])
+</span></pre>
+</div>
+</div>
+
+
+<div id="expression-collection-membership" class="section">
+<h4><span class="secno">3.6.2 </span>Membership</h4>
+
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-membershipExpression" name="prod-membershipExpression"></a>[<span class="prodNo"><span class="delete">27</span><span class="insert">26</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">membershipExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"hadMember" "(" <span class="prod"><a class="grammarRef" href="#prod-cIdentifier">cIdentifier</a></span> "," <span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></span> ")"</code></td> </tr> </tbody>
+</table>
+
+
+<p>The following table summarizes how each constituent of a PROV-DM Membership maps to a PROV-N syntax element.</p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-hadmember">Membership</a></b></td><td><b>Non-Terminal</b></td></tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#membership.collection"><span class="attribute" id="membership.collection">collection</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-cIdentifier">cIdentifier</a></code></td></tr>
+
+<tr><td><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#membership.entity"><span class="attribute" id="membership.entity">entity</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier</a></code></td></tr>
+
+
+
+</tbody></table>
+</div>
+
+
+
+
+<div class="anexample" id="example_34"><div class="anexampleTitle"><a class="internalDFN" href="#example_34">Example <span class="delete">32</span><span class="insert">34</span></a></div>
+    <pre class="codeexample">   hadMember(c, e1)   // c contained e1
+   hadMember(c, e2)   // c contained e2 
+  </pre>
+<p>  Here
+  <span class="name">c</span> is the  identifier for the collection whose membership is stated, and 
+  <span class="name">e1</span> and <span class="name">e2</span> are the entities that are members of collection c 
+
+
+</p></div>
+
+</div>
+
+</div>   
+
+
+
+
+
+
+   
+
+
+
+
+
+<div id="subexpressions" class="section">
+<h3><span class="secno">3.7 </span>Further Expressions</h3>
+
+This section defines further expressions of PROV-N.
+
+
+<div id="expression-identifier" class="section">
+<h4><span class="secno">3.7.1 </span>Identifier</h4>
+
+<p>Various kinds of identifiers are used in productions.</p>
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-eIdentifier" name="prod-eIdentifier"></a>[<span class="prodNo"><span class="delete">28</span><span class="insert">27</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">eIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-aIdentifier" name="prod-aIdentifier"></a>[<span class="prodNo"><span class="delete">29</span><span class="insert">28</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">aIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agIdentifier" name="prod-agIdentifier"></a>[<span class="prodNo"><span class="delete">30</span><span class="insert">29</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">agIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifier" name="prod-gIdentifier"></a>[<span class="prodNo"><span class="delete">31</span><span class="insert">30</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">gIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifier" name="prod-uIdentifier"></a>[<span class="prodNo"><span class="delete">32</span><span class="insert">31</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">uIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-cIdentifier" name="prod-cIdentifier"></a>[<span class="prodNo"><span class="delete">33</span><span class="insert">32</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">cIdentifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier</a></span></code></td> </tr> </tbody>
+
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-eIdentifierOrMarker" name="prod-eIdentifierOrMarker"></a><span class="insert">[</span><span class="prodNo"><span class="insert">33</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">eIdentifierOrMarker</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">( </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-aIdentifierOrMarker" name="prod-aIdentifierOrMarker"></a>[<span class="prodNo">34</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">bIdentifier</span><span class="insert">aIdentifierOrMarker</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="insert">( </span><span class="prod"><span class="delete">identifier</span><a class="grammarRef" href="#prod-aIdentifier"><span class="insert">aIdentifier</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
+
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agIdentifierOrMarker" name="prod-agIdentifierOrMarker"></a>[<span class="prodNo">35</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">eIdentifierOrMarker</span><span class="insert">agIdentifierOrMarker</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><span class="delete">eIdentifier</span><a class="grammarRef" href="#prod-agIdentifier"><span class="insert">agIdentifier</span></a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifierOrMarker" name="prod-gIdentifierOrMarker"></a>[<span class="prodNo">36</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">aIdentifierOrMarker</span><span class="insert">gIdentifierOrMarker</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><span class="delete">aIdentifier</span><a class="grammarRef" href="#prod-gIdentifier"><span class="insert">gIdentifier</span></a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifierOrMarker" name="prod-uIdentifierOrMarker"></a>[<span class="prodNo">37</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">agIdentifierOrMarker</span><span class="insert">uIdentifierOrMarker</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><span class="delete">agIdentifier</span><a class="grammarRef" href="#prod-uIdentifier"><span class="insert">uIdentifier</span></a></span> | "-" )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-identifier" name="prod-identifier"></a>[<span class="prodNo">38<span class="delete">]&nbsp;&nbsp;&nbsp;</span> <span class="delete">gIdentifierOrMarker</span> <span class="delete">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span> <span class="delete">( </span><span class="delete">gIdentifier</span><span class="delete"> | "-" )</span>  
+  <span class="delete">[</span><span class="delete">39</span><span class="delete">]&nbsp;&nbsp;&nbsp;</span> <span class="delete">uIdentifierOrMarker</span> <span class="delete">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span> <span class="delete">( </span><span class="delete">uIdentifier</span><span class="delete"> | "-" )</span>  
+  <span class="delete">[</span><span class="delete">40</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">identifier</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
+</table>
+
+
+<p>
+A <dfn id="dfn-qualifiedName">qualified name</dfn> is a name subject to <a>namespace</a> interpretation. It consists of a <a>namespace</a>, denoted by an optional prefix, and a local name.
+The PROV data model  stipulates that a qualified name can be mapped to an IRI
+ by concatenating the IRI associated with the prefix and the local part.  This section provides the exact details of this procedure for qualified names defined by PROV-N. </p>
+
+<p>A qualified name's prefix is <em class="rfc2119" title="optional">optional</em>. If a prefix occurs in a
+ qualified name, the prefix <em class="rfc2119" title="must">must</em> refer to a <a>namespace</a> declared in a namespace declaration.  In the absence of prefix, the qualified name 
+ belongs to the <a title="default namespace declaration">default namespace</a>.</p>
+
+
+
+
+<p>A PROV-N qualified name (production <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code>) has a more permissive syntax then XML's <code class="content"><a href="http://www.w3.org/TR/2009/REC-xml-names-20091208/#NT-QName">QName</a></code> [<cite><a class="bibref" rel="biblioentry" href="#bib-XML-NAMES">XML-NAMES</a></cite>]
+and SPARQL <code class="content"><a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPrefixedName">PrefixedName</a></code> [<cite><a class="bibref" rel="biblioentry" href="#bib-RDF-SPARQL-QUERY">RDF-SPARQL-QUERY</a></cite>]. 
+A <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> consists of a prefix and a local part. Prefixes follow the production <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></code> defined by SPARQL [<cite><a class="bibref" rel="biblioentry" href="#bib-RDF-SPARQL-QUERY">RDF-SPARQL-QUERY</a></cite>]. Local parts have to be conformant with <code class="content"><a class="grammarRef" href="#prod-PN_LOCAL">PN_LOCAL</a></code>, which extends the original SPARQL <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_LOCAL">PN_LOCAL</a></code> definition 
+by allowing further characters (see <code class="content"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></code>):</p>
+<ul>
+<li> an extra set of characters commonly encountered in IRIs;
+</li><li> %-escaped characters (see <code class="content"><a class="grammarRef" href="#prod-PERCENT">PERCENT</a></code>) to be interpreted as per
+ Section 3.1.  Mapping of IRIs to URIs in [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3987">RFC3987</a></cite>];</li>
+<li> and \-escaped characters (see <code class="content"><a class="grammarRef" href="#prod-PN_CHARS_ESC">PN_CHARS_ESC</a></code>).</li>
+</ul>
+
+
+
+<p>Given that 
+'=' (equal),
+''' (single quote),
+'(' (left bracket),
+')' (right bracket),
+',' (comma),
+':' (colon),
+';' (semi-colon),   
+'"' (double quote),
+  
+'[' (left square bracket),
+']' (right square bracket) are used by the PROV notation as delimiters, they are not allowed in local parts. 
+Instead, among those characters, those that are permitted in SPARQL
+<code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></code>  are also allowed in <code class="content"><a class="grammarRef" href="#prod-PN_LOCAL">PN_LOCAL</a></code> if they are escaped by the '\' (backslash character) as per production <code class="content"><a class="grammarRef" href="#prod-PN_CHARS_ESC">PN_CHARS_ESC</a></code>. Furthermore, '.' (dot), ':' (colon), '-' (hyphen) can also be \-escaped.</p>
+
+
+
+<p>A PROV-N qualified name <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> can be mapped to a valid IRI [<cite><a class="bibref" rel="biblioentry" href="#bib-IRI">IRI</a></cite>] by concatenating the namespace denoted  its local name <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></code> to the local name <code class="content"><a class="grammarRef" href="#prod-PN_LOCAL">PN_LOCAL</a></code>, whose \-escaped characters have been unescaped by dropping the character '\' (backslash).</p>
+
+ 
+<table class="grammar">
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-QUALIFIED_NAME" name="prod-QUALIFIED_NAME"></a>[<span class="prodNo"><span class="delete">61</span><span class="insert">52</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">QUALIFIED_NAME</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> ":" )? <span class="prod"><a class="grammarRef" href="#prod-PN_LOCAL">PN_LOCAL</a></span><br> | <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> ":"</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_LOCAL" name="prod-PN_LOCAL"></a>[<span class="prodNo"><span class="delete">62</span><span class="insert">53</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_LOCAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS_U">PN_CHARS_U</a></span> | [0-9] | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> ) ( ( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS">PN_CHARS</a></span> | "." | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> )* ( <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS">PN_CHARS</a></span> | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS">PN_CHARS_OTHERS</a></span> ) )?</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_CHARS_OTHERS" name="prod-PN_CHARS_OTHERS"></a>[<span class="prodNo"><span class="delete">63</span><span class="insert">54</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_CHARS_OTHERS</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"/"<br> | "@"<br> | "~"<br> | "&amp;"<br> | "+"<br> | "*"<br> | "?"<br> | "#"<br> | "$"<br> | "!"<br> | <span class="prod"><a class="grammarRef" href="#prod-PERCENT">PERCENT</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_ESC">PN_CHARS_ESC</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_CHARS_ESC" name="prod-PN_CHARS_ESC"></a>[<span class="prodNo"><span class="delete">64</span><span class="insert">55</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PN_CHARS_ESC</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"\" ( "=" | "'" | "(" | ")" | "," | "-" | ":" | ";" | "[" | "]" | "." )</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PERCENT" name="prod-PERCENT"></a>[<span class="prodNo"><span class="delete">65</span><span class="insert">56</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">PERCENT</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"%" <span class="prod"><a class="grammarRef" href="#prod-HEX">HEX</a></span> <span class="prod"><a class="grammarRef" href="#prod-HEX">HEX</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-HEX" name="prod-HEX"></a>[<span class="prodNo"><span class="delete">66</span><span class="insert">57</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">HEX</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">[0-9]<br> | [A-F]<br> | [a-f]</code></td> </tr> </tbody>
+
+</table>
+
+
+
+<div class="anexample" id="anexample-qualified-name"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name">Example <span class="delete">33</span><span class="insert">35</span></a></div>
+<p>Examples of articles on the BBC Web site seen as  entities.</p>
+<pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
+  prefix bbc &lt;http://www.bbc.co.uk/&gt;
+  prefix bbcNews &lt;http://www.bbc.co.uk/news/&gt;
+
+  entity(bbc:)                          // bbc site itself
+  entity(bbc:news/)                     // bbc news
+  entity(bbc:news/world-asia-17507976)  // a given news article
+
+  entity(bbcNews:)                      // an alternative way of referring to the bbc news site
+
+<span class="delete">endBundle</span><span class="insert">endDocument</span>
+</pre>
+</div>
+
+
+<div class="anexample" id="anexample-qualified-name2"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name2">Example <span class="delete">34</span><span class="insert">36</span></a></div>
+<p>Examples of entities with declared and default namespace.</p>
+<pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
+  default &lt;http://example.org/2/&gt;
+  prefix ex &lt;http://example.org/1/&gt;
+
+  entity(ex:a)     //  corresponds to IRI http://example.org/1/a
+  entity(ex:a/)    //  corresponds to IRI http://example.org/1/a/
+  entity(ex:a/b)   //  corresponds to IRI http://example.org/1/a/b
+  entity(b)        //  corresponds to IRI http://example.org/2/b
+  entity(ex:1234)  //  corresponds to IRI http://example.org/1/1234
+  entity(4567)     //  corresponds to IRI http://example.org/2/4567
+  entity(c/)       //  corresponds to IRI http://example.org/2/c/
+  entity(ex:/)     //  corresponds to IRI http://example.org/1//
+<span class="delete">endBundle</span><span class="insert">endDocument</span>
+</pre>
+</div>
+
+
+<div class="anexample" id="anexample-qualified-name3"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name3">Example <span class="delete">35</span><span class="insert">37</span></a></div>
+<p>Examples of \-escaped characters.</p>
+<pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
+  prefix ex &lt;http://example.org/&gt;
+  default &lt;http://example.org/default&gt;
+
+  entity(ex:foo?a\=1)            // corresponds to IRI http://example.org/foo?a=1
+  entity(ex:\-)                  // corresponds to IRI http://example.org/-
+  entity(ex:?fred\=fish%20soup)  // corresponds to IRI http://example.org/?fred=fish%20soup
+
+  used(-;a1,e1,-)                // identifier not specified for usage  
+  used(\-;a1,e1,-)               // usage identifier corresponds to http://example.org/default-
+<span class="delete">endBundle</span><span class="insert">endDocument</span>
+</pre>
+</div>
+
+
+<p><b>Note:</b>The productions for the terminals  <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> and  <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></code> are conflicting.
+Indeed,  for a tokenizer operating independently of the parse tree, <code>abc</code> matches both 
+<code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> and
+<code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></code>.
+  In the context of a <code class="content"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></code>, a tokenizer should give  preference to the production <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></code>.
+</p>
+
+
+</div>
+
+<div id="expression-attribute" class="section">
+<h4><span class="secno">3.7.2 </span>Attribute</h4>
+
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attribute" name="prod-attribute"></a>[<span class="prodNo"><span class="delete">41</span><span class="insert">39</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">attribute</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
+</table>
+
+
+<p>The  reserved attributes in the PROV namespace are the following.
+Their meaning is explained by [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] (see <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute">Section 5.7.2: Attribute</a>).
+</p>
+
+<ol>
+<li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-label"><span class="name">prov:label</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-location"><span class="name">prov:location</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-role"><span class="name">prov:role</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-type"><span class="name">prov:type</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-value"><span class="name">prov:value</span></a>
+</li></ol>
+
+
+</div>
+
+
+
+
+
+<div id="expression-literal" class="section">
+<h4><span class="secno">3.7.3 </span>Literal</h4>
+
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-literal" name="prod-literal"></a>[<span class="prodNo"><span class="delete">42</span><span class="insert">40</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">literal</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-typedLiteral">typedLiteral</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-convenienceNotation">convenienceNotation</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-typedLiteral" name="prod-typedLiteral"></a>[<span class="prodNo"><span class="delete">43</span><span class="insert">41</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">typedLiteral</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></span> "%%" <span class="prod"><a class="grammarRef" href="#prod-datatype">datatype</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-datatype" name="prod-datatype"></a>[<span class="prodNo"><span class="delete">44</span><span class="insert">42</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">datatype</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span></code></td> </tr> </tbody>
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-convenienceNotation" name="prod-convenienceNotation"></a>[<span class="prodNo"><span class="delete">45</span><span class="insert">43</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">convenienceNotation</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></span> (<span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rLANGTAG">LANGTAG</a></span>)?<br> | <span class="prod"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></span><br> | <span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME_LITERAL">QUALIFIED_NAME_LITERAL</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-STRING_LITERAL" name="prod-STRING_LITERAL"></a>[<span class="prodNo"><span class="delete">67</span><span class="insert">58</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">STRING_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL2">STRING_LITERAL2</a></span><br> | <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL_LONG2">STRING_LITERAL_LONG2</a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-INT_LITERAL" name="prod-INT_LITERAL"></a>[<span class="prodNo"><span class="delete">69</span><span class="insert">60</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">INT_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">("-")? (<span class="prod"><a class="grammarRef" href="#prod-DIGIT">DIGIT</a></span>)+</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-DIGIT" name="prod-DIGIT"></a>[<span class="prodNo"><span class="delete">71</span><span class="insert">62</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">DIGIT</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">[0-9]</code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-QUALIFIED_NAME_LITERAL" name="prod-QUALIFIED_NAME_LITERAL"></a>[<span class="prodNo"><span class="delete">70</span><span class="insert">61</span></span>]&nbsp;&nbsp;&nbsp;</td> <td>&lt;<code class="production term">QUALIFIED_NAME_LITERAL</code>&gt;</td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"'" <span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span> "'"</code></td> </tr> </tbody>
+</table>
+
+<p>In production <code class="content"><a class="grammarRef" href="#prod-datatype">datatype</a></code>, the <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> is used to denote a <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-value">PROV data type</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>].
+
+
+</p><p>The non terminals
+<code class="content"><a class="grammarRef" href="#prod-STRING_LITERAL">STRING_LITERAL</a></code>,
+<code class="content"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></code>, and
+<code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME_LITERAL">QUALIFIED_NAME_LITERAL</a></code>
+are syntactic sugar for quoted strings with datatype 
+<code class="content"><a href="http://www.w3.org/TR/xmlschema11-2/#string"><span class="name">xsd:string</span></a></code>,
+<code class="content"><a href="http://www.w3.org/TR/xmlschema11-2/#int"><span class="name">xsd:int</span></a></code>, and
+<code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">prov:QUALIFIED_NAME</a></code>
+respectively.
+</p>
+
+<p> In particular, a Literal may be an IRI-typed string (with datatype <span class="name">xsd:anyURI</span>);  such IRI has no specific interpretation in the context of PROV.</p>
+
+
+<p><b>Note:</b>The productions for terminals <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> and
+<code class="content"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></code> are conflicting.  
+Indeed, for a tokenizer operating independently of the parse tree, <code>1234</code> matches both <code class="content"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></code> and <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></code> (local name without prefix). In the context of
+a <code class="content"><a class="grammarRef" href="#prod-convenienceNotation">convenienceNotation</a></code>, a tokenizer should give preference to the production
+<code class="content"><a class="grammarRef" href="#prod-INT_LITERAL">INT_LITERAL</a></code>. 
+</p>
+
+<div class="anexample" id="anexample-convenience"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-convenience">Example <span class="delete">36</span><span class="insert">38</span></a></div>
+<p>
+The following examples illustrate convenience notations.</p>
+
+<p>The two following expressions are strings; if <code class="content"><a class="grammarRef" href="#prod-datatype">datatype</a></code> is not specified, it is <code>xsd:string</code>.</p>
+<pre class="codeexample">  "abc" %% xsd:string
+  "abc"
+</pre>
+
+
+<p>The two following expressions are integers. For convenience, numbers, expressed as digits optionally preceded by a minus sign, can occur without quotes.</p>
+<pre class="codeexample">  "1234" %% xsd:integer
+  1234
+  "-1234" %% xsd:integer
+  -1234
+</pre>
+
+<p>The two following expressions are qualified names. Values of type qualified name can be conveniently expressed within single quotes.</p>
+<pre class="codeexample">  "ex:value" %% prov:QUALIFIED_NAME
+  'ex:value'
+</pre>
+</div>
+
+<div class="anexample" id="anexample-value"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-value">Example <span class="delete">37</span><span class="insert">39</span></a></div>
+<p>
+The following examples respectively are the string "abc", the string (in French) "bonjour", the integer number 1, and the IRI "http://example.org/foo".
+</p>
+<pre class="codeexample">  "abc"
+  "bonjour"@fr
+  "1" %% xsd:integer
+  "http://example.org/foo" %% xsd:anyURI
+</pre>
+<p><span class="insert">The following examples respectively are the floating point number 1.01 and the boolean true.</span></p>
+<pre class="codeexample"><span class="insert">  "1.01" %% xsd:float
+  "true" %% xsd:boolean
+</span></pre>
+</div>
+
+
+
+<div id="expression-types" class="section">
+<h5><span class="secno">3.7.3.1 </span>Reserved Type Values</h5>
+
+<p>The  reserved type values in the PROV namespace are the following.
+Their meaning is defined [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] (see <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-attribute-type">Section 5.7.2.4: prov:type</a>).
+</p>
+
+<ol>
+<li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#term-bundle-entity"><span class="name">prov:Bundle</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-collection"><span class="name">prov:Collection</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-empty-collection"><span class="name">prov:EmptyCollection</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-organization"><span class="name">prov:Organization</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-person"><span class="name">prov:Person</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-plan"><span class="name">prov:Plan</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-primary-source"><span class="name">prov:PrimarySource</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-quotation"><span class="name">prov:Quotation</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#dfn-revision"><span class="name">prov:Revision</span></a>
+</li><li>  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#concept-software-agent"><span class="name">prov:SoftwareAgent</span></a>
+</li></ol>
+
+<div class="anexample" id="anexample-types"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-types">Example <span class="delete">38</span><span class="insert">40</span></a></div>
+<p>The agent <span class="name">ag</span> is a person (type: <span class="name">prov:Person</span>), whereas the entity 
+<span class="name">pl</span> is a plan (type: <span class="name">prov:Plan</span>).</p>
+<pre class="codeexample">agent(ag,  [ prov:type='prov:Person' ])
+entity(pl, [ prov:type='prov:Plan' ])
+</pre>
+</div>
+
+
+</div>
+
+<div id="expression-Time" class="section">
+<h5><span class="secno">3.7.3.2 </span>Time Values</h5>
+
+<p><dfn id="dfn-time">Time instants</dfn> are defined according to xsd:dateTime [<cite><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA11-2">XMLSCHEMA11-2</a></cite>].</p> 
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-time" name="prod-time"></a>[<span class="prodNo"><span class="delete">46</span><span class="insert">44</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">time</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/xmlschema11-2/#nt-dateTimeRep">DATETIME</a></span></code></td> </tr> </tbody>
+</table>
+
+
+<div class="anexample" id="anexample-time"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-time">Example <span class="delete">39</span><span class="insert">41</span></a></div>
+
+<p>The third argument in the following usage expression is a time instance, namely 4pm on 2011-11-16.</p>
+<pre class="codeexample">used(ex:act2, ar3:0111, 2011-11-16T16:00:00)
+</pre>
+</div>
+
+
+
+
+</div>
+
+
+</div>
+
+
+
+
+
+<div id="expression-NamespaceDeclaration" class="section">
+<h4><span class="secno">3.7.4 </span>Namespace Declaration</h4>
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclarations" name="prod-namespaceDeclarations"></a>[<span class="prodNo"><span class="delete">47</span><span class="insert">45</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespaceDeclarations</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-defaultNamespaceDeclaration">defaultNamespaceDeclaration</a></span> | <span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></span> ) (<span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></span>)*</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclaration" name="prod-namespaceDeclaration"></a>[<span class="prodNo"><span class="delete">48</span><span class="insert">46</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespaceDeclaration</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"prefix" <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">PN_PREFIX</a></span> <span class="prod"><a class="grammarRef" href="#prod-namespace">namespace</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-defaultNamespaceDeclaration" name="prod-defaultNamespaceDeclaration"></a>[<span class="prodNo"><span class="delete">49</span><span class="insert">47</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">defaultNamespaceDeclaration</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"default" <span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespace" name="prod-namespace"></a>[<span class="prodNo"><span class="delete">50</span><span class="insert">48</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">namespace</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF">IRI_REF</a></span></code></td> </tr> </tbody>
+
+</table>
+
+<p>A <code><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></code> consists of a binding between a prefix and a namespace. Every qualified name with this prefix in the scope of this declaration belongs to this namespace. 
+A <code><a class="grammarRef" href="#prod-defaultNamespaceDeclaration">defaultNamespaceDeclaration</a></code> consists of a namespace. Every qualified name without prefix in the scope of this declaration belongs to this namespace. Scope of a <span class="insert">prefix-namespace </span>declaration is specified as follows:</p>
+<ul>
+<li> 
+The scope of a <span class="delete">namespace declaration directly occurring in a </span><span class="delete">namedBundle</span><span class="delete"> is the </span><span class="delete">namedBundle</span><span class="delete"> itself;</span>
+<span class="delete">
+the scope of a namespace</span><span class="insert">prefix-namespace</span> declaration directly occurring in a <code><a class="grammarRef" href="#prod-bundle"><span class="delete">toplevel </span>bundle</a></code> is the <code><a class="grammarRef" href="#prod-bundle"><span class="delete">toplevel </span>bundle</a></code> <span class="delete">itself, except and</span><span class="insert">itself.</span></li>
+<li><span class="insert">
+The scope of a prefix-namespace declaration directly occurring in a</span> <code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code><span class="insert"> is the </span><code><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code><span class="insert"> including the </span><code><a class="grammarRef" href="#prod-bundle"><span class="insert">bundles</span></a></code> it <span class="delete">may contain.</span><span class="insert">contains but excluding those </span><code><a class="grammarRef" href="#prod-bundle"><span class="insert">bundles</span></a></code><span class="insert"> that redeclare this prefix.</span></li>
+</ul>
+
+<p>A set of namespace declarations <code><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></code> <em class="rfc2119" title="must not">must not</em> re-declare the same prefix.</p>
+
+<p><span class="insert">A set of namespace declarations </span><code><a class="grammarRef" href="#prod-namespaceDeclarations"><span class="insert">namespaceDeclarations</span></a></code><span class="insert"> occurring in a bundle </span><em class="rfc2119" title="may"><span class="insert">may</span></em><span class="insert"> re-declare a prefix declared in a surrounding document.</span></p>
+
+<p>A namespace declaration <code><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></code> <em class="rfc2119" title="must not">must not</em> declare prefixes <span class="name">prov</span> and <span class="name">xsd</span>  (see <a href="#namespace-table">Table 1</a> for their IRI).</p>
+
+
+
+<div class="anexample" id="anexample-namespace"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace">Example <span class="delete">40</span><span class="insert">42</span></a></div>
+<p>The following example declares three namespaces, one default, and two with explicit prefixes <span class="name">ex1</span> and <span class="name">ex2</span>.</p>
+<pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
+  default &lt;http://example.org/0/&gt;
+  prefix ex1 &lt;http://example.org/1/&gt;
+  prefix ex2 &lt;http://example.org/2/&gt;
+...
+<span class="delete">endBundle</span><span class="insert">endDocument</span>
+</pre>
+</div>
+
+
+<div class="anexample" id="anexample-namespace-scope"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace-scope">Example <span class="delete">41</span><span class="insert">43</span></a></div>
+<p>In the following example, a <span class="delete">toplevel bundle</span><span class="insert">document</span> declares a default namespace and the occurrence of
+<code>e001</code> directly occurring in the <span class="delete">toplevel</span><span class="insert">document refers to that namespace.
+A nested</span> bundle <span class="delete">refers to</span><span class="insert">also declares a default namespace, but with a different IRI.
+In</span> that<span class="delete"> namespace.
+A nested named bundle also declares a default namespace, but with a different IRI.
+In that named </span>  bundle, the occurrences of
+<code>e001</code>, including <span class="delete">for </span>the bundle name, refer to the latest default namespace.</p>
+<pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
+  default &lt;http://example.org/1/&gt;
+  entity(e001)                             // IRI: http://example.org/1/e001
+
+  bundle e001                              // IRI: http://example.org/2/e001
+    default &lt;http://example.org/2/&gt;
+    entity(e001)                           // IRI: http://example.org/2/e001
+  endBundle
+<span class="insert">endDocument
+</span></pre>
+</div>
+
+
+<div class="anexample" id="anexample-namespace-scope2"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace-scope2"><span class="insert">Example 44</span></a></div>
+<p><span class="insert">In the following example, a document declares a namespace with prefix </span><code><span class="insert">ex</span></code><span class="insert"> and the occurrence of
+</span><code><span class="insert">ex:e001</span></code><span class="insert"> directly occurring in the document refers to that namespace.
+In a nested bundle, the occurrence of
+</span><code><span class="insert">ex:e001</span></code><span class="insert"> also  refers to the same namespace.</span></p>
+<pre class="codeexample"><span class="insert">document
+  prefix ex &lt;http://example.org/1/&gt;
+  entity(ex:e001)                            // IRI: http://example.org/1/e001
+
+  bundle b
+    entity(ex:001)                           // IRI: http://example.org/1/e001
+  </span>endBundle<span class="insert">
+endDocument</span>
+</pre>
+</div>
+
+
+
+
+</div>
+
+
+
+
+
+<div id="semantic-rules-summary" class="section">
+<h4><span class="secno">3.7.5 </span>Summary of additional semantic rules</h4>
+
+<p>Some of the grammar productions allow for expressions that are syntactically correct, and yet according to [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM">PROV-DM</a></cite>] they are not acceptable, because additional semantic rules are defined for those expressions.
+ The following table provides a summary of such expressions along with examples of syntactically correct but unacceptable forms, and the additional semantic rules.</p>
+
+<div style="text-align: left;">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<caption id="validity-rules-table">Summary of additional semantic rules for grammar productions</caption>
+<tbody><tr><td><a href="#dfn-production" class="internalDFN"><b>Production</b></a></td>
+     <td><b>Examples of syntactically correct expressions</b></td>
+     <td><b>Additional semantic rule</b></td>
+</tr>
+<tr><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td><td style="border-width: 0px; "></td></tr>
+<tr><td><a class="grammarRef" href="#prod-generationExpression">Generation expression</a></td>
+    <td><span class="name">wasGeneratedBy(e2, -, -)</span><br><span class="name">wasGeneratedBy(-; e2, -, -)</span></td>
+    <td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.activity"><span class="attribute">activity</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#generation.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present.</td>  
+</tr>
+<tr><td><a class="grammarRef" href="#prod-usageExpression">Usage expression</a></td>
+<td><span class="name">used(a2, -, -)</span><br><span class="name">used(-; a2, -, -)</span></td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.entity"><span class="attribute">entity</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#usage.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+</tr>
+<tr>
+<td><a class="grammarRef" href="#prod-startExpression">Start expression</a></td>
+<td> <span class="name">wasStartedBy(e2, -, -, -)</span><br><span class="name">wasStartedBy(-; e2, -, -, -)</span></td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.trigger"><span class="attribute">trigger</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.starter"><span class="attribute">starter</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#start.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+</tr>
+
+<tr>
+<td><a class="grammarRef" href="#prod-endExpression">End expression</a></td>
+<td><span class="name">wasEndedBy(e2, -, -, -)</span><br><span class="name">wasEndedBy(-; e2, -, -, -)</span></td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.trigger"><span class="attribute">trigger</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.ender"><span class="attribute">ender</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#end.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+</tr>
+
+<tr>
+<td><a class="grammarRef" href="#prod-invalidationExpression">Invalidation expression</a></td>
+<td><span class="name">wasInvalidatedBy(e2, -, -)</span>  <br><span class="name">wasInvalidatedBy(-; e2, -, -)</span></td>
+<td>At least one  of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.activity"><span class="attribute">activity</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.time"><span class="attribute">time</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#invalidation.attributes"><span class="attribute">attributes</span></a> <em class="rfc2119" title="must">must</em> be present</td>
+</tr>
+
+<tr>
+<td><a class="grammarRef" href="#prod-associationExpression">Association expression</a></td>
+<td><span class="name">wasAssociatedWith(a, -, -)</span> <br><span class="name">wasAssociatedWith(-; a, -, -)</span></td>
+<td>At least one of <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.id"><span class="attribute">id</span></a>, <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.agent"><span class="attribute">agent</span></a>,  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.plan"><span class="attribute">plan</span></a>, and  <a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/#association.attributes"><span class="attribute">attributes</span></a>  <em class="rfc2119" title="must">must</em> be present</td>
+</tr>
+
+</tbody></table>
+</div>
+</div>
+
+</div>
+
+
+</div>  
+
+
+
+
+
+<div id="document" class="section">
+<h2><span class="secno">4. </span><span class="delete">Toplevel Bundle</span><span class="insert">Document</span></h2>
+
+<p>A <span class="delete">toplevel bundle</span><dfn id="dfn-document"><span class="insert">document</span></dfn> is a house-keeping construct of PROV-N capable of packaging up PROV-N <a title="expression">expressions</a> and namespace declarations.  A <span class="delete">toplevel bundle</span><span class="insert">document</span> forms a self-contained package of provenance descriptions for the purpose of <em>exchanging</em> them.  A <span class="delete">toplevel bundle</span><span class="insert">document</span> may be used
+ to  package up PROV-N <a title="record">expressions</a> in response to a request for the provenance of something ([<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ">PROV-AQ</a></cite>]).</p>
+
+<p> Given its status of house keeping construct for the purpose of exchanging provenance expressions,  a <span class="delete">toplevel bundle</span><span class="insert">document</span> is not defined as a PROV-N expression (production <code class="content"><a class="grammarRef" href="#prod-expression">expression</a></code>).</p> 
+
+
+
+
+
+<p>A <span class="delete">toplevel bundle's</span><span class="insert">document's</span> text matches the <code class="content"><span class="delete">bundle</span><a class="grammarRef" href="#prod-document"><span class="insert">document</span></a></code> production.</p>
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-document" name="prod-document"></a>[<span class="prodNo">1</span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod"><span class="delete">bundle</span><span class="insert">document</span></code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="delete">"bundle"</span><span class="insert">"document"</span> (<span class="prod"><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></span>)? (<span class="prod"><a class="grammarRef" href="#prod-expression">expression</a></span>)* (<span class="prod"><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a></span>)* <span class="delete">"endBundle"</span><span class="insert">"endDocument"</span></code></td> </tr> </tbody>
+</table>
+
+<p>A <span class="delete">toplevel bundle</span><span class="insert">document</span> contains:
+</p><ul>
+<li><em>namespaceDeclarations</em>: a set of namespace declarations <code><a class="grammarRef" href="#prod-namespaceDeclarations">namespaceDeclarations</a></code>, declaring namespaces and associated prefixes, which can be used in <a title="attribute">attributes</a> and  <a title="identifier">identifiers</a> occurring inside  <span class="delete">exprs</span><em><span class="insert">expressions</span></em><span class="insert"> or </span><em><span class="insert">bundles</span></em>;</li>
+<li><em>expressions</em>:  a set of <span class="delete">expressions</span><span class="insert">expressions, each</span> matching <code><a class="grammarRef" href="#prod-expression">expression</a></code>;</li>
+<li><em><span class="delete">namedBundles</span><span class="insert">bundles</span></em>:  a  set of<span class="insert"> expressions, each matching</span>
+<code><span class="delete">namedBundle</span><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a></code>.</li>
+</ul>
+
+
+<p>Thus, <span class="delete">named </span>bundles <span class="delete">can</span><em class="rfc2119" title="may"><span class="insert">may</span></em> occur inside a <span class="delete">toplevel bundle. 
+Named bundles are self-contained: each identifier occuring in a named bundle, including the named bundle's identifier itself, </span><span class="delete">must</span><span class="delete"> be interpreted with respect to the namespace declarations of that named bundle. In</span><span class="insert">document, but do not appear inside</span> other <span class="delete">words, named bundles </span><span class="delete">should</span><span class="delete"> not inherit namespaces declarations from the toplevel bundle.</span><span class="insert">bundles.</span>
+</p>
+
+
+
+<div class="anexample" id="example_45"><div class="anexampleTitle"><a class="internalDFN" href="#example_45">Example <span class="delete">42</span><span class="insert">45</span></a></div>
+<p>
+The following <span class="delete">bundle</span><span class="insert">document</span> contains expressions related to the provenance of entity 
+<span class="name">e2</span>.
+</p>
+<pre class="codeexample"><span class="delete">bundle</span><span class="insert">document</span>
+  default &lt;http://anotherexample.org/&gt;
+  prefix ex &lt;http://example.org/&gt;
+
+  entity(e2, [ prov:type="File", ex:path="/shared/crime.txt", ex:creator="Alice", 
+               ex:content="There was a lot of crime in London last month."])
+  activity(a1, 2011-11-16T16:05:00, -, [prov:type="edit"])
+  wasGeneratedBy(e2, a1, -, [ex:fct="save"])     
+  wasAssociatedWith(a1, ag2, -, [prov:role="author"])
+  agent(ag2, [ prov:type='prov:Person', ex:name="Bob" ])
+
+<span class="delete">endBundle</span><span class="insert">endDocument</span>
+</pre>
+<p>This container could for instance be returned as the result of a query to a provenance store for the provenance of entity <span class="name">e2</span> [<cite><a class="bibref" rel="biblioentry" href="#bib-PROV-AQ">PROV-AQ</a></cite>].  
+</p>
+</div>
+
+
+
+</div>
+
+<div id="extensibility" class="section">
+<h2><span class="secno">5. </span>Extensibility</h2>
+
+<p>The PROV data model is extensible by means of attributes <span class="name">prov:type</span> and <span class="name">prov:role</span> allowing subtyping of expressions.  For some applications, novel  syntax may also be convenient. Hence, the normative requirements are as follow.
+</p>
+<ul>
+<li> PROV-N compliant parsers <em class="rfc2119" title="must">must</em> be able to parse expressions matching the <code class="content"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></code> production defined below.
+</li><li> As PROV provides no definition for these expressions, PROV compliant implementations 
+ <em class="rfc2119" title="may">may</em> ignore these expressions.</li>
+<li> Extensions to PROV and PROV-N <em class="rfc2119" title="may">may</em> specify more specific productions and interpretations for these expressions, which applications <em class="rfc2119" title="may">may</em> <span class="delete">adopt</span><span class="insert">elect</span> to follow. </li>
+</ul>
+
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityExpression" name="prod-extensibilityExpression"></a>[<span class="prodNo"><span class="delete">51</span><span class="insert">49</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">extensibilityExpression</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME">QUALIFIED_NAME</a></span> "(" <span class="prod"><a class="grammarRef" href="#prod-optionalIdentifier">optionalIdentifier</a></span> <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> )* <span class="prod"><a class="grammarRef" href="#prod-optionalAttributeValuePairs">optionalAttributeValuePairs</a></span> ")"</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityArgument" name="prod-extensibilityArgument"></a>[<span class="prodNo"><span class="delete">52</span><span class="insert">50</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">extensibilityArgument</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">( <span class="prod"><a class="grammarRef" href="#prod-identifierOrMarker">identifierOrMarker</a></span> | <span class="prod"><a class="grammarRef" href="#prod-literal">literal</a></span> | <span class="prod"><a class="grammarRef" href="#prod-time">time</a></span> | <span class="prod"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></span> | <span class="prod"><a class="grammarRef" href="#prod-extensibilityTuple">extensibilityTuple</a></span> )</code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-extensibilityTuple" name="prod-extensibilityTuple"></a>[<span class="prodNo"><span class="delete">53</span><span class="insert">51</span></span>]&nbsp;&nbsp;&nbsp;</td> <td><code class="production prod">extensibilityTuple</code></td> <td>&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</td> <td><code class="content">"{" <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> )* "}"<br> | "(" <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> ( "," <span class="prod"><a class="grammarRef" href="#prod-extensibilityArgument">extensibilityArgument</a></span> )* ")"</code></td> </tr> </tbody>
+
+</table>
+
+<p>Expressions compatible with the
+<code class="content"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></code> production follow a general form of functional syntax, in which the predicate <em class="rfc2119" title="must">must</em> be a
+<code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">qualifiedName</a></code>
+with a non-empty <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">prefix</a></code>.</p>
+
+
+
+<div class="anexample" id="example_46"><div class="anexampleTitle"><a class="internalDFN" href="#example_46">Example <span class="delete">43</span><span class="insert">46</span></a></div>
+<p>
+<a href="#component6">Collections</a> are sets of entities, whose membership can be expressed using the <span class="name">hadMember</span> relation.  The following example shows how one can express membership for <em><span class="insert">dictionaries</span></em><span class="insert">, </span>an <span class="insert">illustrative </span>extension of <span class="delete">Collections, namely</span><span class="insert">Collections consisting of</span> sets of <span class="delete">key-value pairs.</span><span class="insert">key-entity pairs, where a key is a </span><code><a class="grammarRef" href="#prod-literal"><span class="insert">literal</span></a></code><span class="insert">.</span> The notation is a variation of that used for Collections membership, allowing multiple member elements to be declared, and in which the elements are pairs. The name of the relation is qualified with the extension-specific namespace <span class="name">http://example.org/dictionaries</span>.
+</p>
+<pre class="codeexample">  prefix dictExt <span class="delete">&lt;http://example.org/dictionaries&gt;</span><span class="insert">&lt;http://example.org/dictionaries#&gt;</span>
+  dictExt:hadMembers(mId; d, {("k1",e1), ("k2",e2), ("k3",e3)}, []) 
+</pre>
+
+Note that the generic <code class="content"><a class="grammarRef" href="#prod-extensibilityExpression">extensibilityExpression</a></code> production  above allows for alternative notations to be used for expressing membership, if the designers of the extensions so desire. Here is an alternate syntax that is consistent with the productions:
+<pre class="codeexample">  prefix dictExt <span class="delete">&lt;http://example.org/dictionaries&gt;</span><span class="insert">&lt;http://example.org/dictionaries#&gt;</span>
+  dictExt:hadMembers(mid; d, dictExt:set(dictExt:pair("k1",e1), 
+                                         dictExt:pair("k2",e2), 
+                                         dictExt:pair("k3",e3)), 
+                            [dictExt:uniqueKeys="true"]) 
+</pre>
+
+  
+</div>
+
+
+
+
+</div>
+
+
+
+
+
+
+<div id="media-type" class="section">
+<h2><span class="secno">6. </span>Media Type</h2>
+
+<p>
+The media type of PROV-N is <span class="name">text/provenance-notation</span>. The content encoding of PROV-N content is UTF-8.
+</p>
+
+
+ <dl> 
+      <dt>Contact:</dt> 
+      <dd>Ivan Herman</dd> 
+      <dt>See also:</dt> 
+      <dd><a href="http://www.w3.org/2002/06/registering-mediatype">How to Register a Media Type for a <acronym title="World Wide Web Consortium">W3C</acronym> Specification</a></dd> 
+      <dd><a href="http://www.w3.org/2001/tag/2002/0129-mime">Internet Media Type registration, consistency of use</a><br>TAG Finding 3 June 2002 (Revised 4 September 2002)</dd> 
+    </dl> 
+    <p>The Internet Media Type / MIME Type for PROV-N is "text/provenance-notation".</p> 
+    <p>It is recommended that PROV-N files have the extension ".provn" (all lowercase) on all platforms.</p> 
+    <p>It is recommended that PROV-N files stored on Macintosh HFS file systems be given a file type of "TEXT".</p> 
+    <p><span class="delete">This</span><span class="insert">The</span> information that follows <span class="delete">is being </span><span class="insert">has been </span><a href="TBD">submitted to the IESG</a> for review, approval, and registration with IANA.</p> 
+    <dl> 
+      <dt>Type name:</dt> 
+      <dd>text</dd> 
+      <dt>Subtype name:</dt> 
+      <dd>provenance-notation</dd> 
+      <dt>Required parameters:</dt> 
+      <dd><span class="delete">None</span><kbd><span class="insert">charset</span></kbd><span class="insert"> — the value of </span><kbd><span class="insert">charset</span></kbd> <em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> always be </span><kbd><span class="insert">UTF-8</span></kbd><span class="insert">.</span></dd> 
+      <dt>Optional parameters:</dt> 
+      <dd><span class="delete">charset</span><span class="delete"> — this parameter is mandatory. The value of </span><span class="delete">charset</span><span class="delete"> is always </span><span class="delete">UTF-8</span><span class="delete">.</span><span class="insert">None</span></dd> 
+
+      <dt>Encoding considerations:<span class="insert"> 8bit</span></dt> 
+      <dd>The syntax of PROV-N is expressed over code points in Unicode [<cite><span class="delete">UNICODE5</span><a class="bibref" rel="biblioentry" href="#bib-UNICODE"><span class="insert">UNICODE</span></a></cite>]. The encoding is always UTF-8 [<cite><a class="bibref" rel="biblioentry" href="#bib-UTF-8">UTF-8</a></cite>].</dd> 
+      <dd>Unicode code points may also be expressed using an \uXXXX (U+0 to U+FFFF) or \UXXXXXXXX syntax (for U+10000 onwards) where X is a hexadecimal digit [0-9A-F]</dd> 
+      <dt>Security considerations:</dt> 
+      <dd>PROV-N is a general-purpose language for describing the provenance of things; applications may evaluate given data to infer more descriptions or to dereference URIs, invoking the security considerations of the scheme for that URI. Note in particular, the privacy issues in [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3023">RFC3023</a></cite>] section 10 for HTTP URIs. Data obtained from an inaccurate or malicious data source may lead to inaccurate or misleading conclusions, as well as the dereferencing of unintended URIs. Care must be taken to align the trust in consulted resources with the sensitivity of the intended use of the data.</dd> 
+      <dd>PROV-N is used to express the provenance of arbitrary application data; security considerations will vary by domain of use. Security tools and protocols applicable to text (e.g. PGP encryption, MD5 sum validation, password-protected compression) may also be used on PROV-N documents. Security/privacy protocols must be imposed which reflect the sensitivity of the embedded information.  </dd> 
+      <dd>PROV-N can express data which is presented to the user, for example, by means of label attributes. Application rendering strings retrieved from untrusted PROV-N documents must ensure that malignant strings may not be used to mislead the reader. The security considerations in the media type registration for XML ([<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3023">RFC3023</a></cite>] section 10) provide additional guidance around the expression of arbitrary data and markup.</dd> 
+      <dd>PROV-N is a language for describing the provenance of things, and therefore a PROV-N document is metadata for other resources.  Untrusted PROV-N documents may mislead its consumers by indicating that a third-party resource has a reputable lineage, when it has not. Provenance of PROV-N document should be sought. </dd>
+      <dd>PROV-N uses qualified names mappeable to IRIs as term identifiers. Applications interpreting data expressed in PROV-N should address the security issues of
+  <a class="norm" href="http://www.ietf.org/rfc/rfc3987.txt">Internationalized Resource Identifiers (IRIs)</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3987">RFC3987</a></cite>] Section 8, as well as
+  <a class="norm" href="http://www.ietf.org/rfc/rfc3986.txt">Uniform Resource Identifier (URI): Generic Syntax</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3986">RFC3986</a></cite>] Section 7.</dd> 
+      <dd>Multiple IRIs may have the same appearance. Characters in different scripts may 
+look similar (a Cyrillic "о" may appear similar to a Latin "o"). A character followed 
+by combining characters may have the same visual representation as another character 
+(LATIN SMALL LETTER E followed by COMBINING ACUTE ACCENT has the same visual representation 
+as LATIN SMALL LETTER E WITH ACUTE).
+ 
+Any person or application that is writing or interpreting data in PROV-N must take care to use the IRI that matches the intended semantics, and avoid IRIs that make look similar.
+Further information about matching of similar characters can be found 
+in <a class="inform" href="http://www.unicode.org/reports/tr36/">Unicode Security 
+Considerations</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-UNISEC">UNISEC</a></cite>] and
+<a class="norm" href="http://www.ietf.org/rfc/rfc3987.txt">Internationalized Resource 
+Identifiers (IRIs)</a> [<cite><a class="bibref" rel="biblioentry" href="#bib-RFC3987">RFC3987</a></cite>] Section 8.
+</dd> 
+ 
+      <dt>Interoperability considerations:</dt> 
+      <dd>There are no known interoperability issues.</dd> 
+      <dt>Published specification:</dt> 
+      <dd>PROV-N: The Provenance Notation, Moreau, Missier, (eds), Cheney, Soiland-Reyes
+      <a href="http://www.w3.org/TR/prov-n/">http://www.w3.org/TR/prov-n/</a><span class="insert">, 2012.</span></dd> 
+      <dt>Applications which use this media type:</dt> 
+      <dd><span class="delete">No widely deployed applications are known</span><span class="insert">It may be used by any application for publishing provenance information. This format is designed</span> to <span class="delete">use this media type. It may </span>be <span class="delete">used by some web services and clients consuming their data.</span><span class="insert">a human-readable form of provenance. </span></dd> 
+      <dt>Additional information:</dt> 
+      <dt>Magic number(s):</dt> 
+      <dd>PROV-N documents may have the strings <span class="delete">'bundle'</span><span class="insert">'document'</span> near the beginning of the document.</dd> 
+      <dt>File extension(s):</dt> 
+      <dd>".provn"</dd> 
+      <dt>Base URI:</dt> 
+      <dd>There are no constructs in the PROV-N Syntax to change the Base IRI.</dd> 
+      <dt>Macintosh file type code(s):</dt> 
+      <dd>"TEXT"</dd> 
+      <dt>Person &amp; email address to contact for further information:</dt> 
+      <dd><span class="delete">public-prov-comments@w3.org</span><span class="insert">Ivan Herman, ivan@w3.org</span></dd> 
+      <dt>Intended usage:</dt> 
+      <dd>COMMON</dd> 
+      <dt>Restrictions on usage:</dt> 
+      <dd>None</dd> 
+      <dt>Author/Change controller:</dt> 
+      <dd>The PROV-N specification is the product of the World Wide Web Consortium's PROV Working Group. The <acronym title="World Wide Web Consortium">W3C</acronym> has change control over this specification.</dd> 
+    </dl> 
+ 
+</div>
+
+
+
+
+
+
+
+<div class="appendix informative section" id="changes-since-last-version"> 
+      <h2><span class="secno">A. </span><span class="insert">Changes since last version</span></h2><p><em><span class="insert">This section is non-normative.</span></em></p> 
+<p><span class="insert"> Please see the </span><a href="http://www.w3.org/2011/prov/wiki/ResponsesToPublicComments"><span class="insert">Responses to Public Comments on the Last Call Working Draft</span></a><span class="insert"> for more details about the justification of these changes.</span></p>
+<ul>
+<li> <a href="http://www.w3.org/2011/prov/track/issues/543"><span class="insert">ISSUE-543</span></a><span class="insert">: Uses key-entity pair terminology for example 43.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/538"><span class="insert">ISSUE-538</span></a><span class="insert">: Rephrasing of text in example 10.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/547"><span class="insert">ISSUE-547</span></a><span class="insert">: Aligned terminology and productions with prov-constraints document, renaming 'toplevel bundle' to 'document', and renaming 'named bundle' to 'bundle'.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/496"><span class="insert">ISSUE-496</span></a><span class="insert">: For each prov-n term, added a cross-reference to corresponding prov-dm term (see table following each production). Rephrased text related to scope of a namespace declaration. Added an informative file with all productions.
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/573"><span class="insert">ISSUE-573</span></a><span class="insert">: Updated Media Type section. 
+</span></li><li> <a href="http://www.w3.org/2011/prov/track/issues/589"><span class="insert">ISSUE-589</span></a><span class="insert">: Updated scoping rule for prefix-namespace declaration. Also refrained from saying bundles are self-contained. 
+</span></li><li><span class="insert"> Moved feature at Risk mention into a separate note.
+</span></li><li><span class="insert"> Editorial's pass pre-publication.
+</span></li></ul>
+</div>
+
+<div class="appendix informative section" id="acknowledgements"> 
+      <h2><span class="secno"><span class="insert">B. </span></span>Acknowledgements</h2><p><em><span class="insert">This section is non-normative.</span></em></p> 
+      <p> 
+
+This  document has been produced by the PROV Working Group, and its contents reflect extensive discussion within the Working Group as a whole. 
+      </p> 
+
+<p>
+Members of the PROV Working Group at the time of publication of this document were:
+
+Ilkay Altintas (Invited expert),
+Reza B'Far (Oracle Corporation),
+Khalid Belhajjame (University of Manchester),
+James Cheney (University of Edinburgh, School of Informatics),
+Sam Coppens (IBBT),
+David Corsar (University of Aberdeen, Computing Science),
+Stephen Cresswell (The National Archives),
+Tom De Nies (IBBT),
+Helena Deus (DERI Galway at the National University of Ireland, Galway, Ireland),
+Simon Dobson (Invited expert),
+Martin Doerr (Foundation for Research and Technology - Hellas(FORTH)),
+Kai Eckert (Invited expert),
+Jean-Pierre EVAIN (European Broadcasting Union, EBU-UER),
+James Frew (Invited expert),
+Irini Fundulaki (Foundation for Research and Technology - Hellas(FORTH)),
+Daniel Garijo (Universidad Politécnica de Madrid),
+Yolanda Gil (Invited expert),
+Ryan Golden (Oracle Corporation),
+Paul Groth (Vrije Universiteit),
+Olaf Hartig (Invited expert),
+David Hau (National Cancer Institute, NCI),
+Sandro Hawke (<acronym title="World Wide Web Consortium">W3C</acronym>/<acronym title="Massachusetts Institute of Technology">MIT</acronym>),
+Jörn Hees (German Research Center for Artificial Intelligence (DFKI) Gmbh),
+Ivan Herman, (<acronym title="World Wide Web Consortium">W3C</acronym>/<acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym>),
+Ralph Hodgson (TopQuadrant),
+Hook Hua (Invited expert),
+Trung Dong Huynh (University of Southampton),
+Graham Klyne (University of Oxford),
+Michael Lang (Revelytix, Inc.),
+Timothy Lebo (Rensselaer Polytechnic Institute),
+James McCusker (Rensselaer Polytechnic Institute),
+Deborah McGuinness (Rensselaer Polytechnic Institute),
+Simon Miles (Invited expert),
+Paolo Missier (School of Computing Science, Newcastle university),
+Luc Moreau (University of Southampton),
+James Myers (Rensselaer Polytechnic Institute),
+Vinh Nguyen (Wright State University),
+Edoardo Pignotti (University of Aberdeen, Computing Science),
+Paulo da Silva Pinheiro (Rensselaer Polytechnic Institute),
+Carl Reed (Open Geospatial Consortium),
+Adam Retter (Invited Expert),
+Christine Runnegar (Invited expert),
+Satya Sahoo (Invited expert),
+David Schaengold (Revelytix, Inc.),
+Daniel Schutzer (FSTC, Financial Services Technology Consortium),
+Yogesh Simmhan (Invited expert),
+Stian Soiland-Reyes (University of Manchester),
+Eric Stephan (Pacific Northwest National Laboratory),
+Linda Stewart (The National Archives),
+Ed Summers (Library of Congress),
+Maria Theodoridou (Foundation for Research and Technology - Hellas(FORTH)),
+Ted Thibodeau (OpenLink Software Inc.),
+Curt Tilmes (National Aeronautics and Space Administration),
+Craig Trim (IBM Corporation),
+Stephan Zednik (Rensselaer Polytechnic Institute),
+Jun Zhao (University of Oxford),
+Yuting Zhao (University of Aberdeen, Computing Science).
+</p>
+
+    </div> 
+
+
+ 
+<div id="references" class="appendix section"><h2><span class="secno"><span class="delete">B.</span><span class="insert">C.</span> </span>References</h2><div id="normative-references" class="section"><h3><span class="secno"><span class="delete">B.1</span><span class="insert">C.1</span> </span>Normative references</h3><dl class="bibliography"><dt id="bib-IRI">[IRI]</dt><dd>M. Duerst, M. Suignard. <a href="http://www.ietf.org/rfc/rfc3987.txt"><cite>Internationalized Resource Identifiers (IRI).</cite></a> January 2005. Internet RFC 3987. URL: <a href="http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3987.txt</a> 
+</dd><dt id="bib-PROV-CONSTRAINTS"><span class="insert">[PROV-CONSTRAINTS]</span></dt><dd><span class="insert">James Cheney, Paolo Missier, and Luc Moreau (eds.), Tom De Nies. </span><a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/"><cite><span class="insert">Constraints of the PROV Data Model</span></cite></a><span class="insert">. 2012, Candidate Recommendation. URL: </span><a href="http://www.w3.org/TR/2012/CR-prov-constraints-20121211/"><span class="insert">http://www.w3.org/TR/2012/CR-prov-constraints-20121211/</span></a><span class="insert">.
+</span></dd><dt id="bib-PROV-DM"><span class="insert">[PROV-DM]</span></dt><dd><span class="insert">Luc Moreau and Paolo Missier (eds.) Khalid Belhajjame, Reza B'Far, James Cheney, Sam Coppens, Stephen Cresswell, Yolanda Gil, Paul Groth, Graham Klyne, Tim Lebo, Jim McCusker, Simon Miles, James Myers, Satya Sahoo, and Curt Tilmes </span><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/"><cite><span class="insert">PROV-DM: The PROV Data Model</span></cite></a><span class="insert">. 2012, Working Draft. URL: </span><a href="http://www.w3.org/TR/2012/CR-prov-dm-20121211/"><span class="insert">http://www.w3.org/TR/2012/CR-prov-dm-20121211/</span></a>
+</dd><dt id="bib-PROV-O"><span class="insert">[PROV-O]</span></dt><dd><span class="insert">Timothy Lebo, Satya Sahoo and Deborah McGuinness (eds.) Khalid Belhajjame, James Cheney, David Corsar, Daniel Garijo, Stian Soiland-Reyes, Stephan Zednik, and Jun Zhao. </span><a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/"><cite><span class="insert">Provenance Formal Model</span></cite></a><span class="insert">. 2012, Candidate Recommendation. URL: </span><a href="http://www.w3.org/TR/2012/CR-prov-o-20121211/"><span class="insert">http://www.w3.org/TR/2012/CR-prov-o-20121211/</span></a><span class="insert">.
+</span></dd><dt id="bib-RDF-SPARQL-QUERY">[RDF-SPARQL-QUERY]</dt><dd>Andy Seaborne; Eric Prud'hommeaux. <a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115"><cite>SPARQL Query Language for RDF.</cite></a> 15 January 2008. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115">http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115</a> 
+</dd><dt id="bib-RFC2119">[RFC2119]</dt><dd>S. Bradner. <a href="http://www.ietf.org/rfc/rfc2119.txt"><cite>Key words for use in RFCs to Indicate Requirement Levels.</cite></a> March 1997. Internet RFC 2119.  URL: <a href="http://www.ietf.org/rfc/rfc2119.txt">http://www.ietf.org/rfc/rfc2119.txt</a> 
+</dd><dt id="bib-RFC3023">[RFC3023]</dt><dd>M. Murata; S. St.Laurent; D. Kohn. <a href="http://www.ietf.org/rfc/rfc3023.txt"><cite>XML Media Types</cite></a> January 2001. Internet RFC 3023. URL: <a href="http://www.ietf.org/rfc/rfc3023.txt">http://www.ietf.org/rfc/rfc3023.txt</a> 
+</dd><dt id="bib-RFC3986">[RFC3986]</dt><dd>T. Berners-Lee; R. Fielding; L. Masinter. <a href="http://www.ietf.org/rfc/rfc3986.txt"><cite>Uniform Resource Identifier (URI): Generic Syntax.</cite></a> January 2005. Internet RFC 3986. URL: <a href="http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3986.txt</a> 
+</dd><dt id="bib-RFC3987">[RFC3987]</dt><dd>M. Dürst; M. Suignard. <a href="http://www.ietf.org/rfc/rfc3987.txt"><cite>Internationalized Resource Identifiers (IRIs).</cite></a> January 2005. Internet RFC 3987. URL: <a href="http://www.ietf.org/rfc/rfc3987.txt">http://www.ietf.org/rfc/rfc3987.txt</a> 
+</dd><dt id="bib-UNICODE"><span class="insert">[UNICODE]</span></dt><dd><span class="insert">The Unicode Consortium.  </span><a href="http://www.unicode.org/unicode/standard/versions/enumeratedversions.html"><cite><span class="insert">The Unicode Standard.</span></cite></a><span class="insert">.  Defined by: The Unicode Standard, Version 6.2.0, (Mountain View, CA: The Unicode Consortium, 2012. ISBN 978-1-936213-07-8) , as updated from time to time by the publication of new versions URL: </span><a href="http://www.unicode.org/unicode/standard/versions/enumeratedversions.html"><span class="insert">http://www.unicode.org/unicode/standard/versions/enumeratedversions.html</span></a> 
+</dd><dt id="bib-URI">[URI]</dt><dd>T. Berners-Lee; R. Fielding; L. Masinter. <a href="http://www.ietf.org/rfc/rfc3986.txt"><cite>Uniform Resource Identifiers (URI): generic syntax.</cite></a> January 2005. Internet RFC 3986. URL: <a href="http://www.ietf.org/rfc/rfc3986.txt">http://www.ietf.org/rfc/rfc3986.txt</a> 
+</dd><dt id="bib-UTF-8">[UTF-8]</dt><dd>F. Yergeau. <a href="http://www.ietf.org/rfc/rfc3629.txt"><cite>UTF-8, a transformation format of ISO 10646</cite></a>. IETF RFC 3629. November 2003. URL: <a href="http://www.ietf.org/rfc/rfc3629.txt">http://www.ietf.org/rfc/rfc3629.txt</a>
+</dd><dt id="bib-XML-NAMES">[XML-NAMES]</dt><dd>Richard Tobin; et al. <a href="http://www.w3.org/TR/2009/REC-xml-names-20091208/"><cite>Namespaces in XML 1.0 (Third Edition).</cite></a> 8 December 2009. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2009/REC-xml-names-20091208/">http://www.w3.org/TR/2009/REC-xml-names-20091208/</a> 
+</dd><dt id="bib-XML11">[XML11]</dt><dd>Eve Maler; et al. <a href="http://www.w3.org/TR/2006/REC-xml11-20060816"><cite>Extensible Markup Language (XML) 1.1 (Second Edition).</cite></a> 16 August 2006. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2006/REC-xml11-20060816">http://www.w3.org/TR/2006/REC-xml11-20060816</a> 
+</dd><dt id="bib-XMLSCHEMA11-2">[XMLSCHEMA11-2]</dt><dd>Henry S. Thompson; et al. <a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/"><cite>W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes.</cite></a> 5 April 2012. W3C Recommendation URL: <a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/">http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/</a> 
+</dd></dl></div><div id="informative-references" class="section"><h3><span class="secno"><span class="delete">B.2</span><span class="insert">C.2</span> </span>Informative references</h3><dl class="bibliography"><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 <span class="delete">Miles </span><span class="insert">Miles. </span><a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/"><cite>Provenance Access and Query</cite></a>. <span class="delete">2011,</span><span class="insert">2012,</span> Working Draft. URL: <span class="delete">http://www.w3.org/TR/prov-aq/</span><a href="http://www.w3.org/TR/2012/WD-prov-aq-20120619/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-aq-20120619/</span></a><span class="insert">.</span>
+</dd><span class="delete">[PROV-CONSTRAINTS]</span><dt id="bib-PROV-OVERVIEW"><span class="insert">[PROV-OVERVIEW]</span></dt><dd><span class="delete">James Cheney, Paolo Missier, and Luc Moreau (eds.)</span><span class="insert">AUTHORS TBD. </span><a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/"><cite><span class="delete">Constraints</span><span class="insert">PROV-OVERVIEW: The PROV Family</span> of <span class="delete">the Prov Data Model</span><span class="insert">Documents</span></cite></a>. 2012, Working Draft. URL: <span class="delete">http://www.w3.org/TR/prov-constraints/</span><a href="http://www.w3.org/TR/2012/WD-prov-overview-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-overview-20121211/</span></a><span class="insert">.</span>
+</dd><span class="delete">[PROV-DM]</span><dt id="bib-PROV-PRIMER"><span class="insert">[PROV-PRIMER]</span></dt><dd><span class="delete">Luc Moreau</span><span class="insert">Yolanda Gil</span> and <span class="insert">Simon Miles (eds.) Khalid Belhajjame, Helena Deus, Daniel Garijo, Graham Klyne, </span>Paolo <span class="delete">Missier (eds.) Khalid Belhajjame, Reza B'Far, Stephen Cresswell, Yolanda Gil, Paul Groth, Graham Klyne, Jim McCusker, Simon Miles, James Myers, Satya Sahoo,</span><span class="insert">Missier, Stian Soiland-Reyes,</span> and <span class="delete">Curt Tilmes</span><span class="insert">Stephan Zednik. </span><a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><cite><span class="delete">PROV-DM: The PROV Data</span><span class="insert">Prov</span> Model<span class="insert"> Primer</span></cite></a>. 2012, Working Draft. URL: <span class="delete">http://www.w3.org/TR/prov-dm/</span><a href="http://www.w3.org/TR/2012/WD-prov-primer-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-primer-20121211/</span></a><span class="insert">.</span>
+</dd><dt id="bib-PROV-RDF">[PROV-RDF]</dt><dd>James Cheney <a href="http://www.w3.org/2011/prov/wiki/ProvRDF"><cite>PROV-RDF Mapping </cite></a>2012, Working in Progress. URL: <a href="http://www.w3.org/2011/prov/wiki/ProvRDF">http://www.w3.org/2011/prov/wiki/ProvRDF</a>
+</dd><dt id="bib-PROV-SEM">[PROV-SEM]</dt><dd>James <span class="delete">Cheney</span><span class="insert">Cheney.</span> <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><span class="insert">.</span>
+</dd><dt id="bib-PROV-XML">[PROV-XML]</dt><dd><span class="delete">James Cheney </span><span class="insert">Hook Hua, Curt Tilmes, and Stephan Zednik (eds.) Luc Moreau. </span><a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><cite><span class="delete">PROV-XML Mapping </span><span class="insert">PROV-XML: The PROV XML Schema</span></cite></a><span class="insert">. </span>2012, <span class="delete">Working in Progress.</span><span class="insert">Candidate Recommendation.</span> URL: <span class="delete">http://www.w3.org/2011/prov/wiki/ProvXML</span>
+<span class="delete">[UNICODE5]</span><span class="delete">The Unicode Consortium. </span><span class="delete">The Unicode Standard, Version 5.1.0.</span><span class="delete"> Addison-Wesley. 2007. ISBN 0-321-48091-0. URL: </span><span class="delete">http://www.unicode.org/versions/Unicode5.1.0/</span> 
+<a href="http://www.w3.org/TR/2012/WD-prov-xml-20121211/"><span class="insert">http://www.w3.org/TR/2012/WD-prov-xml-20121211/</span></a><span class="insert">.
+</span></dd><dt id="bib-UNISEC">[UNISEC]</dt><dd> Mark Davis and Michel Suignard. <a href="http://www.unicode.org/reports/tr36/"><cite>Unicode Security Considerations<cite></cite></cite></a>.  4 August 2010. URL: <a href="http://www.unicode.org/reports/tr36/">http://www.unicode.org/reports/tr36/</a>
+</dd></dl></div></div></body></html>
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/model/releases/CR-prov-n-20121211/grammar.txt	Mon Nov 19 14:30:13 2012 +0000
@@ -0,0 +1,150 @@
+]>
+
+Productions:
+
+[1]  document                       :: "document" (namespaceDeclarations)? (expression)* (bundle)* "endDocument"
+                                 =   
+[2]  expression                     :: ( entityExpression | activityExpression | generationExpression | usageExpression
+                                 =     | startExpression | endExpression | invalidationExpression | 
+                                       communicationExpression | agentExpression | associationExpression | 
+                                       attributionExpression | delegationExpression | derivationExpression | 
+                                       influenceExpression | alternateExpression | specializationExpression | 
+                                       membershipExpression | extensibilityExpression )
+[3]  entityExpression               :: "entity" "(" identifier optionalAttributeValuePairs ")"
+                                 =   
+[4]  optionalAttributeValuePairs    :: (( "," "[" attributeValuePairs "]" ))?
+                                 =   
+[5]  attributeValuePairs            :: ( | attributeValuePair (( "," attributeValuePair ))* )
+                                 =   
+[6]  attributeValuePair             :: attribute "=" literal
+                                 =   
+[7]  activityExpression             :: "activity" "(" identifier (( "," timeOrMarker "," timeOrMarker ))? 
+                                 =     optionalAttributeValuePairs ")"
+[8]  timeOrMarker                   :: ( timeZZ | "-" )
+                                 =   
+[9]  generationExpression           :: "wasGeneratedBy" "(" optionalIdentifier eIdentifier (( "," aIdentifierOrMarker
+                                 =     "," timeOrMarker ))? optionalAttributeValuePairs ")"
+[10] optionalIdentifier             :: (( identifierOrMarker ";" ))?
+                                 =   
+[11] identifierOrMarker             :: ( identifier | "-" )
+                                 =   
+[12] usageExpression                :: "used" "(" optionalIdentifier aIdentifier (( "," eIdentifierOrMarker "," 
+                                 =     timeOrMarker ))? optionalAttributeValuePairs ")"
+[13] communicationExpression        :: "wasInformedBy" "(" optionalIdentifier aIdentifier "," aIdentifier 
+                                 =     optionalAttributeValuePairs ")"
+[14] startExpression                :: "wasStartedBy" "(" optionalIdentifier aIdentifier (( "," eIdentifierOrMarker ","
+                                 =     aIdentifierOrMarker "," timeOrMarker ))? optionalAttributeValuePairs ")"
+[15] endExpression                  :: "wasEndedBy" "(" optionalIdentifier aIdentifier (( "," eIdentifierOrMarker "," 
+                                 =     aIdentifierOrMarker "," timeOrMarker ))? optionalAttributeValuePairs ")"
+[16] invalidationExpression         :: "wasInvalidatedBy" "(" optionalIdentifier eIdentifier (( "," aIdentifierOrMarker
+                                 =     "," timeOrMarker ))? optionalAttributeValuePairs ")"
+[17] derivationExpression           :: "wasDerivedFrom" "(" optionalIdentifier eIdentifier "," eIdentifier (( "," 
+                                 =     aIdentifierOrMarker "," gIdentifierOrMarker "," uIdentifierOrMarker ))? 
+                                       optionalAttributeValuePairs ")"
+[18] agentExpression                :: "agent" "(" identifier optionalAttributeValuePairs ")"
+                                 =   
+[19] attributionExpression          :: "wasAttributedTo" "(" optionalIdentifier eIdentifier "," agIdentifier 
+                                 =     optionalAttributeValuePairs ")"
+[20] associationExpression          :: "wasAssociatedWith" "(" optionalIdentifier aIdentifier (( "," 
+                                 =     agIdentifierOrMarker "," eIdentifierOrMarker ))? optionalAttributeValuePairs ")"
+[21] delegationExpression           :: "actedOnBehalfOf" "(" optionalIdentifier agIdentifier "," agIdentifier (( "," 
+                                 =     aIdentifierOrMarker ))? optionalAttributeValuePairs ")"
+[22] influenceExpression            :: "wasInfluencedBy" "(" optionalIdentifier eIdentifier "," eIdentifier 
+                                 =     optionalAttributeValuePairs ")"
+[23] bundle                         :: "bundle" identifier (namespaceDeclarations)? (expression)* "endBundle"
+                                 =   
+[24] alternateExpression            :: "alternateOf" "(" eIdentifier "," eIdentifier ")"
+                                 =   
+[25] specializationExpression       :: "specializationOf" "(" eIdentifier "," eIdentifier ")"
+                                 =   
+[26] membershipExpression           :: "hadMember" "(" cIdentifier "," eIdentifier ")"
+                                 =   
+[27] eIdentifier                    :: identifier
+                                 =   
+[28] aIdentifier                    :: identifier
+                                 =   
+[29] agIdentifier                   :: identifier
+                                 =   
+[30] gIdentifier                    :: identifier
+                                 =   
+[31] uIdentifier                    :: identifier
+                                 =   
+[32] cIdentifier                    :: identifier
+                                 =   
+[33] eIdentifierOrMarker            :: ( eIdentifier | "-" )
+                                 =   
+[34] aIdentifierOrMarker            :: ( aIdentifier | "-" )
+                                 =   
+[35] agIdentifierOrMarker           :: ( agIdentifier | "-" )
+                                 =   
+[36] gIdentifierOrMarker            :: ( gIdentifier | "-" )
+                                 =   
+[37] uIdentifierOrMarker            :: ( uIdentifier | "-" )
+                                 =   
+[38] identifier                     :: QUALIFIED_NAME
+                                 =   
+[39] attribute                      :: QUALIFIED_NAME
+                                 =   
+[40] literal                        :: typedLiteral
+                                 =     | convenienceNotation
+[41] typedLiteral                   :: STRING_LITERAL "%%" datatype
+                                 =   
+[42] datatype                       :: QUALIFIED_NAME
+                                 =   
+[43] convenienceNotation            :: STRING_LITERAL (LANGTAG)?
+                                 =     | INT_LITERAL
+                                       | QUALIFIED_NAME_LITERAL
+[44] timeZZ                         :: DATETIME
+                                 =   
+[45] namespaceDeclarations          :: ( defaultNamespaceDeclaration | namespaceDeclaration ) (namespaceDeclaration)*
+                                 =   
+[46] namespaceDeclaration           :: "prefix" PN_PREFIX namespace
+                                 =   
+[47] defaultNamespaceDeclaration    :: "default" IRI_REF
+                                 =   
+[48] namespace                      :: IRI_REF
+                                 =   
+[49] extensibilityExpression        :: QUALIFIED_NAME "(" optionalIdentifier extensibilityArgument (( "," 
+                                 =     extensibilityArgument ))* optionalAttributeValuePairs ")"
+[50] extensibilityArgument          :: ( identifierOrMarker | literal | timeZZ | extensibilityExpression | 
+                                 =     extensibilityTuple )
+[51] extensibilityTuple             :: "{" extensibilityArgument (( "," extensibilityArgument ))* "}"
+                                 =     | "(" extensibilityArgument (( "," extensibilityArgument ))* ")"
+[52] <QUALIFIED_NAME>               :: (( PN_PREFIX ":" ))? PN_LOCAL
+                                 =     | PN_PREFIX ":"
+[53] <PN_LOCAL>                     :: ( PN_CHARS_U | [0-9] | PN_CHARS_OTHERS ) (( (( PN_CHARS | "." | PN_CHARS_OTHERS
+                                 =     ))* ( PN_CHARS | PN_CHARS_OTHERS ) ))?
+[54] <PN_CHARS_OTHERS>              :: "/"
+                                 =     | "@"
+                                       | "~"
+                                       | "&"
+                                       | "+"
+                                       | "*"
+                                       | "?"
+                                       | "#"
+                                       | "$"
+                                       | "!"
+                                       | PERCENT
+                                       | PN_CHARS_ESC
+[55] <PN_CHARS_ESC>                 :: "\\" ( "=" | "'" | "(" | ")" | "," | "-" | ":" | ";" | "[" | "]" | "." )
+                                 =   
+[56] <PERCENT>                      :: "%" HEX HEX
+                                 =   
+[57] <HEX>                          :: [0-9]
+                                 =     | [A-F]
+                                       | [a-f]
+[58] <STRING_LITERAL>               :: STRING_LITERAL2
+                                 =     | STRING_LITERAL_LONG2
+[59] <PREFX>                        :: PN_PREFIX
+                                 =   
+[60] <INT_LITERAL>                  :: ("-")? (DIGIT)+
+                                 =   
+[61] <QUALIFIED_NAME_LITERAL>       :: "'" QUALIFIED_NAME "'"
+                                 =   
+[62] <DIGIT>                        :: [0-9]
+                                 =   
+[63] <DATETIME>                     :: DIGIT DIGIT DIGIT DIGIT "-" DIGIT DIGIT "-" DIGIT DIGIT "T" DIGIT DIGIT ":" 
+                                 =     DIGIT DIGIT ":" DIGIT DIGIT (( "." DIGIT (( DIGIT (DIGIT)? ))? ))? (( "Z" | 
+                                       TIMEZONEOFFSET ))?
+[64] <TIMEZONEOFFSET>               :: ( "+" | "-" ) DIGIT DIGIT ":" DIGIT DIGIT
+                                 =