Wikidata authority file mapping tool
See https://wdmapper.readthedocs.io/ or source folder
docs for full
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.
$ pip install wdmapper
Add option --user to install as non-root and option --upgrade to update an already installed version.
The general calling syntax is
wdmapper [OPTIONS] COMMAND [SOURCE] TARGET
COMMAND is a wdmapper command,
TARGET is a Wikidata property, and
SOURCE is an optional Wikidata property for indirect links.
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.
wdmapper without command line arguments (or with option
for a list of command line input, and mappings from Wikidata. options.
The source code is available at https://github.com/gbv/wdmapper and licensed under the terms of the MIT license.
- BEACON format specification
- Wikidata BEACON generator