User:Mzeinstra/sandbox/QS: Difference between revisions

Added example
(Added example)
Line 83: Line 83:
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 ==
=== Moving data from statement to statement ===
Data edited in OpenRefine can also be exported to the QuickStatements format. (to be described).
It is possible to move data from one field to another using quick statement. For example copying all 'en-gb' labels to 'en' labels:
 
Steps to reproduce
* Write a Sparql query to get all en-gb labels and descriptions of all items and properties.
* Download these as a TSV
* Manipulated the TSV so they become QuickStatements commands. For example use some text-edit magic and Regular Expressions, or manipulate the TSV using a spreadsheet editor.
*
e.g.  
https://beyond-notability.wikibase.cloud/entity/Q1022 Transactions of the Historic Society of Lancashire and Cheshire journal of the Historic Society of Lancashire and Cheshire
(notice this is <link><tab><label><tab><description>)
becomes
Q1022 Len "Transactions of the Historic Society of Lancashire and Cheshire"
Q1022 Den "journal of the Historic Society of Lancashire and Cheshire"
 
* Test the commands and verify that the right labels and descriptions get ingested.
* Run the entire set commands


== More information ==
== More information ==
https://www.wikidata.org/wiki/Help:QuickStatements
https://www.wikidata.org/wiki/Help:QuickStatements
2,187

edits