- From: Robie, Jonathan <jonathan.robie@emc.com>
- Date: Tue, 14 Apr 2015 06:41:02 +0000
- To: Erik Wilde <dret@berkeley.edu>, Nandana Mihindukulasooriya <nmihindu@fi.upm.es>, "public-hydra@w3.org" <public-hydra@w3.org>
Precisely.
Jonathan
________________________________________
From: Erik Wilde [dret@berkeley.edu]
Sent: Tuesday, April 14, 2015 12:09 PM
To: Nandana Mihindukulasooriya; public-hydra@w3.org
Cc: Robie, Jonathan
Subject: Re: What is the correct media-type for a Hydra specification?
hello.
On 2015-04-13 23:30, Nandana Mihindukulasooriya wrote:
> To answer your question, as far as I know (as a newbie), there is no
> specific media type defined for hydra api
> documentation. 'application/ld+json' and the content says it is an
> ApiDocumentation using rdf:type. But I would be interested to know where
> you are coming from?
i am guessing it's two worlds colliding. the REST community typically
likes specific media types, so that resources explicitly surface the
models that they represent. it makes resources self-describing *through
their media type*.
RDF, on the other hand, typically only exposes its metamodel and uses
the media type for serialization variants, assuming that saying "it's
RDF" is good enough. this makes resources self-describing *once you
process them*.
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 06:42:18 UTC