(none)
authorkbelhajj
Thu, 26 Apr 2012 09:42:07 +0100
changeset 2551 6577cc157c40
parent 2550 3d0d2f6cee37 (current diff)
parent 2549 7e354a3ad5f5 (diff)
child 2552 2bb6d143d31f
child 2553 5ad893de17f2
(none)
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_End.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_End.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,4 +4,15 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# End can be used to qualify wasEndedBy with time and location information
+:experiment 
+	a prov:Activity;
+	prov:wasEndedBy :inconsistentResult;
+	prov:qualifiedEnd [
+		a prov:End;
+		prov:entity :inconsistentResult;
+		prov:atTime "2011-07-16T01:52:02Z"^^xsd:dateTime;
+		prov:atLocation :scienceLab003
+	].
+	
+:inconsistentResult a prov:Entity.
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Revision.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Revision.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,4 +4,11 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:draft2 a prov:Entity ;
+	prov:wasRevisionOf :e1 ;
+	prov:qualifiedRevision [
+		a prov:Revision ;
+		prov:entity :draft1
+	] .
+
+:draft1 a prov:Entity .
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_SoftwareAgent.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_SoftwareAgent.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,4 +4,7 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# Googlebot is Google's web crawling bot.  it can initiate and participate in web-crawling activities.
+:googlebot
+	a prov:SoftwareAgent ;
+	rdfs:label "Googlebot"^^xsd:string .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Start.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/class_Start.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,4 +4,15 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# Start can be used to qualify wasStartedBy with time and location information
+:experiment
+	a prov:Activity ;
+	prov:wasStartedBy :researcher ;
+	prov:qualifiedStart [
+		a prov:Start;
+		prov:entity :researcher;
+		prov:atTime "2011-07-06T01:48:36Z"^^xsd:dateTime;
+		prov:atLocation :scienceLab003
+	].
+
+:researcher a prov:Agent.
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_collection.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_collection.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,4 +4,20 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# prov:collection references the previous collection 
+# entity in a prov:qualifiedInsertion|prov:qualifiedRemoval
+:collection-version-6
+	a prov:Dictionary;
+	prov:derivedByInsertionFrom :collection-version-5 ;
+	   prov:qualifiedInsertion [ 
+	      a prov:Insertion;
+	      prov:collection :collection-version-5 ;
+		  prov:inserted [ 
+	         a prov:KeyValuePair;
+	         prov:key   "k6"^^xsd:string ;
+	         prov:value :e6 ;
+	      ];
+	   ] .
+
+:collection-version-5 a prov:Dictionary .
+:e6 a prov:Entity .
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_generatedAtTime.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_generatedAtTime.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,4 +4,8 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# this widget was generated 1:35:23 PM on April 3, 2012 UTC
+# this statement is equivalent to prov:AtTime on the qualified prov:Generation of this same widget
+:widget-789532
+   a prov:Entity,
+   prov:generatedAtTime "2012-04-03T13:35:23Z"^^xsd:dateTime .
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_inserted.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_inserted.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,4 +4,19 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:our-NEW-baseball-team-field-positions
+   a prov:Dictionary, :FieldPositions;
+   prov:derivedByInsertionFrom :our-old-baseball-team-field-positions ;
+   prov:qualifiedInsertion [ 
+      a prov:Insertion;
+      prov:collection :our-old-baseball-team-field-positions ;
+      prov:inserted [ 
+         a prov:KeyValuePair;
+         prov:key   "first-baseman"^^xsd:string ;
+         prov:value <http://dbpedia.org/resource/Jim_Thorpe> ;
+      ];
+   ] .
+
+<http://dbpedia.org/resource/Jim_Thorpe> a prov:Entity .
+
+:our-old-baseball-team-field-positions a prov:Dictionary .
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_membership.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_membership.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,4 +4,21 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+:e1 a prov:Entity .
+:e2 a prov:Entity .
+
+:c1 a prov:Dictionary, prov:Entity;
+   prov:membership [ 
+      a prov:Membership;
+      # These are (some of the) members of c1
+      prov:member [ 
+         a prov:KeyValuePair;
+         prov:key   "k1"^^xsd:string;
+         prov:value :e1
+      ], [ 
+         a prov:KeyValuePair;
+         prov:key   "k2"^^xsd:string;
+         prov:value :e2
+      ];
+   ];
+.
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_used.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_used.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,7 +4,12 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix ex:     <http://example.com/> .
 
