W3C home > Mailing lists > Public > public-hydra@w3.org > July 2014

Re: Call for consensus on defining IRI template expansion (ISSUE-30)

From: Tomasz Pluskiewicz <tomasz@t-code.pl>
Date: Thu, 17 Jul 2014 11:12:17 +0200
Message-ID: <CAAFOhScO5nC=GbZ9U+jFy86Bd+La793Ui=FOuLxX74RZo-+frw@mail.gmail.com>
To: Ruben Verborgh <ruben.verborgh@ugent.be>
Cc: Tomasz Pluskiewicz <tomasz@t-code.pl>, "public-hydra@w3.org" <public-hydra@w3.org>, Gregg Kellogg <gregg@greggkellogg.net>, Markus Lanthaler <markus.lanthaler@gmx.net>
On Thu, Jul 17, 2014 at 10:29 AM, Ruben Verborgh
<ruben.verborgh@ugent.be> wrote:
>> I feel like these decisions are a little bit out of scope for Hydra itself.
> As a client, I need to know how to use the URI template
> before I can make an API request. Seems necessarily in scope to me.

Necessary to make a request, yes. But it's not something tied to
descrpition of a hypermedia API strictly speaking. For me it's an
implementation detail. Whereas the semantics behind a template
parameter mapping aren't.

>> Is there no such proposal elsewhere?
> I haven't seen any, no.
>> The value could then simply be a turtle-formatted RDF object. Even with
>> the angle brackets to be consistent.
> And also with escaping?

For simplicity's sake yes. Though I'm not strongly in favor of angle
brackets and will certainly not miss them here. Especially with the
assumption that only absolute URIs would be allowed.

>> Though I would not allow prefixed URIs.
> Would be difficult indeed if no prefixes are agreed upon
> (and it's probably better not to).
>> However your initial question was more about how Hydra should define
>> what is the parameter and not how to put it there. I think this should
>> be the focus.
> Both are needed for a client to work.
> Ruben
Received on Thursday, 17 July 2014 09:13:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:29:42 UTC