This tool can add statements (with optional qualifiers and sources) to Wikidata items.
How to use
You can specify the statements to add by typing/pasting one row per statement into the above text area.
Different parts of the statement are separated by a TAB character.
As TAB is hard to type into a text area, you may want to use a text editor, and paste the statements into the text area later.
Hint: You can also use a spreadsheet software such as Excel; Copying/pasting the cells should automatically insert TABs.
Each statement must consist of an item, a property, and a value.
A value can be another item, a string, a time, a location, or a quantity,
depending on the property type. A basic example:
Q4115189 TAB P31 TAB Q1
For the (initial) item of a statement, you can use an article name instead, if you fill in a xxwiki value in the input box above the text area; the correct item number (if available) will be retrieved automatically.
- Items are always in the form Qxx, properties in the form Pxx.
- Strings have to be "in double quotes".
For a monolingual string, prefix it with the language and a colon, e.g. en:"Some text"
- Time values must have the +1967-01-17T00:00:00Z/11, with the /11 designating the precision.
A precision of 11=day, 10=month, 9=year; default is 9.
- Location in the form of @LAT/LON, with LAT and LON as decimal numbers.
- Quantity in the form of amount[lower,upper]Uxx, with amount, lower and upper being a rational number and Uxx being the item number of an unit.
unit is optional.
lower, upper are optional. lower and upper must be either both present or not present at all. When present, they are enclosed in square brackets and separated by ,
amount, lower and upper must use . as decimal separator, must not use any thousands separator and may be prefixed by + or -.
Don't leave any space in the quantity.
10, 10U11573, -10[-12.5,-7.5], 0[-5,5]U11573 are all valid quantities.
Each statement "triplet" can be followed by an unlimited number of "qualifiers pairs" of property TAB value.
Each statement can be followed by an unlimited number of "source pairs" of source property TAB value.
The source property is identical to the "normal" property, except it uses the form Sxx instead of Pxx.
Note: Existing statements with an exact match (property and value) will not be added again.
A valid example statement would thus be:
Q4115189 TAB P31 TAB Q1
TAB P580 TAB +1840-01-01T00:00:00Z/09
TAB S143 TAB Q48183
("Sandbox item" is an "instance of" "universe", qualifier "start date"=1840, sourced as "imported from" "German Wikipedia")
Item creation and labels/alias/description/sitelink
To add a label in a specific language to an item, use "Lxx" instead of the property, with "xx" as the language code.
To add an alias in a specific language to an item, use "Axx" instead of the property, with "xx" as the language code.
To add a description in a specific language to an item, use "Dxx" instead of the property, with "xx" as the language code.
To add a sitelink to a specific page on a site to an item, use "Sxxx" instead of the property, with "xxx" as the site (e.g. enwiki).
For example, Lfr would add a label in French.
These values must be strings in double quotes.
You can also create new items by inserting a line consisting only of the word "CREATE".
PLEASE ENSURE YOU DO NOT CREATE DUPLICATE ITEMS!
To add statements to the newly created item, use the word "LAST" instead of the Q number; the statement will be added to the last created item.
An example for creating a new item and setting a label:
LAST TAB Lfr TAB "Le croissant magnifique!"
You can merge two items. The first item will be merged and (if successful) redirected into the second item.
MERGE TAB Qsource TAB Qdestination