- From: Melvin Carvalho <melvincarvalho@gmail.com>
- Date: Thu, 15 Oct 2020 09:56:44 +0200
- To: Martynas Jusevičius <martynas@atomgraph.com>
- Cc: "schema. org Mailing List" <public-schemaorg@w3.org>
Received on Thursday, 15 October 2020 07:57:09 UTC
On Wed, 14 Oct 2020 at 23:48, Martynas Jusevičius <martynas@atomgraph.com> wrote: > Hi, > > Our Linked Data client is failing to load term descriptions from > schema.org because it looks like RDF representations are not served, > or at least the content negotiation does not work and HTML is > returned? > > Example: > curl https://schema.org/employee -H "Accept: > > application/rdf+xml,application/n-triples,application/rdf+thrift,text/turtle,text/rdf+n3,application/rdf+json" > > Executable example: https://reqbin.com/c-vjs20ras From my experience the content negotiation pattern that you are using is quite hard to implement Another simpler option might be to just put it in JSON-LD in a script tag ie a structured data island That might be the "schema.org" way of doing things ie eating your own dogfood, and I think is part of the JSON-LD 1.1 spec, so would play well with toolilng > > > > Martynas > atomgraph.com > >
Received on Thursday, 15 October 2020 07:57:09 UTC