Re: [dxwg] JSON-LD context missing as a canonical resource and duplicated in-line in examples (#1428)

Having discussed with @danbri there is probably not a perfectly understood consensus on the perfect form for a JSON-LD context - there are a few options on expressiveness.  So it does need some expert guidance I suspect to get it right.

The basic principles are outlined here:
https://www.w3.org/TR/json-ld11/#example-5-referencing-a-json-ld-context

you can see a couple of worked examples here: https://json-ld.org/playground/ (Person, Activity)

There seems to be a lot of cut-and-paste of context details between different applications because vocabularies like DCAT, designed for re-use, do not have canonical contexts available.  DCAT v2 as recent (post JSON-LD 1.1) is a good candidate to improve this practice - but the supporting spec and general practices around modularity are strightforward and ready to use.

Note that DCAT publishing a context won't stop people cut-and-pasting (or making up some version) of DCAT context into their own aggregated contexts (with subsequent loss of confidence it hasnt been changed) - but not publishing one _forces_ this anti-pattern in implementations and reduces potential for interoperability.


-- 
GitHub Notification of comment by rob-metalinkage
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/1428#issuecomment-977233945 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 23 November 2021 22:34:35 UTC