* Merged
authorJames Cheney <jcheney@inf.ed.ac.uk>
Mon, 16 Jul 2012 20:10:33 +0100
changeset 4077 9ff4c8784aea
parent 4076 e51f6c94b09e (current diff)
parent 4075 9f0b37eaf74e (diff)
child 4078 f623cb209fb8
* Merged
model/examples/sculpture.pn
model/examples/sculpture.png
model/examples/w3c-publication1.dot
model/examples/w3c-publication1.pdf
model/examples/w3c-publication1.pn
model/examples/w3c-publication1.png
model/examples/w3c-publication1.prov-xml
model/examples/w3c-publication1.svg
model/examples/w3c-publication1/index.html
model/examples/w3c-publication2.dot
model/examples/w3c-publication2.pdf
model/examples/w3c-publication2.pn
model/examples/w3c-publication2.prov-xml
model/examples/w3c-publication3.dot
model/examples/w3c-publication3.pdf
model/examples/w3c-publication3.pn
model/examples/w3c-publication3.prov-xml
model/examples/w3cpub/w3c-publication1.dot
model/examples/w3cpub/w3c-publication1.pdf
model/examples/w3cpub/w3c-publication1.png
model/examples/w3cpub/w3c-publication1.prov-asn
model/examples/w3cpub/w3c-publication2.dot
model/examples/w3cpub/w3c-publication2.pdf
model/examples/w3cpub/w3c-publication2.png
model/examples/w3cpub/w3c-publication2.prov-asn
model/examples/w3cpub/w3c-publication3.dot
model/examples/w3cpub/w3c-publication3.pdf
model/examples/w3cpub/w3c-publication3.png
model/examples/w3cpub/w3c-publication3.prov-asn
model/examples/w3cpub/w3cpub.txt
model/images/components-dependencies.png
model/images/components-dependencies.svg
model/images/w3-publication1.png
model/images/w3-publication1.svg
model/images/w3-publication3.png
model/images/w3-publication3.svg
model/uml/component1.xmi
model/uml/component2.xmi
model/uml/component3.xmi
model/uml/component4.xmi
model/uml/component5.xmi
model/uml/component6.xmi
model/uml/essentials.xmi
primer/WD-prov-primer-201207/OverviewDiagram.png
primer/WD-prov-primer-201207/Primer.html
primer/WD-prov-primer-201207/extra.css
primer/WD-prov-primer-201207/images/activities.png
primer/WD-prov-primer-201207/images/activities.svg
primer/WD-prov-primer-201207/images/agents.png
primer/WD-prov-primer-201207/images/agents.svg
primer/WD-prov-primer-201207/images/derivation.png
primer/WD-prov-primer-201207/images/derivation.svg
primer/WD-prov-primer-201207/images/entities.png
primer/WD-prov-primer-201207/images/entities.svg
primer/WD-prov-primer-201207/images/everything.png
primer/WD-prov-primer-201207/images/everything.svg
primer/WD-prov-primer-201207/images/plans.png
primer/WD-prov-primer-201207/images/plans.svg
primer/WD-prov-primer-201207/images/roles.png
primer/WD-prov-primer-201207/images/roles.svg
primer/WD-prov-primer-201207/images/specialization.png
primer/WD-prov-primer-201207/images/specialization.svg
primer/WD-prov-primer-201207/images/time.png
primer/WD-prov-primer-201207/images/time.svg
primer/WD-prov-primer-201207/images/use-generate.png
primer/WD-prov-primer-201207/images/use-generate.svg
--- a/.hgtags	Mon Jul 16 20:09:12 2012 +0100
+++ b/.hgtags	Mon Jul 16 20:10:33 2012 +0100
@@ -4,3 +4,8 @@
 0e6acc446578653f6868d14ba7aa4f4fc5937f1d WD-prov-o-20120703
 0e6acc446578653f6868d14ba7aa4f4fc5937f1d WD-prov-o-20120703
 98870b4c796cd7c517548ab1559965d5c9152fd7 WD-prov-o-20120703
+12885f926cd8d04bd027f5caebcc4bf4f10d7260 WD-prov-o-20120711
+834861ffc39efe952f6d3eecc9ea22762792740c WD-prov-o-html-20120711
+834861ffc39efe952f6d3eecc9ea22762792740c WD-prov-o-html-20120711
+f3de1d9ce6314ac9592e7e44bdd7e9d8399f42f2 WD-prov-o-html-20120711
+bad066cda8927911f3621e14f2cc30c2a67e82a4 WD-prov-o-html-2012MMDD
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_ActivityInfluence.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_ActivityInfluence.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -12,7 +12,7 @@
 
 :making-bar-chart
    a prov:Generation, 
-     prov:ActivityInfluence;    ## Instances of Generation, Invalidation, and Communication qualify
+     prov:ActivityInfluence;  ## Instances of Generation, Invalidation and Communication qualify
    prov:activity :illustrating; ## the influence of an Activity (cited by prov:activity)
    rdfs:comment "Ended up with bar chart as line chart looked ugly."@en;
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_AgentInfluence.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_AgentInfluence.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -9,8 +9,8 @@
     prov:wasAssociatedWith :derek;
     prov:qualifiedAssociation [
        a prov:Association, 
-         prov:AgentInfluence;   ## Instances of Generation, Invalidation, and Communication qualify
-       prov:agent   :derek;     ## the influence of an Agent (cited by prov:agent)
+         prov:AgentInfluence; ## Instances of Generation, Invalidation and Communication qualify
+       prov:agent   :derek;   ## the influence of an Agent (cited by prov:agent)
        prov:hadRole :illustrationist
     ];
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Attribution.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Attribution.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -2,6 +2,7 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
[email protected] ex:   <http://example.com/vocab#> .
 @prefix :     <http://example.com/> .
 
 <http://dbpedia.org/resource/Fallingwater>
@@ -12,17 +13,17 @@
    prov:qualifiedAttribution [
       a prov:Attribution;
       prov:agent <http://dbpedia.org/resource/Edgar_J._Kaufmann>;
-      prov:hadRole :owner;
+      ex:hadRole :owner;
    ];
    prov:qualifiedAttribution [
       a prov:Attribution;
       prov:agent <http://dbpedia.org/resource/Frank_Lloyd_Wright>;
-      prov:hadRole :architect;
+      ex:hadRole :architect;
    ];
    prov:qualifiedAttribution [
       a prov:Attribution;
       prov:agent :western-Pennsylvania-Conservancy;
-      prov:hadRole :conserver;
+      ex:hadRole :conserver;
    ];
 .
 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Bundle.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Bundle.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -23,7 +23,8 @@
    prov:wasDerivedFrom :report1;
 .
 
-# Let us assume that Bob observed the creation of :report1. A first bundle can be expressed.
+# Let us assume that Bob observed the creation of :report1. 
+# A first bundle can be expressed.
  
 bob:bundle1 {
    :report1
@@ -33,7 +34,8 @@
    .
 }
 
-# In contrast, Alice observed the creation of :report2 and its derivation from :report1.
+# In contrast, Alice observed the creation of :report2 
+# and its derivation from :report1.
  
 alice:bundle2 {
    :report1 a prov:Entity .
@@ -45,7 +47,8 @@
    .
 }
 
-# The first bundle contains the descriptions corresponding to Bob observing the creation of :report1.
+# The first bundle contains the descriptions corresponding to Bob 
+# observing the creation of :report1.
  
 bob:bundle1
    a prov:Bundle;
@@ -53,7 +56,8 @@
    prov:wasAttributedTo :Bob;
 .
 
-# In contrast, the second bundle is attributed to Alice who observed the derivation of :report2 from :report1.
+# In contrast, the second bundle is attributed to Alice who observed 
+# the derivation of :report2 from :report1.
  
 alice:bundle2
    a prov:Bundle;
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Collection.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Collection.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -10,8 +10,11 @@
 
    prov:qualifiedGeneration [
       a prov:Generation;
-      dcterms:date "2012"^^xsd:gYear; # The generation is being qualified to be imprecise;
-   ];                                 # prov:generatedAtTime and prov:atTime specify exact instants in time.
+      
+      # The generation is being qualified to be imprecise;
+      # prov:generatedAtTime and prov:atTime specify exact instants in time.
+      dcterms:date "2012"^^xsd:gYear; 
+   ];                                 
 
    prov:hadMember
       <http://dbpedia.org/resource/John_Glover_Roberts,_Jr.>,
@@ -31,7 +34,8 @@
 
 :copied-string
    a prov:Entity;
-   prov:value "2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg S. Breyer S. Alito S. Sotomayor E. Kagan";
+   prov:value """2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg 
+                 S. Breyer S. Alito S. Sotomayor E. Kagan""";
    prov:wasQuotedFrom :page-by-composition;
 .
 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Communication.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Communication.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -2,6 +2,7 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
[email protected] ex:   <http://example.com/vocab#> .
 @prefix :     <http://example.com/> .
 
 :writing-celebrity-gossip 
@@ -13,14 +14,7 @@
 :informing-the-journalist 
    a prov:Communication;
    prov:activity   :voicemail-interception;
-   prov:atLocation :unknown-location;
-   rdfs:comment    """The journalist was informed by the private 
-                      investigator, but we don't know how or what he was told."""@en;
+   ex:mediaType "email";
 .
 
 :voicemail-interception a prov:Activity .
-
-:unknown-location 
-   a prov:Location;
-   rdfs:label "Location unknown"@en;
-.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_CompleteCollection.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_CompleteCollection.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -3,10 +3,11 @@
 @prefix dcterms: <http://purl.org/dc/terms/> .
 @prefix owl:     <http://www.w3.org/2002/07/owl#> .
 @prefix prov:    <http://www.w3.org/ns/prov#> .
[email protected] ex:      <http://example.com/vocab#> .
 @prefix :        <http://example.com/> .
 
 :the-first-us-supreme-court
-   a prov:Collection, prov:CompleteCollection, :JayCourt;
+   a prov:Collection, prov:CompleteCollection, ex:JayCourt;
    dcterms:description [
       a prov:Entity;
       prov:value "1789–1792: J. Rutledge Wm. Cushing J. Wilson J. Blair J. Iredell";
@@ -20,35 +21,17 @@
       a prov:Invalidation;
       dcterms:date "1792"^^xsd:gYear;
    ];
-   prov:hadMember [
-      a prov:KeyValuePair;
-      prov:pairKey   "chief";
-      prov:pairValue <http://dbpedia.org/resource/John_Jay>;
-   ], [
-      a prov:KeyValuePair;
-      prov:pairKey   "seat 4";
-      prov:pairValue <http://dbpedia.org/resource/John_Rutledge>;
-   ], [
-      a prov:KeyValuePair;
-      prov:pairKey   "seat 2";
-      prov:pairValue <http://dbpedia.org/resource/William_Cushing>;
-   ], [
-      a prov:KeyValuePair;
-      prov:pairKey   "seat 1";
-      prov:pairValue <http://dbpedia.org/resource/James_Wilson>;
-   ], [
-      a prov:KeyValuePair;
-      prov:pairKey   "seat 3";
-      prov:pairValue <http://dbpedia.org/resource/John_Blair,_Jr.>;
-   ], [
-      a prov:KeyValuePair;
-      prov:pairKey   "seat 5";
-      prov:pairValue <http://dbpedia.org/resource/James_Iredell>;
-   ];
+   prov:hadMember <http://dbpedia.org/resource/John_Jay>,
+                  <http://dbpedia.org/resource/John_Rutledge>,
+                  <http://dbpedia.org/resource/William_Cushing>,
+                  <http://dbpedia.org/resource/James_Wilson>,
+                  <http://dbpedia.org/resource/John_Blair,_Jr.>,
+                  <http://dbpedia.org/resource/James_Iredell>;
 .
 
 :page-by-composition
    a prov:Entity, :WikipediaPage;
