Wikidata authority file mapping tool
See https://wdmapper.readthedocs.io/ or source folder docs for full
documentation.
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 wdmapperAdd 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] TARGETwhere 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.
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
- https://www.wikidata.org/wiki/User:ZbwAddAuthorityBot
- pywikibot
- ...