Wikibase/Creating and deleting data

Overview
This guide is an overview of the available tools for adding data to Wikibase. Each section contains a link to more detailed documentation for the given tool.

I need to import a larger amount of data

 * OpenRefine
 * WikibaseIntegrator

I have my data in another format in a different data store that I want to keep reconciled with Wikibase after import

 * OpenRefine

I want to input various kinds of data manually while ensuring all needed fields are present

 * Cradle

I know Python and want to import data automatically

 * WikibaseIntegrator

I want to structure my data to be imported from a flat text file

 * QuickStatements

QuickStatements
QuickStatements is a tool developed by one of the community's most prolific toolmakers, Magnus Manske, QuickStatements is the original tool for adding data into Wikibase.

QuickStatements accepts two forms of commands for batches: QuickStatements v1 and QuickStatements v2 (CSV).

As an example, we’ll present commands in both v1 and CSV format that perform the same action: creating a new item. For simplicity’s sake we’ll use items and properties from Wikidata, but of course these commands will look different when applied to your own Wikibase.

We’ll provide QuickStatements with:


 * a command to create a new item with a new QID (an item’s unique identifier number)
 * a Label in english (language code: English): “Doctor Worm”
 * a Description in english (language code: English): “1998 song performed by They Might Be Giants”
 * property P2650 ("interested in")
 * item Q128309 (drum kit)

v1
QuickStatements v1 syntax is command-based, with one tab-separated line per command.

Here’s what our example looks like in v1 syntax:

CREATE LAST	Len	Doctor Worm LAST	Den	1998 song performed by They Might Be Giants LAST	P2650	Q128309

CSV
QuickStatements also understands commands in a CSV format. The first line is a header that defines the contents of each column; the lines that follow supply information to be applied to Wikibase according to the contents of each column's header.

Here’s what our example looks like in CSV syntax:

qid,Len,Den,P2650 ,Doctor Worm,1998 song performed by They Might Be Giants,Q128309

Input


Navigate to your QuickStatements interface. For users of Wikibase Suite on Docker, QuickStatements comes preinstalled and is available at http://localhost:8840/. For users of Wikibase Cloud, QuickStatements is available in the left sidebar:

Click “New batch”. Paste your commands into the window and press the corresponding “Import” button for the format you’ve chosen.

On the next screen you’ll see a summary of what QuickStatements plans to do with your commands. If everything looks right, click “Run”.

Result
We've now created an item ("Doctor Worm", QID newly created) and a statement ("Doctor Worm is interested in drum kits"). You’ll see a regular item page much like the one in the screenshot.

For much, much more detailed information on QuickStatements, check out its help page.