-   prov:specializationOf <http://en.wikipedia.org/wiki/List_of_Justices_of_the_Supreme_Court_of_the_United_States_by_court_composition>;
+   prov:specializationOf 
+      <http://en.wikipedia.org/wiki/List_of_Justices_of_the_Supreme_Court_of_the_United_States_by_court_composition>;
    prov:generatedAtTime "2012-05-16T14:33"^^xsd:dateTime;
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_ContextualizedEntity.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_ContextualizedEntity.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -9,8 +9,10 @@
 :run1 {
    :a1
       a prov:Activity ;
+      
+      # Duration was 1 hour.
       prov:startedAtTime "2011-11-16T16:00:00"^^xsd:dateTime ;
-      prov:endedAtTime   "2011-11-16T17:00:00"^^xsd:dateTime ; # Duration was 1 hour.
+      prov:endedAtTime   "2011-11-16T17:00:00"^^xsd:dateTime ; 
       prov:wasAssociatedWith :bob ;
       prov:qualifiedAssociation [
          a prov:Association ;
@@ -26,8 +28,10 @@
 :run2 {
    :a2
       a prov:Activity ;
+      
+      # Duration was 7 hours.
       prov:startedAtTime "2011-11-17T10:00:00"^^xsd:dateTime ;
-      prov:endedAtTime   "2011-11-17T17:00:00"^^xsd:dateTime ; # Duration was 7 hours.
+      prov:endedAtTime   "2011-11-17T17:00:00"^^xsd:dateTime ; 
       prov:wasAssociatedWith :bob ;
       prov:qualifiedAssociation [
          a prov:Association ;
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Delegation.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Delegation.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -2,10 +2,11 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
[email protected] ex:   <http://example.com/vocab#> .
 @prefix :     <http://example.com/> .
   
 :policySale
-   a prov:Actvity;
+   a prov:Activity;
    prov:wasAssociatedWith :insuranceAgent_Frank;
 .
 
@@ -14,7 +15,7 @@
    prov:actedOnBehalfOf :insuranceCompany_A;
    prov:qualifiedDelegation [
       a prov:Delegation;
-      prov:agent   :insuranceCompany_A;
-      prov:hadRole :guarantor; # The company is the guarantor of the policy
+      prov:agent        :insuranceCompany_A;
+      ex:rewardScheme   "commission";
    ];
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Derivation.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Derivation.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -4,24 +4,30 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
+# The simplest (and least detailed) form of derivation.
 :bar_chart 
    a prov:Entity;
-   prov:wasDerivedFrom :aggregatedByRegions;  # The simplest (and least detailed) form of derivation.
+   prov:wasDerivedFrom :aggregatedByRegions;  
 .
 
+# The simple form can be accompanied by a qualified form:
+# which provides more details about how :bar_chart was 
+# derived from :aggregatedRegions.
+
 :bar_chart
    a prov:Entity;
-   prov:wasDerivedFrom :aggregatedByRegions;  # The simple form can be accompanied by a qualified form:
+   
+   prov:wasDerivedFrom :aggregatedByRegions;  
    prov:qualifiedDerivation [                  
-      a prov:Derivation;                      # An instance of Derivation provides more details
-      prov:entity      :aggregatedByRegions;  # about how :bar_chart was derived from :aggregatedRegions
-
-      :foo :bar;                              # Arbitrary domain-specific descriptions are permitted.
-
+      a prov:Derivation;                      
+      prov:entity      :aggregatedByRegions;  
+      :foo :bar;          
+                          
       # Derivations can cite the influencing Activity in doing the derivation.
       prov:hadActivity   :illustration_activity;
 
-      # They can also cite the Usage and Generation that the Activity performed to generate :bar_chart.
+      # They can also cite the Usage and Generation that the Activity 
+      # performed to generate :bar_chart.
       prov:hadUsage      :how_illustration_activity_used_data;
       prov:hadGeneration :bar_chart_generation;
    ];
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_EmptyCollection.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_EmptyCollection.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -1,26 +1,7 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
[email protected] xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix :     <http://example.org/> .
 
-:e1 a prov:Entity .
-:e2 a prov:Entity .
-
-:c  a prov:Dictionary, prov:EmptyCollection .
+:member1 a prov:Entity .
+:member2 a prov:Entity .
 
-:c1 
-   a prov:Dictionary;
-   prov:derivedByInsertionFrom :c;
-   prov:qualifiedInsertion [ 
-      a prov:Insertion;
-      prov:dictionary :c;
-      prov:inserted [ 
-         a prov:KeyValuePair;
-         prov:pairKey   "k1"^^xsd:string;
-         prov:pairValue :e1;
-      ], [ 
-         a prov:KeyValuePair;
-         prov:pairKey   "k2"^^xsd:string;
-         prov:pairValue :e2;
-      ];
-   ]; 
-. 
+:c a prov:EmptyCollection . # The collection is believed to not contain members.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_EntityInfluence.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_EntityInfluence.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -4,22 +4,13 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# EntityInfluence is intended to be an 'abstract' subclass of Influence 
-# for Influence that reference an entity. It is a superclass for concrete Influences 
-# (e.g. Usage, Derivation, Source) 
-
-# It is not recommended that the type EntityInfluence be used without also declaring
-# one of its concrete subclasses.
-
-# By definition, all instances of prov:Usage are also instances of prov:EntityInfluence.
-
 :sortActivity
    a prov:Activity;
    prov:used :datasetA;
    prov:qualifiedUsage [
       a prov:Usage, 
-        prov:EntityInfluence; ## Instances of Start, End, Usage, and Derivation qualify
-      prov:entity  :datasetA; ## the influencd of an Entity (cited by prov:entity)
+        prov:EntityInfluence; ## Instances of Start, End, Usage, Derivation, and Invalidation
+      prov:entity  :datasetA; ## qualify the influenced of an Entity (cited by prov:entity).
       prov:hadRole :inputToBeSorted;
    ];
    prov:generated :datasetB;
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Generation.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Generation.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -9,7 +9,8 @@
 :bbcNews2012-04-03 
    a prov:Entity, eg:DailyNews;
    rdfs:comment """The BBC news home page on 2012-04-03 contained a reference 
-                   to a given news item, but the BBC news home page on the next day did not.""";
+                   to a given news item, but the BBC news home page on 
+                   the next day did not.""";
 
    prov:wasGeneratedBy :publishingActivity;
    prov:qualifiedGeneration [
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_IncompleteCollection.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -0,0 +1,14 @@
[email protected] rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
[email protected] xsd:  <http://www.w3.org/2001/XMLSchema#> .
[email protected] owl:  <http://www.w3.org/2002/07/owl#> .
[email protected] prov: <http://www.w3.org/ns/prov#> .
[email protected] ex:   <http://example.com/vocab#> .
[email protected] :     <http://example.com/> .
+
+:todays-us-supreme-court
+   a prov:IncompleteCollection, # The asserter of this set believes that there are 
+       ex:RobertsCourt;         # more members to this collection of U.S. Supreme Court.
+
+   prov:hadMember <http://dbpedia.org/resource/Antonin_Scalia>,
+                  <http://dbpedia.org/resource/Elena_Kagan>;
+.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Influence.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Influence.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -15,9 +15,16 @@
 
 :conductingSurgery_1
    a prov:Activity;
-   my:wasConductedBy :bob;     # This unqualified influence is unknown in PROV, but would be a subproperty of wasAssociatedWith.
-   prov:qualifiedAssociation [ # Even though PROV systems do not understand my:wasConductedBy, 
-      a prov:Association,      # they can recognize that the unknown relation is being qualified with a prov:hadRole.
+   
+   # This unqualified influence is unknown in PROV, 
+   # but would be a subproperty of wasAssociatedWith.
+   my:wasConductedBy :bob;     
+   
+   # Even though PROV systems do not understand my:wasConductedBy, 
+   prov:qualifiedAssociation [ 
+      # they can recognize that the unknown relation 
+      # is being qualified with a prov:hadRole.
+      a prov:Association,     
         prov:AgentInfluence,   # Inferred
         prov:Influence;        # Inferred
       prov:agent   :bob;       # The object of my:wasConductedBy
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_InstantaneousEvent.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_InstantaneousEvent.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -7,8 +7,9 @@
 
 :bbcNews2012-04-03 
    a prov:Entity, :DailyNews;
-   rdfs:comment """The BBC news home page on 2012-04-03 contained a reference 
-                 to a given news item, but the BBC news home page on the next day did not.""";
+   rdfs:comment """The BBC news home page on 2012-04-03 contained 
+                   a reference to a given news item, but the BBC news 
+                   home page on the next day did not.""";
 
    prov:qualifiedGeneration [
       a prov:Generation, prov:InstantaneousEvent;
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Quotation.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Quotation.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -2,20 +2,25 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
[email protected] ex:   <http://example.com/vocab#> .
 @prefix :     <http://example.com/> .
 
-:bl-dagstuhl
+:dagstuhl-quote
    a prov:Entity;
+   prov:value   "why would people record and share provenance in the first place?";
    prov:wasQuotedFrom <http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop/>;
    prov:qualifiedQuotation [
       a prov:Quotation;
-      prov:entity    <http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop/>;
-      prov:hadQuoter <http://data.semanticweb.org/person/luc-moreau>;
-      prov:hadQuoted <http://data.semanticweb.org/person/paul-groth>;
-   ] .
+      prov:entity     <http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop/>;
+      ex:fromSection 2;
+   ];
+   prov:wasAttributedTo <http://data.semanticweb.org/person/luc-moreau>;
+.
 
 <http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop/> 
-   a prov:Entity .
+   a prov:Entity;
+   prov:wasAttributedTo <http://data.semanticweb.org/person/paul-groth>;
+.
 
 <http://data.semanticweb.org/person/luc-moreau> a prov:Person, prov:Agent .
 <http://data.semanticweb.org/person/paul-groth> a prov:Person, prov:Agent .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Revision.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Revision.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -2,6 +2,7 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
[email protected] ex:   <http://example.com/vocab#> .
 @prefix :     <http://example.com/> .
 
 :draft2 
@@ -10,18 +11,19 @@
    prov:qualifiedRevision [
       a prov:Revision;
       prov:entity        :draft1;
+      ex:peerReviewed     false;
    ];
 
-   prov:wasAttributedTo :edward;
+   prov:wasAssociatedWith :edward;
    prov:qualifiedAssociation [
       a prov:Association;
-      prov:agent        :edward;
-      prov:hadRole      :editor;
+      prov:agent          :edward;
+      prov:hadRole        :editor;
    ];
 .
 
 :draft1 a prov:Entity .
 
 :edward 
-   a prov:Person, prov:Agent, prov:Entity;
+   a prov:Person, prov:Agent;
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_SoftwareAgent.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_SoftwareAgent.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -4,7 +4,8 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# Googlebot is Google's web crawling bot; it can initiate and participate in web-crawling activities.
+# Googlebot is Google's web crawling bot; 
+# it can initiate and participate in web-crawling activities.
 
 :googlebot
    a prov:SoftwareAgent;
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_asInBundle.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_asInBundle.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -24,5 +24,8 @@
    .
 }
 
-tool:bob-2011-11-17 prov:specializationOf :bob . # This is inferred from prov:mentionOf
-tool:bob-2011-11-17 prov:alternateOf      :bob . # This is inferred from prov:specializationOf
+# This is inferred from prov:mentionOf
+tool:bob-2011-11-17 prov:specializationOf :bob . 
+
+# This is inferred from prov:specializationOf
+tool:bob-2011-11-17 prov:alternateOf      :bob . 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadActivity.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadActivity.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -4,8 +4,9 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# The activity that which used, generated, invalidated or was responsible for the entity.
-# In this qualified Derivation prov:hadActivity references the activity that generated the bar chart.
+# The activity that which used, generated, invalidated 
+# or was responsible for the entity. In this qualified Derivation 
+# prov:hadActivity references the activity that generated the bar chart.
 
 :bar_chart
    a prov:Entity;
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadGeneration.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadGeneration.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -5,9 +5,10 @@
 @prefix :     <http://example.com/> .
 
 :bar_chart   
-   prov:wasDerivedFrom :aggregatedByRegions;
+   prov:wasDerivedFrom   :aggregatedByRegions;
    prov:qualifiedDerivation [
       a prov:Derivation;
+      prov:entity        :aggregatedByRegions;
       prov:hadGeneration :illustration;
    ];
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadMember.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadMember.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -9,12 +9,15 @@
    a prov:Collection, :RobertsCourt;
    dcterms:description [
       a prov:Entity;
-      prov:value "2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg S. Breyer S. Alito S. Sotomayor E. Kagan";
+      prov:value 
+         "2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg S. Breyer S. Alito S. Sotomayor E. Kagan";
       prov:wasQuotedFrom :page-by-composition;
    ];
    prov:qualifiedGeneration [
       a prov:Generation;
-      dcterms:date "2012"^^xsd:gYear; # Since we need to be imprecise, we can't use prov:generatedAtTime or prov:atTime
+      
+      # Since we need to be imprecise, we can't use prov:generatedAtTime or prov:atTime
+      dcterms:date "2012"^^xsd:gYear;
    ];
 
    prov:wasDerivedFrom :the-first-us-supreme-court;
@@ -33,12 +36,14 @@
 
 :page-by-seat
    a prov:Entity, :WikipediaPage;
-   prov:specializationOf <http://en.wikipedia.org/wiki/List_of_Justices_of_the_Supreme_Court_of_the_United_States_by_seat>;
+   prov:specializationOf 
+      <http://en.wikipedia.org/wiki/List_of_Justices_of_the_Supreme_Court_of_the_United_States_by_seat>;
    prov:generatedAtTime "2011-08-31T12:51"^^xsd:dateTime;
 .
 
 :page-by-composition
    a prov:Entity, :WikipediaPage;
-   prov:specializationOf <http://en.wikipedia.org/wiki/List_of_Justices_of_the_Supreme_Court_of_the_United_States_by_court_composition>;
+   prov:specializationOf 
+      <http://en.wikipedia.org/wiki/List_of_Justices_of_the_Supreme_Court_of_the_United_States_by_court_composition>;
    prov:generatedAtTime "2012-05-16T14:33"^^xsd:dateTime;
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadPrimarySource.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_hadPrimarySource.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -8,7 +8,7 @@
 @prefix frbr:    <http://purl.org/vocab/frbr/core#> .
 @prefix :        <http://example.com/> .
 
-## Having an original source is a particular case of derivation.
+## Having an primary source is a particular case of derivation.
 
 <http://www.gutenberg.org/ebooks/996>
    a prov:Entity, frbr:Work;
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_invalidated.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_invalidated.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -15,7 +15,9 @@
    a prov:Entity, :Painting;
    rdfs:label "Le Peintre"@fr, "The Painter"@en;
    prov:wasAttributedTo <http://dbpedia.org/resource/Pablo_Picasso>;
-   prov:wasInvalidatedBy :Swissair_Flight_111_crash;   # Inferred from prov:invalidated
+   
+   # Inferred from prov:invalidated
+   prov:wasInvalidatedBy :Swissair_Flight_111_crash;   
 .
 
 <http://dbpedia.org/resource/Pablo_Picasso> 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_mentionOf.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_mentionOf.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -24,5 +24,8 @@
    .
 }
 
-tool:bob-2011-11-17 prov:specializationOf :bob . # This is inferred from prov:mentionOf
-tool:bob-2011-11-17 prov:alternateOf      :bob . # This is inferred from prov:specializationOf
+# This is inferred from prov:mentionOf
+tool:bob-2011-11-17 prov:specializationOf :bob . 
+
+# This is inferred from prov:specializationOf
+tool:bob-2011-11-17 prov:alternateOf      :bob . 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_pair.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_pair.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -9,17 +9,21 @@
    a prov:Dictionary, :RobertsCourt;
    dcterms:description [
       a prov:Entity;
-      prov:value "2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg S. Breyer S. Alito S. Sotomayor E. Kagan";
+      prov:value """2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg 
+                    S. Breyer S. Alito S. Sotomayor E. Kagan""";
       prov:wasQuotedFrom :page-by-composition;
    ];
    prov:qualifiedGeneration [
       a prov:Generation;
-      dcterms:date "2012"^^xsd:gYear; # Since we need to be imprecise, we can't use prov:generatedAtTime or prov:atTime
+      
+      # Since we need to be imprecise, we can't use prov:generatedAtTime or prov:atTime
+      dcterms:date "2012"^^xsd:gYear;
    ];
 
    prov:wasDerivedFrom :the-first-us-supreme-court;
 
-   prov:qualifiedMembership [ # We can qualify a KeyValuePair's membership in this Dictionary.
+   # We can qualify a KeyValuePair's membership in this Dictionary.
+   prov:qualifiedMembership [ 
       a prov:Membership;
       prov:pair [            
          a prov:KeyValuePair;
@@ -27,12 +31,16 @@
          prov:pairValue <http://dbpedia.org/resource/John_Glover_Roberts,_Jr.>;
       ];
       
-      prov:hadRole :chief-justice;     # Here is my little addition about Chief Roberts.
+       # Here is my little addition about Chief Roberts.
+      prov:hadRole :chief-justice;    
    ];
-   prov:qualifiedMembership [ # We can also qualify many KeyValuePairs' memberships in this Dictionary.
+   
+   # We can also qualify many KeyValuePairs' memberships in this Dictionary.
+   prov:qualifiedMembership [ 
       a prov:Membership;
 
-      prov:hadRole :associate-justice; # Here is my little addition about the rest of the Chiefs.
+      # Here is my little addition about the rest of the Chiefs.
+      prov:hadRole :associate-justice; 
 
       prov:pair [ # The same property is used to point to one or many KeyValuePairs.
          a prov:KeyValuePair;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_prov-dm.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -0,0 +1,7 @@
[email protected] rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
[email protected] xsd:  <http://www.w3.org/2001/XMLSchema#> .
[email protected] owl:  <http://www.w3.org/2002/07/owl#> .
[email protected] prov: <http://www.w3.org/ns/prov#> .
[email protected] :     <http://example.com/> .
+
+# TODO
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedAssociation.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedAssociation.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -10,26 +10,26 @@
                            :steve;
     prov:qualifiedAssociation [
         a prov:Association;
-        prov:agent :derek;
-        prov:role  :illustrationist;
+        prov:agent   :derek;
+        prov:hadRole :illustrationist;
         rdfs:comment "Derek made the illustration"@en
     ];
     prov:qualifiedAssociation [
         a prov:Association;
-        prov:agent :steve;
-        prov:role  :stylist;
+        prov:agent   :steve;
+        prov:hadRole :stylist;
         prov:hadPlan :style-guide;
         rdfs:comment "Steve helped Derek conform with the publisher's style guide."@en 
     ];
     prov:qualifiedAssociation [
         a prov:Association;
-        prov:agent :derek;
-        prov:role  :stylist;
+        prov:agent   :derek;
+        prov:hadRole :stylist;
         rdfs:comment "But Derek also did some styling of his own."@en 
     ] .
 
-:derek a prov:Person, prov:Agent, prov:Entity .
-:steve a prov:Person, prov:Agent, prov:Entity .
+:derek a prov:Person, prov:Agent .
+:steve a prov:Person, prov:Agent .
 
 :illustratonist a prov:Role .
 :stylist        a prov:Role .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedAttribution.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedAttribution.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -2,6 +2,7 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
[email protected] ex:   <http://example.com/vocab#> .
 @prefix :     <http://example.com/> .
 
 ## When the role of the agent is not known or does not matter:
@@ -19,9 +20,7 @@
    a prov:Entity;
    prov:qualifedAttribution [
       a prov:Attribution;
-      prov:agent   :civil_action_group;
-      prov:hadRole :owner;
+      prov:agent :civil_action_group;
+      ex:hadRole :owner;
    ]
 .
-
-:owner a prov:Role .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedDelegation.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedDelegation.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -2,6 +2,7 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
[email protected] ex:   <http://example.com/vocab#> .
 @prefix :     <http://example.com/> .
 
 :traffic-stop
@@ -10,13 +11,17 @@
                           :traffic-officer-34;
    prov:qualifiedAssociation [
       a prov:Association;
-      prov:agent   :chauffeur;
-      prov:hadRole :violator; # The chauffeur was the one violating traffic rules.
+      prov:agent :chauffeur;
+      
+      # The chauffeur was the one violating traffic rules.
+      ex:hadRole :violator; 
    ];
    prov:qualifiedAssociation [
       a prov:Association;
-      prov:agent   :traffic-officer-34;
-      prov:hadRole :enforcer; # The officer was the one enforcing the traffic rules.
+      prov:agent :traffic-officer-34;
+      
+      # The officer was the one enforcing the traffic rules.
+      ex:hadRole :enforcer; 
    ];
 .
 
@@ -25,8 +30,10 @@
    prov:actedOnBehalfOf :celebrity-in-car;
    prov:qualifiedDelegation [
       a prov:Delegation;
-      prov:agent   :celebrity-in-car;
-      prov:hadRole :employer; # The celebrity employed the chauffeur during the enforcement.
+      prov:agent :celebrity-in-car;
+      
+      # The celebrity employed the chauffeur during the enforcement.
+      ex:hadRole :employer; 
    ];
 .
 
@@ -35,7 +42,9 @@
    prov:actedOnBehalfOf :city-of-Paris;
    prov:qualifiedDelegation [
       a prov:Delegation;
-      prov:agent   :city-of-Paris;
-      prov:hadRole :employer; # The city of Paris employed the officer during the enforcement.
+      prov:agent :city-of-Paris;
+      
+      # The city of Paris employed the officer during the enforcement.
+      ex:hadRole :employer; 
    ];
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedDerivation.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedDerivation.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -8,7 +8,9 @@
    prov:wasDerivedFrom :aggregatedByRegions;
    prov:qualifiedDerivation [
       a prov:Derivation;
-      prov:entity :aggregatedByRegions;         
-      prov:hadGeneration :illustration; ## More details about the activity underpinning the derivation
+      prov:entity :aggregatedByRegions; 
+      
+      ## More details about the activity underpinning the derivation        
+      prov:hadGeneration :illustration; 
    ];
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInfluence.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedInfluence.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -13,10 +13,14 @@
 
 :conductingSurgery_1
    a prov:Activity;
-   prov:wasInfluencedBy :bob;  # This unqualified influence is unknown in PROV, this would be a subproperty of wasAssociatedWith
-   prov:qualifiedInfluence [   # Even though PROV systems do not understand :wasConductedBy, 
-      a prov:Influence;        # Inferred
-      prov:agent   :bob;       # The object of :wasConductedBy
+   
+   # This unqualified influence is unknown in PROV, 
+   # this would be a subproperty of wasAssociatedWith
+   prov:wasInfluencedBy :bob;  
+   prov:qualifiedInfluence [   
+      # Even though PROV systems do not understand :wasConductedBy, 
+      a prov:Influence;      # Inferred
+      prov:agent   :bob;     # The object of :wasConductedBy
       prov:hadRole :surgeon;
    ];
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedMembership.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedMembership.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -7,7 +7,8 @@
 :todays-us-supreme-court-as-dictionary
    a prov:Dictionary, :RobertsCourt;
 
-   prov:qualifiedMembership [ # We can qualify a KeyValuePair's membership in this Dictionary.
+   # We can qualify a KeyValuePair's membership in this Dictionary.
+   prov:qualifiedMembership [ 
       a prov:Membership;
       prov:pair [            
          a prov:KeyValuePair;
@@ -15,14 +16,21 @@
          prov:pairValue <http://dbpedia.org/resource/John_Glover_Roberts,_Jr.>;
       ];
       
-      :hadRole :chief-justice;     # Here is my little addition about Chief Roberts. (note, we can't use prov:hadRole)
+      # Here is my little addition about Chief Roberts. 
+      # (note, we can't use prov:hadRole)
+      :hadRole :chief-justice;     
    ];
-   prov:qualifiedMembership [ # We can also qualify many KeyValuePairs' memberships in this Dictionary.
+   
+   # We can also qualify many KeyValuePairs' memberships in this Dictionary.
+   prov:qualifiedMembership [ 
       a prov:Membership;
 
-      :hadRole :associate-justice; # Here is my little addition about the rest of the Chiefs. (note, we can't use prov:hadRole)
+      # Here is my little addition about the rest of the Chiefs. 
+      # (note, we can't use prov:hadRole)
+      :hadRole :associate-justice; 
 
-      prov:pair [ # The same property is used to point to one or many KeyValuePairs.
+      # The same property is used to point to one or many KeyValuePairs.
+      prov:pair [ 
          a prov:KeyValuePair;
          prov:pairKey   "seat 9";
          prov:pairValue <http://dbpedia.org/resource/Antonin_Scalia>;
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedQuotation.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedQuotation.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -20,7 +20,7 @@
       a prov:Quotation;
       prov:entity 
         <http://thinklinks.wordpress.com/2012/03/07/thoughts-from-the-dagstuhl-principles-of-provenance-workshop>;
-      my:hadQuoter <http://data.semanticweb.org/person/luc-moreau>;
+      my:fromSection 1;
    ];
 .
 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedSource.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedSource.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -7,10 +7,12 @@
 
 :temperatureDisplay
    a prov:Entity;
-   prov:hadOriginalSource :sensorReading20120510;
+   prov:hadPrimarySource :sensorReading20120510;
    prov:qualifiedSource [
       a prov:Source;
-      prov:entity         :sensorReading20120510;
+      prov:entity        :sensorReading20120510;
+      ex:precisionLoss true;
+      rdfs:comment "The displayed temperature does not show the full precision available in the reading.";
    ];
 .
 
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedTrace.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedTrace.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -17,5 +17,6 @@
 
 :butterfly_456
    a prov:Entity, :Butterfly;
-   foaf:depiction <http://upload.wikimedia.org/wikipedia/commons/3/3d/Charaxes_brutus_natalensis.jpg>;
+   foaf:depiction 
+        <http://upload.wikimedia.org/wikipedia/commons/3/3d/Charaxes_brutus_natalensis.jpg>; 
 .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedUsage.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_qualifiedUsage.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -2,16 +2,19 @@
 @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
 @prefix owl:  <http://www.w3.org/2002/07/owl#> .
 @prefix prov: <http://www.w3.org/ns/prov#> .
[email protected] ex:   <http://example.com/vocab#> .
 @prefix :     <http://example.com/> .
 
 :newsPublication
    a prov:Activity;
-   prov:used :tsunami_image;
+   prov:used                    :tsunami_image;
    prov:qualifiedUsage [
       a prov:Usage;
-      :hasCopyrightPermission :licensedUse;  
-      :hasOwner               :reuters;
+      prov:entity               :tsunami_image;
+      ex:hasCopyrightPermission :licensedUse;  
+      ex:hasOwner               :reuters;
    ];
 .
 
-:reuters a prov:Agent .
+:tsunami_image a prov:Entity .
+:reuters       a prov:Agent .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_value.ttl	Mon Jul 16 20:09:12 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_value.ttl	Mon Jul 16 20:10:33 2012 +0100
@@ -7,7 +7,8 @@
 :copied-string
    a prov:Entity;
    prov:value 
-      "2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg S. Breyer S. Alito S. Sotomayor E. Kagan";
+      """2010–present: A. Scalia A. Kennedy C. Thomas R.B. Ginsburg 
+         S. Breyer S. Alito S. Sotomayor E. Kagan"""";
    prov:wasQuotedFrom 
       <http://en.wikipedia.org/wiki/List_of_Justices_of_the_Supreme_Court_of_the_United_States_by_court_composition>;
 .
--- a/model/Makefile	Mon Jul 16 20:09:12 2012 +0100
+++ b/model/Makefile	Mon Jul 16 20:10:33 2012 +0100
@@ -60,5 +60,5 @@
 
 
 
-//	xpath prov-dm.xhtml //div[@class='anexample']
+#//	xpath prov-dm.xhtml //div[@class='anexample']
 
--- a/model/comments/issue-437-tom.txt	Mon Jul 16 20:09:12 2012 +0100
+++ b/model/comments/issue-437-tom.txt	Mon Jul 16 20:10:33 2012 +0100
@@ -32,7 +32,9 @@
    >     knowledge about this thing, without benefit from hindsight.
    > 
 
-TODO
+The group voted for this definition at F2F3 ....
+
+
 
    > 
    > 
--- a/model/comments/issue-438-graham.txt	Mon Jul 16 20:09:12 2012 +0100
+++ b/model/comments/issue-438-graham.txt	Mon Jul 16 20:10:33 2012 +0100
@@ -6,7 +6,7 @@
    > PROV-DM than as a separate document.
 
 PROV-DM is already too long, it's better to keep it separate,
-also making it clear that model and serialization are distinct.
+also making it clear that concept model and serialization are distinct.
 
    > 
    > Some comments for consideration before or after last call:
@@ -14,7 +14,7 @@
    > Section 1.1: since we don't have a candidate for PROV-XML going into
    > last call, I think that the reference to [PROV-XML] should be dropped.
 
-TODO?
+TODO
 
    > 
    > Also, for a section titled "purpose of this document...", I find it
@@ -25,8 +25,7 @@
    > reference the corresponding section in PROV-DM (reducing possibilities
    > for key information getting out of phase).
 
-We are not expect prov-o do refer to prov-dm for the namespace.
-The namespace for all our specs. It's reasonable to mention it here.
+It's reasonable to mention the namespace once, here.
 
    > 
    > Section 2.4: I would have expected to see this section deal with the
@@ -36,7 +35,7 @@
    > of resulting URIs, such a central aspect of PROV-N in particular, and
    > provenance in general.
 
-TODO: as a minimum, add cross reference
+Added cross reference.
 
    > 
    > Section 3.*; there are several references to "non-terminal".  This is
@@ -45,7 +44,7 @@
    > audience.  For example, "how each constituent of a PROV-DM Entity maps
    > to a syntax element" would be more descriptive.
 
-TODO.
+Done.
 
    > 
    > As I write this, I'm thinking that this aspect of mapping from PROV-DM
@@ -58,7 +57,7 @@
    > separate document isn't really a useful separation - see comment at
    > top).
 
-Whether we have prov-n as an appendix or not, wouldn't change the fact
+Whether we have prov-n as an appendix or not wouldn't change the fact
 that we have those tables with cross reference to dm definitions.
 
    > 
@@ -92,7 +91,7 @@
    > 
 
 all-or-nothing is what was agreed by the WG.
-It used to be that we could drop the trailing identifiers, but this was
+It used to be that we could drop the trailing arguments, but this was
 deemed ambiguous.
 
 
@@ -101,14 +100,14 @@
    > This section introduces reserved attribute names, but there's no
    > indication of where to look for a description of what they mean.
 
-Stian made the comment also:  add ref to DM.
+Stian made the comment also:  added ref to DM.
    > 
    > SECTION 3.7.3.1
    > 
    > This section introduces reserved type values, but there's no
    > indication of where to look for a description of what they mean.
 
-Stian made the comment also:  add ref to DM.
+Stian made the comment also:  added ref to DM.
    > 
    > Section 3.7.4:
    > 
@@ -117,11 +116,14 @@
    > here is a bit confusing - I would expect the namespace URI to *refer
    > to* the namespace.  I'd say something more like "belongs to" or "is
    > part of".
+
+OK, fixed.
+
    > 
    > I would not repeat the namespace URIs here.
    > 
 
-TODO
+Removed.
 
    > Section 4
    > 
@@ -142,10 +144,8 @@
    > A PROV-N expression matches the _bundle_ syntax production.
    > ]]
 
-This is the purpose of section 2.2.
-
-In fact, we may want to break section 2.2 in two subsections, just
-after the definition of production.
+This is the purpose of section 2.3 (separated from section 2.2 to make this clearer).
+Text has been streamlined.
 
 
    > 
@@ -177,6 +177,9 @@
    > registration makes it seem that it's all a but of an afterthought.
    > Also, I suspect it won't get reviewed so carefully here, and security
    > is one area which really *needs* as much review as it can get.
+
+To be discussed by email on this issue.
+
    > 
    > The second paragraph doesn't make sense to me: PROV-N does NOT express
    > arbitrary application data.
--- a/model/comments/issue-438-james.txt	Mon Jul 16 20:09:12 2012 +0100
+++ b/model/comments/issue-438-james.txt	Mon Jul 16 20:10:33 2012 +0100
@@ -15,10 +15,14 @@
 fixed
 
    > 2. Example 2: The sentence in the example has no verb.
+
+fixed
    > 
    > 3.  Example 8: It looks strange to me that the three statements all
    > use ex:a10 instead of different ids.  (Also, why a10? Maybe this used
    > to be example 10)
+
+a10 -> a1
    > 
    > 4. S2.5: "cooments" sp.
 
@@ -37,6 +41,9 @@
 
    > 
    > 7. Example 25, first statement, the first comma should be semicolon
+
+fixed
+
    > 
    > 8.  Many relations (wasStartedBy, etc.) have a "Note" saying that at
    > least one of the optional parameters must be present.  Please
@@ -44,15 +51,23 @@
    > one.  Alternatively, they could be expressed by adding grammar rules
    > (I think this was suggested and discarded before, it's probably not
    > very maintainable.)
+
+TODO
+
    > 
    > 9.  S3.4.1.  There are no examples exercising the option to declare
    > namespaces in this section.  Please add one, or link to the later
    > section on namespace declarations that does have these examples.
+
+Added example 41
+
    > 
    > 10.  S3.6.  Cf. my suggestion for PROV-DM to just have a single binary
    > relation memberOf(element, collection), without the id, attributes or
    > completeness flag.  This section would also have to change if this
    > suggestion is adopted.
+
+Resolution was to move out dictionaries and keep collections unchanged.
    > 
    > 11.  In productions 59-63, it seems that some nonterminals are
    > references to SPARQL nonterminals, while others have the same name as
@@ -60,6 +75,12 @@
    > include all of these to make the PROV-N grammar self-contained? (It
    > also might help to give new names to the SPARQL nonterminals that are
    > being redefined.)
+
+I was keen to reuse existing productions to avoid having to justify them.
+The only one not redefined is PN_LOCAL, but I thought it was OK to keep
+the name. 
+Thoughts?  Such names can still be changed after LC.
+
    > 
    > 12.  The hyperlink on PN_PREFIX goes to the wrong place in SPARQL.
 
@@ -83,15 +104,24 @@
    > 
    > 14.  S4.  Suggest pointing out that bundles cannot be nested (because
    > bundles aren't expressions)
+
+This was added.
+
    > 
    > 15.  ProvRDF and ProvXML wiki page citations: I don't see why we need
    > these, and if we do, I don't think the authorship is correct - I am
    > definitely not the only contributor to ProvRDF, and unlikely to do any
    > more work on ProvXML (which should eventually be a note).
+
+Can you provide authors for ProvRDF?
+For now you did this provxml page, so it's appropriate to cite you
    > 
    > 16.  PROV-SEM will eventually become a note if published, but I'm not
    > sure we need to explicitly reference it here as a wiki page.  I guess
    > this can change later as appropriate.
+
+It's OK, it's informative.  
+
    > 
    > --James
    > -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. 
--- a/model/comments/issue-438-khalid.txt	Mon Jul 16 20:09:12 2012 +0100
+++ b/model/comments/issue-438-khalid.txt	Mon Jul 16 20:10:33 2012 +0100
@@ -46,11 +46,16 @@
    >   one of id, entity, time, and attributes must be present." However,
    >   according to the definition of Usage in [12], the activity
    >   identifier is not optional.
+
+correct, the activity identifier is not optional
+
    > 
    > - Section 3.2.1, defines derivation as: [17] derivationExpression ::=
    >  "wasDerivedFrom" "(" optionalIdentifier eIdentifier "," eIdentifier (
    >  "," aIdentifierOrMarker "," gIdentifierOrMarker ","
    >  uIdentifierOrMarker )? optionalAttributeValuePairs ")"
+
+
    >  
    >  I may be wrong, but the ( "," aIdentifierOrMarker ","
    >  gIdentifierOrMarker "," uIdentifierOrMarker )?  means that either all
@@ -62,12 +67,22 @@
    > eIdentifier "," eIdentifier ( "," aIdentifierOrMarker)?  (","
    > gIdentifierOrMarker ")? (," uIdentifierOrMarker )?
    > optionalAttributeValuePairs ")"
+
+No, we went for a all-or-nothing approach for optionals.
    > 
    > - Looking at the definition of Revision, Quotation and Primary source,
    >   I am wondering if it would make sense to say something about the
    >   kind of derivation in the derivationExpression, to state that it may
    >   contain an additional optional element that specifies the kind of
    >   derivation.
+
+This is already said in prov-dm, and we just wanted to have the minimum 
+necessary to explain the syntax.
+
+
+Thanks,
+Luc
+
    > 
    > Khalid
    > 
--- a/model/comments/issue-438-stian.txt	Mon Jul 16 20:09:12 2012 +0100
+++ b/model/comments/issue-438-stian.txt	Mon Jul 16 20:10:33 2012 +0100
@@ -8,9 +8,21 @@
    > Of my comments below, the following SHOULD be addressed before
    > publishing as Last Call draft:
    > * introduce "nonterminal"
+
+Section 2.2 introduces it, and was all reformatted.
+
    > * fix syntax errors
    > * memberOf -> hasMember
+
+hadMembers is now defined.
+
    > * clarify/remote  % encoding in local part of QUALIFIED_NAME
+
+Section 3.7.1 rewritten.
+In short:
+- %-encoding used as per IRI spec
+- new \-encoding captured by PN_CHARS_ESC
+
    > * clarifications about namespace scoping/overwrite
    > 
    > Given a minimum of the above are addressed, then yes, the document can
@@ -37,12 +49,18 @@
    > something like "Those readers may find the definition _expression_ a
    > useful entry point into the grammar".
    > 
+
+TODO
+
    > 
    > 
    > 
    > > > 1.3 The PROV namespace (see Section 4.7.1)
    > The section number should be 3.7.4
    > 
+
+Fixed.
+
    > 
    > > > 2.1
    > > > All PROV data model relations involve two primary elements, the subject and the object, in this order
@@ -50,19 +68,30 @@
    > 
    > > > activity(a1)
    > > > entity(e1)
+
+
    > So those might not be 'relations' - but that is not clear from the
    > above. Rephrase to something like "Many PROV-N predicates denote a
    > relationship between two primary elements, the _subject_ and the
    > _object_, in this order".
+
+
+Table 2 in PROV-DM shows that entity/activity are prov-dm types, as opposed to prov-dm relations.
+So I think this is OK.
+
    > 
    > I would include an entity() example in this section, to show that not
    > all have subject and object. I would do this before Example 1 and the
    > above sentence.
+
    > 
    > > > Example 0:
    > > > In this example, _e1_ is asserted to be a PROV _entity_.
    > > >    entity(e1)
    > 
+
+Agreed, I have added an example for entity/activity.
+
    > 
    > > > Example 2
    > > > In the following expressions, the optional activity a along with the generation and usage identifiers g2 and u1:
@@ -71,16 +100,25 @@
    > expands the above derivation relation by providing additional
    > elements: the activity _a_, the generation _g2_ and the usage _u1_.
    > 
+
+Done.
+
+
    > > > Extended Backus-Naur Form (EBNF) notation
    > This is again well known in CS - but a hyperlink would be useful. Now
    > I had to go to Wikipedia. However the mini-intro right below is
    > useful. "The below is a summary of "
+
    > 
    > 
    > I would be more precise, that "The PROV-N grammar is specified in this
    > document using the .." - as knowledge of EBNF is not a requirement for
    > using PROV-N - just for understanding the definitions in this
    > document.
+
+Text was edited by Stian, thanks!
+
+
    > 
    > 
    > 
@@ -94,10 +132,15 @@
    > _expression_ above, e.g. entityExpression, corresponds to one element
    > (e.g. entity) in the PROV data model."
    > 
+
+Done
+
    > 
    > Why hyperlinks on 'expression' here in this section? It goes 1 line up
    > or down, it's very confusing.  Use <code>expression</code> or similar
    > instead.
+
+Yep
    > 
    > 
    > > > such that the text for an element matches the corresponding expression production of the grammar.
@@ -110,12 +153,22 @@
    > PROV-N documents. That might well be the case, as they want to reuse
    > namespaces, etc - but that should then be stated explicitly, kind of
    > like
+
+
+I don't think we stated these examples were all documents.  Very often
+we just discuss expressions.
+
+
    > 
    > 
    > > > 2.3 Optional attributes
    > Should add something like "The interpretation of an optional attribute
    > that is not provided is given by Section 4.1 in PROV-CONSTRAINTS"
    > somewhere.
+
+No action here.
+
+
    > 
    > 
    > > > 2.4 Identifiers and attributes
@@ -131,6 +184,8 @@
    > "Almost all expressions defined in this grammar may also include an
    > identifier for the expression.  Most expression can also include a set
    > of attribute-value pairs, grouped within square brackets."
+
+Done
    > 
    > 
    > "By convention, optional identifiers are separated using a semi-colon
@@ -143,16 +198,23 @@
    > permutations that are non-ambigious? The defition for
    > optionalIdentifier says no. (good!)
    > 
+
+Done
    > 
    > > > Example 7
    > > > ..
    > > > The third example shows that one can optionally indicate the missing identifier using the - marker.
    > Add "This is equivalent to the first expression".
+
+Done
    > 
    > > > Example 8
    > > > The first and second activities have no attributes.
    > Add ", and are equivalent."
-   > 
+   >
+
+Done
+ 
    > 
    > > > 2.5 Comments
    > > > ... such cooments ...
@@ -176,6 +238,9 @@
    > > > wasGeneratedBy(ex:g1; e, a, tr:WD-prov-dm-20111215)
    > because tr:WD-prov-dm-20111215 is not a valid timeOrMarker.
    > 
+
+yes fixed
+
    > 
    > I would also recommend that these show-cases use the same names, so
    > rather than say intermixing a1 and ex:edit1 - just always use a1.
@@ -188,8 +253,16 @@
    > "Since" does not make sense here - where is it stated that they MUST
    > be present? Here. So try rather:  "... are not valid in PROV-N; at
    > least one of... MUST be present"
+
+'Since' is justified, since it is a prov-dm requirement.
+
    > 
    > Equivalent comment for this kind of paragraph for usage, startExpression, etc.
+
+
+We see this as "semantic/post-parsing" checking. It would unecessarily
+make the productions complicated.
+
    > 
    > 
    > 
@@ -299,12 +372,21 @@
    > prov:QUALIFIED_NAME union xsd:anyURI - but I'm not sure as "a Literal
    > may be an IRI-typed string (with datatype xsd:anyURI); such IRI has no
    > specific interpretation in the context of PROV.".
+
+I added a forwarded pointer at the first occurrence of this convenienceNotation.
+
    > 
    > So does prov:type="contract" simply mean "contract" out of thin air
    > rather than bound to any namespace? We would struggle to translate
    > this to PROV-O where prov:type maps to rdf:type. If this is the case,
    > then I expect all prov:type="prov.*" should be with single quotes
    > instead.
+
+Yes, it's the case that all prov:type='prov:*' are in single quote.
+
+It is fine to require a conversion function if they don't use URI like types.
+
+
    > 
    > 
    > http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/ED-prov-dm-20120628/prov-dm.html#term-attribute-type
@@ -313,6 +395,9 @@
    > PROV-DM Value." - but does not distinguish between 'single',  "double"
    > quote and "qualified" %% prov:QUALIFIED_NAME notation.
    > 
+
+Convenience notation appears later.
+
    > 
    > 
    > > > 3.4.1 Bundle declaration
@@ -323,11 +408,17 @@
    > > >   ...
    > > > endBundle
    > Nitpicking, but I would use " // ... " as "..." is not valid PROV-N.
+
+done
+
    > 
    > 
    > 3.4.1 should also provide a forward link to 4. Toplevel Bundle,
    > because otherwise the example does not make sense (prefix ex: is not
    > declared)
+
+prefix ex: was added since the named bundle must be self contained
+
    > 
    > 
    > 
@@ -360,6 +451,9 @@
    > 'members'. (I do not propose to make the entity or entity set as first
    > argument)
    > 
+
+hadMembers
+
    > 
    > Opposite of all other example, this example does not start with a
    > 'full' expression, as the 'complete' argument is missing. Also the
@@ -369,6 +463,8 @@
    >  memberOf(mId; c, {e1, e2, e3}, true, [dct:description="All of them"])
    >   // Collection membership
    > 
+
+Done
    > 
    > > > // default "complete" flag is false
    > This is a PROV-DM or PROV-CONSTRAINT matter and should not be
@@ -388,6 +484,8 @@
    > First one of these should be invalid by the same reason as for usage,
    > and thus should not be listed. (It would need to include some
    > attributes in [] to be valid)
+
+I don't understand why?
    > 
    > 
    > 3.7.1 Identifier
@@ -421,6 +519,9 @@
    > > > 3.7.2 Attribute
    > > > The reserved attributes in the PROV namespace are the following.
    > add "Their meaning is explained by [PROV-DM]".
+
+DONE.
+
    > 
    > 
    > 	<INT_LITERAL>	   ::=   	("-")? (DIGIT)+
@@ -470,7 +571,7 @@
    > equivalences.
 
 
-TODO: revisit example 33, and make the conveninence notation clearer.
+Done, added an example to make the convenience notation clearer.
 
    > 
    > 
@@ -480,6 +581,8 @@
    > Add "Their meaning is defined by [PROV-DM].
    > 
    > 
+
+DONE
    > 
    > 
    > 
@@ -580,6 +683,9 @@
    > in the first place, if still only a selection of possibly local names
    > (given a general prefix) is valid - I think it just adds potential
    > complexity.
+
+This is issue is now solved by the \-escape mechanism in PN_CHARS_ESC.
+
    > 
    > Of course the reason why this happens is because we don't have a
    > <URIREF> syntax allowed together with QUALIFIED_NAME - so the Sparql
@@ -638,6 +744,10 @@
    > namespaceDeclarations is optional in both bundle and namedBundle - but
    > "prefix" is not a valid expression, and can thus I don't see any
    > conflict here.
+
+
+Text has been rewritten to make it clear the potential conflict is for the tokenizer.
+
    > 
    > 
    > 
@@ -654,7 +764,8 @@
 
 Added:
 
-<p>A PROV-N document MUST not re-declare the same prefix.</p>
+
+A set of namespace declarations namespaceDeclarations MUST NOT re-declare the same prefix.
 
    > 
    > 
@@ -671,7 +782,11 @@
    > endBundle
 
 
-TODO
+An example was added to clarify how scope works.
+http://dvcs.w3.org/hg/prov/raw-file/default/model/prov-n.html#anexample-namespace-scope
+Bundles are designed to be self contained. So in effect,
+no inheritance of namespace declaration.
+
    > 
    > 
    > > > Section 4
@@ -698,12 +813,32 @@
    >   endBundle
    > endBundle
    > 
+
+Given that bundles need to be self contained, we would generally expect
+some namespace to be declared for the identifiers occurring in the bundle.
+
+However, a toplevel bundle may be empty. Hence, no declaration required.
+
+I guess because a named bundle always has a name ... it would always
+require a namespace declaration. Should we enforce this in the grammar?
+I didn't make a change, I see this as "semantic" processing, beyond parsing.
+
    > 
    > I found it confusing that the top level bundle and named bundle have
    > the same keyword. However I expect - although it is not stated
    > explicitly here - that you can't have a free-standing named bundle -
    > and that a PROV-N Document should have all expressions and named
    > bundled within a single top level bundle.
+
+
+I considered naming toplevel bundle differently.
+But ultimately, it contains expressions and namespace declarations ...
+it's a bundle.
+
+I made sure it was a distinct production to avoid arbitrary nesting of
+named bundles.
+
+
    > 
    > 
    > > >  activity(a1, 2011-11-16T16:05:00, -,[prov:type="edit"])
@@ -712,11 +847,17 @@
    >  activity(a1, 2011-11-16T16:05:00, -, [prov:type="edit"])
    > 
    > 
+
+Fixed
+
    > > > The following container
    > > >  (..)
    > > > This container
    > s/container/bundle/g
    > 
+
+Fixed.
+
    > 
    > 
    > 
--- a/model/comments/issue-438-tom.txt	Mon Jul 16 20:09:12 2012 +0100
+++ b/model/comments/issue-438-tom.txt	Mon Jul 16 20:10:33 2012 +0100
@@ -16,16 +16,25 @@
    > generation and usage identifiers g2 and u1: Should be "In the
    > following expressions, the optional activity a is specified along with
    > the generation and usage identifiers g2 and u1:"
+
+Text was updated.
+
    > 
    > - 2.2 EBNF Grammar
    > 
    > Each expression non-terminal expression, i.e., entityExpression,
    >  activityExpression etc., This sentence is a bit weird. Should the
    >  first "expression" be omitted?
+
+Sentence was fixed
+
    > 
    > - 2.5 Comments
    > typo: "cooments" (is fixed in latest editors draft I think)
    > 
+
+done
+
    > - 3.1.4 - 3.1.8 
    > 
    > Even though the production usageExpression allows for expressions
@@ -41,6 +50,9 @@
     > This is a more general issue than just in this section. I would
    >       be consistent here and add the "Note:" everywhere where this
    >       type of comment is made.
+
+fixed
+
    > 
    > Also, it seems that these notes do not always make sense.  For
    > example, in 3.1.4, it says that at least one of id, entity, time, and
@@ -51,10 +63,16 @@
    > wasStartedBy(e2, -, -, -) and wasStartedBy(-; e2, -, -, -) are
    > invalid. However, a starter or a trigger is present. Did you mean: at
    > least one of id, activity, time, and attributes must be present.?
+
+no, I think this is fine [PM]
+
    > 
    > The same happens with 3.1.7 End.  3.1.8 Invalidation has the correct
    > remark: "at least one of id, activity, time, and attributes must be
    > present."  (but I would add the "Note:" here as well)
+
+again, they look ok to me [PM]
+
    > 
    > 
    > - 3.3.5 Influence Here id is the optional influence identifier, e2 is
@@ -67,6 +85,9 @@
    > actually a lighter relation than that I think.  Just rephrasing this
    > to something like "e1 is the identifier for an ancestor entity that e2
    > was influenced by" solves this.
+
+fixed
+
    > 
    > From here on everything looked fine to me :)
    > 
--- a/model/diff-n.html	Mon Jul 16 20:09:12 2012 +0100
+++ b/model/diff-n.html	Mon Jul 16 20:10:33 2012 +0100
@@ -13,7 +13,457 @@
     
 
     <style type="text/css">
-      .note { font-size:small; margin-left:50px }
+      <span class="insert">
+
+/* --- 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[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[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[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;
+}
+
+
+.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>.note { font-size:small; margin-left:50px }
      <span class="insert">
 table.thinborder {
 	border-width: 1px;
@@ -528,12 +978,9 @@
 /* other */
 pre.sh_sourceCode .sh_section { color: black; font-weight: bold; }
 pre.sh_sourceCode .sh_paren { color: red; }
-pre.sh_sourceCode .sh_attribute { color: #006400; }
-
-
-
-
-</style><style type="text/css">
+pre.sh_sourceCode .sh_attribute { color: #006400; }<span class="delete">
+
+
 /* --- EDITORIAL NOTES --- */
 .pending {
     padding:    1em;
@@ -580,23 +1027,22 @@
     background: #fff;
 }
 
-<span class="insert">/* </span>.inference[id]::before {
-    <span class="insert"> */
-/*     </span>content:    "Inference:<span class="insert"> " 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; */
-/* } */
+.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;
@@ -606,13 +1052,13 @@
 }
 
 .syntax[id]::before {
-    content:    "Syntax:</span> " attr(id);
+    content:    "Syntax: " attr(id);
     width:  380px;  /* How can we compute the length of "Constraint: " attr(id) */
 }
 
 
-<span class="delete">.inference::before</span><span class="insert">.syntax::before</span> {
-    content:    <span class="delete">"Inference";</span><span class="insert">"Syntax";</span>
+.syntax::before {
+    content:    "Syntax";
     display:    block;
     width:  150px;
     margin: -1.5em 0 0.5em 0;
@@ -622,18 +1068,16 @@
     padding:    3px 1em;
 }
 
-<span class="delete">.syntax</span><span class="insert">.unamedconstraint</span> {
+.unamedconstraint {
     padding:    1em;
     margin: 1em 0em 0em;
-    border: 1px solid <span class="delete">#f00;</span><span class="insert">#00f;</span>
+    border: 1px solid #00f;
     background: #fff;
-}<span class="delete">
-
-.syntax[id]::before</span><span class="insert">
-
-
-.unamedconstraint::before</span> {
-    content:    <span class="delete">"Syntax:</span><span class="insert">"Constraint";
+}
+
+
+.unamedconstraint::before {
+    content:    "Constraint";
     display:    block;
     width:  150px;
     margin: -1.5em 0 0.5em 0;
@@ -652,22 +1096,22 @@
     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; */
-/* } */
+.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;
+}
 
 
 
@@ -679,313 +1123,7 @@
 }
 
 .interpretation[id]::before {
-    content:    "Interpretation:</span> " attr(id);
-    width:  380px;  /* How can we compute the length of <span class="delete">"Constraint:</span><span class="insert">"Interpretation:</span> " attr(id) */
-}
-
-
-<span class="delete">.syntax::before</span><span class="insert">.interpretation::before</span> {
-    content:    <span class="delete">"Syntax";</span><span class="insert">"Interpretation";</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">#00f;</span>
-    background: #fff;
-    padding:    3px 1em;
-}
-
-<span class="delete">.unamedconstraint</span><span class="insert">.definition</span> {
-    padding:    1em;
-    margin: 1em 0em 0em;
-    border: 1px solid <span class="delete">#00f;</span><span class="insert">#777;</span>
-    background: #fff;
-}<span class="delete">
-
-
-.unamedconstraint::before</span><span class="insert">
-
-/* .definition[id]::before</span> {
-    <span class="insert"> */
-/*     </span>content:    <span class="delete">"Constraint";
-    </span><span class="insert">"Definition: " attr(id); */
-/*     width:  380px;  */
-/* } */
-
-
-/* .definition::before { */
-/*     content:    "Definition"; */
-/*     </span>display:    block;
-    <span class="insert"> */
-/*     </span>width:  150px;
-    <span class="insert"> */
-/*     </span>margin: -1.5em 0 0.5em 0;
-    <span class="insert"> */
-/*     </span>font-weight:    bold;
-    <span class="insert"> */
-/*     </span>border: 1px solid <span class="delete">#00f;
-    </span><span class="insert">#000; */
-/*     </span>background: #fff;
-    <span class="insert"> */
-/*     </span>padding:    3px 1em;
-<span class="insert"> */
-/* </span>}<span class="delete">
-
-
-
-.constraint</span><span class="insert"> */
-
-
-.deprecatedconstraint</span> {
-    padding:    1em;
-    margin: 1em 0em 0em;
-    border: 1px solid #00f;
-    background: #fff;
-}
-
-<span class="delete">.constraint[id]::before</span><span class="insert">.deprecatedconstraint[id]::before</span> {
-    content:    <span class="delete">"Constraint:</span><span class="insert">"Deprecated:</span> " attr(id);
-    width:  380px;  /* How can we compute the length of <span class="delete">"Constraint:</span><span class="insert">"Deprecatedconstraint:</span> " attr(id) */
-}
-
-
-<span class="delete">.constraint::before</span><span class="insert">.deprecatedconstraint::before</span> {
-    content:    <span class="delete">"Constraint";</span><span class="insert">"Deprecated";</span>
-    display:    block;
-    width:  150px;
-    margin: -1.5em 0 0.5em 0;
-    font-weight:    bold;
-    border: 1px solid #00f;
-    background: #fff;
-    padding:    3px 1em;
-}<span class="delete">
-
-
-
-.interpretation</span><span class="insert">
-
-.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: 80%;
-}
-.nonterminal {
-    font-weight: bold;
-    font-family: sans-serif;
-    font-size: 95%;
-}
-
-.name {
-    font-family: monospace;
-}
-
-
-.xmpl</span> {
-    padding:    1em;
-    margin: 1em 0em 0em;
-    border: 1px solid <span class="delete">#00f;</span><span class="insert">#f00;</span>
-    background: #fff;
-}
-
-<span class="delete">.interpretation[id]::before</span><span class="insert">.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</span> {
-    content:    "Interpretation: <span class="delete">" attr(id);
+    content:    "Interpretation: " attr(id);
     width:  380px;  /* How can we compute the length of "Interpretation: " attr(id) */
 }
 
@@ -994,22 +1132,22 @@
     content:    "Interpretation";
     display:    block;
     width:  150px;
-    margin: -1.5em 0 0.5em 0;</span><span class="insert">";</span>
-    font-weight:    bold;<span class="delete">
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
     border: 1px solid #00f;
     background: #fff;
-    padding:    3px 1em;</span>
+    padding:    3px 1em;
 }
 
-<span class="delete">.definition {
+.definition {
     padding:    1em;
     margin: 1em 0em 0em;
     border: 1px solid #777;
     background: #fff;
 }
 
-.definition[id]::before</span><span class="insert">.structural-forward::before</span> {
-    content:    <span class="delete">"Definition: " attr(id);
+.definition[id]::before {
+    content:    "Definition: " attr(id);
     width:  380px; 
 }
 
@@ -1018,27 +1156,25 @@
     content:    "Definition";
     display:    block;
     width:  150px;
-    margin: -1.5em 0 0.5em 0;</span><span class="insert">"Structural constraint: ";</span>
-    font-weight:    bold;<span class="delete">
+    margin: -1.5em 0 0.5em 0;
+    font-weight:    bold;
     border: 1px solid #000;
     background: #fff;
-    padding:    3px 1em;</span>
+    padding:    3px 1em;
 }
 
 
-<span class="delete">.deprecatedconstraint</span><span class="insert">code</span> {
-    <span class="delete">padding:    1em;
+.deprecatedconstraint {
+    padding:    1em;
     margin: 1em 0em 0em;
     border: 1px solid #00f;
-    background: #fff;</span><span class="insert">color:  black;</span>
+    background: #fff;
 }
 
-<span class="delete">.deprecatedconstraint[id]::before</span><span class="insert">.ruleTitle</span> {
-    <span class="delete">content:    "Deprecated: " attr(id);
-    width:  380px;  /* How can we compute the length of "Deprecatedconstraint: " attr(id) */</span><span class="insert">font-family: sans-serif;
-    font-size: 1.6ex;
-    font-weight: bold;</span>
-}<span class="delete">
+.deprecatedconstraint[id]::before {
+    content:    "Deprecated: " attr(id);
+    width:  380px;  /* How can we compute the length of "Deprecatedconstraint: " attr(id) */
+}
 
 
 .deprecatedconstraint::before {
@@ -1277,14 +1413,16 @@
 
 </span>
 
-</style><link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet" type="text/css" charset="utf-8"></head> 
+</style><link href="http://www.w3.org/StyleSheets/TR/W3C-WD" rel="stylesheet" type="text/css" charset="utf-8"></head> 
   <body style="display: inherit; "><div class="head"><p><a href="http://www.w3.org/"><img width="72" height="48" src="http://www.w3.org/Icons/w3c_home" alt="W3C"></a></p><h1 class="title" id="title">PROV-N: The Provenance Notation</h1>
-<h2 id="subtitle"><span class="insert">Final review before Last Call Vote (</span><a href="diff-n.html"><span class="insert">Diffs since last release</span></a><span class="insert">)</span></h2><h2 id="w3c-editor-s-draft-29-june-2012"><acronym title="World Wide Web Consortium">W3C</acronym> <span class="delete">Working</span><span class="insert">Editor's</span> Draft <span class="delete">03 May</span><span class="insert">29 June</span> 2012</h2>
-<dl><dt>This<span class="insert"> version:</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">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</span> version:</dt><dd><a href="http://www.w3.org/TR/2012/WD-prov-n-20120503/">http://www.w3.org/TR/2012/WD-prov-n-20120503/</a></dd>
+<h2 id="w3c-working-draft-24-july-2012"><acronym title="World Wide Web Consortium">W3C</acronym> Working Draft <span class="delete">03 May</span><span class="insert">24 July</span> 2012</h2>
+<dl><dt>This<span class="insert"> 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></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</span> version:</dt><dd><a href="http://www.w3.org/TR/2012/WD-prov-n-20120503/">http://www.w3.org/TR/2012/WD-prov-n-20120503/</a></dd>
 <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>
 <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="insert">Authors:</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">Copyright</a> © 2012 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.eu/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. <acronym title="World Wide Web Consortium">W3C</acronym> <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p><hr></div> 
 
     <div id="abstract" class="introductory section"><h2>Abstract</h2>
@@ -1317,39 +1455,39 @@
 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="intended-to-be-last-call--tbc"><span class="insert">Intended to be Last Call (TBC)</span></h4>
-<p><span class="insert">This is the fifth public release of the PROV-DM document. 
-Publication as Last Call working draft means that 
-the Working Group believes that it has satisfied the relevant technical requirements outlined in its charter on this document. The design is not expected to change significantly, going forward, and now is the key time for external review, before the implementation phase.</span></p>
-
-<p><span class="insert">This specification identifies one  </span><a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi"><span class="insert">feature at risk</span></a><span class="insert">: </span><a href="#term-mention"><span class="insert">Mention</span></a><span class="insert"> might be removed from PROV if implementation experience reveals problems with supporting this construct.</span></p>
-
-<h4 id="please-comment-by--2012-09-13--tbc"><span class="insert">Please Comment By  2012-09-13 (TBC)</span></h4>
-<p><span class="insert">The PROV Working group seeks public feedback on this Working Draft.
-The end date of the Last Call review period is </span><b><span class="insert">2012-09-13 (TBC)</span></b><span class="insert">, and we would appreciate comments by that date to [email protected]
-</span></p>
+<h4 id="last-call"><span class="insert">Last Call</span></h4>
+<p><span class="insert">
+This is a Last Call Working Draft. The design is not expected to change significantly, going forward, and now is the key time for external review.</span></p>
+
+<p><span class="insert">This specification identifies one  </span><a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi"><span class="insert">feature at risk</span></a><span class="insert">: the expression Mention </span><a href="#expression-mention"><span class="insert">(section 3.5.3)</span></a><span class="insert"> might be removed from PROV if implementation experience reveals problems with supporting this construct.</span></p>
+
+
 
 <h4 id="prov-family-of-specifications">PROV Family of Specifications</h4>
 This document is part of the PROV family of specifications, a set of specifications defining various aspects that are necessary to achieve the vision of inter-operable
 interchange of provenance information in heterogeneous environments such as the Web.  The specifications are:
 <ul>
-<li> PROV-DM, the PROV data model for provenance;</li>
-<li> PROV-CONSTRAINTS, a set of constraints applying to the PROV data model;</li>
-<li> PROV-N, a notation for provenance aimed at human consumption  (this document);</li>
-<li> PROV-O, the PROV ontology, an OWL-RL ontology allowing the mapping of PROV to RDF;</li>
-<li> PROV-AQ, the mechanisms for accessing and querying provenance; </li>
-<li> PROV-PRIMER, a primer for the PROV data model;</li>
-<li> PROV-SEM, a formal semantics for the PROV data model;</li>
-<li> PROV-XML, an XML schema for the PROV data model.</li>
+<li> <span class="delete">PROV-DM,</span><a href="http://www.w3.org/TR/prov-dm/"><span class="insert">PROV-DM</span></a><span class="insert">,</span> the PROV data model for provenance;</li>
+<li> <span class="delete">PROV-CONSTRAINTS,</span><a href="http://www.w3.org/TR/prov-constraints/"><span class="insert">PROV-CONSTRAINTS</span></a><span class="insert">,</span> a set of constraints applying to the PROV data model;</li>
+<li> <span class="delete">PROV-N,</span><a href="http://www.w3.org/TR/prov-n/"><span class="insert">PROV-N</span></a><span class="insert">,</span> a notation for provenance aimed at human consumption  (this document);</li>
+<li> <span class="delete">PROV-O,</span><a href="http://www.w3.org/TR/prov-o/"><span class="insert">PROV-O</span></a><span class="insert">,</span> the PROV ontology, an <span class="delete">OWL-RL</span><span class="insert">OWL2</span> ontology allowing the mapping of PROV to RDF;</li>
+<li> <span class="delete">PROV-AQ,</span><a href="http://www.w3.org/TR/prov-aq/"><span class="insert">PROV-AQ</span></a><span class="insert">,</span> the mechanisms for accessing and querying provenance; </li>
+<li> <span class="delete">PROV-PRIMER,</span><a href="http://www.w3.org/TR/prov-primer/"><span class="insert">PROV-PRIMER</span></a><span class="insert">,</span> a primer<span class="delete"> for the PROV data model;</span>
+<span class="delete"> PROV-SEM, a formal semantics for the PROV data model;</span>
+<span class="delete"> PROV-XML, an XML schema</span> for the PROV data model.</li>
+
+
 </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 OWL-RL 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>The Linked Data and Semantic Web community should focus on PROV-O defining PROV classes and properties specified in an <span class="delete">OWL-RL</span><span class="insert">OWL2</span> ontology. For further details, PROV-DM and PROV-CONSTRAINTS specify the constraints applicable to the data model, and its interpretation. <span class="delete">PROV-SEM provides a mathematical semantics.</span></li>
+<span class="delete">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.</span>
+
+
 <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, PROV-N, PROV-XML offer examples of mapping to RDF, text, and XML, respectively.</li>
+should focus on PROV-DM and PROV-CONSTRAINTS.  <span class="delete">PROV-O, PROV-N, PROV-XML</span><span class="insert">PROV-O and PROV-N</span> offer examples of mapping to <span class="delete">RDF,</span><span class="insert">RDF and</span> text,<span class="delete"> and XML,</span> respectively.</li>
 </ul>
 
 
@@ -1362,7 +1500,7 @@
 from its constraints, and the notation used to illustrate it. The
 PROV-N release is synchronized with the release of the PROV-DM, PROV-O,
 PROV-PRIMER, and PROV-CONSTRAINTS documents.
-</span><span class="delete">This </span>document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as <span class="delete">a First Public Working</span><span class="insert">an Editor's</span> Draft. <span class="delete">This document is intended</span><span class="insert">If you wish</span> to <span class="delete">become a </span><span class="delete">W3C</span><span class="delete"> Recommendation. If you wish</span><span class="insert">make comments regarding this document, please send them</span> to <span class="delete">make comments regarding this document, please send them to </span><span class="delete">[email protected]</span><a href="mailto:[email protected]"><span class="insert">[email protected]</span></a> (<a href="mailto:[email protected]?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-prov-comments/">archives</a>). 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.</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="#structure-of-this-document" class="tocxref"><span class="secno">1.2 </span>Structure of this Document</a></li><li class="tocline"><a href="#notational-conventions" class="tocxref"><span class="secno">1.3 </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="#prov-n-optionals" class="tocxref"><span class="secno">2.3 </span>Optional terms in expressions</a></li><li class="tocline"><a href="#prov-n-standard-terms" class="tocxref"><span class="secno">2.4 </span>Identifiers and attributes</a></li><li class="tocline"><a href="#comments" class="tocxref"><span class="secno"><span class="insert">2.5 </span></span><span class="insert">Comments</span></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"><span class="insert">3.1.5 </span></span><span class="insert">Communication</span></a></li><li class="tocline"><a href="#expression-Start" class="tocxref"><span class="secno"><span class="delete">3.1.5</span><span class="insert">3.1.6</span> </span>Start</a></li><li class="tocline"><a href="#expression-End" class="tocxref"><span class="secno"><span class="delete">3.1.6</span><span class="insert">3.1.7</span> </span>End</a></li><li class="tocline"><a href="#expression-Invalidation" class="tocxref"><span class="secno"><span class="delete">3.1.7</span><span class="insert">3.1.8</span> </span>Invalidation<span class="delete">3.1.8 </span><span class="delete">Communication</span><span class="delete">3.1.9 </span><span class="delete">Start by Activity</span></a></li></ul></li><li class="tocline"><a href="#component2" class="tocxref"><span class="secno">3.2 </span>Component 2: <span class="delete">Agents and Responsibility</span><span class="insert">Derivations</span></a><ul class="toc"><li class="tocline"><a href="#Derivation-Relation" class="tocxref"><span class="secno">3.2.1 </span><span class="delete">Agent</span><span class="insert">Derivation</span></a></li><li class="tocline"><a href="#expression-Revision" class="tocxref"><span class="secno">3.2.2 </span><span class="delete">Attribution</span><span class="insert">Revision</span></a></li><li class="tocline"><a href="#expression-quotation" class="tocxref"><span class="secno">3.2.3 </span><span class="delete">Association</span><span class="insert">Quotation</span></a></li><li class="tocline"><a href="#expression-original-source" class="tocxref"><span class="secno">3.2.4 </span><span class="delete">Responsibility</span><span class="insert">Primary Source</span></a></li></ul></li><li class="tocline"><a href="#component3" class="tocxref"><span class="secno">3.3 </span>Component 3: <span class="delete">Derivations</span><span class="insert">Agents, Responsibility, and Influence</span></a><ul class="toc"><li class="tocline"><a href="#expression-Agent" class="tocxref"><span class="secno">3.3.1 </span><span class="delete">Derivation</span><span class="insert">Agent</span></a></li><li class="tocline"><a href="#expression-attribution" class="tocxref"><span class="secno">3.3.2 </span><span class="delete">Revision</span><span class="insert">Attribution</span></a></li><li class="tocline"><a href="#expression-Association" class="tocxref"><span class="secno">3.3.3 </span><span class="delete">Quotation</span><span class="insert">Association</span></a></li><li class="tocline"><a href="#expression-delegation" class="tocxref"><span class="secno">3.3.4 </span><span class="delete">Original Source</span><span class="insert">Delegation</span></a></li><li class="tocline"><a href="#expression-influence" class="tocxref"><span class="secno">3.3.5 </span><span class="delete">Trace</span><span class="insert">Influence</span></a></li></ul></li><li class="tocline"><a href="#component4" class="tocxref"><span class="secno">3.4 </span>Component 4: <span class="delete">Alternate Entities</span><span class="insert">Bundles</span></a><ul class="toc"><li class="tocline"><a href="#expression-bundle-declaration" class="tocxref"><span class="secno">3.4.1 </span><span class="delete">Alternate</span><span class="delete">3.4.2 </span><span class="delete">Specialization</span><span class="insert">Bundle Declaration</span></a></li></ul></li><li class="tocline"><a href="#component5" class="tocxref"><span class="secno">3.5 </span>Component 5: <span class="delete">Collections</span><span class="insert">Alternate Entities</span></a><ul class="toc"><li class="tocline"><a href="#expression-alternate" class="tocxref"><span class="secno">3.5.1 </span><span class="delete">Insertion</span><span class="insert">Alternate</span></a></li><li class="tocline"><a href="#expression-specialization" class="tocxref"><span class="secno">3.5.2 </span><span class="delete">Removal</span><span class="insert">Specialization</span></a></li><li class="tocline"><a href="#expression-mention" class="tocxref"><span class="secno">3.5.3 </span><span class="delete">Membership</span><span class="insert">Mention</span></a></li></ul></li><li class="tocline"><a href="#component6" class="tocxref"><span class="secno">3.6 </span>Component 6: <span class="delete">Annotations</span><span class="insert">Collections</span></a><ul class="toc"><li class="tocline"><a href="#expression-collection-membership" class="tocxref"><span class="secno">3.6.1 </span><span class="delete">Note</span><span class="delete">3.6.2 </span><span class="delete">Annotation</span><span class="insert">Membership</span></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 class="delete">Namespace Declaration</span><span class="delete">3.7.2</span> </span>Identifier</a></li><li class="tocline"><a href="#expression-attribute" class="tocxref"><span class="secno"><span class="delete">3.7.3</span><span class="insert">3.7.2</span> </span>Attribute</a></li><li class="tocline"><a href="#expression-literal" class="tocxref"><span class="secno"><span class="delete">3.7.4</span><span class="insert">3.7.3</span> </span>Literal</a><ul class="toc"><li class="tocline"><a href="#expression-types" class="tocxref"><span class="secno"><span class="delete">3.7.4.1</span><span class="insert">3.7.3.1</span> </span>Reserved Type Values</a></li><li class="tocline"><a href="#expression-Time" class="tocxref"><span class="secno"><span class="delete">3.7.4.2</span><span class="insert">3.7.3.2</span> </span>Time Values</a></li></ul></li><li class="tocline"><a href="#expression-NamespaceDeclaration" class="tocxref"><span class="secno"><span class="insert">3.7.4 </span></span><span class="insert">Namespace Declaration</span></a></li></ul></li></ul></li><li class="tocline"><a href="#toplevelBundle" class="tocxref"><span class="secno">4. </span><span class="delete">Expression Container</span><span class="delete">5. </span><span class="delete">Account</span><span class="insert">Toplevel Bundle</span></a></li><li class="tocline"><a href="#media-type" class="tocxref"><span class="secno"><span class="delete">6.</span><span class="insert">5.</span> </span>Media Type</a></li><li class="tocline"><a href="#acknowledgements" class="tocxref"><span class="secno">A. </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">B. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">B.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">B.2 </span>Informative references</a></li></ul></li></ul></div> 
+</span><span class="delete">This </span>document was published by the <a href="http://www.w3.org/2011/prov/">Provenance Working Group</a> as a <span class="delete">First Public</span><span class="insert">Last Call</span> Working Draft. This document is intended to become a <acronym title="World Wide Web Consortium">W3C</acronym> Recommendation. If you wish to make comments regarding this document, please send them to <span class="delete">[email protected]</span><a href="mailto:[email protected]"><span class="insert">[email protected]</span></a> (<a href="mailto:[email protected]?subject=subscribe">subscribe</a>, <a href="http://lists.w3.org/Archives/Public/public-prov-comments/">archives</a>).<span class="insert"> The Last Call period ends 18 September 2012.</span> All feedback is welcome.</p><p>Publication as a Working Draft does not imply endorsement by the <acronym title="World Wide Web Consortium">W3C</acronym> Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.</p><p><span class="insert">This is a Last Call Working Draft and thus the Working Group has determined that this document has satisfied the relevant technical requirements and is sufficiently stable to advance through the Technical Recommendation process.</span></p><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February 2004 <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>. <acronym title="World Wide Web Consortium">W3C</acronym> maintains a <a href="http://www.w3.org/2004/01/pp-impl/46974/status" rel="disclosure">public list of any patent disclosures</a> made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential Claim(s)</a> must disclose the information in accordance with <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section 6 of the <acronym title="World Wide Web Consortium">W3C</acronym> Patent Policy</a>.</p></div><div id="toc" class="section"><h2 class="introductory">Table of Contents</h2><ul class="toc"><li class="tocline"><a href="#introduction" class="tocxref"><span class="secno">1. </span>Introduction</a><ul class="toc"><li class="tocline"><a href="#purpose" class="tocxref"><span class="secno">1.1 </span>Purpose of this Document and <span class="delete">target audience</span><span class="insert">Target Audience</span></a></li><li class="tocline"><a href="#structure-of-this-document" class="tocxref"><span class="secno">1.2 </span>Structure of this Document</a></li><li class="tocline"><a href="#notational-conventions" class="tocxref"><span class="secno">1.3 </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"><span class="insert">2.3 </span></span><span class="insert">Main Productions</span></a></li><li class="tocline"><a href="#prov-n-optionals" class="tocxref"><span class="secno"><span class="delete">2.3</span><span class="insert">2.4</span> </span>Optional terms in expressions</a></li><li class="tocline"><a href="#prov-n-standard-terms" class="tocxref"><span class="secno"><span class="delete">2.4</span><span class="insert">2.5</span> </span>Identifiers and attributes</a></li><li class="tocline"><a href="#comments" class="tocxref"><span class="secno"><span class="insert">2.6 </span></span><span class="insert">Comments</span></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"><span class="insert">3.1.5 </span></span><span class="insert">Communication</span></a></li><li class="tocline"><a href="#expression-Start" class="tocxref"><span class="secno"><span class="delete">3.1.5</span><span class="insert">3.1.6</span> </span>Start</a></li><li class="tocline"><a href="#expression-End" class="tocxref"><span class="secno"><span class="delete">3.1.6</span><span class="insert">3.1.7</span> </span>End</a></li><li class="tocline"><a href="#expression-Invalidation" class="tocxref"><span class="secno"><span class="delete">3.1.7</span><span class="insert">3.1.8</span> </span>Invalidation<span class="delete">3.1.8 </span><span class="delete">Communication</span><span class="delete">3.1.9 </span><span class="delete">Start by Activity</span></a></li></ul></li><li class="tocline"><a href="#component2" class="tocxref"><span class="secno">3.2 </span>Component 2: <span class="delete">Agents and Responsibility</span><span class="insert">Derivations</span></a><ul class="toc"><li class="tocline"><a href="#Derivation-Relation" class="tocxref"><span class="secno">3.2.1 </span><span class="delete">Agent</span><span class="insert">Derivation</span></a></li><li class="tocline"><a href="#expression-Revision" class="tocxref"><span class="secno">3.2.2 </span><span class="delete">Attribution</span><span class="insert">Revision</span></a></li><li class="tocline"><a href="#expression-quotation" class="tocxref"><span class="secno">3.2.3 </span><span class="delete">Association</span><span class="insert">Quotation</span></a></li><li class="tocline"><a href="#expression-primary-source" class="tocxref"><span class="secno">3.2.4 </span><span class="delete">Responsibility</span><span class="insert">Primary Source</span></a></li></ul></li><li class="tocline"><a href="#component3" class="tocxref"><span class="secno">3.3 </span>Component 3: <span class="delete">Derivations</span><span class="insert">Agents, Responsibility, and Influence</span></a><ul class="toc"><li class="tocline"><a href="#expression-Agent" class="tocxref"><span class="secno">3.3.1 </span><span class="delete">Derivation</span><span class="insert">Agent</span></a></li><li class="tocline"><a href="#expression-attribution" class="tocxref"><span class="secno">3.3.2 </span><span class="delete">Revision</span><span class="insert">Attribution</span></a></li><li class="tocline"><a href="#expression-Association" class="tocxref"><span class="secno">3.3.3 </span><span class="delete">Quotation</span><span class="insert">Association</span></a></li><li class="tocline"><a href="#expression-delegation" class="tocxref"><span class="secno">3.3.4 </span><span class="delete">Original Source</span><span class="insert">Delegation</span></a></li><li class="tocline"><a href="#expression-influence" class="tocxref"><span class="secno">3.3.5 </span><span class="delete">Trace</span><span class="insert">Influence</span></a></li></ul></li><li class="tocline"><a href="#component4" class="tocxref"><span class="secno">3.4 </span>Component 4: <span class="delete">Alternate Entities</span><span class="insert">Bundles</span></a><ul class="toc"><li class="tocline"><a href="#expression-bundle-constructor" class="tocxref"><span class="secno">3.4.1 </span><span class="delete">Alternate</span><span class="insert">Bundle Constructor</span></a></li><li class="tocline"><a href="#expression-bundle-type" class="tocxref"><span class="secno">3.4.2 </span><span class="delete">Specialization</span><span class="insert">Bundle Type</span></a></li></ul></li><li class="tocline"><a href="#component5" class="tocxref"><span class="secno">3.5 </span>Component 5: <span class="delete">Collections</span><span class="insert">Alternate Entities</span></a><ul class="toc"><li class="tocline"><a href="#expression-alternate" class="tocxref"><span class="secno">3.5.1 </span><span class="delete">Insertion</span><span class="insert">Alternate</span></a></li><li class="tocline"><a href="#expression-specialization" class="tocxref"><span class="secno">3.5.2 </span><span class="delete">Removal</span><span class="insert">Specialization</span></a></li><li class="tocline"><a href="#expression-mention" class="tocxref"><span class="secno">3.5.3 </span><span class="delete">Membership</span><span class="insert">Mention</span></a></li></ul></li><li class="tocline"><a href="#component6" class="tocxref"><span class="secno">3.6 </span>Component 6: <span class="delete">Annotations</span><span class="insert">Collections</span></a><ul class="toc"><li class="tocline"><a href="#expression-collection" class="tocxref"><span class="secno">3.6.1 </span><span class="delete">Note</span><span class="insert">Collection</span></a></li><li class="tocline"><a href="#expression-collection-membership" class="tocxref"><span class="secno">3.6.2 </span><span class="delete">Annotation</span><span class="insert">Membership</span></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 class="delete">Namespace Declaration</span><span class="delete">3.7.2</span> </span>Identifier</a></li><li class="tocline"><a href="#expression-attribute" class="tocxref"><span class="secno"><span class="delete">3.7.3</span><span class="insert">3.7.2</span> </span>Attribute</a></li><li class="tocline"><a href="#expression-literal" class="tocxref"><span class="secno"><span class="delete">3.7.4</span><span class="insert">3.7.3</span> </span>Literal</a><ul class="toc"><li class="tocline"><a href="#expression-types" class="tocxref"><span class="secno"><span class="delete">3.7.4.1</span><span class="insert">3.7.3.1</span> </span>Reserved Type Values</a></li><li class="tocline"><a href="#expression-Time" class="tocxref"><span class="secno"><span class="delete">3.7.4.2</span><span class="insert">3.7.3.2</span> </span>Time Values</a></li></ul></li><li class="tocline"><a href="#expression-NamespaceDeclaration" class="tocxref"><span class="secno"><span class="insert">3.7.4 </span></span><span class="insert">Namespace Declaration</span></a></li><li class="tocline"><a href="#semantic-rules-summary" class="tocxref"><span class="secno"><span class="insert">3.7.5 </span></span><span class="insert">Summary of additional semantic rules</span></a></li></ul></li></ul></li><li class="tocline"><a href="#toplevelBundle" class="tocxref"><span class="secno">4. </span><span class="delete">Expression Container</span><span class="insert">Toplevel Bundle</span></a></li><li class="tocline"><a href="#extensibility" class="tocxref"><span class="secno">5. </span><span class="delete">Account</span><span class="insert">Extensibility</span></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="#acknowledgements" class="tocxref"><span class="secno">A. </span>Acknowledgements</a></li><li class="tocline"><a href="#references" class="tocxref"><span class="secno">B. </span>References</a><ul class="toc"><li class="tocline"><a href="#normative-references" class="tocxref"><span class="secno">B.1 </span>Normative references</a></li><li class="tocline"><a href="#informative-references" class="tocxref"><span class="secno">B.2 </span>Informative references</a></li></ul></li></ul></div> 
 
 
 
@@ -1388,13 +1526,13 @@
 </p>
 
 <div id="purpose" class="section"> 
-<h3><span class="secno">1.1 </span>Purpose of this Document and target audience</h3>
+<h3><span class="secno">1.1 </span>Purpose of this Document and <span class="delete">target audience</span><span class="insert">Target Audience</span></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, a syntax notation designed to  write instances of the PROV data model according to the following design principles:
+With these two requirements in mind, this document introduces PROV-N, <span class="insert">the PROV notation, </span>a syntax<span class="delete"> notation</span> 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.
 
@@ -1415,8 +1553,8 @@
 <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 <span class="delete">container</span> 
-<a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a>.</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  <a class="grammarRef" href="#prod-expression">expression</a> nonterminal a useful entry point into the grammar.</li>
+<code><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</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>
@@ -1425,7 +1563,7 @@
 <h3><span class="secno">1.2 </span>Structure of this Document</h3>
 
 <p>This document <span class="delete">defines a grammar using the Extended  Backus-Naur Form (EBNF) notation. Its productions correspond to PROV data model types and relations.
-</span><span class="insert">structured as follows.
+</span><span class="insert">is structured as follows.
 
 </span></p><span class="delete">
 It is structured as follows.
@@ -1438,12 +1576,9 @@
 
 <p><a href="#toplevelBundle">Section <span class="delete">5</span><span class="insert">4</span></a> defines the grammar of <span class="delete">containers,</span><span class="insert">toplevel bundles,</span> a house-keeping construct of PROV-N capable of packaging up PROV-N expressions and namespace declarations.</p>
 
-<span class="delete">Section 6</span><span class="delete"> defines the grammar of accounts.</span>
-
-
-
-
-<p><a href="#media-type">Section <span class="delete">7</span><span class="insert">5</span></a> defines media type for the PROV-N notation.</p>
+<p><a href="#extensibility">Section <span class="delete">6</span><span class="insert">5</span></a> defines the <span class="delete">grammar of accounts.</span><span class="insert">extensibility mechanism for the PROV-N notation.</span></p>
+
+<p><a href="#media-type">Section <span class="delete">7</span><span class="insert">6</span></a> defines media type for the PROV-N notation.</p>
 
 
     </div> 
@@ -1470,7 +1605,7 @@
 <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">4.7.1</a>)</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"><span class="delete">4.7.1</span><span class="insert">3.7.4</span></a>)</td></tr>
 <tr><td><a>xsd</a></td><td>http://www.w3.org/2000/10/XMLSchema#</td><td>XML Schema Namespace [<cite><span class="delete">XMLSCHEMA-2</span><span class="delete">]</span>
 <span class="delete">rdf</span><span class="delete">http://www.w3.org/1999/02/22-rdf-syntax-ns#</span><span class="delete">The RDF namespace  [</span><span class="delete">RDF-CONCEPTS</span><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA11-2"><span class="insert">XMLSCHEMA11-2</span></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>
@@ -1487,17 +1622,38 @@
 <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> PROV-N adopts a functional-style syntax consisting of a predicate name and an ordered list of terms.</p>
+
+<p><span class="insert">
+All PROV data model types have an identifier. Furthermore, some expressions also admit additional elements that further characterize it. </span></p>
+<div class="anexample" id="example_1"><div class="anexampleTitle"><a class="internalDFN" href="#example_1"><span class="insert">Example 1</span></a></div>
+<p><span class="insert">The following expression should be read as "entity </span><span class="name"><span class="insert">e1</span></span><span class="insert">". 
+</span></p><pre class="codeexample"><span class="insert">entity(e1)
+</span></pre>
+  </div>
+<div class="anexample" id="example_2"><div class="anexampleTitle"><a class="internalDFN" href="#example_2"><span class="insert">Example 2</span></a></div>
+<p><span class="insert">The following expression should be read as "activity </span><span class="name"><span class="insert">a2</span></span><span class="insert">, which occurred
+between </span><code><span class="insert">2011-11-16T16:00:00</span></code><span class="insert"> and </span><code><span class="insert">2011-11-16T16:00:01</span></code><span class="insert">". 
+</span></p><pre class="codeexample"><span class="insert">entity(e1)
+activity(a2, 2011-11-16T16:00:00, 2011-11-16T16:00:01)
+</span></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_1" data-count="1"><div class="anexampleTitle"><a class="internalDFN" href="#example_1"><span class="insert">Example 1</span></a></div>
-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.
-<pre class="codeexample">wasDerivedFrom(e2, e1)
+</p>
+<div class="anexample" id="example_3"><div class="anexampleTitle"><a class="internalDFN" href="#example_3"><span class="insert">Example 3</span></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_2" data-count="2"><div class="anexampleTitle"><a class="internalDFN" href="#example_2"><span class="insert">Example 2</span></a></div>
-In the following expressions, the optional activity <span class="name">a</span> along with the generation and usage <span class="delete">identifiers,</span><span class="insert">identifiers </span><span class="name"><span class="insert">g2</span></span> and <span class="delete">timestamps have been added to further qualify the derivation:</span><span class="name"><span class="insert">u1</span></span><span class="insert">:</span>
-<pre class="codeexample">wasDerivedFrom(e2, e1, a, g2, u1)<span class="delete">
+<span class="delete">
+In the</span><div class="anexample" id="example_4"><div class="anexampleTitle"><a class="internalDFN" href="#example_4"><span class="insert">Example 4</span></a></div>
+<p><span class="insert">The</span> following <span class="delete">expressions,</span><span class="insert">expression expands the above derivation relation by providing
+additional elements</span> the optional activity <span class="name">a</span><span class="delete"> along with</span><span class="insert">,</span> the generation <span class="name"><span class="insert">g2</span></span><span class="insert">, </span>and <span class="insert">the </span>usage <span class="delete">identifiers, and timestamps have been added to further qualify the derivation:
+</span><span class="name"><span class="insert">u1</span></span><span class="insert">:
+</span></p><pre class="codeexample">wasDerivedFrom(e2, e1, a, g2, u1)<span class="delete">
 activity(a2, 2011-11-16T16:00:00, 2011-11-16T16:00:01)</span>
 </pre>
 </div>
@@ -1507,124 +1663,180 @@
 <div id="grammar-notation" class="section">
 <h3><span class="secno">2.2 </span>EBNF Grammar</h3>
 
-<p>The grammar is specified using the Extended  Backus-Naur Form (EBNF) notation.</p>
+<p>The grammar is specified using <span class="insert">a subset of </span>the Extended   Backus-Naur 
+Form (EBNF) <span class="delete">notation.</span><span class="insert">notation, as defined in Extensible Markup Language (XML) 1.1
+[</span><cite><a class="bibref" rel="biblioentry" href="#bib-XML11"><span class="insert">XML11</span></a></cite><span class="insert">] section </span><a href="http://www.w3.org/TR/2006/REC-xml11-20060816/#sec-notation"><span class="insert">6
+Notation</span></a><span class="insert">.
+</span></p>
+
+
+<p><span class="insert">
+The text below provides an introduction to the EBNF notation used in
+this document.</span></p>
+
+
+<p>
+  <span class="delete">Each</span><span class="insert">EBNF specifies a series of</span> production <span class="delete">rule (or </span><span class="insert">rules (</span><dfn id="dfn-production">production</dfn><span class="delete">, for short)</span><span class="insert">). 
+A production rule</span> in the grammar defines <span class="delete">one non-terminal</span><span class="insert">a</span> symbol <span class="delete">E</span><span class="delete">, in</span> 
+ <code class="grammarRef"><span class="insert">expr</span></code><span class="insert">  (</span><dfn id="dfn-nonterminal-symbol"><span class="insert">nonterminal symbol</span></dfn><span class="insert">)
+  using</span> the following form:</p>
+
+<span class="delete">E</span>
+
+
 <div class="grammar">
-  Each production rule (or <dfn id="dfn-production">production</dfn>, for short) in the grammar defines one non-terminal symbol <span class="nonterminal">E</span>, in the following form:<p></p>
-
-<span class="nonterminal">E</span>&nbsp;::= <em>term</em>
-
-<p>Within the term on the right-hand side of a rule, the following terms are used to match strings of one or more characters:
+ <code class="grammarRef"><span class="insert">expr</span></code> &nbsp;::= <em>term</em>
+
+
+</div>
+<p><span class="insert">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 
+ </span><code class="grammarRef"><span class="insert">&lt;TERMINAL&gt;</span></code><span class="insert">  (</span><dfn id="dfn-terminal-symbol"><span class="insert">terminal symbol</span></dfn><span class="insert">)
+  using the following form:</span></p>
+<div class="grammar">
+ <code class="grammarRef"><span class="insert">&lt;TERMINAL&gt;</span></code><span class="insert"> &nbsp;::= </span><em><span class="insert">term</span></em>
+</div>
+
+
+
+
+
+<p>Within the term on the right-hand side of a rule, the following<span class="delete"> terms</span>
+<em><span class="insert">term</span></em><span class="insert">s</span> are used to match strings of one or more characters:
 </p><ul>
 <li> 
-<span class="nonterminal">E</span>: matches term satisfying rule for symbol E.
-</li>
-
-<li> 
-<span class="name">abc</span>: matches the literal string inside the single quotes.
+<span class="delete">E</span> 
+ <code class="grammarRef"><span class="insert">expr</span></code>: matches <span class="delete">term satisfying rule</span><span class="insert">production</span> for <span class="insert">nonterminal </span>symbol <span class="delete">E.
+</span>
+
+ 
+<span class="delete">abc</span><span class="delete">: matches the literal string inside the single quotes.</span><code class="grammarRef"><span class="insert">expr</span></code>
 </li>
 
 
 <li> 
-<span class="optional"><em>term</em></span>: optional <em>term</em>, matches <em>term</em> or nothing.
+ 
+ <code class="grammarRef"><span class="insert">TERMINAL</span></code><span class="insert">: matches production for terminal symbol </span><code class="grammarRef"><span class="insert">TERMINAL</span></code>
 </li>
 
 <li> 
-<span class="plus"><em>term</em></span>: matches one or more occurrences of <em>term</em>.
+ <code class="grammarRef"><span class="insert">"abc"</span></code><span class="insert">: matches the literal string inside the single quotes.
+</span></li>
+
+
+<li> 
+ <code class="grammarRef"><span class="insert">(term)?</span></code><span class="insert">: optional, matches </span><em>term</em><span class="delete">: optional </span><span class="delete">term</span><span class="delete">, matches </span><span class="delete">term</span> or nothing.
 </li>
 
 <li> 
-<span class="star"><em>term</em></span>: matches zero or more occurrences of <em>term</em>.
+<span class="delete">term</span> 
+ <code class="grammarRef"><span class="insert">(term)+</span></code>: matches one or more occurrences of <em>term</em>.
 </li>
 
 <li> 
-<span class="choice"><em>term</em> | <em>term</em></span>: matches one of the two <em>terms</em>.
+<span class="delete">term</span> 
+ <code class="grammarRef"><span class="insert">(term)*</span></code>: matches zero or more occurrences of <em>term</em>.
+</li>
+
+<li> 
+<span class="delete">term</span> 
+ <code class="grammarRef"><span class="insert">(term</span> | <span class="delete">term</span><span class="insert">term)</span></code>: matches one of the two <em>terms</em>.
 </li>
 
 </ul>
+
+
+
+<p><span class="insert">Where suitable, the PROV-N grammar reuses production and terminal names of the SPARQL grammar [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RDF-SPARQL-QUERY"><span class="insert">RDF-SPARQL-QUERY</span></a></cite><span class="insert">].</span></p>
+
 </div>
 
-The grammar is centered on nonterminals for various types of <a class="grammarRef" href="#prod-expression">expression</a>. The main production is introduced here below as it reflects the rationale for the design of the entire grammar. Note that parser developers may use the top level <span class="delete">container</span>
-<a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a>  nonterminal as a starting point instead.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-expression" name="prod-expression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">2</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod">expression 
+<div id="main-productions" class="section">
+<h3><span class="secno"><span class="insert">2.3 </span></span><span class="insert">Main Productions</span></h3>
+
+<p><span class="insert">Two productions are entry points to the grammar.</span></p>
+
+<p>The <span class="delete">grammar</span><span class="insert">production </span><code class="grammarRef"><a class="grammarRef" href="#prod-expression"><span class="insert">expression</span></a></code><span class="insert">
+provides the structure for the </span><em><span class="insert">core expressions</span></em><span class="insert"> of PROV-N. 
+
+
+
+
+</span></p><table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-expression" name="prod-expression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">2</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">expression</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-entityExpression"><span class="insert">entityExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-activityExpression"><span class="insert">activityExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-generationExpression"><span class="insert">generationExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-usageExpression"><span class="insert">usageExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-startExpression"><span class="insert">startExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-endExpression"><span class="insert">endExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-invalidationExpression"><span class="insert">invalidationExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-communicationExpression"><span class="insert">communicationExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-agentExpression"><span class="insert">agentExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-associationExpression"><span class="insert">associationExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-attributionExpression"><span class="insert">attributionExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-delegationExpression"><span class="insert">delegationExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-derivationExpression"><span class="insert">derivationExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-influenceExpression"><span class="insert">influenceExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-alternateExpression"><span class="insert">alternateExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-specializationExpression"><span class="insert">specializationExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-mentionExpression"><span class="insert">mentionExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-membershipExpression"><span class="insert">membershipExpression</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></code></td> </tr> </tbody>
+</table>
+
+
+<p><span class="insert">Each of the symbols included in </span><code><span class="insert">expression</span></code><span class="insert"> above, i.e., </span><code><a class="grammarRef" href="#prod-entityExpression"><span class="insert">entityExpression</span></a></code><span class="insert">,  </span><code><a class="grammarRef" href="#prod-activityExpression"><span class="insert">activityExpression</span></a></code><span class="insert"> etc., corresponds to one concept (e.g., Entity, Activity, etc.) of the PROV data model.</span></p>
+
+
+<p><span class="insert">Alternatively,  the production rule </span><code><a href="#prod-bundle"><span class="grammarRef"><span class="insert">bundle</span></span></a></code><span class="insert">
+provides the overall structure of PROV-N descriptions.  It</span> is <span class="delete">centered on nonterminals </span><span class="insert">a wrapper  </span>for<span class="delete"> various types</span><span class="insert">
+ a set</span> of <span class="insert">expressions, such that the text for an element matches the corresponding </span><code><a class="grammarRef" href="#prod-expression">expression<span class="delete">. The main production is introduced here below as it reflects the rationale for the design of the entire grammar. Note that parser developers may use the top level </span><span class="delete">container</span></a></code><span class="insert"> production,</span>  <span class="delete">nonterminal as a starting point instead.
+
+</span>
+
+<span class="delete">expression</span> 
 <span class="delete">&nbsp;::=</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-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 
+<span class="delete">entityExpression</span><span class="delete"> 
+| </span><span class="delete">activityExpression</span><span class="delete"> 
+| </span><span class="delete">generationExpression</span><span class="delete"> 
+| </span><span class="delete">usageExpression</span> 
 <span class="delete">
-&nbsp;&nbsp;| </span></a></span><span class="insert"> | </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="delete">startByActivityExpression</span> 
-<span class="delete">
-
-&nbsp;&nbsp;| </span><span class="prod"><a class="grammarRef" href="#prod-agentExpression">agentExpression
-</a></span> | <span class="prod"><a class="grammarRef" href="#prod-associationExpression"><span class="insert">associationExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-attributionExpression">attributionExpression 
-</a></span> | <span class="delete">associationExpression</span> 
-<span class="prod"><a class="grammarRef" href="#prod-delegationExpression"><span class="insert">delegationExpression</span></a></span> | <span class="delete">responsibilityExpression</span> 
+&nbsp;&nbsp;| </span><span class="delete">startExpression</span><span class="delete"> 
+| </span><span class="delete">endExpression</span><span class="delete"> 
+| </span><span class="delete">invalidationExpression</span><span class="delete"> 
+| </span><span class="delete">communicationExpression</span><span class="delete"> 
+| </span><span class="delete">startByActivityExpression</span> 
 <span class="delete">
 
-&nbsp;&nbsp;| </span><span class="prod"><a class="grammarRef" href="#prod-derivationExpression">derivationExpression 
-</a></span> | <span class="delete">revisionExpression</span> 
-<span class="prod"><a class="grammarRef" href="#prod-influenceExpression"><span class="insert">influenceExpression</span></a></span> | <span class="delete">quotationExpression</span> <span class="delete">
-&nbsp;&nbsp;| </span><span class="delete">hadOriginalSourceExpression</span> 
-<span class="prod"><a class="grammarRef" href="#prod-alternateExpression"><span class="insert">alternateExpression</span></a></span> | <span class="delete">traceExpression</span> 
+&nbsp;&nbsp;| </span><span class="delete">agentExpression</span><span class="delete">
+| </span><span class="delete">attributionExpression</span><span class="delete"> 
+| </span><span class="delete">associationExpression</span><span class="delete"> 
+| </span><span class="delete">responsibilityExpression</span> 
 <span class="delete">
 
-&nbsp;&nbsp;| </span><span class="delete">alternateExpression</span> 
-<span class="prod"><a class="grammarRef" href="#prod-specializationExpression"><span class="insert">specializationExpression</span></a></span> | <span class="delete">specializationExpression</span>
-<span class="prod"><a class="grammarRef" href="#prod-mentionExpression"><span class="insert">mentionExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-membershipExpression"><span class="insert">membershipExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-insertionExpression"><span class="insert">insertionExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-removalExpression"><span class="insert">removalExpression</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-dictMembershipExpression"><span class="insert">dictMembershipExpression</span></a></span><span class="insert"> )</span></code></td> </tr> </tbody>
-</table>
-
-
-<span class="delete">&nbsp;&nbsp;| </span><span class="delete">noteExpression</span><span class="delete"> 
+&nbsp;&nbsp;| </span><span class="delete">derivationExpression</span><span class="delete"> 
+| </span><span class="delete">revisionExpression</span><span class="delete"> 
+| </span><span class="delete">quotationExpression</span> <span class="delete">
+&nbsp;&nbsp;| </span><span class="delete">hadOriginalSourceExpression</span><span class="delete"> 
+| </span><span class="delete">traceExpression</span> 
+<span class="delete">
+
+&nbsp;&nbsp;| </span><span class="delete">alternateExpression</span><span class="delete"> 
+| </span><span class="delete">specializationExpression</span>
+<span class="delete">
+
+
+&nbsp;&nbsp;| </span><span class="delete">noteExpression</span><span class="delete"> 
 | </span><span class="delete">annotationExpression</span> 
 
 
 
-
-
-Each expression non-terminal <a class="grammarRef" href="#prod-expression">expression</a>, i.e., <a class="grammarRef" href="#prod-entityExpression"><span class="insert">entityExpression</span></a><span class="insert">,</span>  <span class="delete">entityExpression</span><span class="delete">, </span><a class="grammarRef" href="#prod-activityExpression">activityExpression</a> etc., corresponds to one element (entity, activity, etc.) of the PROV data model.
-<p>A PROV-N document consists of a collection of <a title="expression">expressions</a>, wrapped in <span class="insert">a </span><a class="grammarRef" href="#prod-bundle"><span class="insert">toplevel bundle</span></a><span class="insert"> with some namespace declarations, such that the text for </span>an <span class="insert">element matches the corresponding </span><a class="grammarRef" href="#prod-expression">expression<span class="delete"> container</span><span class="delete"> with some namespace declarations, such that the text for an element matches the corresponding </span><span class="delete">expression</span></a> production of the grammar.
-
-</p></div>
+<span class="delete">
+
+Each expression non-terminal </span><span class="delete">expression</span><span class="delete">, i.e.,  </span><span class="delete">entityExpression</span><span class="delete">, </span><span class="delete">activityExpression</span><span class="delete"> etc., corresponds to one element (entity, activity, etc.) of the PROV data model.
+</span><span class="delete">A PROV-N document consists of a collection of </span><span class="delete">expressions</span><span class="delete">, wrapped in an </span><span class="delete">expression container</span><span class="delete"> with</span><span class="insert">and</span> some namespace <span class="delete">declarations, such that the text for an element matches the corresponding </span><span class="delete">expression</span><span class="delete"> production of the grammar.
+
+</span><span class="insert">declarations.</span></p>
+
+</div>
 
 
 <div id="prov-n-optionals" class="section"> 
-<h3><span class="secno">2.3 </span>Optional terms in expressions</h3>
+<h3><span class="secno"><span class="delete">2.3</span><span class="insert">2.4</span> </span>Optional terms in expressions</h3>
 
 Some terms in an expression may be optional. For example:
 
-<div class="anexample" id="example_3" data-count="3"><div class="anexampleTitle"><a class="internalDFN" href="#example_3"><span class="insert">Example 3</span></a></div>
+<div class="anexample" id="example_5"><div class="anexampleTitle"><a class="internalDFN" href="#example_5"><span class="insert">Example 5</span></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_4" data-count="4"><div class="anexampleTitle"><a class="internalDFN" href="#example_4"><span class="insert">Example 4</span></a></div>
+<div class="anexample" id="example_6"><div class="anexampleTitle"><a class="internalDFN" href="#example_6"><span class="insert">Example 6</span></a></div>
 <pre class="codeexample">activity(a2, 2011-11-16T16:00:00, 2011-11-16T16:00:01)
 activity(a1)
 </pre>
@@ -1634,7 +1846,7 @@
 <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 class="delete">-</span><span class="insert">'-'</span></span> is used for this purpose.
 
-<div class="anexample" id="example_5" data-count="5"><div class="anexampleTitle"><a class="internalDFN" href="#example_5"><span class="insert">Example 5</span></a></div>
+<div class="anexample" id="example_7"><div class="anexampleTitle"><a class="internalDFN" href="#example_7"><span class="insert">Example 7</span></a></div>
 <p>In the first expression below, all optionals are specified. However in the <span class="delete">second,</span><span class="insert">second and third,</span> only <span class="delete">the last </span>one <span class="insert">optional </span>is specified, forcing the use of the marker for the missing terms.<span class="delete"> In the last, no marker is necessary because all </span><span class="delete">remaining</span><span class="delete"> optionals after </span><span class="delete">a</span><span class="delete"> are missing.
 
 </span> 
@@ -1645,7 +1857,7 @@
 </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_6" data-count="6"><div class="anexampleTitle"><a class="internalDFN" href="#example_6"><span class="insert">Example 6</span></a></div>
+<div class="anexample" id="example_8"><div class="anexampleTitle"><a class="internalDFN" href="#example_8"><span class="insert">Example 8</span></a></div>
 <pre class="codeexample">activity(a1)
 activity(a1, -, -)
 </pre>
@@ -1655,16 +1867,17 @@
 </div>
 
 <div id="prov-n-standard-terms" class="section"> 
-<h3><span class="secno">2.4 </span>Identifiers and attributes</h3>
-
-<p>Most expressions defined in the grammar include the use of two terms: an identifier <span class="insert">and a set of attribute-value pairs, delimited by square brackets. Identifiers are optional except </span>for <span class="delete">the predicate,</span><span class="insert">Entities, Activites,</span> and <span class="insert">Agents. Identifiers are always the first term in any expression. By convention, optional identifiers are separated using </span>a <span class="insert">semi-colon ';'. This makes it possible to completely omit an optional identifier with no ambiguity arising. Also, if the </span>set of attribute-value <span class="delete">pairs, delimited by square brackets. Both are</span><span class="insert">pairs is present, it is always the last term in any expression.</span></p>
-
-<div class="anexample" id="example_7" data-count="7"><div class="anexampleTitle"><a class="internalDFN" href="#example_7"><span class="insert">Example 7</span></a></div>
-<p><span class="insert">Derivation has an</span> optional <span class="delete">(unless specified otherwise). By convention,</span><span class="insert">identifier. In the first expression,</span> the identifier is <span class="delete">the first term</span><span class="insert">not available, while it is explicit</span> in <span class="delete">any expression, and the  set of attribute-value pairs is the last. </span><span class="delete">
-Consistent with the convention on optional terms, the  '</span><span class="insert">the second. The third example shows that one can optionally indicate the missing identifier using the </span><span class="name">-</span><span class="delete">' marker can be used when the identifier is not available. Additionally, the grammar rules are defined in such a way that the optional identifier can be omitted altogether with no ambiguity arising.
+<h3><span class="secno"><span class="delete">2.4</span><span class="insert">2.5</span> </span>Identifiers and attributes</h3>
+
+<p><span class="insert">Almost all expressions defined in the grammar include an identifier (see </span><a href="#expression-identifier"><span class="insert">Section 3.7.1</span></a><span class="insert"> for the full syntax of identifiers). </span>Most expressions<span class="delete"> defined</span><span class="insert">
+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</span> in <span class="delete">the grammar include the use</span><span class="insert">any expression.  Optional identifiers </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be separated using a semi-colon ';', but where the identifiers are required, a regular comma ',' </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be used. This makes it possible to completely omit an optional identifier with no ambiguity arising. Also, if the set</span> of <span class="delete">two terms:</span><span class="insert">attribute-value pairs is present, it is always the last term in any expression.</span></p>
+
+<div class="anexample" id="example_9"><div class="anexampleTitle"><a class="internalDFN" href="#example_9"><span class="insert">Example 9</span></a></div>
+<p><span class="insert">Derivation has</span> an <span class="insert">optional identifier. In the first expression, the </span>identifier <span class="delete">for the predicate, and a set of attribute-value pairs, delimited by square brackets. Both are optional (unless specified otherwise). By convention, the</span><span class="insert">is not available, while it is explicit in the second. The third example shows that one can optionally indicate the missing</span> identifier <span class="delete">is the first term in any expression, and the  set of attribute-value pairs is the last. </span><span class="delete">
+Consistent with the convention on optional terms, the  '</span><span class="insert">using the </span><span class="name">-</span><span class="delete">' marker can be used when the identifier</span><span class="insert"> marker. This</span> is <span class="delete">not available. Additionally, the grammar rules are defined in such a way that the optional identifier can be omitted altogether with no ambiguity arising.
 
 </span>
-<span class="delete">Derivation has an optional identifier. In the first expression, the identifier is not available. It is explicit in the second, and marked by a </span><span class="delete">-</span><span class="delete"> in the third.</span><span class="insert"> marker.</span></p>
+<span class="delete">Derivation has an optional identifier. In</span><span class="insert">equivalent to</span> the first <span class="delete">expression, the identifier is not available. It is explicit in the second, and marked by a </span><span class="delete">-</span><span class="delete"> in the third.</span><span class="insert">expression. </span></p>
 <pre class="codeexample">wasDerivedFrom(e2, e1)
 <span class="delete">wasDerivedFrom(d,</span><span class="insert">wasDerivedFrom(d;</span> e2, e1)
 <span class="delete">wasDerivedFrom(-,</span><span class="insert">wasDerivedFrom(-;</span> e2, e1)
@@ -1676,25 +1889,26 @@
 
 
 
-</span><div class="anexample" id="example_8" data-count="8"><div class="anexampleTitle"><a class="internalDFN" href="#example_8"><span class="insert">Example 8</span></a></div>
-<p>The first <span class="delete">activity does not</span><span class="insert">and second activities</span> have <span class="delete">any</span><span class="insert">no</span> attributes.<span class="delete"> The second has an empty list of attributes. </span>
-
-The third activity  has two attributes. 
-</p><pre class="codeexample">activity(ex:a10)
-activity(ex:a10, [])
-activity(ex:a10, [ex:param1="a", ex:param2="b"])
+</span><div class="anexample" id="example_10"><div class="anexampleTitle"><a class="internalDFN" href="#example_10"><span class="insert">Example 10</span></a></div>
+<p>The first <span class="insert">and second </span>activity <span class="delete">does not</span><span class="insert">expressions</span> have <span class="delete">any attributes. </span><span class="insert">no attributes, and are equivalent.
+
+</span>The <span class="delete">second has an empty list of attributes. The </span>third activity  <span class="insert"> expression </span>has two attributes. 
+</p><pre class="codeexample"><span class="delete">activity(ex:a10)
+activity(ex:a10,</span><span class="insert">activity(ex:a1)
+activity(ex:a1,</span> [])
+<span class="delete">activity(ex:a10,</span><span class="insert">activity(ex:a1,</span> [ex:param1="a", ex:param2="b"])
 </pre>
 </div>
 
 </div>
 
 <div id="comments" class="section">
-<h3><span class="secno"><span class="insert">2.5 </span></span><span class="insert">Comments</span></h3><span class="insert">
+<h3><span class="secno"><span class="insert">2.6 </span></span><span class="insert">Comments</span></h3><span class="insert">
 
 
 Comments in PROV-N take two forms:
 </span><ul>
-<li><span class="insert"> '//'  outside an </span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF"><span class="insert">IRI_REF</span></a></code><span class="insert"> or </span><code class="content"><a class="grammarRef" href="#prod-STRING_LITERAL"><span class="insert">STRING_LITERAL</span></a></code><span class="insert">; such cooments 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><span class="insert"> '//'  outside an </span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF"><span class="insert">IRI_REF</span></a></code><span class="insert"> or </span><code class="content"><a class="grammarRef" href="#prod-STRING_LITERAL"><span class="insert">STRING_LITERAL</span></a></code><span class="insert">; 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. 
 
 </span></li><li><span class="insert"> '/*' ... '*/', outside an </span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF"><span class="insert">IRI_REF</span></a></code><span class="insert"> or </span><code class="content"><a class="grammarRef" href="#prod-STRING_LITERAL"><span class="insert">STRING_LITERAL</span></a></code><span class="insert">.
 </span></li></ul>
@@ -1730,7 +1944,7 @@
 </table>
 
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Entity maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Entity maps to a PROV-N syntax element.</span></p>
 <span class="delete">entityExpression</span><span class="delete">&nbsp;::=  
 </span><span class="delete">entity</span>
 <span class="delete">(</span>
@@ -1739,7 +1953,7 @@
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Entity</span></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/#entity.id"><span class="attribute" id="entity.id"><span class="insert">id</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#entity.id"><span class="attribute" id="entity.id"><span class="insert">id</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier
 <span class="delete">optional-attribute-values</span>
 <span class="delete">)</span>
 
@@ -1758,14 +1972,14 @@
 <span class="delete">=</span>
 <span class="delete">Literal</span>
 </a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#entity.attributes"><span class="attribute" id="entity.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#entity.attributes"><span class="attribute" id="entity.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
 
 
 
-<div class="anexample" id="example_9" data-count="9"><div class="anexampleTitle"><a class="internalDFN" href="#example_9"><span class="insert">Example 9</span></a></div>
+<div class="anexample" id="example_11"><div class="anexampleTitle"><a class="internalDFN" href="#example_11"><span class="insert">Example 11</span></a></div>
 
 
 <pre class="codeexample">entity(tr:WD-prov-dm-20111215, [ prov:type="document" ])
@@ -1797,12 +2011,12 @@
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-timeOrMarker" name="prod-timeOrMarker"></a><span class="insert">[</span><span class="prodNo"><span class="insert">8</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">timeOrMarker</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-time"><span class="insert">time</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
 </table>
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Activity maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Activity maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Activity</span></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/#activity.id"><span class="attribute" id="activity.id"><span class="insert">id</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#activity.id"><span class="attribute" id="activity.id"><span class="insert">id</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier">identifier
 <span class="delete">,</span><span class="delete">
 (</span><span class="delete">time</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
 </span><span class="delete">,</span><span class="delete">
@@ -1810,13 +2024,13 @@
 <span class="delete">optional-attribute-values</span>
 <span class="delete">)</span></a></code></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#activity.startTime"><span class="attribute" id="activity.startTime"><span class="insert">startTime</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#activity.endTime"><span class="attribute" id="activity.endTime"><span class="insert">endTime</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</span></a></code></td></tr>
-
-
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#activity.attributes"><span class="attribute" id="activity.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#activity.startTime"><span class="attribute" id="activity.startTime"><span class="insert">startTime</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#activity.endTime"><span class="attribute" id="activity.endTime"><span class="insert">endTime</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</span></a></code></td></tr>
+
+
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#activity.attributes"><span class="attribute" id="activity.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -1825,7 +2039,7 @@
 
 
 
-<div class="anexample" id="example_10" data-count="10"><div class="anexampleTitle"><a class="internalDFN" href="#example_10"><span class="insert">Example 10</span></a></div>
+<div class="anexample" id="example_12"><div class="anexampleTitle"><a class="internalDFN" href="#example_12"><span class="insert">Example 12</span></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<span class="delete"> optional </span>  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>
@@ -1865,29 +2079,29 @@
 
 </table>
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Generation maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Generation maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Generation</span></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/#generation.id"><span class="attribute" id="generation.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/#generation.entity"><span class="attribute" id="generation.entity"><span class="insert">entity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#generation.id"><span class="attribute" id="generation.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#generation.entity"><span class="attribute" id="generation.entity"><span class="insert">entity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier
 <span class="delete">,</span><span class="delete">
 ( </span><span class="delete">aIdentifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
 </span><span class="delete">,</span><span class="delete"> ( </span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#generation.activity"><span class="attribute" id="generation.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></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><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#generation.activity"><span class="attribute" id="generation.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#generation.time"><span class="attribute" id="generation.time">time</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
 </span><span class="delete">optional-attribute-values</span>
 <span class="delete">)</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</span></a></code></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#generation.attributes"><span class="attribute" id="generation.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#generation.attributes"><span class="attribute" id="generation.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
 
 
-<div class="anexample" id="example_11" data-count="11"><div class="anexampleTitle"><a class="internalDFN" href="#example_11"><span class="insert">Example 11</span></a></div>
+<div class="anexample" id="example_13"><div class="anexampleTitle"><a class="internalDFN" href="#example_13"><span class="insert">Example 13</span></a></div>
 
 
 
@@ -1897,9 +2111,8 @@
   <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"><span class="delete">wasGeneratedBy(tr:WD-prov-dm-20111215, ex:edit1, -)
-wasGeneratedBy(tr:WD-prov-dm-20111215,</span><span class="insert">wasGeneratedBy(e2, a1, tr:WD-prov-dm-20111215)
-wasGeneratedBy(e,</span> ex:edit1, 2011-11-16T16:00:00)
+<pre class="codeexample"><span class="delete">wasGeneratedBy(tr:WD-prov-dm-20111215, ex:edit1,</span><span class="insert">wasGeneratedBy(e2, a1,</span> -)
+<span class="delete">wasGeneratedBy(tr:WD-prov-dm-20111215, ex:edit1,</span><span class="insert">wasGeneratedBy(e2, a1,</span> 2011-11-16T16:00:00)
 wasGeneratedBy(e2, a1, -, [ex:fct="save"])     
 wasGeneratedBy(e2, <span class="delete">-, -, </span>[ex:fct="save"])     
 <span class="delete">wasGeneratedBy(ex:g1, tr:WD-prov-dm-20111215, ex:edit1, -)
@@ -1908,8 +2121,9 @@
 </pre>
 </div>
 
-<p>Even though the production <code class="content"><a class="grammarRef" href="#prod-generationExpression">generationExpression</a></code> allows for expressions <span class="name">wasGeneratedBy(e2, -, -)</span>  and <span class="name"><span class="delete">wasGeneratedBy(-,</span><span class="insert">wasGeneratedBy(-;</span> e2, -, -)</span>, these expressions are not valid in PROV-N, since 
- at least<span class="insert"> one</span>  <span class="delete">one </span>of <a href="http://www.w3.org/TR/prov-dm/#generation.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><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>, <span class="delete">or</span><span class="insert">and</span>  <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.</p>
+<p><span class="delete">Even though the production </span><span class="insert">Additional semantic rules (</span><a href="#semantic-rules-summary"><span class="insert">Section 3.7.5</span></a><span class="insert">) apply to </span><code class="content"><a class="grammarRef" href="#prod-generationExpression">generationExpression<span class="delete"> allows for expressions </span><span class="delete">wasGeneratedBy(e2, -, -)</span><span class="delete">  and </span><span class="delete">wasGeneratedBy(-, e2, -, -)</span><span class="delete">, these expressions are not valid in PROV-N, since 
+at least  one of </span><span class="delete">activity</span><span class="delete">, </span><span class="delete">time</span><span class="delete">, or  </span><span class="delete">attributes</span>  <span class="delete">must</span><span class="delete"> be present.</span></a></code><span class="insert">.</span></p>
+
 
 
 
@@ -1931,36 +2145,36 @@
 
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-usageExpression" name="prod-usageExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">12</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod">usageExpression<span class="delete">&nbsp;::=  
 </span><span class="delete">used</span>
-</code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"used" "(" </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-aIdentifier"><span class="insert">aIdentifier</span></a></span><span class="insert"> "," </span>(
+</code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"used" "(" </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-aIdentifier"><span class="insert">aIdentifier</span></a></span> (
 <span class="delete">( </span><span class="delete">identifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) </span><span class="delete">,</span> 
 <span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</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>
 </table>
 
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Usage maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Usage maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Usage</span></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/#usage.id"><span class="attribute" id="usage.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/#usage.activity"><span class="attribute" id="usage.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#usage.id"><span class="attribute" id="usage.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#usage.activity"><span class="attribute" id="usage.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier
 <span class="delete">,</span>
 <span class="delete">eIdentifier</span>
-<span class="delete">,</span><span class="delete"> ( </span></a></code></td></tr><tr><td><a href="http://www.w3.org/TR/prov-dm/#usage.entity"><span class="attribute" id="usage.entity"><span class="insert">entity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</span></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><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) 
+<span class="delete">,</span><span class="delete"> ( </span></a></code></td></tr><tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#usage.entity"><span class="attribute" id="usage.entity"><span class="insert">entity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</span></a></code></td></tr>
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#usage.time"><span class="attribute" id="usage.time">time</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) 
 </span><span class="delete">optional-attribute-values</span>
 <span class="delete">)</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</span></a></code></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#usage.attributes"><span class="attribute" id="usage.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#usage.attributes"><span class="attribute" id="usage.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
 
 
 
-<div class="anexample" id="example_12" data-count="12"><div class="anexampleTitle"><a class="internalDFN" href="#example_12"><span class="insert">Example 12</span></a></div>
+<div class="anexample" id="example_14"><div class="anexampleTitle"><a class="internalDFN" href="#example_14"><span class="insert">Example 14</span></a></div>
   
 <pre class="codeexample"><span class="delete">used(ex:u1,</span><span class="insert">used(ex:u1;</span> ex:act2, ar3:0111, 2011-11-16T16:00:00, [ex:fct="load"])
  </pre>
@@ -1970,16 +2184,21 @@
 The remaining examples show cases where some of the optionals are omitted.
 
   <pre class="codeexample"><span class="insert">used(ex:act2)
-</span>used(ex:act2, ar3:0111, <span class="delete">-)
-used(ex:act2, ar3:0111, </span>2011-11-16T16:00:00)
+</span>used(ex:act2, ar3:0111, <span class="insert">2011-11-16T16:00:00)
 used(a1,e1, -, [ex:fct="load"])
-<span class="delete">used(ex:u1, ex:act2, ar3:0111, -)
-used(-,</span><span class="insert">used(ex:u1;</span> ex:act2, ar3:0111, -)
-</pre>
+used(ex:u1; ex:act2, ar3:0111, </span>-)
+<span class="delete">used(ex:act2, ar3:0111, 2011-11-16T16:00:00)
+used(a1,e1, -, [ex:fct="load"])
+used(ex:u1, ex:act2, ar3:0111, -)
+used(-, ex:act2, ar3:0111, -)
+</span></pre>
 </div>
 
 
-<p><span class="insert">Even though the production </span><code class="content"><a class="grammarRef" href="#prod-usageExpression"><span class="insert">usageExpression</span></a></code><span class="insert"> allows for expressions </span><span class="name"><span class="insert">used(a2, -, -)</span></span><span class="insert">  and </span><span class="name"><span class="insert">used(-; e2, -, -)</span></span><span class="insert">, these expressions are not valid in PROV-N, since at least one  of </span><a href="http://www.w3.org/TR/prov-dm/#usage.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><a href="http://www.w3.org/TR/prov-dm/#usage.entity"><span class="attribute"><span class="insert">entity</span></span></a><span class="insert">, </span><a href="http://www.w3.org/TR/prov-dm/#usage.time"><span class="attribute"><span class="insert">time</span></span></a><span class="insert">, and  </span><a href="http://www.w3.org/TR/prov-dm/#usage.attributes"><span class="attribute"><span class="insert">attributes</span></span></a> <em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be present.</span></p>
+
+
+<p><span class="insert">Additional semantic rules (</span><a href="#semantic-rules-summary"><span class="insert">Section 3.7.5</span></a><span class="insert">) apply to </span><code class="content"><a class="grammarRef" href="#prod-usageExpression"><span class="insert">usageExpression</span></a></code><span class="insert">.</span></p>
+
 
 
 
@@ -1999,21 +2218,21 @@
 </table>
 
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Communication maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Communication maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Communication</span></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/#communication.id"><span class="attribute" id="communication.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/#communication.informed"><span class="attribute" id="communication.informed"><span class="insert">informed</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier"><span class="insert">aIdentifier</span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#communication.informant"><span class="attribute" id="communication.informant"><span class="insert">informant</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier"><span class="insert">aIdentifier</span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#communication.attributes"><span class="attribute" id="communication.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#communication.id"><span class="attribute" id="communication.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#communication.informed"><span class="attribute" id="communication.informed"><span class="insert">informed</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier"><span class="insert">aIdentifier</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#communication.informant"><span class="attribute" id="communication.informant"><span class="insert">informant</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier"><span class="insert">aIdentifier</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#communication.attributes"><span class="attribute" id="communication.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
 
 
-<div class="anexample" id="example_13" data-count="13"><div class="anexampleTitle"><a class="internalDFN" href="#example_13"><span class="insert">Example 13</span></a></div>
+<div class="anexample" id="example_15"><div class="anexampleTitle"><a class="internalDFN" href="#example_15"><span class="insert">Example 15</span></a></div>
 <pre class="codeexample"><span class="insert">wasInformedBy(ex:inf1; ex:a1, ex:a2, [ex:param1="a", ex:param2="b"])
 </span></pre>
 <p><span class="insert">  Here </span><span class="name"><span class="insert">ex:inf1</span></span><span class="insert"> is the optional communication identifier,  </span><span class="name"><span class="insert">ex:a1</span></span><span class="insert"> is the identifier of the informed activity,
@@ -2046,25 +2265,25 @@
 <span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</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>
 </table>
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Start maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Start maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Start</span></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/#start.id"><span class="attribute" id="start.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/#start.activity"><span class="attribute" id="start.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.id"><span class="attribute" id="start.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.activity"><span class="attribute" id="start.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier
 <span class="delete">,</span><span class="delete">
 ( </span><span class="delete">eIdentifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
 </span><span class="delete">,</span><span class="delete"> ( </span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#start.trigger"><span class="attribute" id="start.trigger"><span class="insert">trigger</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#start.starter"><span class="attribute" id="start.starter"><span class="insert">starter</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></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><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.trigger"><span class="attribute" id="start.trigger"><span class="insert">trigger</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.starter"><span class="attribute" id="start.starter"><span class="insert">starter</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></a></code></td></tr>
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.time"><span class="attribute" id="start.time">time</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
 </span><span class="delete">optional-attribute-values</span>
 <span class="delete">)</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</span></a></code></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#start.attributes"><span class="attribute" id="start.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.attributes"><span class="attribute" id="start.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -2072,7 +2291,7 @@
 
 
 
-<div class="anexample" id="example_14" data-count="14"><div class="anexampleTitle"><a class="internalDFN" href="#example_14"><span class="insert">Example 14</span></a></div>
+<div class="anexample" id="example_16"><div class="anexampleTitle"><a class="internalDFN" href="#example_16"><span class="insert">Example 16</span></a></div>
 
   <pre class="codeexample"><span class="delete">wasStartedBy(s,</span><span class="insert">wasStartedBy(s;</span> ex:act2, <span class="delete">ar3:0111,</span><span class="insert">ex:trigger, ex:act1,</span> 2011-11-16T16:00:00, [ex:param="a"])
   </pre>
@@ -2087,14 +2306,21 @@
 wasStartedBy(ex:act2, -, <span class="insert">-, </span>2011-11-16T16:00:00)
 wasStartedBy(ex:act2, <span class="delete">-, -)
 wasStartedBy(ex:act2, -, -, </span>[ex:param="a"])
-<span class="delete">wasStartedBy(s,</span><span class="insert">wasStartedBy(s;</span> ex:act2, <span class="delete">ar3:0111, 2011-11-16T16:00:00)
-wasStartedBy(-, ex:act2, ar3:0111,</span><span class="insert">e, ex:act1,</span> 2011-11-16T16:00:00)
-</pre>
+<span class="delete">wasStartedBy(s,</span><span class="insert">wasStartedBy(s;</span> ex:act2, <span class="delete">ar3:0111,</span><span class="insert">e, ex:act1,</span> 2011-11-16T16:00:00)
+<span class="delete">wasStartedBy(-, ex:act2, ar3:0111, 2011-11-16T16:00:00)
+</span></pre>
 </div>
 
-<p><strong>Note:</strong> Even though the production <code class="content"><a class="grammarRef" href="#prod-startExpression">startExpression</a></code> allows for expressions <span class="name">wasStartedBy(e2, -, -)</span>  and <span class="name"><span class="delete">wasStartedBy(-,</span><span class="insert">wasStartedBy(-;</span> e2, -, -)</span>, these expressions are not valid in PROV-N,
+
+
+
+<p><span class="delete">Note:</span><span class="delete"> Even though the production </span><span class="insert">Additional semantic rules (</span><a href="#semantic-rules-summary"><span class="insert">Section 3.7.5</span></a><span class="insert">) apply to </span><code class="content"><a class="grammarRef" href="#prod-startExpression">startExpression<span class="delete"> allows for expressions </span><span class="delete">wasStartedBy(e2, -, -)</span><span class="delete">  and </span><span class="delete">wasStartedBy(-, e2, -, -)</span><span class="delete">, these expressions are not valid in PROV-N,
 since 
- at least<span class="insert"> one</span>  <span class="delete">one </span>of <a href="http://www.w3.org/TR/prov-dm/#start.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><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"><span class="insert">starter</span></span></a><span class="insert">, </span><a href="http://www.w3.org/TR/prov-dm/#start.time"><span class="attribute">time</span></a>, <span class="delete">or</span><span class="insert">and</span>  <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.</p>
+at least  one of </span><span class="delete">trigger</span><span class="delete">, </span><span class="delete">time</span><span class="delete">, or  </span><span class="delete">attributes</span>  <span class="delete">must</span><span class="delete"> be present.</span></a></code><span class="insert">.</span></p>
+
+
+
+
 
 </div>
 
@@ -2115,32 +2341,32 @@
 </table>
 
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM End maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM End maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">End</span></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/#end.id"><span class="attribute" id="end.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/#end.activity"><span class="attribute" id="end.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.id"><span class="attribute" id="end.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.activity"><span class="attribute" id="end.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier
 <span class="delete">,</span><span class="delete">
 ( </span><span class="delete">eIdentifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
 </span><span class="delete">,</span><span class="delete"> ( </span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#end.trigger"><span class="attribute" id="end.trigger"><span class="insert">trigger</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#end.ender"><span class="attribute" id="end.ender"><span class="insert">ender</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></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><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.trigger"><span class="attribute" id="end.trigger"><span class="insert">trigger</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.ender"><span class="attribute" id="end.ender"><span class="insert">ender</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></a></code></td></tr>
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.time"><span class="attribute" id="end.time">time</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
 </span><span class="delete">optional-attribute-values</span>
 <span class="delete">)</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</span></a></code></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#end.attributes"><span class="attribute" id="end.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.attributes"><span class="attribute" id="end.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
 
 
 
-<div class="anexample" id="example_15" data-count="15"><div class="anexampleTitle"><a class="internalDFN" href="#example_15"><span class="insert">Example 15</span></a></div>
+<div class="anexample" id="example_17"><div class="anexampleTitle"><a class="internalDFN" href="#example_17"><span class="insert">Example 17</span></a></div>
 
     <pre class="codeexample"><span class="delete">wasEndedBy(s,</span><span class="insert">wasEndedBy(s;</span> ex:act2, <span class="delete">ex:trigger, </span><span class="insert">ex:trigger,ex:act3,  </span>2011-11-16T16:00:00, [ex:param="a"])
   </pre>
@@ -2157,15 +2383,22 @@
 wasEndedBy(ex:act2, -, <span class="insert">-, </span>2011-11-16T16:00:00)
 wasEndedBy(ex:act2, -, <span class="insert">-, </span>2011-11-16T16:00:00, [ex:param="a"])
 <span class="delete">wasEndedBy(e,ex:act2,</span><span class="insert">wasEndedBy(e; ex:act2)
-wasEndedBy(e; ex:act2, ex:trigger,</span> -,<span class="delete"> -)
-wasEndedBy(e, ex:act2, ex:trigger, 2011-11-16T16:00:00)
-wasEndedBy(-, ex:act2, ex:trigger,</span> 2011-11-16T16:00:00)
-</pre>
+wasEndedBy(e; ex:act2, ex:trigger,</span> -, <span class="delete">-)
+wasEndedBy(e, ex:act2, ex:trigger, </span>2011-11-16T16:00:00)
+<span class="delete">wasEndedBy(-, ex:act2, ex:trigger, 2011-11-16T16:00:00)
+</span></pre>
 </div>
 
-<p><strong>Note:</strong>Even though the production <code class="content"><a class="grammarRef" href="#prod-endExpression">endExpression</a></code> allows for expressions <span class="name">wasEndedBy(e2, -, -)</span>  and <span class="name"><span class="delete">wasEndedBy(-,</span><span class="insert">wasEndedBy(-;</span> e2, -, -)</span>, these expressions are not valid in PROV-N,
+
+
+
+<p><span class="delete">Note:</span><span class="delete">Even though the production </span><span class="insert">Additional semantic rules (</span><a href="#semantic-rules-summary"><span class="insert">Section 3.7.5</span></a><span class="insert">) apply to </span><code class="content"><a class="grammarRef" href="#prod-endExpression">endExpression<span class="delete"> allows for expressions </span><span class="delete">wasEndedBy(e2, -, -)</span><span class="delete">  and </span><span class="delete">wasEndedBy(-, e2, -, -)</span><span class="delete">, these expressions are not valid in PROV-N,
 since 
- at least<span class="insert"> one</span>  <span class="delete">one </span>of <a href="http://www.w3.org/TR/prov-dm/#end.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><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"><span class="insert">ender</span></span></a><span class="insert">, </span><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.</p>
+at least  one of </span><span class="delete">trigger</span><span class="delete">, </span><span class="delete">time</span><span class="delete">, and  </span><span class="delete">attributes</span> <span class="delete">must</span><span class="delete"> be present.</span></a></code><span class="insert">.</span></p>
+
+
+
+
 </div>
 
 
@@ -2192,28 +2425,28 @@
 </table>
 
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Invalidation maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Invalidation maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Invalidation</span></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/#invalidation.id"><span class="attribute" id="invalidation.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/#invalidation.entity"><span class="attribute" id="invalidation.entity"><span class="insert">entity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#invalidation.id"><span class="attribute" id="invalidation.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#invalidation.entity"><span class="attribute" id="invalidation.entity"><span class="insert">entity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier
 <span class="delete">,</span><span class="delete">
 ( </span><span class="delete">aIdentifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
 </span><span class="delete">,</span><span class="delete"> ( </span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#invalidation.activity"><span class="attribute" id="invalidation.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></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><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#invalidation.activity"><span class="attribute" id="invalidation.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#invalidation.time"><span class="attribute" id="invalidation.time">time</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
 </span><span class="delete">optional-attribute-values</span>
 <span class="delete">)</span></a></td><td><code class="content"><a class="grammarRef" href="#prod-timeOrMarker"><span class="insert">timeOrMarker</span></a></code></td></tr>
 
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#invalidation.attributes"><span class="attribute" id="invalidation.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#invalidation.attributes"><span class="attribute" id="invalidation.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
 
-<div class="anexample" id="example_16" data-count="16"><div class="anexampleTitle"><a class="internalDFN" href="#example_16"><span class="insert">Example 16</span></a></div>
+<div class="anexample" id="example_18"><div class="anexampleTitle"><a class="internalDFN" href="#example_18"><span class="insert">Example 18</span></a></div>
 
 
 
@@ -2230,14 +2463,10 @@
 <span class="delete">wasInvalidatedBy(ex:i1,</span><span class="insert">wasInvalidatedBy(ex:i1;</span> tr:WD-prov-dm-20111215, ex:edit1, -)
 <span class="delete">wasInvalidatedBy(-, tr:WD-prov-dm-20111215,</span><span class="insert">wasInvalidatedBy(tr:WD-prov-dm-20111215,</span> ex:edit1, -)
 </pre>
-</div>
-
-<p>Even though the production   <code class="content"><a class="grammarRef" href="#prod-invalidationExpression">invalidationExpression</a></code> allows for expressions <span class="name">wasInvalidatedBy(e2, -, -)</span>  and <span class="name"><span class="delete">wasInvalidatedBy(-,</span><span class="insert">wasInvalidatedBy(-;</span> e2, -, -)</span>, these expressions are not valid in PROV-N, since 
-<span class="insert">since </span>at least<span class="insert"> one</span>  <span class="delete">one </span>of <a href="http://www.w3.org/TR/prov-dm/#invalidation.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><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>, <span class="delete">or</span><span class="insert">and</span>  <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.</p>
-
-
-
-
+
+
+<span class="delete">Even though the production </span><span class="delete">invalidationExpression</span><span class="delete"> allows for expressions </span><span class="delete">wasInvalidatedBy(e2, -, -)</span><span class="delete">  and </span><span class="delete">wasInvalidatedBy(-, e2, -, -)</span><span class="delete">, these expressions are not valid in PROV-N, since 
+at least  one of </span><span class="delete">activity</span><span class="delete">, </span><span class="delete">time</span><span class="delete">, or  </span><span class="delete">attributes</span>  <span class="delete">must</span><span class="delete"> be present.</span>
 
 
 </div>
@@ -2249,13 +2478,19 @@
 
 <span class="delete">communicationExpression</span><span class="delete"> &nbsp;::= 
 </span><span class="delete">wasInformedBy</span>
-<span class="delete">(</span>
-<span class="delete">( </span><span class="delete">identifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) </span><span class="delete">,</span> 
+<p><span class="insert">Additional semantic rules </span>(
+<span class="delete">( </span><span class="delete">identifier</span><span class="delete"> | </span><span class="delete">-</span> <a href="#semantic-rules-summary"><span class="insert">Section 3.7.5</span></a>) <span class="delete">,</span> 
 <span class="delete">aIdentifier</span>
 <span class="delete">,</span>
 <span class="delete">aIdentifier</span>
 <span class="delete">optional-attribute-values</span>
 <span class="delete">)</span>
+<span class="insert">apply to </span><code class="content"><a class="grammarRef" href="#prod-invalidationExpression"><span class="insert">invalidationExpression</span></a></code><span class="insert">.</span></p>
+
+
+
+
+
 </div>
 
 
@@ -2273,6 +2508,7 @@
 wasInformedBy(-, ex:a1, ex:a2)
 wasInformedBy(-, ex:a1, ex:a2, [ex:param1="a", ex:param2="b"])
 </span>
+</div>
 
 
 
@@ -2282,7 +2518,6 @@
 </div>
 
 
-
 <span class="delete">3.1.9 </span><span class="delete">Start by Activity</span>
 
 
@@ -2317,40 +2552,41 @@
 
 
 
-
-
 <div id="component2" class="section"> 
 <h3><span class="secno">3.2 </span>Component 2: <span class="delete">Agents and Responsibility</span><span class="insert">Derivations</span></h3>
 <div id="Derivation-Relation" class="section">
-<h4><span class="secno">3.2.1 </span><span class="insert">Derivation</span></h4>
+<h4><span class="secno">3.2.1 </span><span class="delete">Agent</span><span class="insert">Derivation</span></h4>
+
+
+<span class="delete">agentExpression</span><span class="delete">&nbsp;::=</span>
 
 
 <table class="grammar">
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-derivationExpression" name="prod-derivationExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">17</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">derivationExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"wasDerivedFrom" "(" </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-eIdentifier"><span class="insert">eIdentifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></span><span class="insert"> ( "," </span><span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-gIdentifierOrMarker"><span class="insert">gIdentifierOrMarker</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-uIdentifierOrMarker"><span class="insert">uIdentifierOrMarker</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>
 </table>
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Derivation maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Derivation maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Derivation</span></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/#derivation.id"><span class="attribute" id="derivation.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/#derivation.generatedEntity"><span class="attribute" id="derivation.generatedEntity"><span class="insert">generatedEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.usedEntity"><span class="attribute" id="derivation.usedEntity"><span class="insert">usedEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.activity"><span class="attribute" id="derivation.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.generation"><span class="attribute" id="derivation.generation"><span class="insert">generation</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-gIdentifierOrMarker"><span class="insert">gIdentifierOrMarker</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.usage"><span class="attribute" id="derivation.usage"><span class="insert">usage</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-uIdentifierOrMarker"><span class="insert">uIdentifierOrMarker</span></a></code></td></tr>
-
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#derivation.attributes"><span class="attribute" id="derivation.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#derivation.id"><span class="attribute" id="derivation.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#derivation.generatedEntity"><span class="attribute" id="derivation.generatedEntity"><span class="insert">generatedEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#derivation.usedEntity"><span class="attribute" id="derivation.usedEntity"><span class="insert">usedEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#derivation.activity"><span class="attribute" id="derivation.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></a></code></td></tr>
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#derivation.generation"><span class="attribute" id="derivation.generation"><span class="insert">generation</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-gIdentifierOrMarker"><span class="insert">gIdentifierOrMarker</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#derivation.usage"><span class="attribute" id="derivation.usage"><span class="insert">usage</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-uIdentifierOrMarker"><span class="insert">uIdentifierOrMarker</span></a></code></td></tr>
+
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#derivation.attributes"><span class="attribute" id="derivation.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
@@ -2359,8 +2595,8 @@
 
 
 
-<div class="anexample" id="anexample-derivation" data-count="17"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-derivation"><span class="insert">Example 17</span></a></div>
-    <pre class="codeexample"><span class="insert">wasDerivedFrom(d, e2, e1, a, g2, u1, [ex:comment="a righteous derivation"])
+<div class="anexample" id="anexample-derivation"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-derivation"><span class="insert">Example 19</span></a></div>
+    <pre class="codeexample"><span class="insert">wasDerivedFrom(d; e2, e1, a, g2, u1, [ex:comment="a righteous derivation"])
   </span></pre>
 <p><span class="insert">  Here
     </span><span class="name"><span class="insert">d</span></span><span class="insert"> is the optional derivation identifier,
@@ -2381,8 +2617,8 @@
 wasDerivedFrom(e2, e1, a, -, -)
 wasDerivedFrom(e2, e1, -, -, u1)
 wasDerivedFrom(e2, e1, -, -, -)
-wasDerivedFrom(d, e2, e1, a, g2, u1)
-wasDerivedFrom(-, e2, e1, a, g2, u1)
+wasDerivedFrom(d; e2, e1, a, g2, u1)
+wasDerivedFrom(-; e2, e1, a, g2, u1)
 </span></pre>
 </div>
 
@@ -2390,32 +2626,132 @@
 <div id="expression-Revision" class="section">
 <h4><span class="secno"><span class="insert">3.2.2 </span></span><span class="insert">Revision</span></h4>
 
-
-
-
-<div class="anexample" id="example_18" data-count="18"><div class="anexampleTitle"><a class="internalDFN" href="#example_18"><span class="insert">Example 18</span></a></div>
+<p id="provn-type-Revision"><span class="insert">
+PROV-N provides no dedicated syntax for Revision. Instead, a Revision </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be expressed as a</span> 
+<code class="content"><a class="grammarRef" href="#prod-derivationExpression"><span class="insert">derivationExpression</span></a></code><span class="insert"> with attribute </span><code><span class="insert">prov:type='prov:Revision'</span></code><span class="insert">.</span></p>
+
+
+
+<div class="anexample" id="example_20"><div class="anexampleTitle"><a class="internalDFN" href="#example_20"><span class="insert">Example 20</span></a></div>
     <pre class="codeexample"><span class="insert">wasDerivedFrom(d; e2, e1, a, g2, u1, 
                [prov:type='prov:Revision', 
                 ex:comment="a righteous derivation"])
   </span></pre>
 <p><span class="insert">Here, the derivation from
-</span><a href="#anexample-derivation" class="anexample-ref"><span><span class="insert">Example 17</span></span></a><span class="insert">
-is extended with a </span><span class="name"><span class="insert">prov:type</span></span><span class="insert"> attribute and value </span><span class="name"><span class="insert">prov:Revision</span></span><span class="insert">.
-</span></p></div>
-
-
-</div>  
+</span><a href="#anexample-derivation" class="anexample-ref"><span><span class="insert">Example 19</span></span></a><span class="insert">
+is extended with a </span><span class="name"><span class="delete">agent</span>
+<span class="insert">prov:type</span></span><span class="insert"> attribute and value </span><span class="name"><span class="delete">(</span>
+<span class="delete">identifier</span>
+<span class="delete">optional-attribute-values</span>
+<span class="delete">)</span>
+
+
+
+
+<span class="delete">agent(ag4, [ prov:type="prov:Person", ex:name="David" ])
+</span>
+<span class="delete">Here </span><span class="delete">ag</span><span class="insert">prov:Revision</span></span><span class="insert">.  The expression </span><code><span class="insert">'prov:Revision'</span></code> is <span class="delete">the agent identifier, and
+   </span><span class="delete">[ prov:type="prov:Person", ex:name="David" ]</span><span class="delete"> are optional attributes. </span><code class="content"><a class="grammarRef" href="#prod-convenienceNotation"><span class="insert">convenienceNotation</span></a></code><span class="insert"> to denote a </span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></code><span class="insert"> literal (See  </span><a href="#expression-literal"><span class="insert">Section 3.7.3. Literal</span></a><span class="insert">).
+</span></p><span class="delete">
+In the next example, the optional attributes are omitted.
+
+</span><span class="delete">agent(ag4)
+</span>
+</div>
+
+
+</div>
+
+<span class="delete">3.2.2 </span><span class="delete">Attribution</span>
+
+
+<span class="delete">attributionExpression</span><span class="delete">&nbsp;::=</span>  
+<span class="delete">wasAttributedTo</span> 
+<span class="delete">(</span> 
+<span class="delete">( </span><span class="delete">identifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) </span><span class="delete">,</span> 
+<span class="delete">eIdentifier</span>
+<span class="delete">,</span> 
+<span class="delete">agIdentifier</span>
+<span class="delete">optional-attribute-values</span>
+<span class="delete">)</span> 
+
+
+
+
+<span class="delete">wasAttributedTo(id, e, ag, [ex:license="cc:attributionURL" %% "xsd:QName"])
+  </span>
+<span class="delete">    Here </span><span class="delete">id</span><span class="delete"> is the optional attribution identifier,  </span><span class="delete">e</span><span class="delete"> is an entity identifier,
+  </span><span class="delete">ag</span><span class="delete"> is the identifier of the agent to whom the entity is abscribed, 
+and </span><span class="delete">[ex:license="cc:attributionURL" %% "xsd:QName"]</span><span class="delete"> are optional attributes. </span><span class="delete">
+The remaining examples show cases where some of the optionals are omitted.
+
+</span><span class="delete">wasAttributedTo(e, ag)
+wasAttributedTo(e, ag, [ex:license="cc:attributionURL" %% "xsd:QName"])
+wasAttributedTo(-,  e, ag, [ex:license="cc:attributionURL" %% "xsd:QName"])
+</span>
+
+
+  
+
+
 <div id="expression-quotation" class="section">
-<h4><span class="secno"><span class="insert">3.2.3 </span></span><span class="insert">Quotation</span></h4>
-
-
-
-
-
-<div class="anexample" id="example_19" data-count="19"><div class="anexampleTitle"><a class="internalDFN" href="#example_19"><span class="insert">Example 19</span></a></div>
+<h4><span class="secno">3.2.3 </span><span class="delete">Association</span><span class="insert">Quotation</span></h4>
+
+
+<span class="delete">associationExpression</span><span class="delete">&nbsp;::= 
+</span><span class="delete">wasAssociatedWith</span>
+<span class="delete">(</span>
+<span class="delete">( </span><span class="delete">identifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) </span><span class="delete">,</span> 
+<span class="delete">aIdentifier</span>
+<span class="delete">,</span><span class="delete"> 
+( </span><span class="delete">agIdentifier</span><span class="delete">  | </span><span class="delete">-</span><span class="delete"> )
+</span><span class="delete">,</span><span class="delete"> 
+( </span><span class="delete">eIdentifier</span><span class="delete">  | </span><span class="delete">-</span><span class="delete"> )
+</span><span class="delete">optional-attribute-values</span>
+<span class="delete">)</span>
+
+
+
+
+
+<span class="delete">wasAssociatedWith(ex:agas, ex:a1, ex:ag1, ex:e1, [ex:param1="a", ex:param2="b"])
+  </span>
+
+<span class="delete">  Here </span><span class="delete">ex:agas</span><span class="delete"> is the optional attribution identifier,
+  </span><span class="delete">ex:a1</span><span class="delete"> is an activity identifier,
+  </span><span class="delete">ex:ag1</span><span class="delete"> is the optional identifier of the agent associated to the activity,
+  </span><span class="delete">ex:e1</span><span class="delete"> is the optional identifier of the plan used by the agent in the context of the activity,
+  and </span><span class="delete"> [ex:param1="a", ex:param2="b"]</span><span class="delete"> are optional attributes. </span><span class="delete">
+The remaining examples show cases where some of the optionals are omitted.
+
+  
+  
+</span><span class="delete">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)
+wasAssociatedWith(-, ex:a1, -, ex:e1)
+wasAssociatedWith(-, ex:a1, ex:ag1, -)
+</span>
+
+
+<span class="delete">Note:</span><span class="delete">The production </span><span class="delete">associationExpression</span><span class="delete"> allows</span><p id="provn-type-Quotation"><span class="insert">
+PROV-N provides no dedicated syntax</span> for <span class="delete">expressions </span><span class="delete">wasAssociatedWith(a, -, -)</span><span class="delete">  and </span><span class="delete">wasAssociatiedWith(-, a, -, -)</span><span class="delete">. However, these expressions are not valid in PROV-N, 
+because at least  one of </span><span class="delete">agent</span><span class="delete"> or </span><span class="delete">plan</span><span class="insert">Quotation. Instead, a Quotation</span> <em class="rfc2119" title="must">must</em> be<span class="delete"> present.</span><span class="insert">  expressed as a 
+</span><code class="content"><a class="grammarRef" href="#prod-derivationExpression"><span class="insert">derivationExpression</span></a></code><span class="insert"> with attribute </span><code><span class="insert">prov:type='prov:Quotation'</span></code><span class="insert">.</span></p>
+
+
+
+
+
+
+
+<div class="anexample" id="example_21"><div class="anexampleTitle"><a class="internalDFN" href="#example_21"><span class="insert">Example 21</span></a></div>
+
     <pre class="codeexample"><span class="insert">wasDerivedFrom(quoteId1; ex:blockQuote,ex:blog, ex:act1, ex:g, ex:u,
-               [ prov:type='prov:Quotation' ])
-  </span></pre>
+               [ prov:type='prov:Quotation' ]) 
+ </span></pre>
 
 <p><span class="insert">Here, the derivation is provided with a </span><span class="name"><span class="insert">prov:type</span></span><span class="insert"> attribute and value </span><span class="name"><span class="insert">prov:Quotation</span></span><span class="insert">.
 </span></p></div>
@@ -2424,309 +2760,109 @@
 </div>  
 
 
-<div id="expression-original-source" class="section">
-<h4><span class="secno"><span class="insert">3.2.4 </span></span><span class="insert">Primary Source</span></h4>
-
-
-
-
-<div class="anexample" id="example_20" data-count="20"><div class="anexampleTitle"><a class="internalDFN" href="#example_20"><span class="insert">Example 20</span></a></div>
+<div id="expression-primary-source" class="section">
+<h4><span class="secno">3.2.4 </span><span class="delete">Responsibility</span><span class="insert">Primary Source</span></h4>
+
+
+<span class="delete">responsibilityExpression</span><span class="delete">&nbsp;::=</span>
+
+
+<p id="provn-type-Primary-Source"><span class="insert">
+PROV-N provides no dedicated syntax for PrimarySource. Instead, a PrimarySource </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be expressed as a</span> 
+<code class="content"><a class="grammarRef" href="#prod-derivationExpression"><span class="insert">derivationExpression</span></a></code><span class="insert"> with attribute </span><code><span class="insert">prov:type='prov:Primary-Source'</span></code><span class="insert">.</span></p>
+
+
+<div class="anexample" id="example_22"><div class="anexampleTitle"><a class="internalDFN" href="#example_22"><span class="insert">Example 22</span></a></div>
     <pre class="codeexample"><span class="insert">wasDerivedFrom(src1;  ex:e1, ex:e2, ex:act, ex:g, ex:u, 
-               [ prove:type='prov:PrimarySource' ])
+               [ prov:type='prov:PrimarySource' ])
 </span></pre>
-<p><span class="insert">Here, the derivation is provided with a </span><span class="name"><span class="insert">prov:type</span></span><span class="insert"> attribute and value </span><span class="name"><span class="insert">prov:PrimarySource</span></span><span class="insert">.
+<p><span class="insert">Here, the derivation is provided with a </span><span class="name"><span class="delete">actedOnBehalfOf</span>
+<span class="insert">prov:type</span></span><span class="insert"> attribute and value </span><span class="name"><span class="delete">(</span>
+<span class="delete">( </span><span class="delete">identifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) </span><span class="delete">,</span> 
+<span class="delete">agIdentifier</span>
+<span class="delete">,</span>
+<span class="delete">agIdentifier</span>
+<span class="delete">,</span><span class="delete">
+( </span><span class="delete">aIdentifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
+</span><span class="delete">optional-attribute-values</span>
+<span class="delete">)</span>
+
+
+
+
+  <span class="delete">actedOnBehalfOf(act1, ag1, ag2, a, [prov:type="contract"])
+  </span>
+<span class="delete">  Here </span><span class="delete">act1</span><span class="delete"> is the optional attribution identifier,
+  </span><span class="delete">ag1</span><span class="delete"> is the identifier for the subordinate agent,
+  </span><span class="delete">ag2</span><span class="delete"> is the  identifier of the responsible agent,
+  </span><span class="delete">a</span><span class="delete"> is the optional identifier of the activity for which the responsibility link holds,
+  and </span><span class="delete"> [prov:type="contract"]</span><span class="delete"> are optional attributes. </span><span class="insert">prov:PrimarySource</span></span><span class="insert">.
   
-</span></p></div>
-
-
-</div>  
-
-</div>
-
-
-<div id="component3" class="section"> 
-<h3><span class="secno"><span class="insert">3.3 </span></span><span class="insert">Component 3: Agents, Responsibility, and Influence</span></h3>
-<div id="expression-Agent" class="section">
-<h4><span class="secno"><span class="insert">3.3.1 </span></span>Agent</h4>
-
-
-
-
-
-
-<table class="grammar">
-
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agentExpression" name="prod-agentExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">18</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod">agentExpression<span class="delete">&nbsp;::= 
-</span><span class="delete">agent</span>
-<span class="delete">(</span>
-</code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"agent" "(" </span><span class="prod"><a class="grammarRef" href="#prod-identifier">identifier
-<span class="delete">optional-attribute-values</span>
-<span class="delete">)</span></a></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>
-
-</table>
-
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Agent maps to a non-terminal.</span></p>
-<div style="text-align: left; ">
-<table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><span class="insert">Agent</span></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/#agent.id"><span class="attribute" id="agent.id"><span class="insert">id</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier"><span class="insert">identifier</span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#agent.attributes"><span class="attribute" id="agent.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
-</tbody></table>
-</div>
-
-
-
-
-
-
-<div class="anexample" id="example_21" data-count="21"><div class="anexampleTitle"><a class="internalDFN" href="#example_21"><span class="insert">Example 21</span></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>
+</span></p><span class="delete">
+The remaining examples show cases where some of the optionals are omitted.
+
+
+</span><span class="delete">actedOnBehalfOf(ag1, ag2, -)
+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"])
+actedOnBehalfOf(-, ag1, ag2, -)
+</span>
 </div>
 
 
 </div>
-<div id="expression-attribution" class="section">
-<h4><span class="secno"><span class="delete">3.2.2</span><span class="insert">3.3.2</span> </span>Attribution</h4>
-
-
-
-
-
-
-
-<table class="grammar">
-
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attributionExpression" name="prod-attributionExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">19</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod">attributionExpression<span class="delete">&nbsp;::=  
-</span><span class="delete">wasAttributedTo</span> 
-<span class="delete">(</span> 
-<span class="delete">( </span><span class="delete">identifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) </span><span class="delete">,</span> 
-</code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"wasAttributedTo" "(" </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-eIdentifier">eIdentifier
-<span class="delete">,</span> 
-</a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier
-<span class="delete">optional-attribute-values</span>
-<span class="delete">)</span> 
-</a></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>
-
-</table>
-
-
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Attribution maps to a non-terminal.</span></p>
-<div style="text-align: left; ">
-<table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><span class="insert">Attribution</span></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/#attribution.id"><span class="attribute" id="attribution.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/#attribution.entity"><span class="attribute" id="attribution.entity"><span class="insert">entity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier"><span class="insert">eIdentifier</span></a></code></td></tr>
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#attribution.agent"><span class="attribute" id="attribution.agent"><span class="insert">agent</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier"><span class="insert">agIdentifier</span></a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#attribution.attributes"><span class="attribute" id="attribution.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
-</tbody></table>
+  
+
 </div>
 
 
 
-
-
-<div class="anexample" id="example_22" data-count="22"><div class="anexampleTitle"><a class="internalDFN" href="#example_22"><span class="insert">Example 22</span></a></div>
-
-<pre class="codeexample"><span class="delete">wasAttributedTo(id,</span><span class="insert">wasAttributedTo(id;</span> e, ag, <span class="delete">[ex:license="cc:attributionURL" %% "xsd:QName"])</span><span class="insert">[ex:license='cc:attributionURL' ])</span>
-  </pre>
-<p>    Here <span class="name">id</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"><span class="delete">[ex:license="cc:attributionURL" %% "xsd:QName"]</span><span class="insert">[ex:license='cc:attributionURL' ]</span></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, <span class="delete">[ex:license="cc:attributionURL" %% "xsd:QName"])
-wasAttributedTo(-,  e, ag, [ex:license="cc:attributionURL" %% "xsd:QName"])</span><span class="insert">[ex:license='cc:attributionURL' ])</span>
-</pre>
-</div>
-
-</div>  
-
-
-<div id="expression-Association" class="section">
-<h4><span class="secno"><span class="delete">3.2.3</span><span class="insert">3.3.3</span> </span>Association</h4>
-
-
-
+<div id="component3" class="section"> 
+<h3><span class="secno">3.3 </span>Component 3: <span class="delete">Derivations</span><span class="insert">Agents, Responsibility, and Influence</span></h3>
+<div id="expression-Agent" class="section">
+<h4><span class="secno">3.3.1 </span><span class="delete">Derivation</span><span class="insert">Agent</span></h4>
+
+
+<span class="delete">derivationExpression</span><span class="delete">&nbsp;::=</span>
 
 
 
 <table class="grammar">
 
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-associationExpression" name="prod-associationExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">20</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod">associationExpression<span class="delete">&nbsp;::= 
-</span><span class="delete">wasAssociatedWith</span>
-</code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"wasAssociatedWith" "(" </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-aIdentifier"><span class="insert">aIdentifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-agIdentifierOrMarker"><span class="insert">agIdentifierOrMarker</span></a></span> (
-<span class="delete">( </span><span class="delete">identifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) </span><span class="delete">,</span> 
-<span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</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-agentExpression" name="prod-agentExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">18</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">agentExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"agent" "(" </span><span class="prod"><a class="grammarRef" href="#prod-identifier"><span class="insert">identifier</span></a></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>
 
 </table>
 
-
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Association maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Agent maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><span class="insert">Association</span></b></td><td><b><span class="insert">Non-Terminal</span></b></td></tr>
+<tbody><tr><td><b><span class="insert">Agent</span></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/#association.id"><span class="attribute" id="association.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/#association.activity"><span class="attribute" id="association.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier">aIdentifier
-<span class="delete">,</span><span class="delete"> 
-( </span><span class="delete">agIdentifier</span><span class="delete">  | </span><span class="delete">-</span><span class="delete"> )
-</span><span class="delete">,</span><span class="delete"> 
-( </span><span class="delete">eIdentifier</span><span class="delete">  | </span><span class="delete">-</span><span class="delete"> )
-</span><span class="delete">optional-attribute-values</span>
-<span class="delete">)</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#association.agent"><span class="attribute" id="association.agent"><span class="insert">agent</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifierOrMarker"><span class="insert">agIdentifierOrMarker</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#association.plan"><span class="attribute" id="association.plan"><span class="insert">plan</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</span></a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#association.attributes"><span class="attribute" id="association.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#agent.id"><span class="attribute" id="agent.id"><span class="insert">id</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier"><span class="insert">identifier</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#agent.attributes"><span class="attribute" id="agent.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
-
-
-
-
-
-<div class="anexample" id="example_23" data-count="23"><div class="anexampleTitle"><a class="internalDFN" href="#example_23"><span class="insert">Example 23</span></a></div>
-<pre class="codeexample"><span class="delete">wasAssociatedWith(ex:agas,</span><span class="insert">wasAssociatedWith(ex:agas;</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,
-  <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, <span class="insert">ex:ag1)
-wasAssociatedWith(ex:a1, </span>ex:ag1, <span class="delete">-)</span><span class="insert">ex:e1)</span>
-wasAssociatedWith(ex:a1, ex:ag1, <span class="insert">ex:e1, [ex:param1="a", ex:param2="b"])
-wasAssociatedWith(a; ex:a1, -, </span>ex:e1)<span class="delete">
-wasAssociatedWith(ex:a1, ex:ag1, ex:e1, [ex:param1="a", ex:param2="b"])
-wasAssociatedWith(a, ex:a1, -, ex:e1)
-wasAssociatedWith(-, ex:a1, -, ex:e1)
-wasAssociatedWith(-, ex:a1, ex:ag1, -)</span>
-</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"><span class="delete">wasAssociatiedWith(-,</span><span class="insert">wasAssociatiedWith(-;</span> a, -, -)</span>. However, these expressions are not valid in PROV-N, 
-<span class="delete">because </span><span class="insert">since
-</span>at least   one of <a href="http://www.w3.org/TR/prov-dm/#association.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><a href="http://www.w3.org/TR/prov-dm/#association.agent"><span class="attribute">agent</span><span class="delete"> or </span></a><span class="insert">,  </span><a href="http://www.w3.org/TR/prov-dm/#association.plan"><span class="attribute">plan</span> </a><span class="insert">, and  </span><a href="http://www.w3.org/TR/prov-dm/#association.attributes"><span class="attribute"><span class="insert">attributes</span></span></a>  <em class="rfc2119" title="must">must</em> be present.</p>
-
-</div>
-<div id="expression-delegation" class="section">
-<h4><span class="secno"><span class="delete">3.2.4 </span><span class="delete">Responsibility</span><span class="insert">3.3.4 </span></span><span class="insert">Delegation</span></h4>
-
-
-<span class="delete">responsibilityExpression</span><span class="delete">&nbsp;::= 
-</span><span class="delete">actedOnBehalfOf</span>
-
-
-
-
-<table class="grammar">
-
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-delegationExpression" name="prod-delegationExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">21</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">delegationExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"actedOnBehalfOf" "(" </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-agIdentifier"><span class="insert">agIdentifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-agIdentifier"><span class="insert">agIdentifier</span></a></span> (
+<p><span class="insert">
+PROV-N provides no dedicated syntax for Person, Organization, SoftwareAgent. Instead, a Person, an Organization, or a SoftwareAgent </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be expressed as an
+</span><code class="content"><a class="grammarRef" href="#prod-agentExpression"><span class="insert">agentExpression</span></a></code><span class="insert"> with attribute</span> 
+<span id="provn-type-Person"><code><span class="insert">prov:type='prov:Person'</span></code></span><span class="insert">,
+</span><span id="provn-type-Organization"><code><span class="insert">prov:type='prov:Organization'</span></code></span><span class="insert">, or
+</span><span id="provn-type-SoftwareAgent"><code><span class="insert">prov:type='prov:SoftwareAgent'</span></code></span><span class="insert">, respectively.</span></p>
+
+
+<div class="anexample" id="example_23"><div class="anexampleTitle"><a class="internalDFN" href="#example_23"><span class="insert">Example 23</span></a></div>
+<pre class="codeexample"><span class="insert">agent(ag4, [ prov:type='prov:Person', ex:name="David" ])
+</span></pre>
+<p><span class="insert">Here </span><span class="name"><span class="delete">wasDerivedFrom</span>
+<span class="insert">ag</span></span><span class="insert"> is the agent identifier, and
+   </span><span class="name"><span class="delete">(</span>
 <span class="delete">( </span><span class="delete">identifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) </span><span class="delete">,</span> 
-<span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</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>
-
-</table>
-
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Delegation maps to a non-terminal.</span></p>
-<div style="text-align: left; ">
-<table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><span class="insert">Delegation</span></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/#delegation.id"><span class="attribute" id="delegation.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/#delegation.delegate"><span class="attribute" id="delegation.delegate"><span class="insert">delegate</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier
+<span class="delete">eIdentifier</span>
 <span class="delete">,</span>
-</a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#delegation.responsible"><span class="attribute" id="delegation.responsible"><span class="insert">responsible</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier">agIdentifier
-<span class="delete">,</span><span class="delete">
-( </span><span class="delete">aIdentifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
-</span><span class="delete">optional-attribute-values</span>
-<span class="delete">)</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#delegation.activity"><span class="attribute" id="delegation.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></a></code></td></tr>
-
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#delegation.attributes"><span class="attribute" id="delegation.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
-</tbody></table>
-</div>
-
-
-
-
-
-<div class="anexample" id="example_24" data-count="24"><div class="anexampleTitle"><a class="internalDFN" href="#example_24"><span class="insert">Example 24</span></a></div>
-
-  <pre class="codeexample"><span class="delete">actedOnBehalfOf(act1,</span><span class="insert">actedOnBehalfOf(del1; ag2,</span> ag1,<span class="delete"> ag2,</span> a, [prov:type="contract"])
-  </pre>
-<p>  Here <span class="name"><span class="delete">act1</span><span class="insert">del1</span></span> is the optional <span class="delete">attribution</span><span class="insert">delegation</span> identifier,
-  <span class="name"><span class="delete">ag1</span><span class="insert">ag2</span></span> is the identifier for the <span class="delete">subordinate</span><span class="insert">delegate</span> agent,
-  <span class="name"><span class="delete">ag2</span><span class="insert">ag1</span></span> is the  identifier of the responsible agent,
-  <span class="name">a</span> is the optional identifier of the activity for which the <span class="delete">responsibility</span><span class="insert">delegation</span> 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, <span class="insert">ag2)
-actedOnBehalfOf(ag1, </span>ag2, <span class="delete">-)</span><span class="insert">a)</span>
-actedOnBehalfOf(ag1, ag2, <span class="delete">a)
-actedOnBehalfOf(ag1,</span><span class="insert">-, [prov:type="delegation"])
-actedOnBehalfOf(ag2, ag3, a, [prov:type="contract"])
-actedOnBehalfOf(r;</span> ag2, <span class="delete">-, [prov:type="delegation"])
-actedOnBehalfOf(ag2, </span>ag3, a, [prov:type="contract"])<span class="delete">
-actedOnBehalfOf(r, ag2, ag3, a, [prov:type="contract"])
-actedOnBehalfOf(-, ag1, ag2, -)</span>
-</pre>
-</div>
-
-
-</div>
-
- 
-<span class="delete">3.3 </span><span class="delete">Component 3: Derivations</span>
-
-
-<div id="expression-influence" class="section">
-<h4><span class="secno"><span class="delete">3.3.1 </span><span class="delete">Derivation</span><span class="insert">3.3.5 </span></span><span class="insert">Influence</span></h4>
-
-
-<span class="delete">derivationExpression</span><span class="delete">&nbsp;::= 
-</span><span class="delete">wasDerivedFrom</span>
-<span class="delete">(</span>
-<span class="delete">( </span><span class="delete">identifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> ) </span><span class="delete">,</span> 
-
-
-
-<table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-influenceExpression" name="prod-influenceExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">22</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">influenceExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"influence" "(" </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-eIdentifier">eIdentifier
-<span class="delete">,</span>
-</a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifier">eIdentifier
+<span class="delete">eIdentifier</span>
 
 <span class="delete">,</span><span class="delete">
 ( </span><span class="delete">aIdentifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
@@ -2736,32 +2872,214 @@
 ( </span><span class="delete">uIdentifier</span><span class="delete"> | </span><span class="delete">-</span><span class="delete"> )
 </span>
 <span class="delete">optional-attribute-values</span>
-<span class="delete">)</span></a></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>
+<span class="delete">)</span><span class="insert">[ prov:type='prov:Person', ex:name="David" ]</span></span><span class="insert"> are optional attributes. </span></p><span class="insert">
+In the next example, the optional attributes are omitted.
+
+</span><pre class="codeexample"><span class="insert">agent(ag4)
+</span></pre>
+</div>
+
+
+
+    </div>
+<div id="expression-attribution" class="section">
+<h4><span class="secno"><span class="insert">3.3.2 </span></span><span class="insert">Attribution</span></h4>
+
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attributionExpression" name="prod-attributionExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">19</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">attributionExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"wasAttributedTo" "(" </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-eIdentifier"><span class="insert">eIdentifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-agIdentifier"><span class="insert">agIdentifier</span></a></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>
+
 </table>
 
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Influence maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Attribution maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><span class="insert">Trace</span></b></td><td><b><span class="insert">Non-Terminal</span></b></td></tr>
+<tbody><tr><td><b><span class="insert">Attribution</span></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/#trace.id"><span class="attribute" id="trace.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/#trace.entity"><span class="attribute" id="trace.entity"><span class="insert">entity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#trace.ancestor"><span class="attribute" id="trace.ancestor"><span class="insert">ancestor</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#trace.attributes"><span class="attribute" id="trace.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#attribution.id"><span class="attribute" id="attribution.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#attribution.entity"><span class="attribute" id="attribution.entity"><span class="insert">entity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-identifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#attribution.agent"><span class="attribute" id="attribution.agent"><span class="insert">agent</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier"><span class="insert">agIdentifier</span></a></code></td></tr>
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#attribution.attributes"><span class="attribute" id="attribution.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
 </tbody></table>
 </div>
 
 
-<div class="anexample" id="example_25" data-count="25"><div class="anexampleTitle"><a class="internalDFN" href="#example_25"><span class="insert">Example 25</span></a></div>
-    <pre class="codeexample"><span class="delete">wasDerivedFrom(d, e2, e1, a, g2, u1, [prov:comment="a righteous derivation"])</span><span class="insert">influence(id,e2,e1,[ex:param="a"])</span>
+
+<div class="anexample" id="example_24"><div class="anexampleTitle"><a class="internalDFN" href="#example_24"><span class="insert">Example 24</span></a></div>
+
+<pre class="codeexample"><span class="delete">wasDerivedFrom(d, e2, e1, a, g2, u1, [prov:comment="a righteous derivation"])</span><span class="insert">wasAttributedTo(id; e, ag, [ex:license='cc:attributionURL' ])</span>
   </pre>
+<p><span class="insert">    Here </span><span class="name"><span class="insert">id</span></span><span class="insert"> is the optional attribution identifier,  </span><span class="name"><span class="insert">e</span></span><span class="insert"> is an entity identifier,
+  </span><span class="name"><span class="insert">ag</span></span><span class="insert"> is the identifier of the agent to whom the entity is abscribed, 
+and </span><span class="name"><span class="insert">[ex:license='cc:attributionURL' ]</span></span><span class="insert"> are optional attributes. </span></p><span class="insert">
+The remaining examples show cases where some of the optionals are omitted.
+
+</span><pre class="codeexample"><span class="insert">wasAttributedTo(e, ag)
+wasAttributedTo(e, ag, [ex:license='cc:attributionURL' ])
+</span></pre>
+</div>
+
+</div>  
+
+
+<div id="expression-Association" class="section">
+<h4><span class="secno"><span class="insert">3.3.3 </span></span><span class="insert">Association</span></h4>
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-associationExpression" name="prod-associationExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">20</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">associationExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"wasAssociatedWith" "(" </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-aIdentifier"><span class="insert">aIdentifier</span></a></span><span class="insert"> ( "," </span><span class="prod"><a class="grammarRef" href="#prod-agIdentifierOrMarker"><span class="insert">agIdentifierOrMarker</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</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>
+
+</table>
+
+
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Association maps to a PROV-N syntax element.</span></p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><span class="insert">Association</span></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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#association.id"><span class="attribute" id="association.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#association.activity"><span class="attribute" id="association.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifier"><span class="insert">aIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#association.agent"><span class="attribute" id="association.agent"><span class="insert">agent</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifierOrMarker"><span class="insert">agIdentifierOrMarker</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#association.plan"><span class="attribute" id="association.plan"><span class="insert">plan</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifierOrMarker"><span class="insert">eIdentifierOrMarker</span></a></code></td></tr>
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#association.attributes"><span class="attribute" id="association.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+</tbody></table>
+</div>
+
+
+<p id="provn-type-Plan"><span class="insert">
+PROV-N provides no dedicated syntax for Plan. Instead, a Plan </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be expressed as an
+</span><code class="content"><a class="grammarRef" href="#prod-entityExpression"><span class="insert">entityExpression</span></a></code><span class="insert"> with attribute </span><code><span class="insert">prov:type='prov:Plan'</span></code><span class="insert">.</span></p>
+
+
+<div class="anexample" id="example_25"><div class="anexampleTitle"><a class="internalDFN" href="#example_25"><span class="insert">Example 25</span></a></div>
+<pre class="codeexample"><span class="insert">wasAssociatedWith(ex:agas; ex:a1, ex:ag1, ex:e1, [ex:param1="a", ex:param2="b"])
+  </span></pre>
+
 <p>  Here
-    <span class="name"><span class="delete">d</span><span class="insert">id</span></span> is the optional <span class="delete">derivation</span><span class="insert">trace</span> identifier,
+     <span class="name"><span class="delete">d</span><span class="insert">ex:agas</span></span> is the optional <span class="delete">derivation</span><span class="insert">attribution identifier,
+  </span><span class="name"><span class="insert">ex:a1</span></span><span class="insert"> is an activity identifier,
+  </span><span class="name"><span class="insert">ex:ag1</span></span><span class="insert"> is the optional identifier of the agent associated to the activity,
+  </span><span class="name"><span class="insert">ex:e1</span></span><span class="insert"> is the optional identifier of the plan used by the agent in the context of the activity,
+  and </span><span class="name"><span class="insert"> [ex:param1="a", ex:param2="b"]</span></span><span class="insert"> are optional attributes. </span></p><span class="insert">
+The remaining examples show cases where some of the optionals are omitted.
+
+  
+  
+</span><pre class="codeexample"><span class="insert">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)
+</span></pre>
+</div>
+
+
+<p><span class="insert">Additional semantic rules (</span><a href="#semantic-rules-summary"><span class="insert">Section 3.7.5</span></a><span class="insert">) apply to </span><code class="content"><a class="grammarRef" href="#prod-associationExpression"><span class="insert">associationExpression</span></a></code><span class="insert">.</span></p>
+
+
+
+</div>
+<div id="expression-delegation" class="section">
+<h4><span class="secno"><span class="insert">3.3.4 </span></span><span class="insert">Delegation</span></h4>
+
+
+
+<table class="grammar">
+
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-delegationExpression" name="prod-delegationExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">21</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">delegationExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"actedOnBehalfOf" "(" </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-agIdentifier"><span class="insert">agIdentifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-agIdentifier"><span class="insert">agIdentifier</span></a></span><span class="insert"> ( "," </span><span class="prod"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</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>
+
+</table>
+
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Delegation maps to a PROV-N syntax element.</span></p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><span class="insert">Delegation</span></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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#delegation.id"><span class="attribute" id="delegation.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#delegation.delegate"><span class="attribute" id="delegation.delegate"><span class="insert">delegate</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier"><span class="insert">agIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#delegation.responsible"><span class="attribute" id="delegation.responsible"><span class="insert">responsible</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-agIdentifier"><span class="insert">agIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#delegation.activity"><span class="attribute" id="delegation.activity"><span class="insert">activity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-aIdentifierOrMarker"><span class="insert">aIdentifierOrMarker</span></a></code></td></tr>
+
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#delegation.attributes"><span class="attribute" id="delegation.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+</tbody></table>
+</div>
+
+
+
+<div class="anexample" id="example_26"><div class="anexampleTitle"><a class="internalDFN" href="#example_26"><span class="insert">Example 26</span></a></div>
+
+  <pre class="codeexample"><span class="insert">actedOnBehalfOf(del1; ag2, ag1, a, [prov:type="contract"])
+  </span></pre>
+<p><span class="insert">  Here </span><span class="name"><span class="insert">del1</span></span><span class="insert"> is the optional delegation identifier,
+  </span><span class="name"><span class="insert">ag2</span></span><span class="insert"> is the identifier for the delegate agent,
+  </span><span class="name"><span class="insert">ag1</span></span><span class="insert"> is the  identifier of the responsible agent,
+  </span><span class="name"><span class="insert">a</span></span><span class="insert"> is the optional identifier of the activity for which the delegation link holds,
+  and </span><span class="name"><span class="insert">[prov:type="contract"]</span></span><span class="insert"> are optional attributes. </span></p><span class="insert">
+The remaining examples show cases where some of the optionals are omitted.
+
+
+</span><pre class="codeexample"><span class="insert">actedOnBehalfOf(ag1, ag2)
+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></pre>
+</div>
+
+
+</div>
+
+<div id="expression-influence" class="section">
+<h4><span class="secno"><span class="insert">3.3.5 </span></span><span class="insert">Influence</span></h4>
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-influenceExpression" name="prod-influenceExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">22</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">influenceExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"wasInfluencedBy" "(" </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-eIdentifier"><span class="insert">eIdentifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></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>
+</table>
+
+
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Influence maps to a PROV-N syntax element.</span></p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><span class="insert">Influence</span></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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#influence.id"><span class="attribute" id="influence.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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#influence.influencee"><span class="attribute" id="influence.influencee"><span class="insert">influencee</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#influence.influencer"><span class="attribute" id="influence.influencer"><span class="insert">influencer</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#influence.attributes"><span class="attribute" id="influence.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
+</tbody></table>
+</div>
+
+
+<div class="anexample" id="example_27"><div class="anexampleTitle"><a class="internalDFN" href="#example_27"><span class="insert">Example 27</span></a></div>
+    <pre class="codeexample"><span class="insert">wasInfluencedBy(id;e2,e1,[ex:param="a"])
+  </span></pre>
+<p><span class="insert">  Here
+    </span><span class="name"><span class="insert">id</span></span><span class="insert"> is the optional influence</span> identifier,
   <span class="name">e2</span> is <span class="delete">the identifier for the entity being derived,
   </span><span class="delete">e1</span><span class="delete"> is the  identifier of the entity from which </span><span class="delete">e2</span><span class="delete"> is derived,
   </span><span class="delete">a</span><span class="delete"> is the optional identifier of the activity which used/generated the entities,
@@ -2932,16 +3250,16 @@
 <span class="delete">  Here
     </span><span class="delete">id</span><span class="delete"> is the optional trace identifier,
   </span><span class="delete">e2</span><span class="delete"> is </span>an entity identifier,
-  <span class="name">e1</span> is the identifier for an ancestor entity that   <span class="name">e2</span> depends on,
+  <span class="name">e1</span> is the identifier for an ancestor entity that   <span class="name">e2</span> <span class="delete">depends on,</span><span class="insert">is influenced by,</span>
   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"><span class="delete">tracedTo(e2,e1)
 tracedTo(e2,e1,[ex:param="a"])
-tracedTo(-,e2,e1)</span><span class="insert">influence(e2,e1)
-influence(e2,e1,[ex:param="a"])
-influence(id; e2,e1)</span>
+tracedTo(-,e2,e1)</span><span class="insert">wasInfluencedBy(e2,e1)
+wasInfluencedBy(e2,e1,[ex:param="a"])
+wasInfluencedBy(id; e2,e1)</span>
 </pre>
 </div>
 
@@ -2956,22 +3274,41 @@
 
 
 
-<div id="expression-bundle-declaration" class="section"> 
-<h4><span class="secno">3.4.1 </span><span class="insert">Bundle Declaration</span></h4>
+<div id="expression-bundle-constructor" class="section"> 
+<h4><span class="secno">3.4.1 </span><span class="insert">Bundle Constructor</span></h4>
 
 <table class="grammar">
 <tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namedBundle" name="prod-namedBundle"></a><span class="insert">[</span><span class="prodNo"><span class="insert">23</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">namedBundle</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"bundle" </span><span class="prod"><a class="grammarRef" href="#prod-identifier"><span class="insert">identifier</span></a></span><span class="insert"> (</span><span class="prod"><a class="grammarRef" href="#prod-namespaceDeclarations"><span class="insert">namespaceDeclarations</span></a></span><span class="insert">)? (</span><span class="prod"><a class="grammarRef" href="#prod-expression"><span class="insert">expression</span></a></span><span class="insert">)* "endBundle"</span></code></td> </tr> </tbody>
 </table>
 
-<div class="anexample" id="example_26" data-count="26"><div class="anexampleTitle"><a class="internalDFN" href="#example_26"><span class="insert">Example 26</span></a></div>
+<p><span class="insert">Named bundles cannot be nested because </span><code><a class="grammarRef" href="#prod-namedBundle"><span class="insert">namedBundle</span></a></code><span class="insert"> is not an </span><code><a class="grammarRef" href="#prod-expression"><span class="insert">expression</span></a></code><span class="insert">, and therefore cannot occurs inside another </span><code><a class="grammarRef" href="#prod-namedBundle"><span class="insert">namedBundle</span></a></code><span class="insert">.</span></p>
+
+<p><span class="insert">Named bundles are self-contained: each identifier occuring in a named bundle, including the bundle identifier itself, </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be interpreted with respect to the namespace declarations of that bundle. In other words, for every identifier with a prefix </span><code><span class="insert">p</span></code><span class="insert"> within a named bundle, there </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be a namespace declaration for </span><code><span class="insert">p</span></code><span class="insert"> in this named bundled; for every identifier  without prefix, there </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be a default namespace declaration  in this named bundled.</span></p>
+
+<div class="anexample" id="example_28"><div class="anexampleTitle"><a class="internalDFN" href="#example_28"><span class="insert">Example 28</span></a></div>
     <pre class="codeexample"><span class="insert">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
   </span></pre>
-<p><span class="insert"> Here  </span><span class="name"><span class="insert">ex:author-view</span></span><span class="insert"> is the name of the bundle.
-</span></p></div>
+<p><span class="insert"> Here  </span><span class="name"><span class="insert">ex:author-view</span></span><span class="insert"> is the name of the bundle. 
+</span></p>
+
+
+
+
+</div>
+
+</div>
+
+<div id="expression-bundle-type" class="section"> 
+<h4><span class="secno"><span class="insert">3.4.2 </span></span><span class="insert">Bundle Type</span></h4>
+
+<p id="provn-type-Bundle"><span class="insert">
+When described, a Bundle </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be expressed as an
+</span><code class="content"><a class="grammarRef" href="#prod-entityExpression"><span class="insert">entityExpression</span></a></code><span class="insert"> with attribute </span><code><span class="insert">prov:type='prov:Bundle'</span></code><span class="insert">.</span></p>
 
 </div>
 </div>
@@ -3000,22 +3337,22 @@
 </table>
 
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Alternate maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Alternate maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Alternate</span></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/#alternate.alternate1"><span class="attribute" id="alternate.alternate1"><span class="insert">alternate1</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#alternate.alternate2"><span class="attribute" id="alternate.alternate2"><span class="insert">alternate2</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#alternate.alternate1"><span class="attribute" id="alternate.alternate1"><span class="insert">alternate1</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#alternate.alternate2"><span class="attribute" id="alternate.alternate2"><span class="insert">alternate2</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
 
 </tbody></table>
 </div>
 
-<div class="anexample" id="example_27" data-count="27"><div class="anexampleTitle"><a class="internalDFN" href="#example_27"><span class="insert">Example 27</span></a></div>
+<div class="anexample" id="example_29"><div class="anexampleTitle"><a class="internalDFN" href="#example_29"><span class="insert">Example 29</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>.
@@ -3045,17 +3382,17 @@
 
 </table>
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Specialization maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Specialization maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Specialization</span></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/#specialization.specificEntity"><span class="attribute" id="specialization.specificEntity"><span class="insert">specificEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#specialization.generalEntity"><span class="attribute" id="specialization.generalEntity"><span class="insert">generalEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#specialization.specificEntity"><span class="attribute" id="specialization.specificEntity"><span class="insert">specificEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#specialization.generalEntity"><span class="attribute" id="specialization.generalEntity"><span class="insert">generalEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
 
 </tbody></table>
 </div>
@@ -3063,7 +3400,7 @@
 
 
 
-<div class="anexample" id="example_28" data-count="28"><div class="anexampleTitle"><a class="internalDFN" href="#example_28"><span class="insert">Example 28</span></a></div>
+<div class="anexample" id="example_30"><div class="anexampleTitle"><a class="internalDFN" href="#example_30"><span class="insert">Example 30</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>.
@@ -3080,7 +3417,7 @@
 <p><span class="insert">Note: This feature is "</span><a href="http://www.w3.org/2005/10/Process-20051014/tr#cfi"><span class="insert">at risk</span></a><span class="insert">" and may be removed from this specification based on feedback. Please send feedback to [email protected]</span></p>
 
 
-<p><span class="insert">The "Mention" construct might be removed from PROV if implementation experience reveals problems with supporting this construct.</span></p>
+<p><span class="insert">The expression Mention might be removed from PROV if implementation experience reveals problems with supporting this construct.</span></p>
 </div>
 
  
@@ -3118,23 +3455,23 @@
 
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-mentionExpression" name="prod-mentionExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">26</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">mentionExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"mentionOf" "(" </span><span class="prod"><a class="grammarRef" href="#prod-identifier"><span class="insert">identifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-identifier"><span class="insert">identifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-bIdentifier"><span class="insert">bIdentifier</span></a></span><span class="insert"> ")"</span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-mentionExpression" name="prod-mentionExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">26</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">mentionExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"mentionOf" "(" </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-bIdentifier"><span class="insert">bIdentifier</span></a></span><span class="insert"> ")"</span></code></td> </tr> </tbody>
 </table>
 
 
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Mention maps to a non-terminal.</span></p>
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Mention maps to a PROV-N syntax element.</span></p>
 <div style="text-align: left; ">
 <table class="thinborder" style="margin-left: auto; margin-right: auto;">
 <tbody><tr><td><b><span class="insert">Mention</span></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/#mention.specificEntity"><span class="attribute" id="mention.specificEntity"><span class="insert">specificEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
-
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#mention.generalEntity"><span class="attribute" id="mention.generalEntity"><span class="insert">generalEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#mention.bundle"><span class="attribute" id="mention.bundle"><span class="insert">bundle</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-bIdentifier"><span class="insert">bIdentifier</span></a></code></td></tr>
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#mention.specificEntity"><span class="attribute" id="mention.specificEntity"><span class="insert">specificEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#mention.generalEntity"><span class="attribute" id="mention.generalEntity"><span class="insert">generalEntity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#mention.bundle"><span class="attribute" id="mention.bundle"><span class="insert">bundle</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-bIdentifier"><span class="insert">bIdentifier</span></a></code></td></tr>
 
 </tbody></table>
 </div>
@@ -3158,7 +3495,7 @@
    <span class="delete">}</span>
 <span class="delete">optional-attribute-values</span>
   <span class="delete">)</span>
-<div class="anexample" id="example_29" data-count="29"><div class="anexampleTitle"><a class="internalDFN" href="#example_29"><span class="insert">Example 29</span></a></div>
+<div class="anexample" id="example_31"><div class="anexampleTitle"><a class="internalDFN" href="#example_31"><span class="insert">Example 31</span></a></div>
 
 
     
@@ -3287,58 +3624,23 @@
 
 
 
-
-
-
-
-<div id="expression-collection-membership" class="section">
-<h4><span class="secno">3.6.1 </span><span class="delete">Note</span><span class="insert">Membership</span></h4>
-
-
-<span class="delete">noteExpression</span><span class="delete">&nbsp;::= 
-</span>
-
-
-
-<table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-membershipExpression" name="prod-membershipExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">27</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">membershipExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"memberOf" "(" </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-cIdentifier"><span class="insert">cIdentifier</span></a></span><span class="insert"> "," </span><span class="prod"><a class="grammarRef" href="#prod-entitySet"><span class="insert">entitySet</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-complete"><span class="insert">complete</span></a></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-complete" name="prod-complete"></a><span class="insert">[</span><span class="prodNo"><span class="insert">28</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">complete</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">( "," ( "true" | "false" | "-" ) )?</span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-entitySet" name="prod-entitySet"></a><span class="insert">[</span><span class="prodNo"><span class="insert">29</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">entitySet</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>
-</table>
-
-
-<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Membership maps to a non-terminal.</span></p>
-<div style="text-align: left; ">
-<table class="thinborder" style="margin-left: auto; margin-right: auto;">
-<tbody><tr><td><b><span class="insert">Collection Membership</span></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/#membership.id"><span class="attribute" id="membership.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/#membership.collection"><span class="attribute" id="membership.collection"><span class="insert">collection</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-cIdentifier"><span class="insert">cIdentifier</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#membership.entity-set"><span class="attribute" id="membership.entity-set"><span class="insert">entity-set</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-entitySet"><span class="insert">entitySet</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#membership.complete"><span class="attribute" id="membership.complete"><span class="insert">complete</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-complete"><span class="insert">complete</span></a></code></td></tr>
-
-<tr><td><a href="http://www.w3.org/TR/prov-dm/#membership.attributes"><span class="attribute" id="membership.attributes"><span class="insert">attributes</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-optionalAttributeValuePairs"><span class="insert">optionalAttributeValuePairs</span></a></code></td></tr>
-</tbody></table>
-</div>
-
-
-
-
-<div class="anexample" id="example_30" data-count="30"><div class="anexampleTitle"><a class="internalDFN" href="#example_30"><span class="insert">Example 30</span></a></div>
-    <pre class="codeexample"><span class="insert">   memberOf(mId, c, {e1, e2, e3}, [])   // Collection membership
-  </span></pre>
-<p><span class="insert">  Here
-    </span><span class="name"><span class="delete">note</span>
-<span class="insert">mId</span></span><span class="insert"> is the optional membership identifier,
-  </span><span class="name"><span class="delete">(</span>
+<div id="expression-collection" class="section">
+<h4><span class="secno">3.6.1 </span><span class="delete">Note</span><span class="insert">Collection</span></h4>
+
+
+<span class="delete">noteExpression</span><span class="delete">&nbsp;::=</span>
+
+
+<p><span class="insert">
+PROV-N provides no dedicated syntax for Collection and EmptyCollection. Instead, a Collection or an EmptyCollection </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be expressed as an
+</span><code class="content"><a class="grammarRef" href="#prod-entityExpression"><span class="insert">entityExpression</span></a></code><span class="insert"> with attribute</span> 
+<span class="delete">note</span>
+<span class="delete">(</span>
 <span class="delete">identifier</span>
 <span class="delete">optional-attribute-values</span>
-<span class="delete">)</span>
-
+<span class="delete">)</span><span id="provn-type-Collection"><code><span class="insert">prov:type='prov:Collection'</span></code></span><span class="insert">, or
+</span><span id="provn-type-EmptyCollection"><code><span class="insert">prov:type='prov:EmptyCollection'</span></code></span><span class="insert">, respectively.</span></p>
+</div>
 
 
 
@@ -3348,12 +3650,44 @@
 
     
 
-
-<span class="delete">3.6.2 </span><span class="delete">Annotation</span>
+<div id="expression-collection-membership" class="section">
+<h4><span class="secno">3.6.2 </span><span class="delete">Annotation</span><span class="insert">Membership</span></h4>
 
 
 <span class="delete">annotationExpression</span><span class="delete">&nbsp;::=  
-</span><span class="delete">hasAnnotation</span>
+</span>
+
+
+
+<table class="grammar">
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-membershipExpression" name="prod-membershipExpression"></a><span class="insert">[</span><span class="prodNo"><span class="insert">27</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">membershipExpression</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"hadMember" "(" </span><span class="prod"><a class="grammarRef" href="#prod-cIdentifier"><span class="insert">cIdentifier</span></a></span><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>
+</table>
+
+
+<p><span class="insert">The following table summarizes how each constituent of a PROV-DM Membership maps to a PROV-N syntax element.</span></p>
+<div style="text-align: left; ">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<tbody><tr><td><b><span class="insert">Membership</span></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://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#membership.collection"><span class="attribute" id="membership.collection"><span class="insert">collection</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-cIdentifier"><span class="insert">cIdentifier</span></a></code></td></tr>
+
+<tr><td><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#membership.entity"><span class="attribute" id="membership.entity"><span class="insert">entity</span></span></a></td><td><code class="content"><a class="grammarRef" href="#prod-eIdentifier"><span class="insert">eIdentifier</span></a></code></td></tr>
+
+
+</tbody></table>
+</div>
+
+
+
+
+<div class="anexample" id="example_32"><div class="anexampleTitle"><a class="internalDFN" href="#example_32"><span class="insert">Example 32</span></a></div>
+    <pre class="codeexample"><span class="insert">   hadMember(c, e1)   // c contained e1
+   hadMember(c, e2)   // c contained e2 
+  </span></pre>
+<p><span class="insert">  Here
+  </span><span class="name"><span class="delete">hasAnnotation</span>
 <span class="delete">(</span>
 <span class="delete">identifier</span>
 <span class="delete">,</span>
@@ -3366,23 +3700,14 @@
 <span class="delete">hasAnnotation(tr:WD-prov-dm-20111215,ex2:n1)
 </span><span class="delete">
   Here
-   </span><span class="delete">ex2:n1</span><span class="insert">c</span></span> is the  identifier for <span class="delete">a note</span><span class="insert">the collection whose membership is stated,
-  </span><span class="name"><span class="insert"> {e1, e2, e3}</span></span><span class="insert"> is the entity-set indicating the members</span> of<span class="delete"> the entity identified by</span> 
+   </span><span class="delete">ex2:n1</span><span class="insert">c</span></span> is the  identifier for <span class="delete">a note of the entity identified by</span><span class="insert">the collection whose membership is stated, and</span> 
   <span class="name"><span class="delete">(tr:WD-prov-dm-20111215</span><span class="delete">.
-</span><span class="insert">c</span></span><span class="insert">,
-    and </span><span class="name"><span class="insert">[]</span></span><span class="insert"> is the optional (empty) set of attributes. </span></p><span class="insert">  
-In the remaining examples,  some of the optionals are omitted.
-
-</span><pre class="codeexample"><span class="insert">memberOf(c3, {e1})
-memberOf(c3, {e1,e2})     // default "complete" flag is false
-memberOf(c3, {e1,e2}, false)
-memberOf(c3, {e1,e2}, true)
-memberOf(c3, ,[])  
-memberOf(c3, ,true, [])  
-</span></pre>
-</div>
-
-</div>
+</span><span class="insert">e1</span></span><span class="insert"> and </span><span class="name"><span class="insert">e2</span></span><span class="insert"> are the entities that are members of collection c 
+
+
+</span></p></div>
+
+
 
 
 </div>
@@ -3391,6 +3716,8 @@
 
 
 
+</div>
+
 
 
    
@@ -3406,11 +3733,6 @@
 This section defines further expressions of PROV-N.
 
 
-
-
-
-
-
 <div id="expression-identifier" class="section">
 <h4><span class="secno">3.7.1 </span><span class="delete">Namespace Declaration</span>
 
@@ -3454,31 +3776,32 @@
 <p><span class="insert">Various kinds of identifiers are used in productions.</span></p>
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-eIdentifier" name="prod-eIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">30</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">eIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-aIdentifier" name="prod-aIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">31</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">aIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agIdentifier" name="prod-agIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">32</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">agIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifier" name="prod-gIdentifier"></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">gIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifier" name="prod-uIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">34</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">uIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-cIdentifier" name="prod-cIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">36</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">cIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-dIdentifier" name="prod-dIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">35</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">dIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-bIdentifier" name="prod-bIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">37</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">bIdentifier</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-identifier"><span class="insert">identifier</span></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">38</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="insert">[</span><span class="prodNo"><span class="insert">39</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">aIdentifierOrMarker</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-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="insert">[</span><span class="prodNo"><span class="insert">40</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">agIdentifierOrMarker</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-agIdentifier"><span class="insert">agIdentifier</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifierOrMarker" name="prod-gIdentifierOrMarker"></a><span class="insert">[</span><span class="prodNo"><span class="insert">41</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">gIdentifierOrMarker</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-gIdentifier"><span class="insert">gIdentifier</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifierOrMarker" name="prod-uIdentifierOrMarker"></a><span class="insert">[</span><span class="prodNo"><span class="insert">42</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">uIdentifierOrMarker</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-uIdentifier"><span class="insert">uIdentifier</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-identifier" name="prod-identifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">43</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">identifier</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></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-eIdentifier" name="prod-eIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">28</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">eIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-aIdentifier" name="prod-aIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">29</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">aIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-agIdentifier" name="prod-agIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">30</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">agIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifier" name="prod-gIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">31</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">gIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifier" name="prod-uIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">32</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">uIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-cIdentifier" name="prod-cIdentifier"></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">cIdentifier</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-identifier"><span class="insert">identifier</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-bIdentifier" name="prod-bIdentifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">34</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">bIdentifier</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-identifier"><span class="insert">identifier</span></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">35</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="insert">[</span><span class="prodNo"><span class="insert">36</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">aIdentifierOrMarker</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-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="insert">[</span><span class="prodNo"><span class="insert">37</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">agIdentifierOrMarker</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-agIdentifier"><span class="insert">agIdentifier</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-gIdentifierOrMarker" name="prod-gIdentifierOrMarker"></a><span class="insert">[</span><span class="prodNo"><span class="insert">38</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">gIdentifierOrMarker</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-gIdentifier"><span class="insert">gIdentifier</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-uIdentifierOrMarker" name="prod-uIdentifierOrMarker"></a><span class="insert">[</span><span class="prodNo"><span class="insert">39</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">uIdentifierOrMarker</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-uIdentifier"><span class="insert">uIdentifier</span></a></span><span class="insert"> | "-" )</span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-identifier" name="prod-identifier"></a><span class="insert">[</span><span class="prodNo"><span class="insert">40</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">identifier</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></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 into an IRI
+The PROV data model  stipulates that a qualified name can be mapped <span class="delete">into</span><span class="insert">to</span> an IRI
  by concatenating the IRI associated with the prefix and the local part.
-</p><p>A qualified name's prefix is <em class="rfc2119" title="optional">optional</em>. If a prefix occurs in a
- qualified name, it refers to a <a>namespace</a> declared in a namespace declaration.  In the absence of prefix, the qualified name 
- refers to the <a title="default namespace declaration">default namespace</a>.</p>
+<span class="insert">  This section provides the exact details of this procedure for qualified names defined by PROV-N. </span></p>
+
+<p>A qualified name's prefix is <em class="rfc2119" title="optional">optional</em>. If a prefix occurs in a
+ qualified name, <span class="delete">it refers</span><span class="insert">the prefix </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> refer</span> to a <a>namespace</a> declared in a namespace declaration.  In the absence of prefix, the qualified name 
+ <span class="delete">refers</span><span class="insert">belongs</span> to the <a title="default namespace declaration">default namespace</a>.</p>
 
 
 <span class="delete">identifier</span><span class="delete">&nbsp;::=  </span><span class="delete">qualifiedName</span>
@@ -3490,7 +3813,7 @@
 
 
 
-<p><span class="insert">A PROV qualified name </span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></code><span class="insert"> has</span> a <span class="delete">generation)</span>
+<p><span class="insert">A PROV-N qualified name (production </span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></code><span class="insert">) has</span> a <span class="delete">generation)</span>
 <span class="delete">uIdentifier</span><span class="delete">::=  </span><span class="delete">identifier</span> <span class="delete">(intended to denote a usage)</span>
 <span class="delete">nIdentifier</span><span class="delete">::=  </span><span class="delete">identifier</span> <span class="delete">(intended to denote a note)</span>
 <span class="delete">cIdentifier</span><span class="delete">::=  </span><span class="delete">identifier</span> <span class="delete">(intended to denote a collection)</span>
@@ -3504,38 +3827,52 @@
 <span class="delete">localPart</span><span class="delete"> &nbsp;::= </span><span class="delete">a name compatible with the
 </span><span class="delete">reference</span><span class="delete"> production</span><span class="insert">
 and SPARQL </span><code class="content"><a href="http://www.w3.org/TR/2008/REC-rdf-sparql-query-20080115/#rPrefixedName"><span class="insert">PrefixedName</span></a></code> [<cite><span class="delete">RDFA-CORE</span><a class="bibref" rel="biblioentry" href="#bib-RDF-SPARQL-QUERY"><span class="insert">RDF-SPARQL-QUERY</span></a></cite><span class="delete">]</span>
-
-
-
-
-<span class="delete">A</span><span class="insert">]. It is a</span> PROV <span class="delete">qualified name has a more permissive syntax then XML's </span><span class="delete">QName</span><span class="delete"> [</span><span class="delete">XML-NAMES</span><span class="delete">] since it allows any syntax for its</span><span class="insert">requirement that the concatenation of the namespace with the</span> local part<span class="delete"> provided that the concatenation with the namespace</span> results in a valid IRI [<cite><a class="bibref" rel="biblioentry" href="#bib-IRI">IRI</a></cite>]. <span class="insert">Given that 
-',' (comma),
-';' (semi-colon),
+<span class="insert">]. 
+A </span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></code><span class="insert"> consists of a prefix and a local part. Prefixes follow the production </span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX"><span class="insert">PN_PREFIX</span></a></code><span class="insert"> defined by SPARQL [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RDF-SPARQL-QUERY"><span class="insert">RDF-SPARQL-QUERY</span></a></cite><span class="insert">]. Local parts have to be conformant with </span><code class="content"><a class="grammarRef" href="#prod-PN_LOCAL"><span class="insert">PN_LOCAL</span></a></code><span class="insert">, which extends the original SPARQL </span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_LOCAL"><span class="insert">PN_LOCAL</span></a></code><span class="insert"> definition 
+by allowing further characters (see </span><code class="content"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS"><span class="insert">PN_CHARS_OTHERS</span></a></code><span class="insert">):</span></p>
+<ul>
+<li><span class="insert"> an extra set of characters commonly encountered in IRIs;
+</span></li><li><span class="insert"> %-escaped characters (see </span><code class="content"><a class="grammarRef" href="#prod-PERCENT"><span class="insert">PERCENT</span></a></code><span class="insert">) to be interpreted as per
+ Section 3.1.  Mapping of IRIs to URIs in [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RFC3987"><span class="insert">RFC3987</span></a></cite><span class="insert">];</span></li>
+<li><span class="insert"> and \-escaped characters (see </span><code class="content"><a class="grammarRef" href="#prod-PN_CHARS_ESC"><span class="insert">PN_CHARS_ESC</span></a></code><span class="insert">).</span></li>
+</ul>
+
+
+
+<p><span class="insert">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, they can be %-escaped or incorporated in the IRI denoted by a prefix.
-</span></p>
-
-
-
-
-<p><span class="insert">Qualified names </span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></code><span class="insert"> consist of a prefix and a local part. Prefixes follow the production </span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX"><span class="insert">PN_PREFIX</span></a></code><span class="insert"> defined by SPARQL [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RDF-SPARQL-QUERY"><span class="insert">RDF-SPARQL-QUERY</span></a></cite><span class="insert">]. Local parts have to be conformant with </span><code class="content"><a class="grammarRef" href="#prod-PN_LOCAL"><span class="insert">PN_LOCAL</span></a></code><span class="insert">, which extends the original SPARQL </span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_LOCAL"><span class="insert">PN_LOCAL</span></a></code><span class="insert"> definition by allowing further characters and %-escaped charaters (see </span><code class="content"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS"><span class="insert">PN_CHARS_OTHERS</span></a></code><span class="insert">).</span></p>
+']' (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
+</span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF"><span class="insert">IRI_REF</span></a></code><span class="insert">  are also allowed in </span><code class="content"><a class="grammarRef" href="#prod-PN_LOCAL"><span class="insert">PN_LOCAL</span></a></code><span class="insert"> if they are escaped by the '\' (backslash character) as per production </span><code class="content"><a class="grammarRef" href="#prod-PN_CHARS_ESC"><span class="insert">PN_CHARS_ESC</span></a></code><span class="insert">. Furthermore, '.' (dot), ':' (colon), '-' (hyphen) can also be \-escaped.</span></p>
+
+
+
+<p>A <span class="delete">PROV</span><span class="insert">PROV-N</span> qualified name <span class="delete">has a more permissive syntax then XML's </span><span class="delete">QName</span><span class="delete"> [</span><span class="delete">XML-NAMES</span><span class="delete">] since it allows any syntax for its local part provided that the concatenation with the namespace results in</span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></code><span class="insert"> can be mapped to</span> a valid IRI [<cite><a class="bibref" rel="biblioentry" href="#bib-IRI">IRI</a></cite><span class="delete">]. </span><span class="insert">] by concatenating the namespace denoted  its local name </span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX"><span class="insert">PN_PREFIX</span></a></code><span class="insert"> to the local name </span><code class="content"><a class="grammarRef" href="#prod-PN_LOCAL"><span class="insert">PN_LOCAL</span></a></code><span class="insert">, whose \-escaped characters have been unescaped by dropping the character '\' (backslash).</span></p>
+
+
 
  
 <table class="grammar">
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-QUALIFIED_NAME" name="prod-QUALIFIED_NAME"></a><span class="insert">[</span><span class="prodNo"><span class="insert">59</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">QUALIFIED_NAME</span></code><span class="insert">&gt;</span></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="http://www.w3.org/TR/rdf-sparql-query/#rPN_LOCAL"><span class="insert">PN_PREFIX</span></a></span><span class="insert"> ":" )? </span><span class="prod"><a class="grammarRef" href="#prod-PN_LOCAL"><span class="insert">PN_LOCAL</span></a></span><br><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_LOCAL"><span class="insert">PN_PREFIX</span></a></span><span class="insert"> ":"</span></code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_LOCAL" name="prod-PN_LOCAL"></a><span class="insert">[</span><span class="prodNo"><span class="insert">60</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">PN_LOCAL</span></code><span class="insert">&gt;</span></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="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS_U"><span class="insert">PN_CHARS_U</span></a></span><span class="insert"> | [0-9] | </span><span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS"><span class="insert">PN_CHARS_OTHERS</span></a></span><span class="insert"> ) ( ( </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS"><span class="insert">PN_CHARS</span></a></span><span class="insert"> | "." | </span><span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS"><span class="insert">PN_CHARS_OTHERS</span></a></span><span class="insert"> )* ( </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS"><span class="insert">PN_CHARS</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS"><span class="insert">PN_CHARS_OTHERS</span></a></span><span class="insert"> ) )?</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="insert">[</span><span class="prodNo"><span class="insert">61</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">PN_CHARS_OTHERS</span></code><span class="insert">&gt;</span></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-PERCENT"><span class="insert">PERCENT</span></a></span><br><span class="insert"> | "/"</span><br><span class="insert"> | "@"</span><br><span class="insert"> | "~"</span><br><span class="insert"> | "&amp;"</span><br><span class="insert"> | "+"</span><br><span class="insert"> | "?"</span><br><span class="insert"> | "#"</span><br><span class="insert"> | "$"</span></code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PERCENT" name="prod-PERCENT"></a><span class="insert">[</span><span class="prodNo"><span class="insert">62</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">PERCENT</span></code><span class="insert">&gt;</span></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-HEX"><span class="insert">HEX</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-HEX"><span class="insert">HEX</span></a></span></code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-HEX" name="prod-HEX"></a><span class="insert">[</span><span class="prodNo"><span class="insert">63</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">HEX</span></code><span class="insert">&gt;</span></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">[0-9]</span><br><span class="insert"> | [A-F]</span><br><span class="insert"> | [a-f]</span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-QUALIFIED_NAME" name="prod-QUALIFIED_NAME"></a><span class="insert">[</span><span class="prodNo"><span class="insert">61</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">QUALIFIED_NAME</span></code><span class="insert">&gt;</span></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="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX"><span class="insert">PN_PREFIX</span></a></span><span class="insert"> ":" )? </span><span class="prod"><a class="grammarRef" href="#prod-PN_LOCAL"><span class="insert">PN_LOCAL</span></a></span><br><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX"><span class="insert">PN_PREFIX</span></a></span><span class="insert"> ":"</span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PN_LOCAL" name="prod-PN_LOCAL"></a><span class="insert">[</span><span class="prodNo"><span class="insert">62</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">PN_LOCAL</span></code><span class="insert">&gt;</span></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="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS_U"><span class="insert">PN_CHARS_U</span></a></span><span class="insert"> | [0-9] | </span><span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS"><span class="insert">PN_CHARS_OTHERS</span></a></span><span class="insert"> ) ( ( </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS"><span class="insert">PN_CHARS</span></a></span><span class="insert"> | "." | </span><span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS"><span class="insert">PN_CHARS_OTHERS</span></a></span><span class="insert"> )* ( </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_CHARS"><span class="insert">PN_CHARS</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_OTHERS"><span class="insert">PN_CHARS_OTHERS</span></a></span><span class="insert"> ) )?</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="insert">[</span><span class="prodNo"><span class="insert">63</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">PN_CHARS_OTHERS</span></code><span class="insert">&gt;</span></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"/"</span><br><span class="insert"> | "@"</span><br><span class="insert"> | "~"</span><br><span class="insert"> | "&amp;"</span><br><span class="insert"> | "+"</span><br><span class="insert"> | "*"</span><br><span class="insert"> | "?"</span><br><span class="insert"> | "#"</span><br><span class="insert"> | "$"</span><br><span class="insert"> | "!"</span><br><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-PERCENT"><span class="insert">PERCENT</span></a></span><br><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-PN_CHARS_ESC"><span class="insert">PN_CHARS_ESC</span></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="insert">[</span><span class="prodNo"><span class="insert">64</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">PN_CHARS_ESC</span></code><span class="insert">&gt;</span></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"\" ( "=" | "'" | "(" | ")" | "," | "-" | ":" | ";" | "[" | "]" | "." )</span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-PERCENT" name="prod-PERCENT"></a><span class="insert">[</span><span class="prodNo"><span class="insert">65</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">PERCENT</span></code><span class="insert">&gt;</span></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-HEX"><span class="insert">HEX</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-HEX"><span class="insert">HEX</span></a></span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-HEX" name="prod-HEX"></a><span class="insert">[</span><span class="prodNo"><span class="insert">66</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">HEX</span></code><span class="insert">&gt;</span></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">[0-9]</span><br><span class="insert"> | [A-F]</span><br><span class="insert"> | [a-f]</span></code></td> </tr> </tbody>
 
 </table>
 
 
 
-<div class="anexample" id="anexample-qualified-name" data-count="31"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name"><span class="insert">Example 31</span></a></div>
+<div class="anexample" id="anexample-qualified-name"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name"><span class="insert">Example 33</span></a></div>
 <p>Examples of articles on the BBC Web site seen as  entities.</p>
 <pre class="codeexample"><span class="delete">container</span><span class="insert">bundle</span>
   prefix bbc &lt;http://www.bbc.co.uk/&gt;
@@ -3554,7 +3891,7 @@
 
 
 
-<div class="anexample" id="anexample-qualified-name2" data-count="32"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name2"><span class="insert">Example 32</span></a></div>
+<div class="anexample" id="anexample-qualified-name2"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name2"><span class="insert">Example 34</span></a></div>
 <p>Examples of entities with declared and default namespace.</p>
 <pre class="codeexample"><span class="delete">container</span><span class="insert">bundle</span>
   default &lt;http://example.org/2/&gt;
@@ -3564,16 +3901,40 @@
   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/2/1234
-  entity(4567)     //  corresponds to IRI http://example.org/2/4567
-<span class="delete">end</span><span class="insert">endBundle</span>
+  entity(ex:1234)  //  corresponds to IRI <span class="delete">http://example.org/2/1234</span><span class="insert">http://example.org/1/1234</span>
+  entity(4567)     //  corresponds to IRI http://example.org/2/4567<span class="delete">
+end</span><span class="insert">
+  entity(c/)       //  corresponds to IRI http://example.org/2/c/
+  entity(ex:/)     //  corresponds to IRI http://example.org/1//
+endBundle</span>
 </pre>
 </div>
 
 
 
 
-<p><b>Note:</b>The productions for   <code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME">qualifiedName</a></code> and   <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">prefix</a></code> are conflicting.  In the context of a <code class="content"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></code>, a parser should give precedence to the production for <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX">prefix</a></code>.
+<div class="anexample" id="anexample-qualified-name3"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-qualified-name3"><span class="insert">Example 35</span></a></div>
+<p><span class="insert">Examples of \-escaped characters.</span></p>
+<pre class="codeexample"><span class="insert">bundle
+  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-
+endBundle
+</span></pre>
+</div>
+
+
+<p><b>Note:</b>The productions for <span class="delete">qualifiedName</span><span class="insert">the terminals  </span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></code> and <span class="delete">prefix</span>  <code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX"><span class="insert">PN_PREFIX</span></a></code> are conflicting.<span class="insert">
+Indeed,</span>  <span class="insert">for a tokenizer operating independently of the parse tree, </span><code><span class="insert">abc</span></code><span class="insert"> matches both 
+</span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></code><span class="insert"> and
+</span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX"><span class="insert">PN_PREFIX</span></a></code><span class="insert">.
+  </span>In the context of a <code class="content"><a class="grammarRef" href="#prod-namespaceDeclaration">namespaceDeclaration</a></code>, a <span class="delete">parser</span><span class="insert">tokenizer</span> should give<span class="delete"> precedence</span><span class="insert">  preference</span> to the production <span class="delete">for </span><span class="delete">prefix</span><code class="content"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX"><span class="insert">PN_PREFIX</span></a></code>.
 </p>
 
 
@@ -3591,14 +3952,16 @@
 
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attribute" name="prod-attribute"></a><span class="insert">[</span><span class="prodNo"><span class="insert">44</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod">attribute<span class="delete">&nbsp;::=  </span><span class="delete">qualifiedName</span>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-attribute" name="prod-attribute"></a><span class="insert">[</span><span class="prodNo"><span class="insert">41</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod">attribute<span class="delete">&nbsp;::=  </span><span class="delete">qualifiedName</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></code></td> </tr> </tbody>
 </table>
 
 
-<p>The  reserved attributes in the PROV namespace are the following.</p>
+<p>The  reserved attributes in the PROV namespace are the following.<span class="insert">
+Their meaning is explained by [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM"><span class="insert">PROV-DM</span></a></cite><span class="insert">] (see </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#term-attribute"><span class="insert">Section 5.7.2: Attribute</span></a><span class="insert">).
+</span></p>
 
 <ol>
 <li>  <span class="name">prov:label</span>
@@ -3624,15 +3987,16 @@
 
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-literal" name="prod-literal"></a><span class="insert">[</span><span class="prodNo"><span class="insert">45</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">literal</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-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="insert">[</span><span class="prodNo"><span class="insert">46</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">typedLiteral</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-STRING_LITERAL"><span class="insert">STRING_LITERAL</span></a></span><span class="insert"> "%%" </span><span class="prod"><a class="grammarRef" href="#prod-datatype"><span class="insert">datatype</span></a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-datatype" name="prod-datatype"></a><span class="insert">[</span><span class="prodNo"><span class="insert">47</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">datatype</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></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-literal" name="prod-literal"></a><span class="insert">[</span><span class="prodNo"><span class="insert">42</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">literal</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-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="insert">[</span><span class="prodNo"><span class="insert">43</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">typedLiteral</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-STRING_LITERAL"><span class="insert">STRING_LITERAL</span></a></span><span class="insert"> "%%" </span><span class="prod"><a class="grammarRef" href="#prod-datatype"><span class="insert">datatype</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-datatype" name="prod-datatype"></a><span class="insert">[</span><span class="prodNo"><span class="insert">44</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">datatype</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></code></td> </tr> </tbody>
 <tbody><tr valign="baseline"><td></td><td></td><td></td></tr></tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-convenienceNotation" name="prod-convenienceNotation"></a><span class="insert">[</span><span class="prodNo"><span class="insert">48</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">convenienceNotation</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-STRING_LITERAL"><span class="insert">STRING_LITERAL</span></a></span><span class="insert"> (</span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rLANGTAG"><span class="insert">LANGTAG</span></a></span><span class="insert">)?</span><br>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-convenienceNotation" name="prod-convenienceNotation"></a><span class="insert">[</span><span class="prodNo"><span class="insert">45</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">convenienceNotation</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-STRING_LITERAL"><span class="insert">STRING_LITERAL</span></a></span><span class="insert"> (</span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rLANGTAG"><span class="insert">LANGTAG</span></a></span><span class="insert">)?</span><br>
 <span class="delete">typedLiteral</span><span class="delete"> ::= </span><span class="delete">quotedString</span> <span class="delete">%%</span> <span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-INT_LITERAL"><span class="insert">INT_LITERAL</span></a></span><br><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME_LITERAL"><span class="insert">QUALIFIED_NAME_LITERAL</span></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="insert">[</span><span class="prodNo"><span class="insert">64</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">STRING_LITERAL</span></code><span class="insert">&gt;</span></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL2"><span class="insert">STRING_LITERAL2</span></a></span><br><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL_LONG2"><span class="insert">STRING_LITERAL_LONG2</span></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="insert">[</span><span class="prodNo"><span class="insert">66</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">INT_LITERAL</span></code><span class="insert">&gt;</span></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-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert">)+</span></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="insert">[</span><span class="prodNo"><span class="insert">67</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">QUALIFIED_NAME_LITERAL</span></code><span class="insert">&gt;</span></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-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></span><span class="insert"> "'"</span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-STRING_LITERAL" name="prod-STRING_LITERAL"></a><span class="insert">[</span><span class="prodNo"><span class="insert">67</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">STRING_LITERAL</span></code><span class="insert">&gt;</span></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL2"><span class="insert">STRING_LITERAL2</span></a></span><br><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rSTRING_LITERAL_LONG2"><span class="insert">STRING_LITERAL_LONG2</span></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="insert">[</span><span class="prodNo"><span class="insert">69</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">INT_LITERAL</span></code><span class="insert">&gt;</span></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-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert">)+</span></code></td> </tr> </tbody>
+<tbody class="term"> <tr valign="baseline"> <td><a id="prod-DIGIT" name="prod-DIGIT"></a><span class="insert">[</span><span class="prodNo"><span class="insert">71</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">DIGIT</span></code><span class="insert">&gt;</span></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">[0-9]</span></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="insert">[</span><span class="prodNo"><span class="insert">70</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">QUALIFIED_NAME_LITERAL</span></code><span class="insert">&gt;</span></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-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></span><span class="insert"> "'"</span></code></td> </tr> </tbody>
 </table>
 
 <p><span class="insert">In production </span><code class="content"><a class="grammarRef" href="#prod-datatype">datatype
@@ -3644,7 +4008,7 @@
 <span class="delete">intLiteral</span><span class="delete"> ::= </span><span class="delete">a finite-length non-empty sequence of decimal digits (#x30-#x39) with an optional leading negative sign (-)</span>
 
 
-<a href="http://www.w3.org/TR/prov-dm/#term-value"><span class="insert">PROV data type</span></a><span class="insert"> [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM"><span class="insert">PROV-DM</span></a></cite><span class="insert">].
+<a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#term-value"><span class="insert">PROV data type</span></a><span class="insert"> [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM"><span class="insert">PROV-DM</span></a></cite><span class="insert">].
 
 
 </span></p><p>The non terminals <span class="delete">stringLiteral</span>
@@ -3681,36 +4045,53 @@
 
 
 
-<p><b>Note:</b>The productions for <span class="delete">qualifiedName</span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">prov:QUALIFIED_NAME</span></a></code> and <span class="delete">intLiteral</span>
-<code class="content"><a class="grammarRef" href="#prod-INT_LITERAL"><span class="insert">INT_LITERAL</span></a></code> are conflicting.  In the context of a <span class="delete">Literal</span> 
-<code class="content"><a class="grammarRef" href="#prod-literal"><span class="insert">literal</span></a></code>, a parser should give precedence to the production for <span class="delete">intLiteral</span>
-<code class="content"><a class="grammarRef" href="#prod-INT_LITERAL"><span class="insert">INT_LITERAL</span></a></code>.
- 
-</p>
+<p><b>Note:</b>The productions for <span class="delete">qualifiedName</span><span class="insert">terminals </span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></code> and <span class="delete">intLiteral</span>
+<code class="content"><a class="grammarRef" href="#prod-INT_LITERAL"><span class="insert">INT_LITERAL</span></a></code> are conflicting.<span class="insert">  
+Indeed, for a tokenizer operating independently of the parse tree, </span><code><span class="insert">1234</span></code><span class="insert"> matches both </span><code class="content"><a class="grammarRef" href="#prod-INT_LITERAL"><span class="insert">INT_LITERAL</span></a></code><span class="insert"> and </span><code class="content"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></code><span class="insert"> (local name without prefix). In the context of
+a </span><code class="content"><a class="grammarRef" href="#prod-convenienceNotation"><span class="insert">convenienceNotation</span></a></code><span class="insert">, a tokenizer should give preference to the production
+</span><code class="content"><a class="grammarRef" href="#prod-INT_LITERAL"><span class="insert">INT_LITERAL</span></a></code><span class="insert">. 
+</span></p>
+
+<div class="anexample" id="anexample-convenience"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-convenience"><span class="insert">Example 36</span></a></div>
+<p><span class="insert">
+The following examples illustrate convenience notations.</span></p>
+
+<p><span class="insert">The two following expressions are strings; if </span><code class="content"><a class="grammarRef" href="#prod-datatype"><span class="insert">datatype</span></a></code><span class="insert"> is not specified, it is </span><code><span class="insert">xsd:string</span></code><span class="insert">.</span></p>
+<pre class="codeexample">  <span class="delete">In the context</span><span class="insert">"abc" %% xsd:string
+  "abc"
+</span></pre>
+
+
+<p><span class="insert">The two following expressions are integers. For convenience, numbers, expressed as digits optionally preceded by a minus sign, can occur without quotes.</span></p>
+<pre class="codeexample"><span class="insert">  "1234" %% xsd:integer
+  1234
+  "-1234" %% xsd:integer
+  -1234
+</span></pre>
+
+<p><span class="insert">The two following expressions are qualified names. Values</span> of <span class="delete">a </span><span class="delete">Literal</span><span class="delete">, a parser should give precedence to the production for </span><span class="delete">intLiteral</span><span class="delete">.
+</span><span class="insert">type qualified name can be conveniently expressed within single quotes.</span></p>
 
 <span class="delete">
-Wouldn't it</span><div class="anexample" id="anexample-value" data-count="33"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-value"><span class="insert">Example 33</span></a></div>
+Wouldn't it be useful to introduce a literal for a qualified name?
+Currenlty, we have to write:
+</span><span class="delete">prov:type="ex:Programmer"</span>
+<pre class="codeexample">  <span class="insert">"ex:value" </span>%% <span class="delete">xsd:QName</span><span class="insert">prov:QUALIFIED_NAME
+  'ex:value'</span>
+</pre>
+<span class="delete">to indicate that ex:Programmer should be interpreted as qualified name (QName).
+Instead, we could have a notation such as
+</span><span class="delete">prov:type='ex:Programmer'</span></div>
+
+<div class="anexample" id="anexample-value"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-value"><span class="insert">Example 37</span></a></div>
 <p><span class="insert">
 The following examples respectively are the string "abc", the string (in French) "bonjour", the integer number 1, and the IRI "http://example.org/foo".
 </span></p><pre class="codeexample"><span class="insert">  "abc"
   "bonjour"@fr
   "1" %% xsd:integer
-  "http://example.org/foo" %% xsd:anyURI
-</span></pre>
-<p><span class="insert">The following example shows a value of type </span><span class="name"><span class="insert">prov:QUALIFIED_NAME</span></span><span class="insert"> (see
-</span><span class="name"><a href="#prod-QUALIFIED_NAME"><span class="insert">prov:QUALIFIED_NAME</span></a></span><span class="insert">).
-The prefix </span><span class="name"><span class="insert">ex</span></span>  <em class="rfc2119" title="must"><span class="insert">must</span></em> be <span class="delete">useful</span><span class="insert">bound</span> to <span class="delete">introduce </span>a <span class="delete">literal for</span><a><span class="insert">namespace</span></a><span class="insert"> declared in</span> a <span class="delete">qualified name?
-Currenlty, we have to write:
-</span><span class="delete">prov:type="ex:Programmer"  </span><a><span class="insert">namespace declaration</span></a><span class="insert">.</span></p>
-<pre class="codeexample"><span class="insert"> 
-  "ex:value" </span>%% <span class="delete">xsd:QName</span><span class="insert">prov:QUALIFIED_NAME</span>
+  "http://example.org/foo" %% xsd:anyURI</span>
 </pre>
-<span class="delete">to indicate that ex:Programmer should</span><span class="insert">Alternatively, the same value can</span> be <span class="delete">interpreted as qualified name (QName).
-Instead, we could have a notation such as
-</span><span class="delete">prov:type='ex:Programmer'</span><span class="insert">expressed using the following convenience notation.
-</span><pre class="codeexample"><span class="insert"> 
-  'ex:value'</span>
-</pre>
+
 
 </div>
 
@@ -3722,7 +4103,9 @@
 <div id="expression-types" class="section">
 <h5><span class="secno"><span class="delete">3.7.4.1</span><span class="insert">3.7.3.1</span> </span>Reserved Type Values</h5>
 
-<p>The  reserved type values in the PROV namespace are the following.</p>
+<p>The  reserved type values in the PROV namespace are the following.<span class="insert">
+Their meaning is defined [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM"><span class="insert">PROV-DM</span></a></cite><span class="insert">] (see </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#term-attribute-type"><span class="insert">Section 5.7.2.4: prov:type</span></a><span class="insert">).
+</span></p>
 
 <ol>
 <li>  <span class="name"><span class="delete">prov:Account</span><span class="insert">prov:Bundle</span></span>
@@ -3742,7 +4125,7 @@
   <span class="delete">prov:EmptyCollection</span>
 </ol>
 
-<div class="anexample" id="anexample-types" data-count="34"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-types"><span class="insert">Example 34</span></a></div>
+<div class="anexample" id="anexample-types"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-types"><span class="insert">Example 38</span></a></div>
 <p>The <span class="delete">entity</span><span class="insert">agent</span> <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"><span class="delete">agent(ag,[prov:type="prov:Person" %% xsd:QName])
@@ -3760,14 +4143,11 @@
 <p><dfn id="dfn-time">Time instants</dfn> are defined according to xsd:dateTime [<cite><span class="delete">XMLSCHEMA-2</span><a class="bibref" rel="biblioentry" href="#bib-XMLSCHEMA11-2"><span class="insert">XMLSCHEMA11-2</span></a></cite>].</p> 
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-time" name="prod-time"></a><span class="insert">[</span><span class="prodNo"><span class="insert">49</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">time</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-ISODATETIME"><span class="insert">ISODATETIME</span></a></span></code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-DIGIT" name="prod-DIGIT"></a><span class="insert">[</span><span class="prodNo"><span class="insert">68</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">DIGIT</span></code><span class="insert">&gt;</span></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">[0-9]</span></code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-ISODATETIME" name="prod-ISODATETIME"></a><span class="insert">[</span><span class="prodNo"><span class="insert">69</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">ISODATETIME</span></code><span class="insert">&gt;</span></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-DIGIT"><span class="insert">DIGIT</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert"> "-" </span><span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert"> "-" </span><span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert"> "T" </span><span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert"> ":" </span><span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert"> ":" </span><span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert"> ( "." </span><span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert"> ( </span><span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert"> (</span><span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert">)? )? )? ( "Z" | </span><span class="prod"><a class="grammarRef" href="#prod-TIMEZONEOFFSET"><span class="insert">TIMEZONEOFFSET</span></a></span><span class="insert"> )?</span></code></td> </tr> </tbody>
-<tbody class="term"> <tr valign="baseline"> <td><a id="prod-TIMEZONEOFFSET" name="prod-TIMEZONEOFFSET"></a><span class="insert">[</span><span class="prodNo"><span class="insert">70</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><span class="insert">&lt;</span><code class="production term"><span class="insert">TIMEZONEOFFSET</span></code><span class="insert">&gt;</span></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-DIGIT"><span class="insert">DIGIT</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span><span class="insert"> ":" </span><span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-DIGIT"><span class="insert">DIGIT</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-time" name="prod-time"></a><span class="insert">[</span><span class="prodNo"><span class="insert">46</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">time</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="http://www.w3.org/TR/xmlschema11-2/#nt-dateTimeRep"><span class="insert">DATETIME</span></a></span></code></td> </tr> </tbody>
 </table>
 
 
-<div class="anexample" id="anexample-time" data-count="35"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-time"><span class="insert">Example 35</span></a></div>
+<div class="anexample" id="anexample-time"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-time"><span class="insert">Example 39</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)
@@ -3806,27 +4186,29 @@
 
 <table class="grammar">
 
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclarations" name="prod-namespaceDeclarations"></a><span class="insert">[</span><span class="prodNo"><span class="insert">50</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">namespaceDeclarations</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-defaultNamespaceDeclaration"><span class="insert">defaultNamespaceDeclaration</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration"><span class="insert">namespaceDeclaration</span></a></span><span class="insert"> ) (</span><span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration"><span class="insert">namespaceDeclaration</span></a></span><span class="insert">)*</span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclaration" name="prod-namespaceDeclaration"></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">namespaceDeclaration</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"prefix" </span><span class="prod"><a class="grammarRef" href="#prod-QUALIFIED_NAME"><span class="insert">QUALIFIED_NAME</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-namespace"><span class="insert">namespace</span></a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespace" name="prod-namespace"></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">namespace</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="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF"><span class="insert">IRI_REF</span></a></span></code></td> </tr> </tbody>
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-defaultNamespaceDeclaration" name="prod-defaultNamespaceDeclaration"></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">defaultNamespaceDeclaration</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"default" </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF"><span class="insert">IRI_REF</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclarations" name="prod-namespaceDeclarations"></a><span class="insert">[</span><span class="prodNo"><span class="insert">47</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">namespaceDeclarations</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-defaultNamespaceDeclaration"><span class="insert">defaultNamespaceDeclaration</span></a></span><span class="insert"> | </span><span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration"><span class="insert">namespaceDeclaration</span></a></span><span class="insert"> ) (</span><span class="prod"><a class="grammarRef" href="#prod-namespaceDeclaration"><span class="insert">namespaceDeclaration</span></a></span><span class="insert">)*</span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespaceDeclaration" name="prod-namespaceDeclaration"></a><span class="insert">[</span><span class="prodNo"><span class="insert">48</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">namespaceDeclaration</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"prefix" </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rPN_PREFIX"><span class="insert">PN_PREFIX</span></a></span> <span class="prod"><a class="grammarRef" href="#prod-namespace"><span class="insert">namespace</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-defaultNamespaceDeclaration" name="prod-defaultNamespaceDeclaration"></a><span class="insert">[</span><span class="prodNo"><span class="insert">49</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">defaultNamespaceDeclaration</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"default" </span><span class="prod"><a class="grammarRef" href="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF"><span class="insert">IRI_REF</span></a></span></code></td> </tr> </tbody>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-namespace" name="prod-namespace"></a><span class="insert">[</span><span class="prodNo"><span class="insert">50</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">namespace</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="http://www.w3.org/TR/rdf-sparql-query/#rIRI_REF"><span class="insert">IRI_REF</span></a></span></code></td> </tr> </tbody>
 
 </table>
 
-<p><span class="insert">A </span><a class="grammarRef" href="#prod-namespaceDeclaration"><span class="insert">namespaceDeclaration</span></a><span class="insert"> consists of a binding between a prefix and a namespace. Every qualified name with this prefix in the scope of this declaration refers to this namespace. The scope of a namespace declaration is the </span><a class="grammarRef" href="#prod-namedBundle"><span class="insert">namedBundle</span></a><span class="insert"> or </span><a class="grammarRef" href="#prod-bundle"><span class="insert">toplevel bundle</span></a><span class="insert"> in which it directly occurs.</span></p>
-
-
-
-
-<p><span class="insert">In PROV-N, the following prefixes are reserved:
-</span></p><ul>
-<li>  <span class="name"><span class="insert">prov</span></span><span class="insert">  denotes the PROV namespace with URI </span><span class="name"><span class="insert">http://www.w3.org/ns/prov#</span></span></li>
-<li>  <span class="name"><span class="insert">xsd</span></span><span class="insert"> denotes the XML Schema namespace with URI  </span><span class="name"><span class="insert">http://www.w3.org/2001/XMLSchema#</span></span><span class="insert">.
-</span></li>
+<p><span class="insert">A </span><code><a class="grammarRef" href="#prod-namespaceDeclaration"><span class="insert">namespaceDeclaration</span></a></code><span class="insert"> 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 </span><code><a class="grammarRef" href="#prod-defaultNamespaceDeclaration"><span class="insert">defaultNamespaceDeclaration</span></a></code><span class="insert"> consists of a namespace. Every qualified name without prefix in the scope of this declaration belongs to this namespace. Scope of a declaration is specified as follows:</span></p>
+<ul>
+<li><span class="insert"> 
+The scope of a namespace declaration directly occurring in a </span><code><a class="grammarRef" href="#prod-namedBundle"><span class="insert">namedBundle</span></a></code><span class="insert"> is the </span><code><a class="grammarRef" href="#prod-namedBundle"><span class="insert">namedBundle</span></a></code><span class="insert"> itself;</span></li>
+<li><span class="insert">
+the scope of a namespace declaration directly occurring in a </span><code><a class="grammarRef" href="#prod-bundle"><span class="insert">toplevel bundle</span></a></code><span class="insert"> is the </span><code><a class="grammarRef" href="#prod-bundle"><span class="insert">toplevel bundle</span></a></code><span class="insert"> itself, except and </span><code><a class="grammarRef" href="#prod-namedBundle"><span class="insert">namedBundle</span></a></code><span class="insert"> it may contain.</span></li>
 </ul>
-<p><span class="insert">A PROV-N document </span><em class="rfc2119" title="must not"><span class="insert">must not</span></em><span class="insert"> redeclare prefixes </span><span class="name"><span class="insert">prov</span></span><span class="insert"> and </span><span class="name"><span class="insert">xsd</span></span><span class="insert">.</span></p>
-
-<div class="anexample" id="anexample-namespace" data-count="36"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace"><span class="insert">Example 36</span></a></div>
+
+<p><span class="insert">A set of namespace declarations </span><code><a class="grammarRef" href="#prod-namespaceDeclarations"><span class="insert">namespaceDeclarations</span></a></code> <em class="rfc2119" title="must not"><span class="insert">must not</span></em><span class="insert"> re-declare the same prefix.</span></p>
+
+<p><span class="insert">A namespace declaration </span><code><a class="grammarRef" href="#prod-namespaceDeclaration"><span class="insert">namespaceDeclaration</span></a></code> <em class="rfc2119" title="must not"><span class="insert">must not</span></em><span class="insert"> declare prefixes </span><span class="name"><span class="insert">prov</span></span><span class="insert"> and </span><span class="name"><span class="insert">xsd</span></span><span class="insert">  (see </span><a href="#namespace-table"><span class="insert">Table 1</span></a><span class="insert"> for their IRI).</span></p>
+
+
+
+<div class="anexample" id="anexample-namespace"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace"><span class="insert">Example 40</span></a></div>
 <p><span class="insert">The following example declares three namespaces, one default, and two with explicit prefixes </span><span class="name"><span class="insert">ex1</span></span><span class="insert"> and </span><span class="name"><span class="insert">ex2</span></span><span class="insert">.</span></p>
 <pre class="codeexample"><span class="insert">bundle
   default &lt;http://example.org/0/&gt;
@@ -3838,6 +4220,26 @@
 </div>
 
 
+<div class="anexample" id="anexample-namespace-scope"><div class="anexampleTitle"><a class="internalDFN" href="#anexample-namespace-scope"><span class="insert">Example 41</span></a></div>
+<p><span class="insert">In the following example, a toplevel bundle declares a default namespace and the occurrence of
+</span><code><span class="insert">e001</span></code><span class="insert"> directly occurring in the toplevel bundle refers to that namespace.
+A nested named bundle also declares a default namespace, but with a different IRI.
+In that named bundle, the occurrences of
+</span><code><span class="insert">e001</span></code><span class="insert">, including for the bundle name, refer to the latest default namespace.</span></p>
+<pre class="codeexample"><span class="insert">bundle
+  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
+endBundle
+</span></pre>
+</div>
+
+
+
 
 </div>
 
@@ -3845,12 +4247,60 @@
 
 
 
-
-
- 
+<div id="semantic-rules-summary" class="section">
+<h4><span class="secno"><span class="insert">3.7.5 </span></span><span class="insert">Summary of additional semantic rules</span></h4><span class="insert">
+
+Some of the grammar productions allow for expressions that are syntactically correct, and yet according to [</span><cite><a class="bibref" rel="biblioentry" href="#bib-PROV-DM"><span class="insert">PROV-DM</span></a></cite><span class="insert">] 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.</span><p></p>
+
+<div style="text-align: left;">
+<table class="thinborder" style="margin-left: auto; margin-right: auto;">
+<caption id="validity-rules-table"><span class="insert">Summary of additional semantic rules for grammar productions</span></caption>
+<tbody><tr><td><a href="#dfn-production" class="internalDFN"><b><span class="insert">Production</span></b></a></td>
+     <td><b><span class="insert">Examples of syntactically correct expressions</span></b></td>
+     <td><b><span class="insert">Additional semantic rule</span></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"><span class="insert">Generation expression</span></a></td>
+    <td><span class="name"><span class="insert">wasGeneratedBy(e2, -, -)</span></span><br><span class="name"><span class="insert">wasGeneratedBy(-; e2, -, -)</span></span></td>
+    <td><span class="insert">At least one  of </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#generation.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#generation.activity"><span class="attribute"><span class="insert">activity</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#generation.time"><span class="attribute"><span class="insert">time</span></span></a><span class="insert">, and  </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#generation.attributes"><span class="attribute"><span class="insert">attributes</span></span></a> <em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be present.</span></td>  
+</tr>
+<tr><td><a class="grammarRef" href="#prod-usageExpression"><span class="insert">Usage expression</span></a></td>
+<td><span class="name"><span class="insert">used(a2, -, -)</span></span><br><span class="name"><span class="insert">used(-; a2, -, -)</span></span></td>
+<td><span class="insert">At least one  of </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#usage.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#usage.entity"><span class="attribute"><span class="insert">entity</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#usage.time"><span class="attribute"><span class="insert">time</span></span></a><span class="insert">, and  </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#usage.attributes"><span class="attribute"><span class="insert">attributes</span></span></a> <em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be present</span></td>
+</tr><tr>
+<td><a class="grammarRef" href="#prod-startExpression"><span class="insert">Start expression</span></a></td>
+<td> <span class="name"><span class="insert">wasStartedBy(e2, -, -, -)</span></span><br><span class="name"><span class="insert">wasStartedBy(-; e2, -, -, -)</span></span></td>
+<td><span class="insert">At least one  of </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.trigger"><span class="attribute"><span class="insert">trigger</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.starter"><span class="attribute"><span class="insert">starter</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.time"><span class="attribute"><span class="insert">time</span></span></a><span class="insert">, and  </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#start.attributes"><span class="attribute"><span class="insert">attributes</span></span></a> <em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be present</span></td>
+</tr>
+
+<tr>
+<td><a class="grammarRef" href="#prod-endExpression"><span class="insert">End expression</span></a></td>
+<td><span class="name"><span class="insert">wasEndedBy(e2, -, -, -)</span></span><br><span class="name"><span class="insert">wasEndedBy(-; e2, -, -, -)</span></span></td>
+<td><span class="insert">At least one  of </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.trigger"><span class="attribute"><span class="insert">trigger</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.ender"><span class="attribute"><span class="insert">ender</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.time"><span class="attribute"><span class="insert">time</span></span></a><span class="insert">, and  </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#end.attributes"><span class="attribute"><span class="insert">attributes</span></span></a> <em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be present</span></td>
+</tr>
+
+<tr>
+<td><a class="grammarRef" href="#prod-invalidationExpression"><span class="insert">Invalidation expression</span></a></td>
+<td><span class="name"><span class="insert">wasInvalidatedBy(e2, -, -)</span></span>  <br><span class="name"><span class="insert">wasInvalidatedBy(-; e2, -, -)</span></span></td>
+<td><span class="insert">At least one  of </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#invalidation.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#invalidation.activity"><span class="attribute"><span class="insert">activity</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#invalidation.time"><span class="attribute"><span class="insert">time</span></span></a><span class="insert">, and  </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#invalidation.attributes"><span class="attribute"><span class="insert">attributes</span></span></a> <em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be present</span></td>
+</tr>
+
+<tr>
+<td><a class="grammarRef" href="#prod-associationExpression"><span class="insert">Association expression</span></a></td>
+<td><span class="name"><span class="insert">wasAssociatedWith(a, -, -)</span></span> <br><span class="name"><span class="insert">wasAssociatedWith(-; a, -, -)</span></span></td>
+<td><span class="insert">At least one of </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#association.id"><span class="attribute"><span class="insert">id</span></span></a><span class="insert">, </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#association.agent"><span class="attribute"><span class="insert">agent</span></span></a><span class="insert">,  </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#association.plan"><span class="attribute"><span class="insert">plan</span></span></a><span class="insert">, and  </span><a href="http://dvcs.w3.org/hg/prov/raw-file/default/model/releases/WD-prov-dm-20120724/Overview.html#association.attributes"><span class="attribute"><span class="insert">attributes</span></span></a>  <em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be present</span></td>
+</tr>
+
+</tbody></table>
 </div>
 </div>
 
+</div>
+
+
+</div>  
+
 
 
 
@@ -3864,17 +4314,32 @@
 <p> Given its status of house keeping construct for the purpose of exchanging provenance expressions,  <span class="delete">an</span><span class="insert">a toplevel bundle is not defined as a PROV-N</span> expression <span class="delete">container is not defined as a PROV-N </span><span class="insert">(production </span><code class="content"><a class="grammarRef" href="#prod-expression">expression<span class="delete"> (</span><span class="delete">production </span><span class="delete">expression</span></a></code>).</p> 
 
 
-<p><span class="delete">An expression container,</span><span class="insert">A toplevel bundle,</span> written <span class="name"><span class="delete">container</span><span class="insert">bundle</span> decls   exprs <span class="delete">endContainer</span><span class="insert">bundles endBundle</span></span> in PROV-N, contains:
-</p><ul>
-<li><em>namespaceDeclarations</em>: a set <span class="name">decls</span> of namespace declarations, 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 non-empty set of expressions <span class="name">exprs</span><span class="delete">.</span><span class="insert">;</span></li>
-<li><em><span class="insert">namedBundles</span></em><span class="insert">:  a  set of </span><a href="#expression-bundle-declaration"><span class="insert">bundle declarations</span></a> <span class="name"><span class="insert">bundles</span></span><span class="insert">;</span></li>
-</ul>
-
-<p><span class="delete">An </span><span class="insert">A toplevel bundle's text matches the </span><code class="content"><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a><span class="insert"> production.</span></code></p>
+ 
+
+
+
+
+
+<p><span class="delete">An </span><span class="insert">A toplevel bundle's text matches the </span><code class="content"><a class="grammarRef" href="#prod-bundle"><span class="insert">bundle</span></a></code><span class="insert"> production.</span></p>
 
 <table class="grammar">
-<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-bundle" name="prod-bundle"></a><span class="insert">[</span><span class="prodNo"><span class="insert">1</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">bundle</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"bundle" (</span><span class="prod"><a class="grammarRef" href="#prod-namespaceDeclarations"><span class="insert">namespaceDeclarations</span></a></span><span class="insert">)? (</span><span class="prod"><a class="grammarRef" href="#prod-expression">expression<span class="delete"> container's text matches the </span><span class="delete">expressionContainer</span><span class="delete"> production.</span>
+<tbody class="prod"> <tr valign="baseline"> <td><a id="prod-bundle" name="prod-bundle"></a><span class="insert">[</span><span class="prodNo"><span class="insert">1</span></span><span class="insert">]&nbsp;&nbsp;&nbsp;</span></td> <td><code class="production prod"><span class="insert">bundle</span></code></td> <td><span class="insert">&nbsp;&nbsp;&nbsp;::=&nbsp;&nbsp;&nbsp;</span></td> <td><code class="content"><span class="insert">"bundle" (</span><span class="prod"><a class="grammarRef" href="#prod-namespaceDeclarations"><span class="insert">namespaceDeclarations</span></a></span><span class="insert">)? (</span><span class="prod"><a class="grammarRef" href="#prod-expression">expression<span class="delete"> container, written </span><span class="delete">container decls  exprs endContainer</span><span class="delete"> in PROV-N,</span></a></span><span class="insert">)* (</span><span class="prod"><a class="grammarRef" href="#prod-namedBundle"><span class="insert">namedBundle</span></a></span><span class="insert">)* "endBundle"</span></code></td> </tr> </tbody>
+</table>
+
+<p><span class="insert">A toplevel bundle</span> contains:
+</p><ul>
+<li><em>namespaceDeclarations</em>: a set <span class="delete">decls</span> of namespace <span class="delete">declarations,</span><span class="insert">declarations </span><code><a class="grammarRef" href="#prod-namespaceDeclarations"><span class="insert">namespaceDeclarations</span></a></code><span class="insert">,</span> 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 <span class="delete">non-empty </span>set of expressions <span class="delete">exprs</span><span class="insert">matching </span><code><a class="grammarRef" href="#prod-expression"><span class="insert">expression</span></a></code><span class="insert">;</span></li>
+<li><em><span class="insert">namedBundles</span></em><span class="insert">:  a  set of
+</span><code><a class="grammarRef" href="#prod-namedBundle"><span class="insert">namedBundle</span></a></code>.</li>
+</ul>
+
+
+
+
+<p><span class="delete">An expression container's text matches the </span><span class="delete">expressionContainer</span><span class="delete"> production.</span><span class="insert">Thus, named bundles 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><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be interpreted with respect to the namespace declarations of that named bundle. In other words, named bundles </span><em class="rfc2119" title="should"><span class="insert">should</span></em><span class="insert"> not inherit namespaces declarations from the toplevel bundle.
+</span></p>
 
 
 
@@ -3883,17 +4348,16 @@
 <span class="delete">namespaceDeclarations</span> 
  <span class="delete">expression</span> 
 <span class="delete">endContainer</span> 
-</a></span><span class="insert">)* (</span><span class="prod"><a class="grammarRef" href="#prod-namedBundle"><span class="insert">namedBundle</span></a></span><span class="insert">)* "endBundle"</span></code></td> </tr> </tbody>
-</table>
-
-
-
-<div class="anexample" id="example_37" data-count="37"><div class="anexampleTitle"><a class="internalDFN" href="#example_37"><span class="insert">Example 37</span></a></div>
+
+
+
+
+<div class="anexample" id="example_42"><div class="anexampleTitle"><a class="internalDFN" href="#example_42"><span class="insert">Example 42</span></a></div>
 
 
 
 <p>
-The following container contains expressions related to the provenance of entity 
+The following <span class="delete">container</span><span class="insert">bundle</span> contains expressions related to the provenance of entity 
 <span class="name">e2</span>.
 </p>
 <pre class="codeexample"><span class="delete">container</span><span class="insert">bundle
@@ -3902,10 +4366,10 @@
 
   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"])
+  activity(a1, 2011-11-16T16:05:00, <span class="delete">-,[prov:type="edit"])</span><span class="insert">-, [prov:type="edit"])</span>
   wasGeneratedBy(e2, a1, -, [ex:fct="save"])     
   wasAssociatedWith(a1, ag2, -, [prov:role="author"])
-  agent(ag2, [ <span class="delete">prov:type="prov:Person" %% xsd:QName,</span><span class="insert">prov:type='prov:Person' ,</span> ex:name="Bob" ])
+  agent(ag2, [ <span class="delete">prov:type="prov:Person" %% xsd:QName,</span><span class="insert">prov:type='prov:Person',</span> ex:name="Bob" ])
 
 <span class="delete">endContainer</span><span class="insert">endBundle</span>
 </pre>
@@ -3917,22 +4381,51 @@
 
 </div>
 
-
-
-
-
-<div id="media-type" class="section">
-<h2><span class="secno">5. </span><span class="delete">Account</span>
-
-<span class="delete">The PROV data model has introduced a notion of account by which a set of provenance descriptions can be bundled up and named.  The PROV data model </span><span class="delete">assumes</span><span class="delete"> the existence of mechanisms to implement accounts, but such mechanisms remain outside its scope.  It is suggested that specific serializations may offer solutions to name bundles of descriptions. </span>
-
-<span class="delete">Given that the primary motivation for PROV-N is to provide a notation aimed at human consumption, it is therefore appropriate to introduce a notation for accounts, which would include an account name and a bundle of expressions.</span>
+<div id="extensibility" class="section">
+<h2><span class="secno">5. </span><span class="delete">Account</span><span class="insert">Extensibility</span></h2>
+
+<p>The PROV data model <span class="delete">has introduced</span><span class="insert">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><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>
+</ul>
+<p></p>
+
+<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>
+
+</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</span> a <span class="delete">notion</span><span class="insert">general form</span> of <span class="delete">account by</span><span class="insert">functional syntax, in</span> which <span class="insert">the predicate </span><em class="rfc2119" title="must"><span class="insert">must</span></em><span class="insert"> be </span>a<span class="delete"> set</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_43"><div class="anexampleTitle"><a class="internalDFN" href="#example_43"><span class="insert">Example 43</span></a></div>
+<p>
+<a href="#component6"><span class="insert">Collections</span></a><span class="insert"> are sets</span> of <span class="delete">provenance descriptions</span><span class="insert">entities, whose membership</span> can be <span class="delete">bundled up and named.</span><span class="insert">expressed using the </span><span class="name"><span class="insert">hadMember</span></span><span class="insert"> relation.</span>  The <span class="delete">PROV data model </span><span class="delete">assumes</span><span class="delete"> the existence</span><span class="insert">following example shows how one can express membership for an extension</span> of <span class="delete">mechanisms</span><span class="insert">Collections, namely sets of key-value pairs. The notation is a variation of that used for Collections membership, allowing multiple member elements</span> to <span class="delete">implement accounts, but such mechanisms remain outside its scope.</span><span class="insert">be declared, and in which the elements are pairs. The name of the relation is qualified with the extension-specific namespace </span><span class="name"><span class="insert">http://example.org/dictionaries</span></span><span class="insert">.
+</span></p>
+<pre class="codeexample">  <span class="delete">It</span><span class="insert">prefix dictExt &lt;http://example.org/dictionaries&gt;
+  dictExt:hadMembers(mId; d, {("k1",e1), ("k2",e2), ("k3",e3)}, []) 
+</span></pre><span class="insert">
+
+Note that the generic </span><code class="content"><a class="grammarRef" href="#prod-extensibilityExpression"><span class="insert">extensibilityExpression</span></a></code><span class="insert"> production  above allows for alternative notations to be used for expressing membership, if the designers of the extensions so desire. Here</span> is <span class="delete">suggested</span><span class="insert">an alternate syntax</span> that <span class="delete">specific serializations may offer solutions to name bundles of descriptions. </span>
+
+<span class="delete">Given that the primary motivation for PROV-N </span>is <span class="delete">to provide a notation aimed at human consumption, it is therefore appropriate to introduce a notation for accounts, which would include an account name and a bundle of expressions.</span>
 
 
 
 <span class="delete">An account, written </span><span class="delete">account(id, exprs)</span><span class="delete"> in PROV-N, contains:</span>
 
-<span class="delete">id</span><span class="delete">: an identifier  that identifies this account;</span>
+<span class="delete">id</span><span class="delete">: an identifier</span><span class="insert">consistent with the productions:
+</span><pre class="codeexample">  <span class="delete">that identifies this account;</span>
 <span class="delete">expressions</span><span class="delete">: a set </span><span class="delete">exprs</span><span class="delete"> of expressions;</span>
 
 
@@ -3940,14 +4433,21 @@
 
 
 <span class="delete">accountExpression</span><span class="delete">&nbsp;::=  
-</span><span class="delete">account</span> 
+</span><span class="delete">account</span><span class="insert">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"])</span> 
 <span class="delete">(</span> 
 <span class="delete">identifier</span> 
 <span class="delete">,</span> 
 
 <span class="delete">expression</span> 
 <span class="delete">)</span> 
-
+</pre>
+
+  
+</div>
 
 <span class="delete">It is also useful to package up one or more account expressions in an expression container, for interchange purpose. Hence,  </span><span class="delete">expressionContainer</span><span class="delete"> is revised as follows. </span>
 
@@ -3966,6 +4466,11 @@
 
 
 
+</div>
+
+
+
+
 <span class="delete">
 The following container </span>
 <span class="delete">container
@@ -4007,18 +4512,14 @@
 
 
 
-
-<span class="delete">6. </span>Media Type</h2>
+<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/prov-n</span>. The content encoding of PROV-N content is UTF-8.
+The media type of PROV-N is <span class="name"><span class="delete">text/prov-n</span><span class="insert">text/provenance-notation</span></span>. The content encoding of PROV-N content is UTF-8.
 </p>
 
-<div class="note">
-<p>
-See <a href="http://www.w3.org/2002/06/registering-mediatype">http://www.w3.org/2002/06/registering-mediatype</a> for Register an Internet Media Type for a <acronym title="World Wide Web Consortium">W3C</acronym> Spec.</p>
-<span class="insert">Following text adapted from </span><a href="http://www.w3.org/TeamSubmission/turtle/#sec-mediaReg"><span class="insert">turtle</span></a><span class="insert">.
-</span></div>
+
 
 
 
@@ -4026,30 +4527,33 @@
  <dl> 
       <dt><span class="insert">Contact:</span></dt> 
       <dd><span class="insert">Ivan Herman</span></dd> 
-      <dt><span class="insert">See also:</span></dt> 
-      <dd><a href="http://www.w3.org/2002/06/registering-mediatype"><span class="insert">How to Register a Media Type for a </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> Specification</span></a></dd> 
+      <dt>See <span class="insert">also:</span></dt> 
+      <dd><a href="http://www.w3.org/2002/06/registering-mediatype"><span class="delete">http://www.w3.org/2002/06/registering-mediatype</span><span class="delete"> for</span><span class="insert">How to</span> Register <span class="delete">an Internet</span><span class="insert">a</span> Media Type for a <acronym title="World Wide Web Consortium">W3C</acronym> <span class="delete">Spec.</span><span class="insert">Specification</span></a></dd> 
       <dd><a href="http://www.w3.org/2001/tag/2002/0129-mime"><span class="insert">Internet Media Type registration, consistency of use</span></a><br><span class="insert">TAG Finding 3 June 2002 (Revised 4 September 2002)</span></dd> 
     </dl> 
-    <p><span class="insert">The Internet Media Type / MIME Type for PROV-N is "text/prov-n".</span></p> 
-    <p><span class="insert">It is recommended that PROV-N files have the extension ".pn" (all lowercase) on all platforms.</span></p> 
+    <p><span class="insert">The Internet Media Type / MIME Type for PROV-N is "text/provenance-notation".</span></p>
+ 
+    <p><span class="insert">It is recommended that PROV-N files have the extension ".provn" (all lowercase) on all platforms.</span></p> 
     <p><span class="insert">It is recommended that PROV-N files stored on Macintosh HFS file systems be given a file type of "TEXT".</span></p> 
-    <p><span class="insert">This information that follows has been </span><a href="TBD"><span class="insert">submitted to the IESG</span></a><span class="insert"> for review, approval, and registration with IANA.</span></p> 
+    <p><span class="insert">This information that follows is being submitted to the IESG for review, approval, and registration with IANA.</span></p> 
     <dl> 
       <dt><span class="insert">Type name:</span></dt> 
       <dd><span class="insert">text</span></dd> 
       <dt><span class="insert">Subtype name:</span></dt> 
-      <dd><span class="insert">prov-n</span></dd> 
+      <dd><span class="insert">provenance-notation</span></dd> 
       <dt><span class="insert">Required parameters:</span></dt> 
       <dd><span class="insert">None</span></dd> 
       <dt><span class="insert">Optional parameters:</span></dt> 
-      <dd><tt><span class="insert">charset</span></tt><span class="insert"> — this parameter is required when transferring non-ASCII data. If present, the value of </span><tt><span class="insert">charset</span></tt><span class="insert"> is always </span><tt><span class="insert">UTF-8</span></tt><span class="insert">.</span></dd> 
+      <dd><tt><span class="insert">charset</span></tt><span class="insert"> — this parameter is mandatory. The value of </span><tt><span class="insert">charset</span></tt><span class="insert"> is always </span><tt><span class="insert">UTF-8</span></tt><span class="insert">.</span></dd> 
+
       <dt><span class="insert">Encoding considerations:</span></dt> 
-      <dd><span class="insert">The syntax of PROV-N is expressed over code points in Unicode [</span><a href="#UNICODE"><span class="insert">UNICODE</span></a><span class="insert">]. The encoding is always UTF-8 [</span><a href="#rfc3629"><span class="insert">RFC3629</span></a><span class="insert">].</span></dd> 
+      <dd><span class="insert">The syntax of PROV-N is expressed over code points in Unicode [</span><cite><a class="bibref" rel="biblioentry" href="#bib-UNICODE5"><span class="insert">UNICODE5</span></a></cite><span class="insert">]. The encoding is always UTF-8 [</span><cite><a class="bibref" rel="biblioentry" href="#bib-UTF-8"><span class="insert">UTF-8</span></a></cite><span class="insert">].</span></dd> 
       <dd><span class="insert">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]</span></dd> 
       <dt><span class="insert">Security considerations:</span></dt> 
-      <dd><span class="insert">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 [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RFC3023"><span class="insert">RFC3023</span></a></cite><span class="insert">] 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; inferences of potential medical treatments would likely require different trust than inferences for trip planning.</span></dd> 
-      <dd><span class="insert">PROV-N is used to express 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.</span></dd> 
-      <dd><span class="insert">PROV-N can express data which is presented to the user, for example, 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 ([</span><cite><a class="bibref" rel="biblioentry" href="#bib-RFC3023"><span class="insert">RFC3023</span></a></cite><span class="insert">] section 10) provide additional guidance around the expression of arbitrary data and markup.</span></dd> 
+      <dd><span class="insert">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 [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RFC3023"><span class="insert">RFC3023</span></a></cite><span class="insert">] 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.</span></dd> 
+      <dd><span class="insert">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.  </span></dd> 
+      <dd><span class="insert">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 ([</span><cite><a class="bibref" rel="biblioentry" href="#bib-RFC3023"><span class="insert">RFC3023</span></a></cite><span class="insert">] section 10) provide additional guidance around the expression of arbitrary data and markup.</span></dd> 
+      <dd><span class="insert">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. </span></dd>
       <dd><span class="insert">PROV-N uses qualified names mappeable to IRIs as term identifiers. Applications interpreting data expressed in PROV-N should address the security issues of
   </span><a class="norm" href="http://www.ietf.org/rfc/rfc3987.txt"><span class="insert">Internationalized Resource Identifiers (IRIs)</span></a><span class="insert"> [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RFC3987"><span class="insert">RFC3987</span></a></cite><span class="insert">] Section 8, as well as
   </span><a class="norm" href="http://www.ietf.org/rfc/rfc3986.txt"><span class="insert">Uniform Resource Identifier (URI): Generic Syntax</span></a><span class="insert"> [</span><cite><a class="bibref" rel="biblioentry" href="#bib-RFC3986"><span class="insert">RFC3986</span></a></cite><span class="insert">] Section 7.</span></dd> 
@@ -4070,26 +4574,27 @@
       <dt><span class="insert">Interoperability considerations:</span></dt> 
       <dd><span class="insert">There are no known interoperability issues.</span></dd> 
       <dt><span class="insert">Published specification:</span></dt> 
-      <dd><span class="insert">This specification.</span></dd> 
+      <dd><span class="insert">PROV-N: The Provenance Notation, Moreau, Missier, (eds), Cheney, Soiland-Reyes
+      </span><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">Applications which use this media type:</span></dt> 
       <dd><span class="insert">No widely deployed applications are known to use this media type. It may be used by some web services and clients consuming their data.</span></dd> 
       <dt><span class="insert">Additional information:</span></dt> 
       <dt><span class="insert">Magic number(s):</span></dt> 
       <dd><span class="insert">PROV-N documents may have the strings 'bundle' near the beginning of the document.</span></dd> 
       <dt><span class="insert">File extension(s):</span></dt> 
-      <dd><span class="insert">".pn"</span></dd> 
+      <dd><span class="insert">".provn"</span></dd> 
       <dt><span class="insert">Base URI:</span></dt> 
-      <dd><span class="insert">None</span></dd> 
+      <dd><span class="insert">There are no constructs in the PROV-N Syntax to change the Base IRI.</span></dd> 
       <dt><span class="insert">Macintosh file type code(s):</span></dt> 
       <dd><span class="insert">"TEXT"</span></dd> 
       <dt><span class="insert">Person &amp; email address to contact for further information:</span></dt> 
-      <dd><span class="insert">Ivan Herman, [email protected]</span></dd> 
+      <dd><span class="insert">[email protected]</span></dd> 
       <dt><span class="insert">Intended usage:</span></dt> 
       <dd><span class="insert">COMMON</span></dd> 
       <dt><span class="insert">Restrictions on usage:</span></dt> 
       <dd><span class="insert">None</span></dd> 
       <dt><span class="insert">Author/Change controller:</span></dt> 
-      <dd><span class="insert">The PROV-N specification is the product of Luc Moreau and Paolo Missier. A </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> Working Group may assume maintenance of this document; </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> reserves change control over this specifications.</span></dd> 
+      <dd><span class="insert">The PROV-N specification is the product of the World Wide Web Consortium's PROV Working Group. The </span><acronym title="World Wide Web Consortium"><span class="insert">W3C</span></acronym><span class="insert"> has change control over this specification.</span></dd> 
     </dl> 
  
 </div>
@@ -4105,6 +4610,8 @@
 
 
 
+
+
 <div class="appendix section" id="acknowledgements"> 
       <h2><span class="secno">A. </span>Acknowledgements</h2> 
       <p><span class="delete"> 
@@ -4189,14 +4696,17 @@
 </dd><dt id="bib-RFC3986"><span class="insert">[RFC3986]</span></dt><dd><span class="insert">T. Berners-Lee; R. Fielding; L. Masinter. </span><a href="http://www.ietf.org/rfc/rfc3986.txt"><cite><span class="insert">Uniform Resource Identifier (URI): Generic Syntax.</span></cite></a><span class="insert"> January 2005. Internet RFC 3986. URL: </span><a href="http://www.ietf.org/rfc/rfc3986.txt"><span class="insert">http://www.ietf.org/rfc/rfc3986.txt</span></a> 
 </dd><dt id="bib-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-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"><span class="insert">[UTF-8]</span></dt><dd><span class="insert">F. Yergeau. </span><a href="http://www.ietf.org/rfc/rfc3629.txt"><cite><span class="insert">UTF-8, a transformation format of ISO 10646</span></cite></a><span class="insert">. IETF RFC 3629. November 2003. URL: </span><a href="http://www.ietf.org/rfc/rfc3629.txt"><span class="insert">http://www.ietf.org/rfc/rfc3629.txt</span></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><span class="delete">[XMLSCHEMA-2]</span><dt id="bib-XMLSCHEMA11-2"><span class="insert">[XMLSCHEMA11-2]</span></dt><dd><span class="delete">Paul V. Biron; Ashok Malhotra. </span><span class="insert">Henry S. Thompson; et al. </span><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/"><cite><span class="insert">W3C </span>XML Schema <span class="insert">Definition Language (XSD) 1.1 </span>Part 2: <span class="delete">Datatypes Second Edition.</span><span class="insert">Datatypes.</span></cite></a> <span class="delete">28 October 2004.</span><span class="insert">5 April 2012.</span> W3C <span class="delete">Recommendation.</span><span class="insert">Recommendation</span> URL: <span class="delete">http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/</span><a href="http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/"><span class="insert">http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/</span></a> 
+</dd><span class="delete">[XMLSCHEMA-2]</span><dt id="bib-XML11"><span class="insert">[XML11]</span></dt><dd><span class="delete">Paul V. Biron; Ashok Malhotra. </span><span class="insert">Eve Maler; et al. </span><a href="http://www.w3.org/TR/2006/REC-xml11-200