IATA-Cargo / ONE-Record

This repository contains the documentation & specs for the ONE Record standard.
https://iata-cargo.github.io/ONE-Record/
MIT License
108 stars 53 forks source link

DM: Refactor core code list ontology URIs to adhere to linked data best practices #268

Open NiclasScheiber opened 2 months ago

NiclasScheiber commented 2 months ago

With the new recommended URI structure for code lists to enable querying ( #256 ), the fragments after the # of the URIs in the core code lists are too long.

Structure: @id: {{baseURL}}/{{codeListName}}#{{code}}

UNCEFACT (Example): @id: https://vocabulary.uncefact.org/UnitMeasureCode#10

CoreCodeLists (Unpractical): https://onerecord.iata.org/ns/coreCodeLists#RadioactiveMaterialClassification_SPECIAL_FORM

To mitigate, and to not put current implementations in trouble, I suggest to deprecate the whole coreCodeLists ontology and re-publish existing and publish all new code lists in a new Ontology, e.g. https://onerecord.iata.org/ns/code-lists

Code-Lists (New): https://onerecord.iata.org/ns/code-lists/RadioactiveMaterialClassification#SPECIAL_FORM

aloccid-iata commented 2 months ago

I am fine with the renaming but we need to have full approval

lambertciata commented 4 days ago

See: https://github.com/users/IATA-Cargo/projects/2/views/1?pane=issue&itemId=80230571&issue=IATA-Cargo%7CONE-Record%7C268