json-ld-bp icon indicating copy to clipboard operation
json-ld-bp copied to clipboard

examples

Open bertvannuffelen opened this issue 2 years ago • 3 comments

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",

bertvannuffelen avatar Jun 19 '23 14:06 bertvannuffelen

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.

gkellogg avatar Jun 19 '23 14:06 gkellogg

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.

bertvannuffelen avatar Jun 19 '23 15:06 bertvannuffelen

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

gkellogg avatar Jun 19 '23 16:06 gkellogg