Scroll to navigation

WD(1) User Commands WD(1)

NAME

wd - command-line interface to Wikidata

SYNOPSIS

wb [options] [command]

DESCRIPTION

A command-line interface to Wikibase

OPTIONS

output the version number
display help for command

Commands:

add one or several aliases to the list of aliases of an entity in a given language
add a claim to an entity
add a qualifier to a claim
add a reference to a claim
display the entity's aliases
display the claims of an entity
get and set configuration parameters
convert batches of external ids to Wikidata ids and vice versa
Create a new entity
output the entity's data
Delete an entity
display the entity's description
Edit an existing entity
output the pre-formatted item's data optimized for edition with `wd edit-item`
Open a web page using the Hub, see documentation: https://tools.wmflabs.org/hub/
get a Wikidata id from a Wikipedia article title
display the entity's label
identify language code and return associated data
display the lexeme's lemma
Merge an entity into another
move claims from an entity to another and/or from a property to another
move qualifiers of a claim from one property to another
open the entity's page on Wikidata website
output the list of all Wikidata properties
generate and run a simple SPARQL query by passing a statement's subject, property, or object, or a couple of those
remove one or several aliases from the list of aliases of an entity in a given language
remove claims by their GUIDs
remove qualifiers from a claim
remove references from a claim
output the entity's revisions data
search entities
set the list of aliases of an entity in a given language
set a description on an entity in a given language
set a label on an entity in a given language
run a SPARQL query and get its JSON output
display basic information on the requested entity
update a claim's value
update a qualifier from an existing value to a new value
display help for command
November 2023 wd 15.15.4