Edit Wikidata items with RDF. Kinda like QuickStatements, but more powerful.
Install this tool using pip
:
$ pip install git+https://github.com/josh/wikidata-rdf-patch.git
For help, run:
$ wikidata-rdf-patch --help
To contribute to this tool, first checkout the code. Then create a new virtual environment:
$ cd wikidata-rdf-patch/
$ uv venv
$ source .venv/bin/activate
Now install the dependencies and test dependencies:
$ pip install -e '.[test]'
To run the tests:
$ pytest