Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOCODE Identifiers for countries #57

Open
Fak3 opened this issue Jun 14, 2021 · 3 comments
Open

LOCODE Identifiers for countries #57

Fak3 opened this issue Jun 14, 2021 · 3 comments

Comments

@Fak3
Copy link
Contributor

Fak3 commented Jun 14, 2021

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
Copy link

AP-G commented Jun 14, 2021

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
Copy link
Contributor Author

Fak3 commented Jul 14, 2021

Related to #34

@VladimirAlexiev
Copy link

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants