Issue 360: Update SPARQL query per Olaf's suggestion
authorGraham Klyne
Thu, 03 May 2012 18:22:36 +0100
changeset 2693 4fed13fe978b
parent 2691 d27abfd2da33
child 2694 58ee981e00c7
Issue 360: Update SPARQL query per Olaf's suggestion
paq/working/prov-aq.html
--- a/paq/working/prov-aq.html	Thu May 03 13:13:16 2012 -0400
+++ b/paq/working/prov-aq.html	Thu May 03 18:22:36 2012 +0100
@@ -635,13 +635,9 @@
             If the original resource has a URI <code>http://example.org/resource</code>, a SPARQL query for provenance information might look like this: 
             <pre class="example code">
   @prefix prov: &lt;<provns/>&gt;
-  CONSTRUCT
-  {
-    &lt;http://example.org/resource&gt; ?p ?v
-  }
-  WHERE
-  {
-    &lt;http://example.org/resource&gt; ?p ?v
+  SELECT ?generationStartTime WHERE {
+      <http://example.org/resource> prov:wasGeneratedBy ?activity .
+      ?activity prov:startedAtTime ?generationStartTime .
   }
             </pre>
           </p>