Skip to content

Beacon File

Benjamin Schnabel edited this page Oct 19, 2022 · 4 revisions

The server can generate a beacon file for persons with a GND ID. It is used for the GND and other LOD services.

Running

To generate the beacon file just run the script python generate_beacon.py.

The file will be stored under/data/judaicalink/dumps/beacon/current/beacon-persons.txt.

Libraries used:

  • os
  • datetime
  • SPARQLWrapper

Make sure you use a cronjob to update the statistics regularly.

Troubleshoot

It the folder correct for the output? Folder writable?

Check the console output.

Install all the libraries. Use and check the Python venv.

Clone this wiki locally