- From: Kingsley Idehen <kidehen@openlinksw.com>
- Date: Sat, 31 May 2014 20:10:46 -0400
- To: public-linked-json@w3.org
- Message-ID: <538A6F86.4090103@openlinksw.com>
On 5/31/14 11:47 AM, Anders Riutta wrote: > Hi Alex, > > Thanks for the response. > > If we know the IRI is dereferenceable, don't we still have to check the content type? For example, if dereferencing<http://dbpedia.org/resource/Cynthia_Lennon> only returned HTML, we couldn't use it to directly transclude additional JSON-LD. > > But if we could get different content types, including JSON-LD, from<http://dbpedia.org/resource/Cynthia_Lennon>, we could transclude the JSON-LD. Unfortunately, we wouldn't know without testing how to get the JSON-LD. It could be any of these: > 1)<http://dbpedia.org/resource/Cynthia_Lennon> with an Accept request-header field value of "application/json" > 2)<http://dbpedia.org/resource/Cynthia_Lennon> with an Accept request-header field value of "application/ld+json" > 3)<http://dbpedia.org/resource/Cynthia_Lennon/.json> without an Accept request-header > 4)<http://dbpedia.org/resource/Cynthia_Lennon/.jsonld> without an Accept request-header > 5)<http://dbpedia.org/resource/Cynthia_Lennon?format=json> without an Accept request-header > > The documentLoaders code<https://github.com/digitalbazaar/jsonld.js/blob/master/js/jsonld.js#L1522> would work for 1) and 2), but not for 3) - 5). > > Thanks, > Anders Here is a vapor [1] report that should illustrate this matter. Fundamentally, in the context of Linked Data, JSON-LD (like Turtle, N-Triples, HTML+Microdata, RDF/XML etc..) is just another notation for representing RDF statements that describe entities (e.g., from DBpedia). Links: [1] http://bit.ly/1ty5FZW -- Vapor Report where the User Agent (Vapour) uses RDF to make sense of what <http://dbpedia.org/resource/Cynthia_Lennon> denotes. -- Regards, Kingsley Idehen Founder & CEO OpenLink Software Company Web: http://www.openlinksw.com Personal Weblog: http://www.openlinksw.com/blog/~kidehen Twitter Profile: https://twitter.com/kidehen Google+ Profile: https://plus.google.com/+KingsleyIdehen/about LinkedIn Profile: http://www.linkedin.com/in/kidehen
Attachments
- application/pkcs7-signature attachment: S/MIME Cryptographic Signature
Received on Sunday, 1 June 2014 00:11:10 UTC