WorldKG Framework

You can access the code for the WorldKG triples generation framework on GitHub.



Steps to create the WorldKG triples for the particular OSM snapshot.

  1. Clone the repository
    git clone
    cd WorldKG-Knowledge-Graph
  2. Install the Python Requirements
    pip install -r requirements.txt
  3. Download the specific OpenStreetMap snapshot, e.g., from We recommend using the osm.pbf format.
  4. Run the
    python3 /path-to-pbf-file /path-to-the-ttl-file-to-save-triples
  5. Example:
    python3 italy-latest.osm.pbf italyTriples.ttl