-ex:illustrationActivity 
-   a prov:Activity; 
-   prov:used              ex:aggregatedByRegions
-.
+# See qualified Usage for example on how the role of :datasetA can be described for this Activity
+:sortActivity
+      a prov:Activity;
+      prov:atTime     "2011-07-16T01:52:02Z"^^xsd:dateTime;
+      prov:used	      :datasetA;
+      prov:generated  :datasetB.
+
+:datasetA a prov:Entity.
+:datasetB a prov:Entity.
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_value.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_value.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,4 +4,13 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# prov:value is used to reference the entity in a prov:KeyValuePair.
+# The object of a prov:value statement is inferred to be of type prov:Entity .
+# The subject of a prov:value statement is inferred to be of type prov:KeyValuePair.
+
+[]
+	a prov:KeyValuePair;
+	prov:key   "first-baseman"^^xsd:string ;
+	prov:value <http://dbpedia.org/resource/Jim_Thorpe> .
+
+<http://dbpedia.org/resource/Jim_Thorpe> a prov:Entity .
\ No newline at end of file
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasEndedBy.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasEndedBy.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -5,7 +5,7 @@
 @prefix :     <http://example.com/> .
 
 :experiment 
-	a prov:Acticity;
+	a prov:Activity;
 	prov:wasEndedBy :inconsistentResult;
 	prov:qualifiedEnd [
 		a prov:End;
--- a/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasStartedBy.ttl	Thu Apr 26 09:27:48 2012 +0100
+++ b/examples/eg-24-prov-o-html-examples/rdf/create/rdf/property_wasStartedBy.ttl	Thu Apr 26 09:42:07 2012 +0100
@@ -4,4 +4,9 @@
 @prefix prov: <http://www.w3.org/ns/prov#> .
 @prefix :     <http://example.com/> .
 
-# TODO
+# use prov:qualifiedStart to see when and where the activity was started
+:experiment
+	a prov:Activity ;
+	prov:wasStartedBy :researcher.
+
+:researcher a prov:Agent.
--- a/model/prov-dm.html	Thu Apr 26 09:27:48 2012 +0100
+++ b/model/prov-dm.html	Thu Apr 26 09:42:07 2012 +0100
@@ -2343,24 +2343,24 @@
 to help the rendering of the pre-existing entity it is associated with, by
 specifying its color and its position on the screen.</p>
 <pre class="codeexample">
-note(ex:n1,[ex:color="blue", ex:screenX=20, ex:screenY=30])
+note(ex:n1,[draw:color="blue", draw:screenX=20, draw:screenY=30])
 hasAnnotation(tr:WD-prov-dm-20111215,ex:n1)
 </pre>
 <p>The note is linked to the entity <span class="name">tr:WD-prov-dm-20111215</span>, with
 relation <a title="annotation">hasAnnotation</a>  
 discussed in  <a href="#term-annotation">Section 4.6.2</a>.  
-The note's identifier and attributes are declared in the namespace denoted by prefix <span class="name">ex</span> to illustrate that the rendering  application may differ from the application involving entity <span class="name">tr:WD-prov-dm-20111215</span>.
+The note's identifier is declared in the namespace denoted by prefix <span class="name">ex</span> to illustrate that the rendering  application may differ from the application involving entity <span class="name">tr:WD-prov-dm-20111215</span>. The prefix <span class="name">draw</span> also denotes an application specific namespace.
 </p>
 </div>
 
 <div class="anexample" id="anexample-note2">
 <p>In contrast, a reputation service may enrich an existing provenance record with notes providing reputation ratings about agents. In the following fragment, both agents <span class="name">ex2:Simon</span> and <span class="name">ex2:Paolo</span> are rated "excellent".</p>
 <pre class="codeexample">
-note(ex3:n2,[ex3:reputation="excellent"])
+note(ex3:n2,[trust:reputation="excellent"])
 hasAnnotation(ex2:Simon,ex3:n2)
 hasAnnotation(ex2:Paolo,ex3:n2)
 </pre>
-<p>The note's identifier and attributes are declared in a separate namespace denoted by prefix <span class="name">ex3</span>.</p>
+<p>The note's identifier is declared in a separate namespace denoted by prefix <span class="name">ex3</span>. The prefix <span class="name">trust</span> also denotes an application specific namespace.</p>
 
 </div>
 
@@ -2473,7 +2473,7 @@
 
 
 <p>The PROV data model introduces a pre-defined set of attributes in the <a title="prov-namespace">PROV namespace</a>, which we define below. 
-The interpretation of any attribute declared in another namespace is out of scope.</p>
+This specification does not provide any interpretation for any attribute declared in any other namespace.</p>
 
 <div id="attributes-at-a-glance-div" style="text-align: left;">
 <table border="1" style="margin-left: auto; margin-right: auto;">
@@ -2530,8 +2530,8 @@
 <section id="term-attribute-role">
 <h4>prov:role</h4>
 
-<p>The attribute <dfn title="dfn-role"><span class="name">prov:role</span></dfn>  denotes the function of an entity with respect to an activity, in the context of a usage, generation,
- association,  start, and  end. The attribute <span class="name">prov:role</span> is allowed to occur multiple times in a list of attribute-value pairs. The value associated with a <span
+<p>The attribute <dfn title="dfn-role"><span class="name">prov:role</span></dfn>  denotes the function of an entity with respect to an activity, in the context of a <a>usage</a>, <a>generation</a>,
+ <a>association</a>,  <a>start</a>, and  <a>end</a>. The attribute <span class="name">prov:role</span> is allowed to occur multiple times in a list of attribute-value pairs. The value associated with a <span
 class="name">prov:role</span> attribute MUST be a PROV-DM <a title="value">Value</a>.</p>
 
 <div class="anexample">
--- a/model/prov-n.html	Thu Apr 26 09:27:48 2012 +0100
+++ b/model/prov-n.html	Thu Apr 26 09:42:07 2012 +0100
@@ -1599,8 +1599,8 @@
 
 <p>In PROV-N, the following prefixes are reserved:
 <ul>
-<li>  <span class="name">prov</span>  denotes the PROV namespace <span class="name">http://www.w3.org/ns/prov#</span></li>
-<li>  <span class="name">xsd</span> denotes the XML Schema namespace  <span class="name">http://www.w3.org/2001/XMLSchema</span>.
+<li>  <span class="name">prov</span>  denotes the PROV namespace with URI <span class="name">http://www.w3.org/ns/prov#</span></li>
+<li>  <span class="name">xsd</span> denotes the XML Schema namespace with URI  <span class="name">http://www.w3.org/2001/XMLSchema#</span>.
 </li>
 </ul>
 <p>A PROV-N document MUST NOT redeclare prefixes <span class="name">prov</span> and <span class="name">xsd</span>.</p>
@@ -1978,12 +1978,12 @@
       wasAssociatedWith(ex:pub2, w3:Consortium, pr:rec-advance))
 
   account(ex:acc2,
-      entity(ex:acc1, [prov:type="prov:AccountEntity" %% xsd:QName ])
+      entity(ex:acc1, [prov:type="prov:Account" %% xsd:QName ])
       wasAttributedTo(ex1:acc1, w3:Consortium))
 
 endContainer
 </pre>
