Issue 175 - section 4.3, appendix B recommend ProvenanceService type URI defined by prov_o
authorGraham Klyne
Thu, 05 Jan 2012 13:59:36 +0000
changeset 1332 4c5bbfa9165b
parent 1331 4301ff1aa7d8
child 1333 15f746e18610
Issue 175 - section 4.3, appendix B recommend ProvenanceService type URI defined by prov_o
paq/prov-aq.html
--- a/paq/prov-aq.html	Thu Jan 05 13:03:58 2012 +0000
+++ b/paq/prov-aq.html	Thu Jan 05 13:59:36 2012 +0000
@@ -547,6 +547,12 @@
         <p>
           This specification does not define any specific mechanism for discovering provenance services.  Applications may use any appropriate mechanism, including but not limited to: prior configuration, search engines, service registries, etc.
         </p>
+        <p>
+          To facilitate service discovery, we recommend that RDF publication of service descriptions uses the provenance service type <code>http://www.w3.org/ns/prov-o/ProvenanceService</code>, defined by the <a href="http://dvcs.w3.org/hg/prov/file/0abd4c442b42/ontology/components/ProvenanceService.ttl">provenance ontology</a> [[PROV-O]].  The RDF examples in <a href="#provenance-service-format-examples" class="sectionRef"></a> show this use.
+        </p>
+        <p class="TODO">
+          Fix up URI used in the "provenance ontology" link above, when finalized.
+        </p>
       </section>
 
     </section>
@@ -806,7 +812,9 @@
         </p>
         <pre class="example code">
   @prefix provds: &lt;@@TBD@@#&gt; .
-  &lt;http://example.org/provenance_service/&gt; a provds:Service_description ;
+  @prefix prov: &lt;http://www.w3.org/ns/prov-o/&gt; .
+  
+  &lt;http://example.org/provenance_service/&gt; a prov:ProvenanceService ;
     provds:provenance_locations_template       "http://example.org/provenance_service/locations/?uri={uri}" ;
     provds:provenance_content_template     "http://example.org/provenance_service/provenance/?uri={uri}"
     .
@@ -827,11 +835,12 @@
     xmlns:rdf    = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:rdfs   = "http://www.w3.org/2000/01/rdf-schema#"
     xmlns:provds = "@@TBD@@#"
+    xmlns:prov   = "http://www.w3.org/ns/prov-o/"
   &gt;
-    &lt;provds:Service_description rdf:about="http://example.org/provenance_service/"&gt;
+    &lt;prov:ProvenanceService rdf:about="http://example.org/provenance_service/"&gt;
      example.org &lt;provds:provenance_locations_template&gt;http://example.org/provenance_service/locations/?uri={uri}&lt;/provds:location_template&gt; ;
       &lt;provds:provenance_content_template&gt;http://example.org/provenance_service/provenance/?uri={uri}&lt;/provds:provenance_template&gt; ;
-    &lt;/provds:Service_description&gt;
+    &lt;/prov:ProvenanceService&gt;
   &lt;/rdf:RDF&gt;
         </pre>
         <p class="TODO">