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

RE: Hydra @context

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Mon, 9 Jun 2014 20:19:14 +0200
To: <public-hydra@w3.org>
Message-ID: <057501cf840f$52f641c0$f8e2c540$@gmx.net>
On Sunday, June 08, 2014 2:56 PM, Tomasz Pluskiewicz wrote:
> On Fri, Jun 6, 2014 at 5:53 PM, Markus Lanthaler
> > On Friday, June 06, 2014 8:20 AM, Tomasz Pluskiewicz wrote:
> >> I'm lookins at the examples on the specification page and many of them
> >> reference the Hydra context http://www.w3.org/ns/hydra/context.jsonld.
> >> I was very much surprised to find out that in fact it's a owl
> >> ontology.
> >
> > Yeah, that's a "trick" to reduce the number of HTTP round-trips if you also need to access
> information about the vocabulary itself.
> > In fact, the context URL redirects to the vocabulary, so perhaps the examples should be
> updated to use http://www.w3.org/ns/hydra directly.
> 
> Thanks. I don't think that's necessary. It is clear enough and I just
> wanted to make sure that I understand what the JSON-LD processor does.

OK. Nevertheless I think it would make sense as we could get rid of an unnecessary redirect and thus reduce latency. Unless someone objects, I'll update the examples the next time I edit the spec.


--
Markus Lanthaler
@markuslanthaler
Received on Monday, 9 June 2014 18:19:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 15:53:59 UTC