-<p> illustrates a first account, with identifier <span class="name">ex:acc1</span>, containing expressions describing the provenance  of the technical report <span class="name">tr:WD-prov-dm-20111215</span>, and a second account <span class="name">ex:acc2</span>, describing the provenance of the first.  In account <span class="name">ex:acc2</span>, <span class="name">ex:acc1</span> is the identifier of an entity of type <span class="name">prov:AccountEntity</span>.
+<p> illustrates a first account, with identifier <span class="name">ex:acc1</span>, containing expressions describing the provenance  of the technical report <span class="name">tr:WD-prov-dm-20111215</span>, and a second account <span class="name">ex:acc2</span>, describing the provenance of the first.  In account <span class="name">ex:acc2</span>, <span class="name">ex:acc1</span> is the identifier of an entity of type <span class="name">prov:Account</span>.
 </p>
 </div>
 
--- a/model/releases/WD-prov-dm-20120503/Overview.html	Thu Apr 26 09:27:48 2012 +0100
+++ b/model/releases/WD-prov-dm-20120503/Overview.html	Thu Apr 26 09:42:07 2012 +0100
@@ -3015,23 +3015,23 @@
 The following note consists of a set of application-specific attribute-value pairs, intended
 to help the rendering of the pre-existing entity it is associated with, by
 specifying its color and its position on the screen.</p>
-<pre class="codeexample">note(ex:n1,[ex:color="blue", ex:screenX=20, ex:screenY=30])
+<pre class="codeexample">note(ex:n1,[draw:color="blue", draw:screenX=20, draw:screenY=30])
 hasAnnotation(tr:WD-prov-dm-20111215,ex:n1)
 </pre>
 <p>The note is linked to the entity <span class="name">tr:WD-prov-dm-20111215</span>, with
 relation <a title="annotation" href="#concept-annotation" class="internalDFN">hasAnnotation</a>  
 discussed in  <a href="#term-annotation">Section 4.6.2</a>.  
