Data Harvester

The following repository contains the Python code to generate the .ttl files consisting of the semantic RDF data involved in the migration starting from the content of the original .xsl files.

The data export is carried out exploiting the https://rdflib.readthedocs.io/en/stable/ library and shall be preceded by the data cleansing process if it hasn't been already executed.

To run the mapping for each file, it depends on the type of file. The general command is:

python3 app.py type_file path/to/input/file mode

In details our initial focuses are the Centraal Kerkbesturen (CKB) and Eredienstbesturen (EB) data. In that case it's important that the following commands are executed in the order indicated in the example hereafter:

python3 app.py central ./input/SP_DownloadLijst_CentraleKerkbesturen_20210110 local

python3 app.py worship ./input/SP_DownloadLijst_Eredienstbesturen_20210108 local

Last updated