Using Wikidata to Generate an Open Library Collection

Search for a command to run...

No comments yet. Be the first to comment.
Notion isn't exactly known as a speed demon... On Android it can take 30+ seconds to share a URL to the Notion app. It's faster to paste the link in the Notion app directly. I know because I do it 10-

When dad’s phone died I was the first one mom called for help. She always apologizes when calling for help. I’m not sure if she’s just being polite or she really doesn’t know the joy it brings me to b

Last year, I learned QGIS through the GIS and Spatial Analysis for Urban Practitioners course by All Things Urban. This year, with free Udemy access via SFPL, I'm looking to expand my skills. First, I dug up my old final project to revisit and share....

TLDR: I made a tool to do this: Wikidata string to QID tool (source). Bulk adding information to Wikidata by hand is a pain. I have an idea for creating a map of MVNOs (mobile virtual network operators) and their ownership (AT&T owns Cricket, Verizon...

Friends often joke about how bad FixBus is but none of the ~10 rides I've been on were particularly unpleasant. In fact, this most recent bus even had 250 MB of free WiFi. I didn’t bother using it but I found it to be an amusingly small amount for a ...

Back in April, I generated this Open Library collection about the Kingdom of Hawai’i.
Here’s a short blog post about how and why.
I lived in Hawai'i for about a year so I have an affinity for the topic. (I also maintain a list of documentaries about Hawai’i)
Since the kingdom no longer exists, there shouldn’t be too many updates needed for the page.
The kingdom was around recently enough that people alive then probably published some books.
I queried Wikidata for all people with:
An Open Library author ID
Their place of birth or country of citizenship set to the Kingdom of Hawai’i
It took a bit of tinkering to get the query to work because of the place of birth can have the country encoded in different ways.
I used that data to generate the collection page. The whole script is here.
The result are... a bit lackluster because there are only a handful of authors and most of their works don’t have covers. However, it’s a good start to see how we can use Wikidata to power more interesting pages on Open Library.
On the plus side, there really wasn't much information readily searchable about authors in the Kingdom of Hawai'i so maybe this will be useful to someone one day.
PS: My pull request to augment the Open Library author pages with information from Wikidata was recently merged so more to come soon!