- From: Tomasz Pluskiewicz <tomasz@t-code.pl>
- Date: Tue, 14 Apr 2015 07:13:02 +0000
- To: "Erik Wilde" <dret@berkeley.edu>, "Jonathan" <jonathan.robie@emc.com>, "Nandana Mihindukulasooriya" <nmihindu@fi.upm.es>, public-hydra@w3.org
Hi I'd like to disagree. I've never really understood the notion of media types in the context of RDF data. At least not for specific vocabularies. You already do have them defined for RDF serializations eg. application/rdf+xml, text/turtle or application/ld+json. Would you now start adding hydra profiles to each of the serialization-specific media types? I don't think so. It has been rightly pointed out that RDF (Linked Data) world does not need media types, because the semantics are inherently defined by the data itself through relations and rdf types. And so hydra API can be negotiated so that they return Turtle, RDF/XML, JSON-LD or anything else depending on the client's capabilities/preferences while still retaining the full semantic description of the data. This IMO is a great benefit over traditional RESTful APIs, which usually stick to a single serialization format (JSON nowadays) or otherwise must define the hypermedia controls separately for each supported serialization. RDF is superior through separation of the two concerns: syntax and semantics. Regards, Tom April 14 2015 8:55 AM, "Erik Wilde" <dret@berkeley.edu> wrote: > hello jonathan. > > On 2015-04-13 23:47, Robie, Jonathan wrote: > >> A profile would be perfect. And yes, I think that should be added. > > it actually would be very cool to see this happening. i guess > http://www.w3.org/ns/hydra/core or http://www.w3.org/ns/hydra/core# > would be good candidates. i personally dislike the URIs with empty > fragments, but that's just a matter of taste. either way, the spec > probably should explicitly say what the profile URI is, so that this > would be clear without guessing. > > cheers, > > dret. > > -- > erik wilde | mailto:dret@berkeley.edu - tel:+1-510-2061079 | > | UC Berkeley - School of Information (ISchool) | > | http://dret.net/netdret http://twitter.com/dret |
Received on Tuesday, 14 April 2015 07:14:20 UTC