Skip to content

netwerk-digitaal-erfgoed/geonames-rdf

Repository files navigation

GeoNames RDF

This repository contains shell scripts that download GeoNames data dumps and convert them to RDF using SPARQL Anything, resulting in a geonames.ttl file that you can load into a SPARQL server.

You can download a periodically updated RDF file from http://geonames.ams3.digitaloceanspaces.com/geonames.zip (420 MB).

Running

You can run the transform process in a Docker container or directly on your host machine.

In Docker

To run the transform process in a Docker container, run:

docker run -v $(pwd)/output:/output --rm ghcr.io/netwerk-digitaal-erfgoed/geonames-rdf

Directly

To run the scripts directly, run:

./download.sh

Then start the mapping process with:

./map.sh

This will download SPARQL Anything if not already available.

Output

After running the transform process, you’ll find a output/geonames.ttl file that you can load into a SPARQL server.

About

Transform GeoNames data to RDF

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •