uncefact / spec-jsonld

Exposing the UN/CEFACT vocabulary as web semantics
https://service.unece.org/trade/uncefact/vocabulary/uncefact/
13 stars 5 forks source link

the two contexts are not used in the ontology; ensure stable URL, updatability, content type #183

Open VladimirAlexiev opened 11 months ago

VladimirAlexiev commented 11 months ago

If you look at the uncefact and unlocode ontologies:

curl https://vocabulary.uncefact.org/ -H 'Accept: application/ld+json'
curl https://vocabulary.uncefact.org/unlocode# -H 'Accept: application/ld+json'

both use inline contexts (that define a few prefixes), and don't use the respective contexts, which are:

Then what is the purpose of these dedicated (network-available) contexts? Are they to be used in instance data only? How do you guarantee that the inline and network contexts are in sync (I think they are not)?

Pros for using network contexts:

Requirements for using network contexts so they can be used eg on the JSONLD Playground: