Download data from Wikidata based on input SPARQL query.
Project description
# wikidata-dl
## Description
wikidata-dl is a command line programm for downloading data from [Wikidata](https://www.wikidata.org/) based on [SPARQL](https://en.wikipedia.org/wiki/SPARQL) queries passed to the program.
## Installation
pip install wikidata_dl
## Usage
wikidata-dl /path/to/my-query.sparql
## Conventions
The SPARQL query you pass to the program must return Wikidata entity IDs.
The query variable where the entity ID is stored must be called item.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wikidata_dl-2019.10.4.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for wikidata_dl-2019.10.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8f3018f2bb10487e905b2e0ad7d89f27fdfd69d9db3dc6b7cb2e5d81ddbf524 |
|
MD5 | b6c36853a29dd6b51a4216d22833a7ee |
|
BLAKE2b-256 | e466649babd419977a7e867a4a6f48064dbe8fdf430652b9797d7503d2f1970c |