Giter Club home page Giter Club logo

Comments (7)

nissimsan avatar nissimsan commented on July 28, 2024

@kshychko , this looks like a great input. Please run with this for inspiration on our dealing iwth locodes...

from spec-jsonld.

nissimsan avatar nissimsan commented on July 28, 2024

@VladimirAlexiev , @Fak3 , what would be the ideal URI you'd like to see?
https://service.unece.org/trade/uncefact/vocabulary/unlocode/ADAVL?

from spec-jsonld.

kshychko avatar kshychko commented on July 28, 2024

According to the discussion on #105 the following approach is taken:

  1. Define RDF Classes for UNLOCODE, Subdivision, Function. For Country "schema:Country" type can be used
  2. Because there are codes in both UN/LOCODE and Subdivision code lists, separate namespaces are used for those and other entities.
  3. The language is set to "en" for the labels without diacritics. It's impossible to determine the language for the names with diactics so the language is not specified there. - To discuss
  4. As countries and subdivisions are ISO 3166-1 and ISO 3166-2 code lists we might need to think about publishing them separately from UNLCODE - To discuss
  5. UNLOCODE list items don't always have the location defined, so it is possible that it is also missing in the vocabulary.

from spec-jsonld.

kshychko avatar kshychko commented on July 28, 2024

The current outputs for discussion are available in https://github.com/uncefact/codes-locode/tree/main/vocab

from spec-jsonld.

kshychko avatar kshychko commented on July 28, 2024

An example of cross between LOCODE and Subdivisions:
Subdiivision:
"TW","TPE","Taipei","special municipality"
LOCODE:
,"TW","TPE","Taipei","Taipei","TPE","1--45---","AI","1101",,"2502N 12131E",""

from spec-jsonld.

nissimsan avatar nissimsan commented on July 28, 2024

IATA codes are missing, but let's tackle that in a separate PR.

from spec-jsonld.

nissimsan avatar nissimsan commented on July 28, 2024

We did this: #105

from spec-jsonld.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.