Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 2.02 KB

README.rst

File metadata and controls

73 lines (49 loc) · 2.02 KB

wdmapper

https://travis-ci.org/gbv/wdmapper.png?branch=master https://coveralls.io/repos/gbv/wdmapper/badge.svg?branch=master https://requires.io/github/gbv/wdmapper/requirements.svg?branch=master

Wikidata authority file mapping tool

See https://wdmapper.readthedocs.io/ or source folder docs for full documentation.

Description

wdmapper is a command line application and Python library to manage mappings between authority files in Wikidata. The current draft is limited to simple 1-to-1 mapping that only exist for concepts of obviously unique identity such as people.

Installation

$ pip install wdmapper

Add option --user to install as non-root and option --upgrade to update an already installed version.

Usage

The general calling syntax is

wdmapper [OPTIONS] COMMAND [SOURCE] TARGET

where COMMAND is a wdmapper command, TARGET is a Wikidata property, and SOURCE is an optional Wikidata property for indirect links. TARGET can also be omitted when read from a BEACON file. Depending on the command wdmapper reads input mappings from a file or standard input and/or Wikidata and writes them to standard output or a file.

Run wdmapper without command line arguments (or with option --help|-h) for a list of command line input, and mappings from Wikidata. options.

License

The source code is available at https://github.com/gbv/wdmapper and licensed under the terms of the MIT license.

See also