--- a/primer/Primer.html Tue Feb 19 17:57:23 2013 +0000
+++ b/primer/Primer.html Tue Feb 19 18:22:52 2013 +0000
@@ -49,7 +49,7 @@
subtitle : "",
// if you wish the publication date to be other than today, set this
- publishDate: "2012-12-11",
+ //publishDate: "2012-12-11",
// if the specification's copyright date is a range of years, specify
// the start date here:
@@ -158,6 +158,7 @@
<li> <a href="http://www.w3.org/TR/2013/WD-prov-dc-20130312/">PROV-DC</a> (To be published as Note) provides a mapping between PROV and Dublic Core Terms [[PROV-DC]];</li>
<li> <a href="http://www.w3.org/TR/2013/WD-prov-links-20130312/">PROV-LINKS</a> (To be published as Note) introduces a mechanism to link across bundles [[PROV-LINKS]].</li>
</ul>
+</section>
<section>
<h2>Introduction</h2>
@@ -450,42 +451,6 @@
the context (location) rather than content of the file that differs between the entities
in this case.
</p>
- <!--
- <h3>Alternate Entities and Specialization</h3>
- <p>
- Entities are defined in a flexible way in PROV, allowing for different
- perspectives to be taken as appropriate for the application. The following
- are examples illustrating this idea.
- </p>
- <ul>
- <li>The same entity can appear with different descriptions in a provenance record
- because each appearance emphasizes different aspects of the entity, e.g.
- a book may be described by its title in one place and by its author and publication date
- in another.</li>
- <li>The same entity can evolve over time into different
- versions, e.g. a document that is repeatedly updated and has
- subsequent releases over time.</li>
- <li>The same entity can be copied
- or replicated, e.g. a document may be copied to several directories.</li>
- <li>An entity can go through different incarnations, e.g.
- a committee producing a report may have a set of members when the report
- is first released and have a different set of members when an update of
- the report is released.</li>
- </ul>
- <p>
- In all these situations,
- the more specific entities (the versions, copies, incarnations) can be said in PROV to be <i>specializations</i>
- of the more general entity (the book, the document or the committee as a general entity).
- The specific entities in each example are also <i>alternates</i> of each other, as they are specializations
- of the same general entity.
- Being aware that two entities are alternates allows those
- consuming the PROV data to know that understanding the provenance of one entity is salient
- to understanding the provenance of the other. Knowing that alternate entities are
- specializations of another allows a consumer of PROV to refer to the general entity
- with a unique identifier even though it is specified as different alternates
- throughout the provenance records.
- </p>
- -->
</section>
</section>
@@ -616,13 +581,16 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:entity prov:id="ex:article">
- <dct:title>Crime rises in cities</dct:title>
- </prov:entity>
- <prov:entity prov:id="ex:dataSet1"/>
- <prov:entity prov:id="ex:regionList"/>
- <prov:entity prov:id="ex:composition"/>
- <prov:entity prov:id="ex:chart1"/>
+ <prov:document>
+ ...
+ <prov:entity prov:id="ex:article">
+ <dct:title>Crime rises in cities</dct:title>
+ </prov:entity>
+ <prov:entity prov:id="ex:dataSet1"/>
+ <prov:entity prov:id="ex:regionList"/>
+ <prov:entity prov:id="ex:composition"/>
+ <prov:entity prov:id="ex:chart1"/>
+ </prov:document>
</pre>
</div>
<p>
@@ -686,7 +654,10 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:activity prov:id="ex:compile"/>
+ <prov:document>
+ ...
+ <prov:activity prov:id="ex:compile"/>
+ </prov:document>
</pre>
</div>
<p>
@@ -732,8 +703,11 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:activity prov:id="ex:compose"/>
- <prov:activity prov:id="ex:illustrate"/>
+ <prov:document>
+ ...
+ <prov:activity prov:id="ex:compose"/>
+ <prov:activity prov:id="ex:illustrate"/>
+ </prov:document>
</pre>
</div>
<p>
@@ -800,18 +774,21 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:used>
- <prov:activity prov:ref="ex:compose"/>
- <prov:entity prov:ref="ex:dataset1"/>
- </prov:used>
- <prov:used>
- <prov:activity prov:ref="ex:compose"/>
- <prov:entity prov:ref="ex:regionList"/>
- </prov:used>
- <prov:wasGeneratedBy>
- <prov:entity prov:ref="ex:composition"/>
- <prov:activity prov:ref="ex:compose"/>
- </prov:wasGeneratedBy>
+ <prov:document>
+ ...
+ <prov:used>
+ <prov:activity prov:ref="ex:compose"/>
+ <prov:entity prov:ref="ex:dataset1"/>
+ </prov:used>
+ <prov:used>
+ <prov:activity prov:ref="ex:compose"/>
+ <prov:entity prov:ref="ex:regionList"/>
+ </prov:used>
+ <prov:wasGeneratedBy>
+ <prov:entity prov:ref="ex:composition"/>
+ <prov:activity prov:ref="ex:compose"/>
+ </prov:wasGeneratedBy>
+ </prov:document>
</pre>
</div>
<p>
@@ -856,14 +833,17 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:used>
- <prov:activity prov:ref="ex:illustrate"/>
- <prov:entity prov:ref="ex:composition"/>
- </prov:used>
- <prov:wasGeneratedBy>
- <prov:entity prov:ref="ex:chart1"/>
- <prov:activity prov:ref="ex:illustrate"/>
- </prov:wasGeneratedBy>
+ <prov:document>
+ ...
+ <prov:used>
+ <prov:activity prov:ref="ex:illustrate"/>
+ <prov:entity prov:ref="ex:composition"/>
+ </prov:used>
+ <prov:wasGeneratedBy>
+ <prov:entity prov:ref="ex:chart1"/>
+ <prov:activity prov:ref="ex:illustrate"/>
+ </prov:wasGeneratedBy>
+ </prov:document>
</pre>
</div>
<p>
@@ -919,14 +899,17 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:wasAssociatedWith>
- <prov:activity prov:ref="ex:compose"/>
- <prov:agent prov:ref="ex:derek"/>
- </prov:wasAssociatedWith>
- <prov:wasAssociatedWith>
- <prov:activity prov:ref="ex:illustrate"/>
- <prov:agent prov:ref="ex:derek"/>
- </prov:wasAssociatedWith>
+ <prov:document>
+ ...
+ <prov:wasAssociatedWith>
+ <prov:activity prov:ref="ex:compose"/>
+ <prov:agent prov:ref="ex:derek"/>
+ </prov:wasAssociatedWith>
+ <prov:wasAssociatedWith>
+ <prov:activity prov:ref="ex:illustrate"/>
+ <prov:agent prov:ref="ex:derek"/>
+ </prov:wasAssociatedWith>
+ </prov:document>
</pre>
</div>
<p>
@@ -976,11 +959,14 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:agent prov:id="ex:derek">
- <prov:type>prov:Person</prov:type>
- <foaf:givenName>Derek</foaf:givenName>
- <foaf:mbox>mailto:derek@example.org</foaf:mbox>
- </prov:agent>
+ <prov:document>
+ ...
+ <prov:agent prov:id="ex:derek">
+ <prov:type>prov:Person</prov:type>
+ <foaf:givenName>Derek</foaf:givenName>
+ <foaf:mbox>mailto:derek@example.org</foaf:mbox>
+ </prov:agent>
+ </prov:document>
</pre>
</div>
<p>
@@ -1030,14 +1016,17 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:agent prov:id="ex:chartgen">
- <prov:type>prov:Organization</prov:type>
- <foaf:name>Chart Generators Inc</foaf:name>
- </prov:agent>
- <prov:actedOnBehalfOf>
- <prov:delegate prov:ref="ex:derek"/>
- <prov:responsible prov:ref="ex:chartgen"/>
- </prov:actedOnBehalfOf>
+ <prov:document>
+ ...
+ <prov:agent prov:id="ex:chartgen">
+ <prov:type>prov:Organization</prov:type>
+ <foaf:name>Chart Generators Inc</foaf:name>
+ </prov:agent>
+ <prov:actedOnBehalfOf>
+ <prov:delegate prov:ref="ex:derek"/>
+ <prov:responsible prov:ref="ex:chartgen"/>
+ </prov:actedOnBehalfOf>
+ </prov:document>
</pre>
</div>
<p>
@@ -1087,10 +1076,13 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:wasAttributedTo>
- <prov:entity prov:ref="ex:chart1"/>
- <prov:agent prov:ref="ex:derek"/>
- </prov:wasAttributedTo>
+ <prov:document>
+ ...
+ <prov:wasAttributedTo>
+ <prov:entity prov:ref="ex:chart1"/>
+ <prov:agent prov:ref="ex:derek"/>
+ </prov:wasAttributedTo>
+ </prov:document>
</pre>
</div>
@@ -1209,11 +1201,14 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:used>
- <prov:activity prov:ref="ex:compose"/>
- <prov:entity prov:ref="ex:dataSet1"/>
- <prov:role>ex:dataToCompose</prov:role>
- </prov:used>
+ <prov:document>
+ ...
+ <prov:used>
+ <prov:activity prov:ref="ex:compose"/>
+ <prov:entity prov:ref="ex:dataSet1"/>
+ <prov:role>ex:dataToCompose</prov:role>
+ </prov:used>
+ </prov:document>
</pre>
</div>
<p>
@@ -1260,11 +1255,14 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:used>
- <prov:activity prov:ref="ex:compose"/>
- <prov:entity prov:ref="ex:regionList"/>
- <prov:role>ex:regionsToAggregateBy</prov:role>
- </prov:used>
+ <prov:document>
+ ...
+ <prov:used>
+ <prov:activity prov:ref="ex:compose"/>
+ <prov:entity prov:ref="ex:regionList"/>
+ <prov:role>ex:regionsToAggregateBy</prov:role>
+ </prov:used>
+ </prov:document>
</pre>
</div>
<p>
@@ -1319,16 +1317,19 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:wasAssociatedWith>
- <prov:activity prov:ref="ex:compose"/>
- <prov:agent prov:ref="ex:derek"/>
- <prov:role>ex:analyst</prov:role>
- </prov:wasAssociatedWith>
- <prov:wasGeneratedBy>
- <prov:entity prov:ref="ex:composition"/>
- <prov:activity prov:ref="ex:compose"/>
- <prov:role>ex:composedData</prov:role>
- </prov:wasGeneratedBy>
+ <prov:document>
+ ...
+ <prov:wasAssociatedWith>
+ <prov:activity prov:ref="ex:compose"/>
+ <prov:agent prov:ref="ex:derek"/>
+ <prov:role>ex:analyst</prov:role>
+ </prov:wasAssociatedWith>
+ <prov:wasGeneratedBy>
+ <prov:entity prov:ref="ex:composition"/>
+ <prov:activity prov:ref="ex:compose"/>
+ <prov:role>ex:composedData</prov:role>
+ </prov:wasGeneratedBy>
+ </prov:document>
</pre>
</div>
<p>
@@ -1388,12 +1389,15 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <entity prov:id="dataSet2"/>
- <prov:wasDerivedFrom>
- <prov:generatedEntity prov:ref="ex:dataSet2"/>
- <prov:usedEntity prov:ref="ex:dataSet1"/>
- <prov:type>prov:Revision</prov:type>
- </prov:wasDerivedFrom>
+ <prov:document>
+ ...
+ <entity prov:id="dataSet2"/>
+ <prov:wasDerivedFrom>
+ <prov:generatedEntity prov:ref="ex:dataSet2"/>
+ <prov:usedEntity prov:ref="ex:dataSet1"/>
+ <prov:type>prov:Revision</prov:type>
+ </prov:wasDerivedFrom>
+ </prov:document>
</pre>
</div>
<p>
@@ -1440,10 +1444,13 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:wasDerivedFrom>
- <prov:generatedEntity prov:ref="ex:chart2"/>
- <prov:usedEntity prov:ref="ex:dataSet2"/>
- </prov:wasDerivedFrom>
+ <prov:document>
+ ...
+ <prov:wasDerivedFrom>
+ <prov:generatedEntity prov:ref="ex:chart2"/>
+ <prov:usedEntity prov:ref="ex:dataSet2"/>
+ </prov:wasDerivedFrom>
+ </prov:document>
</pre>
</div>
<p>and that the new chart is a revision of the original one:
@@ -1486,12 +1493,15 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <entity prov:id="chart2"/>
- <prov:wasDerivedFrom>
- <prov:generatedEntity prov:ref="ex:chart2"/>
- <prov:usedEntity prov:ref="ex:chart1"/>
- <prov:type>prov:Revision</prov:type>
- </prov:wasDerivedFrom>
+ <prov:document>
+ ...
+ <entity prov:id="chart2"/>
+ <prov:wasDerivedFrom>
+ <prov:generatedEntity prov:ref="ex:chart2"/>
+ <prov:usedEntity prov:ref="ex:chart1"/>
+ <prov:type>prov:Revision</prov:type>
+ </prov:wasDerivedFrom>
+ </prov:document>
</pre>
</div>
<p>
@@ -1552,13 +1562,16 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:activity prov:id="ex:correct"/>
- <prov:agent prov:id="ex:edith">
- <prov:type>prov:Person</prov:type>
- </prov:agent>
- <prov:entity prov:id="ex:instructions">
- <prov:type>prov:Plan</prov:type>
- </prov:entity>
+ <prov:document>
+ ...
+ <prov:activity prov:id="ex:correct"/>
+ <prov:agent prov:id="ex:edith">
+ <prov:type>prov:Person</prov:type>
+ </prov:agent>
+ <prov:entity prov:id="ex:instructions">
+ <prov:type>prov:Plan</prov:type>
+ </prov:entity>
+ </prov:document>
</pre>
</div>
<div class="turtle example">
@@ -1614,15 +1627,18 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:wasAssociatedWith>
- <prov:activity prov:ref="ex:correct"/>
- <prov:agent prov:ref="ex:edith"/>
- <prov:plan prov:ref="ex:instructions"/>
- </prov:wasAssociatedWith>
- <prov:wasGeneratedBy>
- <prov:entity prov:ref="ex:dataSet2"/>
- <prov:activity prov:ref="ex:correct"/>
- </prov:wasGeneratedBy>
+ <prov:document>
+ ...
+ <prov:wasAssociatedWith>
+ <prov:activity prov:ref="ex:correct"/>
+ <prov:agent prov:ref="ex:edith"/>
+ <prov:plan prov:ref="ex:instructions"/>
+ </prov:wasAssociatedWith>
+ <prov:wasGeneratedBy>
+ <prov:entity prov:ref="ex:dataSet2"/>
+ <prov:activity prov:ref="ex:correct"/>
+ </prov:wasGeneratedBy>
+ </prov:document>
</pre>
</div>
<p>
@@ -1680,14 +1696,17 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:wasGeneratedBy>
- <prov:entity prov:ref="ex:chart1"/>
- <prov:time>2012-03-02T10:30:00</prov:time>
- </prov:wasGeneratedBy>
- <prov:wasGeneratedBy>
- <prov:entity prov:ref="ex:chart2"/>
- <prov:time>2012-04-01T15:21:00</prov:time>
- </prov:wasGeneratedBy>
+ <prov:document>
+ ...
+ <prov:wasGeneratedBy>
+ <prov:entity prov:ref="ex:chart1"/>
+ <prov:time>2012-03-02T10:30:00</prov:time>
+ </prov:wasGeneratedBy>
+ <prov:wasGeneratedBy>
+ <prov:entity prov:ref="ex:chart2"/>
+ <prov:time>2012-04-01T15:21:00</prov:time>
+ </prov:wasGeneratedBy>
+ </prov:document>
</pre>
</div>
@@ -1735,10 +1754,13 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:activity prov:id="ex:correct">
- <prov:startTime>2012-03-31T09:21:00</prov:startTime>
- <prov:endTime>2012-04-01T15:21:00</prov:endTime>
- </prov:activity>
+ <prov:document>
+ ...
+ <prov:activity prov:id="ex:correct">
+ <prov:startTime>2012-03-31T09:21:00</prov:startTime>
+ <prov:endTime>2012-04-01T15:21:00</prov:endTime>
+ </prov:activity>
+ </prov:document>
</pre>
</div>
<p>
@@ -1797,14 +1819,17 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:entity prov:id="ex:quoteInBlogEntry">
- <prov:value>Smaller cities have more crime than larger ones</prov:value>
- </prov:entity>
- <prov:wasDerivedFrom>
- <prov:generatedEntity prov:ref="ex:quoteInBlogEntry"/>
- <prov:usedEntity prov:ref="ex:article"/>
- <prov:type>prov:Quotation</prov:type>
- </prov:wasDerivedFrom>
+ <prov:document>
+ ...
+ <prov:entity prov:id="ex:quoteInBlogEntry">
+ <prov:value>Smaller cities have more crime than larger ones</prov:value>
+ </prov:entity>
+ <prov:wasDerivedFrom>
+ <prov:generatedEntity prov:ref="ex:quoteInBlogEntry"/>
+ <prov:usedEntity prov:ref="ex:article"/>
+ <prov:type>prov:Quotation</prov:type>
+ </prov:wasDerivedFrom>
+ </prov:document>
</pre>
</div>
<p>
@@ -1853,11 +1878,14 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:entity prov:id="ex:articleV1"/>
- <prov:specializationOf>
- <prov:specificEntity prov:ref="ex:articleV1"/>
- <prov:generalEntity prov:ref="ex:article"/>
- </prov:specializationOf>
+ <prov:document>
+ ...
+ <prov:entity prov:id="ex:articleV1"/>
+ <prov:specializationOf>
+ <prov:specificEntity prov:ref="ex:articleV1"/>
+ <prov:generalEntity prov:ref="ex:article"/>
+ </prov:specializationOf>
+ </prov:document>
</pre>
</div>
<p>
@@ -1906,14 +1934,17 @@
set_display_by_id('show-provxml-examples','');"><u><i>(hide all)</i></u></a>
</span></div>
<pre>
- <prov:specializationOf>
- <prov:specificEntity prov:ref="ex:articleV2"/>
- <prov:generalEntity prov:ref="ex:article"/>
- </prov:specializationOf>
- <prov:alternateOf>
- <prov:alternate1 prov:ref="ex:articleV1"/>
- <prov:alternate2 prov:ref="ex:articleV2"/>
- </prov:alternateOf>
+ <prov:document>
+ ...
+ <prov:specializationOf>
+ <prov:specificEntity prov:ref="ex:articleV2"/>
+ <prov:generalEntity prov:ref="ex:article"/>
+ </prov:specializationOf>
+ <prov:alternateOf>
+ <prov:alternate1 prov:ref="ex:articleV1"/>
+ <prov:alternate2 prov:ref="ex:articleV2"/>
+ </prov:alternateOf>
+ </prov:document>
</pre>
</div>
<p>