W3C home > Mailing lists > Public > public-prov-wg@w3.org > August 2011

Re: PROV-ISSUE-80 (about-provenance-template): Query about provenance template [Accessing and Querying Provenance]

From: Graham Klyne <GK@ninebynine.org>
Date: Thu, 25 Aug 2011 15:25:31 +0100
Message-ID: <4E565B5B.4060606@ninebynine.org>
To: Provenance Working Group WG <public-prov-wg@w3.org>
CC: Provenance Working Group Issue Tracker <sysbot+tracker@w3.org>
I believe that would work as you intend (from memory, I recall that {+uri} 
substitutes the URI without %-encoding of reserved characters.)

As a word of caution though, you'd have to manage your web site to not include 
non-provenance resources ending with .prov.  Provenance-of-provenance would then 
be (someuri).prov.prov, with no way to terminate the regression, so you'd have 
to allow 404 responses when attempting to retrieve provenance information.

#g
--

On 23/08/2011 12:19, Provenance Working Group Issue Tracker wrote:
>
> PROV-ISSUE-80 (about-provenance-template): Query about provenance template [Accessing and Querying Provenance]
>
> http://www.w3.org/2011/prov/track/issues/80
>
> Raised by: Luc Moreau
> On product: Accessing and Querying Provenance
>
> I like the service description, and in particular, the uri templates. I have a simple example I would like to express.
>
> Whenever a document is retrieved from a web site I host, I would like its provenance to be accessible from its uri followed by .prov.
>
> Can I write this with the following entry:
> "provenance_template":  "{+uri}.prov"
>
> (I am assuming that uri has no query part, so that concatenating .prov results in a proper uri).
>
>
>
>
>
>
Received on Thursday, 25 August 2011 14:55:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:51:00 UTC