W3C home > Mailing lists > Public > public-prov-wg@w3.org > April 2012

PROV-ISSUE-360 (SPARQL example for 5.1.3): SPARQL example for obtaining provenance information directly [Accessing and Querying Provenance]

From: Provenance Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 20 Apr 2012 09:45:26 +0000
Message-Id: <E1SLAP8-0008RK-Bx@nelson.w3.org>
To: public-prov-wg@w3.org
PROV-ISSUE-360 (SPARQL example for 5.1.3): SPARQL example for obtaining provenance information directly [Accessing and Querying Provenance]

http://www.w3.org/2011/prov/track/issues/360

Raised by: Olaf Hartig
On product: Accessing and Querying Provenance

As the TODO in Sec.5.1.3 points out, the example query currently used in this section only retrieves the direct properties of the example resource. Assuming that most/some of the provenance-related information is not available via such a query (e.g. if the description uses the qualified relations pattern), we should use a different example that accesses a particular part of the provenance information (as proposed by by the TODO).

A simple, yet suitable example query would be:

    SELECT ?generationStartTime WHERE {
         <http://example.org/resource> prov:wasGeneratedBy ?activity .
         ?activity prov:startedAtTime ?generationStartTime .
    }
Received on Friday, 20 April 2012 09:45:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 13:07:03 GMT