Revised PROV-Dictionary after Tim's comments
authorTom De Nies <tom.denies@ugent.be>
Tue, 19 Feb 2013 11:00:16 +0100
changeset 5581 cdf10b849f3e
parent 5580 d4b90b122ea6
child 5583 196d84d984d6
child 5587 83daffb2a9d1
Revised PROV-Dictionary after Tim's comments
dictionary/prov-dictionary.html
--- a/dictionary/prov-dictionary.html	Tue Feb 19 10:03:50 2013 +0100
+++ b/dictionary/prov-dictionary.html	Tue Feb 19 11:00:16 2013 +0100
@@ -797,7 +797,7 @@
 	This document provides a mechanism to assert the provenance for these types of data structures, in the most general way, as a collection of key-value pairs, modified through insertions and deletions. Any more specialized structures can be modeled to some extent in terms of these key-value pairs. 
 	Here, we will discuss the provenance of dictionaries structured in terms of key-value pairs. However, how this key-value pair structure is translated to more specialized data structures, is beyond the scope of this document.</p>
 
-<p>In this document, a dictionary is viewed as a snapshot of a data structure with key-value pairs, following a sequence of state-changing insertion and removal operations. These  operations result in new snapshots, each snapshot forming an identifiable dictionary entity. Thus, when the structure of a dictionary changes (through insertions or removals), a new dictionary entity is defined, whereas the older dictionary entity remains the same.</p>
+<p>In this document, a dictionary is viewed as a snapshot of a data structure with key-value pairs, following a sequence of state-changing insertion and removal operations. These  operations result in new snapshots, each snapshot forming a distinct and identifiable dictionary entity. Thus, when the structure of a dictionary changes (through insertions or removals), a new dictionary entity is defined, whereas the older dictionary entity remains the same.</p>
 
 <!--
 <span class="glossary-ref" data-ref="glossary-empty-dictionary"></span>
@@ -1283,7 +1283,7 @@
    prov:qualifiedInsertion [ 
       a prov:Insertion;
       prov:dictionary :d;
-      prov:inserted [ 
+      prov:insertedKeyValuePair [ 
          a prov:KeyValuePair;
          prov:pairKey   &quot;k1&quot;^^xsd:string;
          prov:pairValue :e1;
@@ -1320,7 +1320,7 @@
    prov:qualifiedRemoval [ 
       a prov:Removal;
       prov:dictionary :d2;
-      prov:removed    &quot;k1&quot;^^xsd:string, 
+      prov:removedKey    &quot;k1&quot;^^xsd:string, 
                       &quot;k3&quot;^^xsd:string;
    ];
 .
@@ -1396,16 +1396,19 @@
       <span rel="dcterms:subject" resource="http://www.w3.org/ns/prov#Dictionary"></span>
       <strong>Example</strong>
       <pre rel="prov:wasQuotedFrom" resource="http://dvcs.w3.org/hg/prov/raw-file/tip/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Dictionary.ttl"
-           property="prov:pairValue">@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
[email protected] xsd:  &lt;http://www.w3.org/2001/XMLSchema#&gt; .
[email protected] owl:  &lt;http://www.w3.org/2002/07/owl#&gt; .
[email protected] prov: &lt;http://www.w3.org/ns/prov#&gt; .
[email protected] :     &lt;http://example.com/&gt; .
-
-:studentRegister_2012
-   a prov:Dictionary, prov:Collection, prov:Entity;
-   prov:derivedByInsertionFrom :studentRegister_2011;
-   :hasTotalStudents 45;
+           property="prov:pairValue">@prefix 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] my:     <http://example.org/ontology#> .
[email protected] :     <http://example.org/> .
+
+:seating_chart_2012
+   a prov:Dictionary, prov:Collection, prov:Entity, my:SeatingChart;
+   prov:derivedByInsertionFrom :seating_chart_2011;
+   dcterms:date "2012";
+   my:hasTotalStudents 45;
+.
 .
 </pre>
     </div>
@@ -2045,7 +2048,7 @@
       Property: <a href="#hadDictionaryMember"><span class="dotted" title="http://www.w3.org/ns/prov#hadDictionaryMember">prov:hadDictionaryMember</span></a><sup class="type-op" title="object property">op</sup>
       
     </h3>
-    <p><strong>IRI:</strong>http://www.w3.org/ns/prov#member</p>
+    <p><strong>IRI:</strong>http://www.w3.org/ns/prov#hadDictionaryMember</p>
 
     <div about="#example-for-property-member" typeof="prov:Entity" class="example">
       <span rel="dcterms:subject" resource="http://www.w3.org/ns/prov#hadDictionaryMember"></span>
@@ -2064,8 +2067,7 @@
          a prov:KeyValuePair;
          prov:pairKey &quot;first-baseman&quot;^^xsd:string;
          prov:pairValue :george;
-      ],
-      prov:hadDictionaryMember [
+      ], [
          a prov:KeyValuePair;
          prov:pairKey &quot;pitcher&quot;^^xsd:string;
          prov:pairValue :carl;