Skip to main content

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


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)

Uploaded Source

Built Distribution

wikidata_dl-2019.10.4-py2.py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page