WB(1)

πŸ“¦
version 15.15.4 Β· 3 versions
, in ubuntu noble, ubuntu questing

✨ NAME ✨

wb β€” your lil command-line bestie for talking to Wikibase πŸ’– like literally everything you need, from the terminal, no clicking required


🌸 SYNOPSIS 🌸

wb [options] [command]

πŸ’… DESCRIPTION πŸ’…

A command-line interface to Wikibase. That's the whole vibe β€” you get to poke at Wikibase from your terminal instead of the browser, and honestly? It's giving main character energy 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -V, --version β€” prints the version number, so you can flex which build you're running ✨
  • -h, --help β€” shows you the help for the command. your safety net, bestie 🧚

πŸ¦‹ Commands πŸ¦‹

  • add-alias|aa [entity] [language] [aliases] β€” adds one or several aliases to the list of aliases of an entity in a given language 🌈
  • add-claim|ac [entity] [property] [value] β€” adds a claim to an entity
  • add-qualifier|aq [claim-guid] [property] [value] β€” adds a qualifier to a claim
  • add-reference|ar [claim-guid] [property] [value] β€” adds a reference to a claim
  • aliases|a [entity] β€” shows the entity's aliases πŸ‘€
  • claims|c [entity] [property] β€” shows the claims of an entity
  • config [key] [value] β€” get and set configuration parameters
  • convert [] β€” converts batches of external ids to Wikidata ids and vice versa
  • create-entity|ce [data] β€” creates a new entity ✨ brand new, fresh out the box
  • data|d [entity] β€” outputs the entity's data
  • delete-entity|de [id] β€” deletes an entity πŸ’€ gone, poof
  • description|desc [entity] β€” shows the entity's description
  • edit-entity|ee [data] β€” edits an existing entity
  • generate-template|gt [entity] β€” outputs the pre-formatted item's data optimized for edition with wd edit-item πŸŽ€
  • hub|h [query] β€” opens a web page using the Hub, see the documentation: https://tools.wmflabs.org/hub/
  • id [title] β€” gets a Wikidata id from a Wikipedia article title
  • label|l [entity] β€” shows the entity's label
  • lang [code] β€” identifies a language code and returns the associated data 🌍
  • lemma [lexeme] β€” shows the lexeme's lemma
  • merge-entity|me [from-id] [to-id] β€” merges an entity into another
  • move-claim|mc [guid|property-claims-id] [target-entity-id] [target-property-id] β€” moves claims from an entity to another and/or from a property to another
  • move-qualifier|mq [guid] [hash] [old-property-id] [new-property-id] β€” moves qualifiers of a claim from one property to another
  • open|o [entity] β€” opens the entity's page on the Wikidata website
  • props|p β€” outputs the list of all Wikidata properties
  • query|q [] β€” generates and runs a simple SPARQL query by passing a statement's subject, property, or object, or a couple of those πŸ”₯
  • remove-alias|ra [entity] [language] [aliases] β€” removes one or several aliases from the list of aliases of an entity in a given language
  • remove-claim|rc [guids] β€” removes claims by their GUIDs
  • remove-qualifier|rq [claim-guid] [qualifiers-hashes] β€” removes qualifiers from a claim
  • remove-reference|rr [claim-guid] [references-hashes] β€” removes references from a claim
  • revisions|r [entity] β€” outputs the entity's revisions data πŸ“œ
  • search|f [search] β€” searches entities πŸ”
  • set-alias|sa [entity] [language] [aliases] β€” sets the list of aliases of an entity in a given language
  • set-description|sd [entity] [language] [description] β€” sets a description on an entity in a given language
  • set-label|sl [entity] [language] [label] β€” sets a label on an entity in a given language
  • sparql|s [file.rq] β€” runs a SPARQL query and gets its JSON output
  • summary|u [entity] β€” shows basic information on the requested entity
  • update-claim|uc [guid] [new-value] β€” updates a claim's value
  • update-qualifier|uq [claim-guid] [property] [old-value] [new-value] β€” updates a qualifier from an existing value to a new value
  • help [command] β€” displays help for command 🫢 when in doubt, ask for help, that's the rule

okay that's literally the whole page, bestie β€” go forth and edit some entities πŸ’…βœ¨

this was wb version 15.15.4, dated November 2023 β€” she's a Scorpio, she's iconic, she's on the WB(1) manual page, and she ate πŸ‘‘

πŸ“¦ where this page comes from