Skip to content

Commit ed854c8

Browse files
Update ds-to-wikidata.md
1 parent df47a85 commit ed854c8

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,35 @@
11
# Instructions for Using OpenRefine to Upload DS Data to Create Wikidata Items for Manuscripts
22

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.
44

55
## Preparing and Formatting DS Data for Reuse in Wikidata
66

77
1. Load input dataset into OpenRefine
88
2. Clean and prepare columns for materials, centuries, places, and DS Wikibase item IDs (QIDs) by removing URI formatting, leaving DS QIDs: [JSON]
99
3. Split Wikidata-based columns from DS data (languages, scribes, artists, authors, owners) into separate columns: [JSON]
1010
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]
1212
- dsahfkjhfds
1313
- dkjhdkjhf
1414
- fdkjhfkjhfds
1515
5. Match DS QID values for materials, centuries, places, and scripts to Wikidata QIDs using data dictionaries: [JSON]
1616
6. Run reconciliation to format dataset to create new Wikidata items: [JSON]
1717
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
1919
9. Review schema issues, resolve any missing or extra columns, and correct any invalid statement values
2020
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
2121

2222
## Matching Title Information to Wikidata Items
2323

2424
11. Run reconciliation process on title information: [JSON]
2525
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
2727

2828
## Creating Wikidata Items for DS-Represented Manuscripts by Making Automated Edits
2929

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`
3234

35+
[century-dictionary]: https://github.com/DigitalScriptorium/ds-data/blob/main/ds-to-wikidata/crosswalks/entities/centuries-ds-aat-wikidata.csv

0 commit comments

Comments
 (0)