2,187
edits
No edit summary |
|||
Line 5: | Line 5: | ||
== Basic working == | == Basic working == | ||
* Go to one of the link in the Wikibase menu on the left to access QuickStatement, or click [https://beyond-notability.wikibase.cloud/tools/quickstatements/#/ here] | * Go to one of the link in the Wikibase menu on the left to access QuickStatement, or click [https://beyond-notability.wikibase.cloud/tools/quickstatements/#/ here]. | ||
* Click on 'Log in' to log in Quick Statements to your account. You can be prompted with an information box asking for authorisation: | * Click on 'Log in' to log in Quick Statements to your account. You can be prompted with an information box asking for authorisation: | ||
* After allowing QuickStatements to make edits on your behalf (by clicking 'Allow') you can use the tool. | * After allowing QuickStatements to make edits on your behalf (by clicking 'Allow') you can use the tool. | ||
* Click on 'New batch' to create a set of new commands. | * Click on 'New batch' to create a set of new commands. | ||
Line 18: | Line 17: | ||
A new statement can be added to an existing item by: | A new statement can be added to an existing item by: | ||
* fist referencing the Q number of the item in question (eg. [[Item: | * fist referencing the Q number of the item in question (eg. [[Item:Q462|Q465]]), Edith Blake | ||
* followed by the P number of the property (eg. gender [[Property: | * followed by the P number of the property (eg. gender [[Property:P3|P3]]) | ||
* and finally the value to be added, | * and finally the value to be added, | ||
** which can reference another item by its Q number (eg. | ** which can reference another item by its Q number (eg. woman [[Item:Q3|Q3]]) | ||
** or a string value, delimited by "" (eg. "2021-02-21" or "Lucius, Michel"). | ** or a string value, delimited by "" (eg. "2021-02-21" or "Lucius, Michel"). | ||
These 3 elements need to be separated by a TAB or "|" characters | These 3 elements need to be separated by a TAB or "|" characters | ||
e.g. adding that Edith Blak is a woman, and adding that her birth day is 1876-12-09 (fictitious date). | |||
Q462|P3|Q3 | |||
Q462 P26 "1876-12-09" | |||
==== QS commands to add qualifiers to statements ==== | ==== QS commands to add qualifiers to statements ==== | ||
When adding statements using QS, corresponding qualifiers can be added by appending the statement by the P number of the qualifier | When adding statements using QS, corresponding qualifiers can be added by appending the statement by the P number of the qualifier, For example, adding a street address to a "resided at" statement. | ||
Q462|P29|Q620|P31|"King's House, Jamaica (British English)" | |||
Q462 P29 Q620 P31 "King's House, Jamaica (British English)" | |||
==== QS commands to add references to statements ==== | ==== QS commands to add references to statements ==== | ||
References can be added in the same way as qualifiers to statements, this by adding the property (P) number, but replacing the P by an S (eg. | References can be added in the same way as qualifiers to statements, this by adding the property (P) number, but replacing the P by an S (eg. "specific reference information (free text)"[[Property:P88|P88]] becomes S88). | ||
Q462|P29|Q620|S88|"Annual Report of the Board of Regents of the Smithsonian Institution (British English)" | |||
Q462 P29 Q620 S88 "Annual Report of the Board of Regents of the Smithsonian Institution (British English)" | |||
==== QS commands to remove statements ==== | ==== QS commands to remove statements ==== | ||
QS can also be used to remove statements from your Wikibase, by adding a "-" in front of your command. For example: | QS can also be used to remove statements from your Wikibase, by adding a "-" in front of your command. For example removing the gender of a person: | ||
- | -Q462|P3|Q3 | ||
- | Or remove all Wikidata links: | ||
-Q462|P117 | |||
Please note that the "-" command always removes the entire statement, so elements that you want to conserve need to be created again after a removal. This includes any qualifiers or references associated to the statement, thus they do not need to be explicitly mentioned in the removal command. | Please note that the "-" command always removes the entire statement, so elements that you want to conserve need to be created again after a removal. This includes any qualifiers or references associated to the statement, thus they do not need to be explicitly mentioned in the removal command. | ||
'''Notes:''' | '''Notes:''' | ||
* If an identical statement already | * If an identical statement already exists (exact match of property and value to the QS statement), the existing statement will not be changed and no new statement added. | ||
* However if the new statement includes new properties or references, these will be added to the matching existing statement. | * However if the new statement includes new properties or references, these will be added to the matching existing statement. | ||
* Several qualifiers can follow | * Several qualifiers can follow the same statement in QS. | ||
* Within one batch only TAB or "|" characters should be used, mixing both does not work. | * Within one batch only TAB or "|" characters should be used, mixing both does not work. | ||
* Within one batch multiple statements can be included, each however in a new line. | * Within one batch multiple statements can be included, each however in a new line. | ||
Line 59: | Line 60: | ||
==== QS commands to create new items ==== | ==== QS commands to create new items ==== | ||
It is also possible to create entirely new items using QS, this by using "CREATE", which used by itself, will create a new item without any statements. To add statements to this newly created item, "LAST" is used. Which replaces the Q number in a QS statement and will simply add statements to the last created item. Note that ,multiple "LAST" can follow a "CREATE" all adding statements to that newly create item. | It is also possible to create entirely new items using QS, this by using "CREATE", which used by itself, will create a new item without any statements. To add statements to this newly created item, "LAST" is used. Which replaces the Q number in a QS statement and will simply add statements to the last created item. Note that, multiple "LAST" can follow a "CREATE" all adding statements to that newly create item. | ||
The example below will create two new persons ( | The example below will create two new persons (Gender [[Property:P3|P3]] = Woman [[Item:Q3|Q3]]). | ||
CREATE | CREATE | ||
LAST| | LAST|P3|Q3 | ||
CREATE | CREATE | ||
LAST | LAST P3 Q3 | ||
=== Executing QuickStatements commands via the batch interface === | === Executing QuickStatements commands via the batch interface === | ||
After opening a new QS batch, statements can be typed as needed directly into the box (typically using "|"), or copy/pasted from a spreadsheet (typically using the TAB sign). | After opening a new QS batch, statements can be typed as needed directly into the box (typically using "|"), or copy/pasted from a spreadsheet (typically using the TAB sign). | ||
Line 83: | Line 81: | ||
* Button to your user page | * Button to your user page | ||
Also, you will not be able to store batches for working on them later. | Also, you will *not* be able to store batches for working on them later. | ||
== Open Refine == | == Open Refine == |
edits