edi3 / edi3-json-ld-ndr

GNU General Public License v3.0
0 stars 2 forks source link

LOCODE Identifiers for countries #57

Open Fak3 opened 3 years ago

Fak3 commented 3 years ago

Currently locode identifiers of countries have this structure:
https://service.unece.org/trade/uncefact/vocabulary/unlocode-au/#AU https://service.unece.org/trade/uncefact/vocabulary/unlocode-ru/#RU

Notice the duplication of two-letter code in the full url. This is a bit of nuisance for humans. In the json-ld data payload the most radable way to reference some country is to use just two letters, potentially prefixed, like this: unlocode:AU. While the current full url structure would require to use unlocode:au/#AU

Another drawbavck is that it is not possible to get the list of all country identifiers on single well-known page. The linked-data way suggests that you should be able to dereference https://service.unece.org/trade/uncefact/vocabulary/unlocode to get a list.

We could adjust our hierarchy of unlocode http namespaces to address the issues mentioned above.

AP-G commented 3 years ago

I think this issue must be solved in alignment to #11. Without a no final solution for that issue, the others cannot be solved finally as well.

Fak3 commented 3 years ago

Related to #34

VladimirAlexiev commented 2 years ago

Related: