Re: schema.org does not serve RDF?

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