internetarchive / internetarchive/openlibrary
Copy author identifiers on Wikidata missing from Open Library
- Dominant language
- Python
- Stars
- 6.7k
- Forks
- 2k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 138
Description
### Feature Request
When a Wikidata record has an Open Library Author ID, we can copy the identifiers from Wikidata onto Open Library. This will make author resolution more robust, since there will be more identifiers that can be used for deduping.
If any case appears as out of the ordinary, no edits should be made. E.g. The wikidata record has multiple Open Library IDs, or the record has multiple identifier values for a given identifier property, which Open Library does not support.
This was an extension that came up during the wikisource import ( #9671 ), which uses identifiers from Wikidata to help resolve authors during import.
### Proposal
Create this in the openlibrary-wikidata-bot repo, where the other similar job of synchronizing open library edition identifiers both ways between wikidata and open library using ISBNs exists.
### Breakdown
### Related files
Refer to [this map of common Endpoints](https://github.com/internetarchive/openlibrary/wiki/Endpoints):
*
### Requirements Checklist
Checklist of requirements that need to be satisfied in order for this issue to be closed:
* [ ]
### Stakeholders
@hornc
### Instructions for Contributors
* **Before** [creating a new branch](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#making-changes-and-creating-a-pull-request) or pushing up changes to a PR, please first [run these commands](https://github.com/internetarchive/openlibrary/wiki/Git-Cheat-Sheet#working-on-your-branch) to ensure your repository is up to date, as the pre-commit bot may add commits to your PRs upstream.
Contributor guide
Research direction
Start by locating the openlibrary-wikidata-bot repository and its existing job that synchronizes Open Library edition identifiers with Wikidata using ISBNs. Review the common Endpoints map and compare the existing identifier-handling behavior with the proposal. Done means author identifiers are copied only for unambiguous records, while records with multiple IDs or unsupported multiple values are left unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100