--- a/dc-note/dc-note.html Fri Mar 29 17:32:14 2013 +0000
+++ b/dc-note/dc-note.html Fri Mar 29 19:20:15 2013 +0100
@@ -3,6 +3,7 @@
<head>
<title>Dublin Core to PROV Mapping</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+ <link rel="http://www.w3.org/ns/prov#has_provenance" href="http://www.w3.org/2011/prov/provenance/prov-dc">
<!-- PM -->
<style type="text/css">
@@ -184,20 +185,20 @@
</head>
<body style="display: inherit;" prefix="prov: http://www.w3.org/ns/prov# foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/">
<!-- RDFA ANNOTATIONS. Since the version data is created automatically, I'll add the statements here
- <http://www.w3.org/TR/2013/WD-prov-dc-20130312/>
- prov:wasRevisionOf <http://www.w3.org/TR/2012/WD-prov-dc-20121211/>;
+ <http://www.w3.org/TR/2013/WD-prov-dc-20130423/>
+ prov:wasRevisionOf <http://www.w3.org/TR/2012/WD-prov-dc-20130312/>;
prov:specializationOf <http://www.w3.org/TR/prov-dc/>;
prov:wasAttributedTo <http://delicias.dia.fi.upm.es/members/DGarijo/#me>;
prov:wasAttributedTo <http://www.kaiec.org/#me>;
#add other authors/editors here
prov:wasAttributedTo <http://www.w3.org/2011/prov>;
- prov:wasInfluencedBy <http://www.w3.org/TR/2013/WD-prov-dc-20130312/#acknowledgements>.
+ prov:wasInfluencedBy <http://www.w3.org/TR/2013/WD-prov-dc-20130423/#acknowledgements>.
<http://delicias.dia.fi.upm.es/members/DGarijo/#me> a prov:Person .
<http://www.kaiec.org/#me> a prov:Person .
<http://www.w3.org/2011/prov> a prov:Organization .
-->
- <b resource="http://www.w3.org/TR/2013/WD-prov-dc-20130312/" typeOf="foaf:Document prov:Entity">
- <b property="prov:wasRevisionOf" resource="http://www.w3.org/TR/2012/WD-prov-dc-20121211/"></b>
+ <b resource="http://www.w3.org/TR/2013/WD-prov-dc-20130423/" typeOf="foaf:Document prov:Entity">
+ <b property="prov:wasRevisionOf" resource="http://www.w3.org/TR/2012/WD-prov-dc-20130312/"></b>
<b property="prov:specializationOf" resource="http://www.w3.org/TR/prov-dc/"></b>
<b property="prov:wasAttributedTo dc:creator" resource="http://delicias.dia.fi.upm.es/members/DGarijo/#me" typeOf="prov:Person foaf:Person"></b>
<b property="prov:wasAttributedTo dc:creator" resource="http://www.kaiec.org/#me" typeOf="prov:Person foaf:Person"></b>
@@ -205,7 +206,7 @@
<b property="prov:wasAttributedTo" resource="http://staff.oclc.org/~dewey/michael.htm#me" typeOf="prov:Person foaf:Person"></b>
<b property="prov:wasAttributedTo" resource="http://www.linkedin.com/in/craigtrim" typeOf="prov:Person foaf:Person"></b>
<b property="prov:wasAttributedTo" resource="http://www.w3.org/2011/prov" typeOf="prov:Organization foaf:Organization"></b>
- <b property="prov:wasInfluencedBy" resource="http://www.w3.org/TR/2013/WD-prov-dc-20130312/#acknowledgements"></b>
+ <b property="prov:wasInfluencedBy" resource="http://www.w3.org/TR/2013/WD-prov-dc-20130423/#acknowledgements"></b>
</b>
<!-- END OF RDFA ANNOTATIONS-->
<section id="abstract">
@@ -291,17 +292,7 @@
<li>Help developers to <b>derive PROV data from the large amount of Dublin Core data</b> available on the web, improving interoperability between DC and PROV
applications.</li>
<li><b>Facilitate PROV adoption</b>. Simple Dublin Core statements can be used as a starting point for more complex PROV data generation.</li>
- </ol>
- <!--
- A mapping between Dublin Core Terms and PROV-O has many advantages. First, it can provide valuable insights
- into the different characteristics of both data models (in particular it explains PROV from a Dublin Core point of view).
- Second, such a mapping can be used to extract PROV data from the large amount of Dublin Core data available on
- the Web today. Third, the mapping can translate PROV data to Dublin Core and make it accessible for applications that
- understand Dublin Core. Finally, the mapping can lower the barrier to entry for PROV adoption. Simple Dublin Core
- statements can be used as starting point for PROV data generation.
- </p>
- MOTIVATION OF THE MAPPING GOES HERE. Instead of listing the advantages, just justify them in a paragraph. End up by describing the mapping a bit?
- -->
+ </ol>
</p>
<p>
@@ -476,7 +467,7 @@
This leaves one very special term: <a href ="#term_provenance">provenance</a>. This term is defined as a "statement of any changes in ownership and
custody of the resource since its creation that are significant for its authenticity, integrity, and interpretation" [[DCTERMS]],
a definition that corresponds to the notion of provenance for artworks. This term can be considered a link between the resource and any
- provenance statement about the resource, so it cannot be included in any of the aforementioned categories and it is out of the scope of this mapping.
+ provenance statement about the resource, so it cannot be included in any of the aforementioned categories.
<!--Despite being relevant for provenance,
this definition may overlap partially with almost half of the DCMI terms, which
specify concrete aspects of provenance of a resource.-->
@@ -616,6 +607,13 @@
<td>Both <code>dct:Agent</code> and <code>prov:Agent</code> refer to the same concept: a resource that has the power to act (which then has responsibility for an activity, entity or other agent).</td>
</tr>
<tr>
+ <td><b><a href="http://purl.org/dc/terms/ProvenanceStatement">dct:ProvenanceStatement</a></b></td>
+ <td>rdfs:subClassOf</td>
+ <td><a href="http://www.w3.org/TR/prov-o/#Bundle">prov:Bundle</a></td>
+ <td>A <code>dct:ProvenanceStatement</code> is defined as "A statement of any changes in ownership and custody of a resource since its creation", which
+ is a wraper for any provenance related assertion.</td>
+ </tr>
+ <tr>
<td><b id="term_rightsHolder"><a href="http://purl.org/dc/terms/rightsHolder">dct:rightsHolder</a></b></td>
<td>rdfs:subPropertyOf</td>
<td><a href="http://www.w3.org/TR/prov-o/#wasAttributedTo">prov:wasAttributedTo</a></td>
@@ -660,28 +658,21 @@
<td><a href="http://www.w3.org/TR/prov-o/#alternateOf">prov:alternateOf</a></td>
<td> See rationale for <code>dct:isFormatOf</code>.</td>
</tr>
- <!--<tr>
- <td><b id="term_replaces"><a href="http://purl.org/dc/terms/replaces">dct:replaces</a></b></td>
+ <tr>
+ <td><b id="term_references"><a href="http://purl.org/dc/terms/references">dct:references</a></b></td>
<td>rdfs:subPropertyOf</td>
- <td><a href="http://www.w3.org/TR/prov-o/#wasInfluencedBy">prov:wasInfluencedBy</a></td>
- <td> There is a relation between two resources when the former replaces or displaces the latter, but it is not necessarily
- derivation, revision, specialization or alternate. For example an item of a catalog can replaced with another item
- that had nothing to do with the former (in case of mistake of the provider of the catalogue, or catalogue renovation).
- Thus, the term is mapped to <code>prov:wasInfluencedBy</code>.</td>
- </tr> -->
+ <td><a href="http://www.w3.org/TR/prov-o/#wasDerivedFrom">prov:wasDerivedFrom</a></td>
+ <td>In PROV a derivation is defined as "a transformation of an entity into another, an update of an entity resulting in a new one, or the construction of a new entity based on a
+ pre-existing entity". If a resource n1 references another resource o1 then the construction of n1 is based on o1, even if
+ o1 does not influence n1 significantly. Removing the reference to o1 in n1 would lead to the construction of another resource n1', different from n1.</td>
+ </tr>
<tr>
<td><b id="term_source"><a href="http://purl.org/dc/terms/source">dct:source</a> </b></td>
<td>rdfs:subPropertyOf</td>
<td><a href="http://www.w3.org/TR/prov-o/#wasDerivedFrom">prov:wasDerivedFrom</a></td>
<td><code>dct:source</code> is defined as a "related resource from which the described resource is derived", which matches the notion of derivation
in PROV-DM ("a transformation of an entity in another").</td>
- </tr>
- <!--<tr>
- <td><b><a href="http://purl.org/dc/terms/type">dct:type</a></b></td>
- <td>owl:equivalentProperty</td>
- <td><a href="http://www.w3.org/TR/prov-o/#type">prov:type</a></td>
- <td>Both properties relate two resources in a similar way: the nature of the resource (or genre).</td>
- </tr>-->
+ </tr>
<tr>
<td><b id="term_created"><a href="http://purl.org/dc/terms/created">dct:created</a></b></td>
<td>rdfs:subPropertyOf</td>
@@ -689,10 +680,7 @@
<td>Property used to describe the time of creation of a resource (i.e., the time of its generation).
We map it as a subproperty of <code>prov:generatedAtTime</code> because "creation" is one of the many activities that generate an entity (for example, generation includes
modification, issue, acceptance, etc.).
- <!--The rationale for this mapping is that in Dublin Core resources may have associated different dates concerning several versions of themselves
- within the same identifier (creation, modification, issue, etc.). --></td>
- <!-- In this case, the creation is the first date asserted to the
- document, but doesn't necessarily correspond to the current version of the resource.-->
+ </td>
</tr>
<tr>
<td><b id="term_issued"><a href="http://purl.org/dc/terms/issued">dct:issued</a></b></td>
@@ -729,6 +717,13 @@
<td>Property used to describe the date when the resource was modified. <code>dct:modified</code> is mapped as a subproperty of <code>prov:generatedAtTime</code>
because the modified resource was generated by a "Modify" activity that changed it from its previous state.</td>
</tr>
+ <tr>
+ <td><b id="term_provenance"><a href="http://purl.org/dc/terms/provenance">dct:provenance</a></b></td>
+ <td>rdfs:subPropertyOf</td>
+ <td><a href="http://www.w3.org/TR/prov-aq/#resource-accessed-by-http">prov:has_provenance</a></td>
+ <td>Property used to link a resource to its corresponding <code>dct:ProvenanceStatement</code>. Since <code>prov:has_provenance</code> can refer to any
+ type of provenance record, <code>dct:provenance</code> is mapped as a subclass.</td>
+ </tr>
</tbody>
</table>
</div>
@@ -797,87 +792,19 @@
<tr>
<td><b id="term_hasVersion"><a href="http://purl.org/dc/terms/hasVersion">dct:hasVersion</a></b></td>
<td>owl:equivalentProperty</td>
- <td><a href="http://www.w3.org/TR/prov-o/#hasDerivation">prov:hadRevision</a></td>
+ <td><a href="http://www.w3.org/TR/prov-o/#inverse-names-table">prov:hadRevision</a></td>
<td>Inverse property of <code>dct:isVersionOf</code>.</td>
</tr>
- <!--<tr>
- <td><b id="term_isReplacedBy"><a href="http://purl.org/dc/terms/isReplacedBy">dct:isReplacedBy</a></b></td>
+ <tr>
+ <td><b id="term_isReferencedBy"><a href="http://purl.org/dc/terms/isReferencedBy">dct:isReferencedBy</a></b></td>
<td>rdfs:subPropertyOf</td>
- <td><a href="http://www.w3.org/TR/prov-o/#influenced">prov:influenced</a></td>
- <td>Inverse property of <code>dct:replaces</code></td>
- </tr>-->
- </tbody>
- </table>
- </div>
- <!--
- With the direct mapping, a metadata record such as <a href="#example1">example 1</a> will infer that
- the resource was <code>prov:generatedAtTime</code> at two different times. Although this may seem inconsistent, it is supported by PROV and it is due to the difference
- between Dublin Core and PROV resources: while the former conflates more than one version or "state" of the resource in a single entity, the latter
- proposes to separate all of them. Thus, the mapping produces provenance that complies with the current definition of entity but
- it does not comply with all the PROV constraints [[PROV-CONSTRAINTS]]</a>.
- </p>
- <p>
- Some properties have been found to be superproperties of certain prov concepts. These can be seen below in <a href="#list_of_direct_mappings2">Table 4</a>:
- </p>
-
- <div id="list_of_direct_mappings2" ALIGN="center">
- <table>
- <caption> <a href="#list_of_direct_mappings2"> Table 4:</a> Direct mappings (2) </caption>
- <tbody>
- <tr>
- <th>PROV Term</th>
- <th>Relation</th>
- <th>DC Term</th>
- <th>Rationale</th>
- </tr>
- <tr>
- <td>prov:hadPrimarySource</td>
- <td>rdfs:subPropertyOf</td>
- <td><b>dct:source</b></td>
- <td>The definition of <code>prov:hadPrimarySource</code> ("something produced by some agent with direct experience
- and knowledge about the topic") is more restrictive than <code>dct:source</code> ( "A related resource from which the
- described resource is derived").</td>
- </tr>
- <tr>
- <td>prov:wasRevisionOf</td>
- <td>rdfs:subPropertyOf</td>
- <td><b>dct:isVersionOf</b></td>
- <td>Similar to the previous property, <code>prov:wasRevisionOf</code> is more restrictive in the sense that it refers to revised version of a resource, while
- <code>dct:isVersionOf</code> involves versions, editions or adaptations of the original resource.</td>
+ <td><a href="http://www.w3.org/TR/prov-o/#inverse-names-table">prov:hadDerivation</a></td>
+ <td>Inverse property of <code>dct:references</code></td>
</tr>
</tbody>
</table>
</div>
- <p>
- <a href="#list_of_direct_mappings_no_prov_core">Table 5</a> enumerates the mapping of the <code>dct</code> properties that map to inverse relationships in PROV. These
- have been separated in a different table because they don't belong to the core of PROV.
- </p>
- <div id="list_of_direct_mappings_no_prov_core" ALIGN="center">
- <table>
- <caption> <a href="#list_of_direct_mappings_no_prov_core"> Table 5:</a> Direct mappings to the PROV terms not included in the core </caption>
- <tbody>
- <tr>
- <th>PROV Term</th>
- <th>Relation</th>
- <th>DC Term</th>
- <th>Rationale</th>
- </tr>
- <tr>
- <td><b>dct:hasVersion</b></td>
- <td>rdfs:subPropertyOf</td>
- <td>prov:hadDerivation</td>
- <td>Inverse property of <code>dct:isVersionOf</code>.</td>
- </tr>
- <tr>
- <td><b>dct:isReplacedBy</b></td>
- <td>rdfs:subPropertyOf</td>
- <td>prov:influenced</td>
- <td>Inverse property of <code>dct:replaces</code></td>
- </tr>
- </tbody>
- </table>
- </div>
- -->
+
</section>
<section>
<h3>PROV refinements</h3>
@@ -1321,24 +1248,13 @@
</div>
</div>
</p>
- <!--<p>3) Finally, another solution is to <b>ignore all the specializations of <code>ex:doc1</code> and use the resource itself</b>. This solution
- would avoid the majority of the blank nodes, linking all the activities with the resource. However, the results would be confusing in
- case there are several Dublin Core statements describing the same resource (like <code>dct:publisher</code> and <code>creator</code>), since most of the
- activities would use and generate the same resource at different times (all the provenance of the different versions of the resource
- would be conflated in the same entity). A graphical representation of an example can be seen in <a href="#figure_mapping_example_conflating">Figure 2</a>.
- </p>
- <p>
- </p>-->
+
</section>
<section>
<h2>List of terms excluded from the mapping</h2>
<a href="#list-of-terms-excluded-from-the-mapping"> Table 6</a> lists the terms excluded from the mapping,
either because thay are not suitable or because they don't represent provenance information.
- <!--
- <div class="note">
- <p>Some of the terms of the list are still under discussion: <code>dct:alternative</code> and <code>dct:references</code>.</p>
- </div>
- -->
+
<p>
<table>
<caption> <a href="#list-of-terms-excluded-from-the-mapping"> Table 6:</a> List of terms excluded from the mapping </caption>
@@ -1465,18 +1381,6 @@
<td>Property that relates the literal representing the bibliographic citation of the resource to the
actual resource (e.g., <code>:el_Quijote dct:bibliographicCitation "Miguel de Cervantes Saavedra: El Quijote, España"</code>).</td>
</tr><tr>
- <td id="term_references"><b><a href="http://purl.org/dc/terms/references">dct:references</a></b></td>
- <td> Provenance: How </td>
- <td>Term used to point out, refer or cite a related resource to the resource being described. The references normally point
- out to resources from which the current resource was derived, or that the current resource quoted. However, this is not
- always the case. For example, if a resource A included a reference
- to a resource B stating :"Reference [B] has nothing to do with the work described here", then we cannot consider the reference as a derivation
- or a quotation. For this reason, <code>dct:references</code> has been dropped from the mapping.</td>
- </tr><tr>
- <td id="term_isReferencedBy"><b><a href="http://purl.org/dc/terms/isReferencedBy">dct:isReferencedBy</a></b></td>
- <td> Provenance: How </td>
- <td>Inverse to <code>dct:references</code>.</td>
- </tr><tr>
<td><b id="term_accessRights"><a href="http://purl.org/dc/terms/accessRights">dct:accessRights</a></b></td>
<td>Provenance: How</td>
<td>Agents who can access the resource (security status). Since the privileges of the resource are part of the
@@ -1501,18 +1405,7 @@
<td><b id="term_valid"><a href="http://purl.org/dc/terms/valid">dct:valid</a></b></td>
<td>Provenance: When</td>
<td>Property that states when a resource is valid. The notion of invalidation is defined in PROV-DM, but not the notion of validation. Thus this property is left out of the mapping.</td>
- </tr><tr>
- <td><b id="term_relation"><a href="http://purl.org/dc/terms/relation">dct:relation</a></b></td>
- <td>Provenance </td>
- <td>A related resource. This relationship is very broad and could relate either provenance resources or not.
- Therefore it could be seen as a superproperty of <code>prov:wasDerivedFrom</code>, <code>prov:wasInfluencedBy</code>, <code>prov:alternateOf</code>, <code>prov:specializationOf</code>, etc. <td>
- </tr>
- <tr>
- <td><b id="term_provenance"><a href="http://purl.org/dc/terms/provenance">dct:provenance</a></b></td>
- <td>Provenance </td>
- <td>This term is a link between the resource and any provenance statement about the resource. Since PROV-O doesn't specify any mechanisms to link a bundle of provenance statements to an entity,
- this term is considered out of the scope of the mapping.<td>
- </tr>
+ </tr>
</tbody></table>
</p>
</section>
@@ -1538,5 +1431,13 @@
The editors extend special thanks to Antoine Isaac, Ivan Herman, Timothy Lebo, Luc Moreau, Paul Groth and Satya Sahoo for their feedback; and María Poveda and Idafen Santana for their help with the HTML generation.
</p>
</section>
+ <section class="appendix">
+ <h2>Changes Since Second Public Working Draft</h2>
+ <ul>
+ <li>Added the mapping to prov:has_provenance.</li>
+ <li>Added dct:ProvenanceStatement as a type of prov:Bundle.</li>
+ <li>Added dct:references as a type of derivation.</li>
+ </ul>
+ </section>
</body>
</html>
\ No newline at end of file
--- a/dc-note/files/prov-dc-directmappings.ttl Fri Mar 29 17:32:14 2013 +0000
+++ b/dc-note/files/prov-dc-directmappings.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -3,15 +3,16 @@
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
- dct:Agent owl:equivalentClass prov:Agent.
+ dct:Agent owl:equivalentClass prov:Agent .
+ dct:ProvenanceStatement rdfs:subClassOf prov:Bundle .
dct:rightsHolder rdfs:subPropertyOf prov:wasAttributedTo .
dct:creator rdfs:subPropertyOf prov:wasAttributedTo .
dct:publisher rdfs:subPropertyOf prov:wasAttributedTo .
dct:contributor rdfs:subPropertyOf prov:wasAttributedTo .
dct:isVersionOf owl:equivalentProperty prov:wasRevisionOf .
- dct:hasVersion owl:equivalentProperty prov:hadRevision .
dct:hasFormat rdfs:subPropertyOf prov:alternateOf .
dct:isFormatOf rdfs:subPropertyOf prov:alternateOf .
+ dct:references rdfs:subPropertyOf prov:wasDerivedFrom .
dct:source rdfs:subPropertyOf prov:wasDerivedFrom .
prov:hadPrimarySource rdfs:subPropertyOf dct:source .
@@ -21,4 +22,9 @@
dct:dateAccepted rdfs:subPropertyOf prov:generatedAtTime .
dct:dateCopyRighted rdfs:subPropertyOf prov:generatedAtTime .
dct:dateSubmitted rdfs:subPropertyOf prov:generatedAtTime .
- dct:modified rdfs:subPropertyOf prov:generatedAtTime .
\ No newline at end of file
+ dct:modified rdfs:subPropertyOf prov:generatedAtTime .
+
+ #Terms not included in the core of PROV
+ dct:provenance rdfs:subPropertyOf prov:has_provenance .
+ dct:isReferencedBy rdfs:subPropertyOf prov:hadDerivation .
+ dct:hasVersion owl:equivalentProperty prov:hadRevision .
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/construct queries/entity-agent/contributor.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,27 @@
+ PREFIX prov: <http://www.w3.org/ns/prov#>
+ PREFIX dct: <http://purl.org/dc/terms/>
+ PREFIX owl: <http://www.w3.org/2002/07/owl#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+
+ CONSTRUCT {
+ ?document a prov:Entity ;
+ prov:wasAttributedTo ?agent .
+
+ ?agent a prov:Agent .
+
+ _:activity a prov:Activity, prov:Contribute ;
+ prov:wasAssociatedWith ?agent ;
+ prov:qualifiedAssociation [
+ a prov:Association ;
+ prov:agent ?agent ;
+ prov:hadRole prov:Contributor .
+ ].
+
+ _:resulting_entity a prov:Entity ;
+ prov:specializationOf ?document ;
+ prov:wasGeneratedBy _:activity ;
+ prov:wasAttributedTo ?agent .
+
+ } WHERE {
+ ?document dct:contributor ?agent .
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/construct queries/entity-agent/creator.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,28 @@
+ PREFIX prov: <http://www.w3.org/ns/prov#>
+ PREFIX dct: <http://purl.org/dc/terms/>
+ PREFIX dcprov: ???
+ PREFIX owl: <http://www.w3.org/2002/07/owl#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+
+ CONSTRUCT {
+ ?document a prov:Entity ;
+ prov:wasAttributedTo ?agent.
+
+ ?agent a prov:Agent .
+
+ _:activity a prov:Activity, prov:Create ;
+ prov:wasAssociatedWith ?agent;
+ prov:qualifiedAssociation [
+ a prov:Association;
+ prov:agent ?agent;
+ prov:hadRole prov:Creator .
+ ].
+
+ _:resulting_entity a prov:Entity ;
+ prov:specializationOf ?document ;
+ prov:wasGeneratedBy _:activity ;
+ prov:wasAttributedTo ?agent.
+
+ } WHERE {
+ ?document dct:creator ?agent.
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/construct queries/entity-agent/publisher.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,31 @@
+@prefix prov: <http://www.w3.org/ns/prov#>.
+@prefix dct: <http://purl.org/dc/terms/>.
+@prefix owl: <http://www.w3.org/2002/07/owl#>.
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
+ CONSTRUCT {
+ ?document a prov:Entity ;
+ prov:wasAttributedTo ?agent .
+
+ ?agent a prov:Agent .
+
+ _:used_entity a prov:Entity;
+ prov:specializationOf ?document.
+
+ _:activity a prov:Activity, prov:Publish ;
+ prov:used _:used_entity;
+ prov:wasAssociatedWith ?agent ;
+ prov:qualifiedAssociation [
+ a prov:Association ;
+ prov:agent ?agent ;
+ prov:hadRole prov:Publisher .
+ ].
+
+ _:resulting_entity a prov:Entity ;
+ prov:wasDerivedFrom _:used_entity
+ prov:specializationOf ?document ;
+ prov:wasGeneratedBy _:activity ;
+ prov:wasAttributedTo ?agent .
+
+ } WHERE {
+ ?document dct:publisher ?agent .
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/construct queries/entity-date/created.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,23 @@
+ PREFIX prov: <http://www.w3.org/ns/prov#>
+ PREFIX dct: <http://purl.org/dc/terms/>
+ PREFIX owl: <http://www.w3.org/2002/07/owl#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+
+CONSTRUCT{
+ ?document a prov:Entity .
+
+ _:activity a prov:Activity, prov:Create ;
+
+ # The “output”
+ _:created_entity a prov:Entity ;
+ prov:specializationOf ?document ;
+ prov:wasGeneratedBy _:activity ;
+ prov:wasGeneratedAtTime ?date;
+ prov:qualifiedGeneration [
+ a prov:Generation ;
+ prov:atTime ?date ;
+ prov:activity _:activity .
+ ] .
+ } WHERE {
+ ?document dct:created ?date.
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/construct queries/entity-date/dateAccepted.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,29 @@
+ PREFIX prov: <http://www.w3.org/ns/prov#>
+ PREFIX dct: <http://purl.org/dc/terms/>
+ PREFIX owl: <http://www.w3.org/2002/07/owl#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+
+ CONSTRUCT{
+ ?document a prov:Entity .
+
+ _:activity a prov:Activity, prov:Accept ;
+ prov:used _:used_entity .
+
+# The “input”
+ _:used_entity a prov:Entity .
+ prov:specializationOf ?document .
+
+ # The “output”
+ _:accepted_entity a prov:Entity ;
+ prov:specializationOf ?document ;
+ prov:wasGeneratedBy _:activity ;
+ prov:wasGeneratedAtTime ?date;
+ prov:wasDerivedFrom _:used_entity ;
+ prov:qualifiedGeneration [
+ a prov:Generation ;
+ prov:atTime ?date ;
+ prov:activity _:activity .
+ ] .
+ } WHERE {
+ ?document dct:dateAccepted ?date.
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/construct queries/entity-date/dateCopyRighted.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,29 @@
+ PREFIX prov: <http://www.w3.org/ns/prov#>
+ PREFIX dct: <http://purl.org/dc/terms/>
+ PREFIX owl: <http://www.w3.org/2002/07/owl#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+
+ CONSTRUCT{
+ ?document a prov:Entity .
+
+ _:activity a prov:Activity, prov:Copyright;
+ prov:used _:used_entity .
+
+# The “input”
+ _:used_entity a prov:Entity .
+ prov:specializationOf ?document .
+
+ # The “output”
+ _:copyrighted_entity a prov:Entity ;
+ prov:specializationOf ?document ;
+ prov:wasGeneratedBy _:activity ;
+ prov:wasGeneratedAtTime ?date;
+ prov:wasDerivedFrom _:used_entity ;
+ prov:qualifiedGeneration [
+ a prov:Generation ;
+ prov:atTime ?date ;
+ prov:activity _:activity .
+ ] .
+ } WHERE {
+ ?document dct:dateCopyrighted ?date.
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/construct queries/entity-date/dateSubmitted.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,29 @@
+ PREFIX prov: <http://www.w3.org/ns/prov#>
+ PREFIX dct: <http://purl.org/dc/terms/>
+ PREFIX owl: <http://www.w3.org/2002/07/owl#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+
+ CONSTRUCT{
+ ?document a prov:Entity .
+
+ _:activity a prov:Activity, prov:Submit ;
+ prov:used _:used_entity .
+
+# The “input”
+ _:used_entity a prov:Entity .
+ prov:specializationOf ?document .
+
+ # The “output”
+ _:submitted_entity a prov:Entity ;
+ prov:specializationOf ?document ;
+ prov:wasGeneratedBy _:activity ;
+ prov:wasGeneratedAtTime ?date;
+ prov:wasDerivedFrom _:used_entity ;
+ prov:qualifiedGeneration [
+ a prov:Generation ;
+ prov:atTime ?date ;
+ prov:activity _:activity .
+ ] .
+ } WHERE {
+ ?document dct:dateSubmitted ?date.
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/construct queries/entity-date/issued.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,29 @@
+ PREFIX prov: <http://www.w3.org/ns/prov#>
+ PREFIX dct: <http://purl.org/dc/terms/>
+ PREFIX owl: <http://www.w3.org/2002/07/owl#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+
+ CONSTRUCT{
+ ?document a prov:Entity .
+
+ _:activity a prov:Activity, prov:Publish ;
+ prov:used _:used_entity .
+
+# The “input”
+ _:used_entity a prov:Entity .
+ prov:specializationOf ?document .
+
+ # The “output”
+ _:iss_entity a prov:Entity ;
+ prov:specializationOf ?document ;
+ prov:wasGeneratedBy _:activity ;
+ prov:wasGeneratedAtTime ?date;
+ prov:wasDerivedFrom _:used_entity ;
+ prov:qualifiedGeneration [
+ a prov:Generation ;
+ prov:atTime ?date ;
+ prov:activity _:activity .
+ ] .
+ } WHERE {
+ ?document dct:issued ?date.
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/construct queries/entity-date/modified.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,29 @@
+ PREFIX prov: <http://www.w3.org/ns/prov#>
+ PREFIX dct: <http://purl.org/dc/terms/>
+ PREFIX owl: <http://www.w3.org/2002/07/owl#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+
+ CONSTRUCT{
+ ?document a prov:Entity .
+
+ _:activity a prov:Activity, prov:Modify ;
+ prov:used _:used_entity .
+
+# The “input”
+ _:used_entity a prov:Entity .
+ prov:specializationOf ?document .
+
+ # The “output”
+ _:modified_entity a prov:Entity ;
+ prov:specializationOf ?document ;
+ prov:wasGeneratedBy _:activity ;
+ prov:wasGeneratedAtTime ?date;
+ prov:wasDerivedFrom _:used_entity ;
+ prov:qualifiedGeneration [
+ a prov:Generation ;
+ prov:atTime ?date ;
+ prov:activity _:activity .
+ ] .
+ } WHERE {
+ ?document dct:modified ?date.
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/construct queries/entity-entity/replaces.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,24 @@
+ PREFIX prov: <http://www.w3.org/ns/prov#>
+ PREFIX dct: <http://purl.org/dc/terms/>
+ PREFIX owl: <http://www.w3.org/2002/07/owl#>
+ PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+
+CONSTRUCT{
+ ?document a prov:Entity .
+ ?document2 a prov:Entity.
+
+ _:activity a prov:Activity, prov:Replace ;
+ prov:used _:old_entity.
+
+ # The “input”
+ _:old_entity a prov:Entity ;
+ prov:specializationOf ?document2 ;
+ # The “output”
+ _:new_entity a prov:Entity ;
+ prov:specializationOf ?document ;
+ prov:wasGeneratedBy _:activity;
+ prov:wasDerivedFrom _:old_entity .
+
+ } WHERE {
+ ?document dct:replaces ?document2.
+ }
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/prov-dc-directmappings.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,26 @@
+@prefix prov: <http://www.w3.org/ns/prov#>.
+@prefix dct: <http://purl.org/dc/terms/>.
+@prefix owl: <http://www.w3.org/2002/07/owl#>.
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
+
+ dct:Agent owl:equivalentClass prov:Agent .
+ dct:ProvenanceStatement rdfs:subClassOf prov:Bundle .
+ dct:rightsHolder rdfs:subPropertyOf prov:wasAttributedTo .
+ dct:creator rdfs:subPropertyOf prov:wasAttributedTo .
+ dct:publisher rdfs:subPropertyOf prov:wasAttributedTo .
+ dct:contributor rdfs:subPropertyOf prov:wasAttributedTo .
+ dct:isVersionOf owl:equivalentProperty prov:wasRevisionOf .
+ dct:hasVersion owl:equivalentProperty prov:hadRevision .
+ dct:hasFormat rdfs:subPropertyOf prov:alternateOf .
+ dct:isFormatOf rdfs:subPropertyOf prov:alternateOf .
+ dct:source rdfs:subPropertyOf prov:wasDerivedFrom .
+
+ prov:hadPrimarySource rdfs:subPropertyOf dct:source .
+
+ dct:created rdfs:subPropertyOf prov:generatedAtTime .
+ dct:issued rdfs:subPropertyOf prov:generatedAtTime .
+ dct:dateAccepted rdfs:subPropertyOf prov:generatedAtTime .
+ dct:dateCopyRighted rdfs:subPropertyOf prov:generatedAtTime .
+ dct:dateSubmitted rdfs:subPropertyOf prov:generatedAtTime .
+ dct:modified rdfs:subPropertyOf prov:generatedAtTime .
+ dct:provenance rdfs:subPropertyOf prov:has_provenance .
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/dc-note/releases/NOTE-prov-dc-20130430/files/prov-dc-refinements.ttl Fri Mar 29 19:20:15 2013 +0100
@@ -0,0 +1,16 @@
+@prefix prov: <http://www.w3.org/ns/prov#>.
+@prefix dct: <http://purl.org/dc/terms/>.
+@prefix owl: <http://www.w3.org/2002/07/owl#>.
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
+
+ prov:Publish rdfs:subClassOf prov:Activity .
+ prov:Contribute rdfs:subClassOf prov:Activity .
+ prov:Create rdfs:subClassOf prov:Activity, prov:Contribute .
+ prov:Modify rdfs:subClassOf prov:Activity .
+ prov:Accept rdfs:subClassOf prov:Activity .
+ prov:Copyright rdfs:subClassOf prov:Activity .
+ prov:Submit rdfs:subClassOf prov:Activity .
+ prov:Replace rdfs:subClassOf prov:Activity .
+ prov:Publisher rdfs:subClassOf prov:Role .
+ prov:Contributor rdfs:subClassOf prov:Role .
+ prov:Creator rdfs:subClassOf prov:Role, prov:Contributor .
\ No newline at end of file
Binary file dc-note/releases/NOTE-prov-dc-20130430/img/cleanup1.png has changed
Binary file dc-note/releases/NOTE-prov-dc-20130430/img/cleanup2.png has changed
Binary file dc-note/releases/NOTE-prov-dc-20130430/img/example1.png has changed
Binary file dc-note/releases/NOTE-prov-dc-20130430/img/mapping-example - conflating.png has changed