Downloads and parses dumps of databases for external validation in Wikidata using the WikibaseQualityExternalValidation extension.
DumpConverter requires libxml2 and libxslt to be installed. To install the required development packages of these dependencies on Linux systems, use your distribution specific installation tool, e.g. apt-get on Debian/Ubuntu.
sudo apt-get install libxml2-dev libxslt-dev python-dev
To install DumpConverter, just run the setup script.
git clone https://github.com/WikidataQuality/DumpConverter.git
sudo pip install -e DumpConverter
python dumpconverter.py [options]
Options
--list-databases
list all available databases, that can be imported and exit-d / --database DATABASE
key of a specific database that should be imported--external-values-file EXTERNAL_VALUES_FILE
CSV output file for data values of dumps. - default: external_values.csv--dump-information-file DUMP_INFORMATION_FILE
CSV output file for meta informations of dumps. - default: dump_information.csv-q / --quiet
suppress output