.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH WB "1" "November 2023" "wb 15.15.4" "User Commands" .SH NAME wb \- command-line interface to Wikibase .SH SYNOPSIS .B wb [\fI\,options\/\fR] [\fI\,command\/\fR] .SH DESCRIPTION A command\-line interface to Wikibase .SH OPTIONS .TP \fB\-V\fR, \fB\-\-version\fR output the version number .TP \fB\-h\fR, \fB\-\-help\fR display help for command .SS "Commands:" .TP add\-alias|aa [entity] [language] [aliases] add one or several aliases to the list of aliases of an entity in a given language .TP add\-claim|ac [entity] [property] [value] add a claim to an entity .TP add\-qualifier|aq [claim\-guid] [property] [value] add a qualifier to a claim .TP add\-reference|ar [claim\-guid] [property] [value] add a reference to a claim .TP aliases|a [entity] display the entity's aliases .TP claims|c [entity] [property] display the claims of an entity .TP config [key] [value] get and set configuration parameters .TP convert [] convert batches of external ids to Wikidata ids and vice versa .TP create\-entity|ce [data] Create a new entity .TP data|d [entity] output the entity's data .TP delete\-entity|de [id] Delete an entity .TP description|desc [entity] display the entity's description .TP edit\-entity|ee [data] Edit an existing entity .TP generate\-template|gt [entity] output the pre\-formatted item's data optimized for edition with `wd edit\-item` .TP hub|h [query] Open a web page using the Hub, see documentation: https://tools.wmflabs.org/hub/ .TP id [title] get a Wikidata id from a Wikipedia article title .TP label|l [entity] display the entity's label .TP lang [code] identify language code and return associated data .TP lemma [lexeme] display the lexeme's lemma .TP merge\-entity|me [from\-id] [to\-id] Merge an entity into another .TP move\-claim|mc [guid|property\-claims\-id] [target\-entity\-id] [target\-property\-id] move claims from an entity to another and/or from a property to another .TP move\-qualifier|mq [guid] [hash] [old\-property\-id] [new\-property\-id] move qualifiers of a claim from one property to another .TP open|o [entity] open the entity's page on Wikidata website .TP props|p output the list of all Wikidata properties .TP query|q [] generate and run a simple SPARQL query by passing a statement's subject, property, or object, or a couple of those .TP remove\-alias|ra [entity] [language] [aliases] remove one or several aliases from the list of aliases of an entity in a given language .TP remove\-claim|rc [guids] remove claims by their GUIDs .TP remove\-qualifier|rq [claim\-guid] [qualifiers\-hashes] remove qualifiers from a claim .TP remove\-reference|rr [claim\-guid] [references\-hashes] remove references from a claim .TP revisions|r [entity] output the entity's revisions data .TP search|f [search] search entities .TP set\-alias|sa [entity] [language] [aliases] set the list of aliases of an entity in a given language .TP set\-description|sd [entity] [language] [description] set a description on an entity in a given language .TP set\-label|sl [entity] [language] [label] set a label on an entity in a given language .TP sparql|s [file.rq] run a SPARQL query and get its JSON output .TP summary|u [entity] display basic information on the requested entity .TP update\-claim|uc [guid] [new\-value] update a claim's value .TP update\-qualifier|uq [claim\-guid] [property] [old\-value] [new\-value] update a qualifier from an existing value to a new value .TP help [command] display help for command