-The note's identifier and attributes are declared in the namespace denoted by prefix <span class="name">ex</span> to illustrate that the rendering  application may differ from the application involving entity <span class="name">tr:WD-prov-dm-20111215</span>.
+The note's identifier is declared in the namespace denoted by prefix <span class="name">ex</span> to illustrate that the rendering  application may differ from the application involving entity <span class="name">tr:WD-prov-dm-20111215</span>. The prefix <span class="name">draw</span> also denotes an application-specific namespace.
 </p>
 </div>
 
 <div class="anexample" id="anexample-note2">
 <p>In contrast, a reputation service may enrich an existing provenance record with notes providing reputation ratings about agents. In the following fragment, both agents <span class="name">ex2:Simon</span> and <span class="name">ex2:Paolo</span> are rated "excellent".</p>
-<pre class="codeexample">note(ex3:n2,[ex3:reputation="excellent"])
+<pre class="codeexample">note(ex3:n2,[trust:reputation="excellent"])
 hasAnnotation(ex2:Simon,ex3:n2)
 hasAnnotation(ex2:Paolo,ex3:n2)
 </pre>
-<p>The note's identifier and attributes are declared in a separate namespace denoted by prefix <span class="name">ex3</span>.</p>
+<p>The note's identifier is declared in a separate namespace denoted by prefix <span class="name">ex3</span>.  The prefix <span class="name">trust</span> also denotes an application specific namespace.</p>
 
 </div>
 
@@ -3141,7 +3141,8 @@
 
 
 </p><p>The PROV data model introduces a pre-defined set of attributes in the <a title="prov-namespace" href="#dfn-prov-namespace" class="internalDFN">PROV namespace</a>, which we define below. 
-The interpretation of any attribute declared in another namespace is out of scope.</p>
+This specification does not provide any interpretation for any attribute declared in any other namespace.</p>
+
 
 <div id="attributes-at-a-glance-div" style="text-align: left;">
 <table border="1" style="margin-left: auto; margin-right: auto;">
--- a/model/releases/WD-prov-n-20120503/Overview.html	Thu Apr 26 09:27:48 2012 +0100
+++ b/model/releases/WD-prov-n-20120503/Overview.html	Thu Apr 26 09:42:07 2012 +0100
@@ -2291,8 +2291,8 @@
 
 <p>In PROV-N, the following prefixes are reserved:
 </p><ul>
-<li>  <span class="name">prov</span>  denotes the PROV namespace <span class="name">http://www.w3.org/ns/prov#</span></li>
-<li>  <span class="name">xsd</span> denotes the XML Schema namespace  <span class="name">http://www.w3.org/2001/XMLSchema</span>.
+<li>  <span class="name">prov</span>  denotes the PROV namespace with URI <span class="name">http://www.w3.org/ns/prov#</span></li>
+<li>  <span class="name">xsd</span> denotes the XML Schema namespace with URI <span class="name">http://www.w3.org/2001/XMLSchema#</span>.
 </li>
 </ul>
 <p>A PROV-N document <em class="rfc2119" title="must not">must not</em> redeclare prefixes <span class="name">prov</span> and <span class="name">xsd</span>.</p>
@@ -2659,12 +2659,12 @@
       wasAssociatedWith(ex:pub2, w3:Consortium, pr:rec-advance))
 
   account(ex:acc2,
-      entity(ex:acc1, [prov:type="prov:AccountEntity" %% xsd:QName ])
+      entity(ex:acc1, [prov:type="prov:Account" %% xsd:QName ])
       wasAttributedTo(ex1:acc1, w3:Consortium))
 
 endContainer
 </pre>
-<p> illustrates a first account, with identifier <span class="name">ex:acc1</span>, containing expressions describing the provenance  of the technical report <span class="name">tr:WD-prov-dm-20111215</span>, and a second account <span class="name">ex:acc2</span>, describing the provenance of the first.  In account <span class="name">ex:acc2</span>, <span class="name">ex:acc1</span> is the identifier of an entity of type <span class="name">prov:AccountEntity</span>.
+<p> illustrates a first account, with identifier <span class="name">ex:acc1</span>, containing expressions describing the provenance  of the technical report <span class="name">tr:WD-prov-dm-20111215</span>, and a second account <span class="name">ex:acc2</span>, describing the provenance of the first.  In account <span class="name">ex:acc2</span>, <span class="name">ex:acc1</span> is the identifier of an entity of type <span class="name">prov:Account</span>.
 </p>
 </div>