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

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