- From: Markus Lanthaler <markus.lanthaler@gmx.net>
- Date: Tue, 17 Oct 2017 21:34:16 +0200
- To: "'Christopher Johnson'" <chjohnson39@gmail.com>, <public-hydra@w3.org>
Hi Christopher, This list is about Hydra. You probably want to post this on mailto:public-linked-json@w3.org instead. Cheers, Markus -------------------- Original Message ------------------- From: Christopher Johnson [mailto:chjohnson39@gmail.com] Sent: Tuesday, October 17, 2017 4:54 PM To: public-hydra@w3.org Subject: Interpreting JSON as JSON-LD / Content-Type header spec. requirements Hi list, In am writing tests and a possibly a new async document loader implementation for jsonld-java that could check Content-Type and Link headers before fetching. The current one does not. I would like research and find actual examples where the JSON-LD specification about the Interpretation requirement has been observed. Anyone know a site that serve Content-Type application/json with a Link header that provides a "http://www.w3.org/ns/json-ld#context" relation? Also could somebody please explain to me why application/ld+json is forbidden to provide an #context relation with a Link Header? Is an #context relation (if served as application/ld+json) allowed to specify a http://www.w3.org/ns/json-ld profile? Or could a non http://www.w3.org/ns/json-ld Content-Type profile be served as application/json and provide a secondary #context relation if it were itself an #context ? Should the document loader check (and possibly dereference the relations) if "second-step" remote documents provide Link and/or Content-Type profile? Should there be a processing "order of precedence"? Just trying to understand required hypermedia options and possible use cases. Thanks, Christopher Johnson Scientific Associate Universitätsbibliothek Leipzig [1] https://stackoverflow.com/questions/39551829/usage-for-profile-parameter-for-json-ld-requests [2] https://json-ld.org/spec/latest/json-ld/#interpreting-json-as-json-ld [3] https://github.com/IIIF/api/issues/1066
Received on Tuesday, 17 October 2017 19:34:40 UTC