w3c / json-ld-bp

JSON-LD 1.1 Best Practices Note
https://w3c.github.io/json-ld-bp/
Other
21 stars 7 forks source link

examples #51

Open bertvannuffelen opened 1 year ago

bertvannuffelen commented 1 year ago

Hi,

the examples use "@context": "http://schema.org" while schema.org states that the context is found elsewhere: https://schema.org/docs/developers.html

It should be "@context": "https://schema.org/docs/jsonldcontext.json",

gkellogg commented 1 year ago

Retrieving http:/;schema.org will provide metadata for finding the context, as described in Alternate Document Location, in this case I believe they use the Link HTTP header.

bertvannuffelen commented 1 year ago

Maybe it does, but then I think the json-ld playground should also support that, which is not the case. Today all examples not processable by it.

gkellogg commented 1 year ago

I think the playground has some special provisions for loading the schema.org context, @davidlehn would know.