Open Fak3 opened 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.
Related to #34
Related:
/#
is not good, use just one separatorunlocode
not split by country: unlocode_au
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.