|
1 | 1 | # Instructions for Using OpenRefine to Upload DS Data to Create Wikidata Items for Manuscripts |
2 | 2 |
|
3 | | -TBD. |
| 3 | +The following instructions are used to automate uploads of manuscript metadata from DS records in order to represent DS member collections in Wikidata. |
4 | 4 |
|
5 | 5 | ## Preparing and Formatting DS Data for Reuse in Wikidata |
6 | 6 |
|
7 | 7 | 1. Load input dataset into OpenRefine |
8 | 8 | 2. Clean and prepare columns for materials, centuries, places, and DS Wikibase item IDs (QIDs) by removing URI formatting, leaving DS QIDs: [JSON] |
9 | 9 | 3. Split Wikidata-based columns from DS data (languages, scribes, artists, authors, owners) into separate columns: [JSON] |
10 | 10 | 4. Load data dictionaries used for matching DS QIDs to Wikidata QIDS into OpenRefine; delete any previous versions from OpenRefine projects |
11 | | - - fdljfdlj |
| 11 | + - [centuries][century-dictionary] |
12 | 12 | - dsahfkjhfds |
13 | 13 | - dkjhdkjhf |
14 | 14 | - fdkjhfkjhfds |
15 | 15 | 5. Match DS QID values for materials, centuries, places, and scripts to Wikidata QIDs using data dictionaries: [JSON] |
16 | 16 | 6. Run reconciliation to format dataset to create new Wikidata items: [JSON] |
17 | 17 | 7. Download the DS to Wikidata OpenRefine schema template to local machine: [Schema JSON file] |
18 | | -8. Apply the DS to Wikidata schema template to the project by selecting `Extensions Wikibase` in the top right menu options, then `Manage schemas` and `Import new schema` to select the downloaded file |
| 18 | +8. Apply the DS to Wikidata schema template to the project by selecting `Extensions -> Wikibase` in the top right menu options, then `Manage schemas` and `Import new schema` to select the downloaded file |
19 | 19 | 9. Review schema issues, resolve any missing or extra columns, and correct any invalid statement values |
20 | 20 | 10. For every `valueWikidata` column present, reconcile to Wikidata by clicking on the down arrow, selecting `Reconcile -> Use values as identifiers` and choose the `Wikidata reconci.link` option |
21 | 21 |
|
22 | 22 | ## Matching Title Information to Wikidata Items |
23 | 23 |
|
24 | 24 | 11. Run reconciliation process on title information: [JSON] |
25 | 25 | 12. Review and make matches for title/work in Wikidata based on reconciliation information |
26 | | -13. Edit schema to include title/work (`titleWikidata`) and matching author information (`authorWikidata`) as qualifier(s) for `exemplar of` property statements |
| 26 | +13. If necessary, split columns and edit schema to include title/work (`titleWikidata`) and matching author information (`authorWikidata`) as qualifier(s) for `exemplar of` property statements |
27 | 27 |
|
28 | 28 | ## Creating Wikidata Items for DS-Represented Manuscripts by Making Automated Edits |
29 | 29 |
|
30 | | -14. Review and resolve any additional schema issues prior to Wikibase edit |
31 | | -15. |
| 30 | +14. Review and resolve any additional schema issues prior to Wikibase edit/upload |
| 31 | +15. Start process to push uploads to Wikidata by selecting `Extensions -> Wikibase` in the top right menu, then `Upload edits to Wikibase` |
| 32 | +16. In the `summary` field, enter the input dataset filename formatted `YYYYMMDD-institutionCode-ds-wikidata` (e.g., `20250807-bec-ds-wikidata`) |
| 33 | +17. Select `Upload edits` |
32 | 34 |
|
| 35 | +[century-dictionary]: https://github.com/DigitalScriptorium/ds-data/blob/main/ds-to-wikidata/crosswalks/entities/centuries-ds-aat-wikidata.csv |
0 commit comments