VanderBot 1.9 supports somevalue

Published: Jan 17, 2022 by Steve Baskauf

One of the issues I discussed at my recent talk in the Art in Context: Identity, Ethics, and Insight symposium was the problem of representing anonymous artists in knowledge graphs. The solution that the Wikidata community has accepted is to associate a P170 (creator) claim with a somevalue snak having a P3831 (object has role) qualifier value of Q4233718 (anonymous). In RDF, this corresponds to a blank node and Wikidata claims using somevalue are represented by blank nodes in the Query Service.

This solution was a bit annoying, because the VanderBot script that I use to create items in Wikidata from data in CSV files could not generate somevalue claims. Since anonymous artists are important for two Vanderbilt Libraries Wikidata projects that I’m working on (WikiProject Vanderbilt Fine Arts Gallery and WikiProject Art in the Christian Tradition (ACT)), I spent some time last week updating the VanderBot Python script to be able to create somevalue claims. I also modified its companion script (used to download existing data) to record somevalue information in the same format used by VanderBot.

Using the new script, last Friday I was able to create about 100 new artwork items for the ACT project, many of which had anonymous artists.

For details of how to use the new feature, see the VanderBot user information page.

Share

Latest Posts

Uploading a thousand Gallery images to Commons
Uploading a thousand Gallery images to Commons

I recently finished work on CommonsTool, a Python script to upload artwork images to Wikimedia Commons. In addition to uploading the image files, it creates Structured Data on Commons claims to provide machine-readable metadata about the images and to link them to Wikidata items that describe the underlying artwork objects. It also uploads the images to the Vanderbilt Libraries’ International Image Interoperability Framework (IIIF) server and generates IIIF manifests to display those images in a IIIF viewer.

Making SPARQL queries to Wikidata using Python
Making SPARQL queries to Wikidata using Python

I recently solved several annoying problems that I’d been having when using SPARQL queries to acquire data from Wikidata. My success inspired me to write a comprehensive Python class that will reliably carry out every kind of SPARQL Query and Update, with defaults to easily make SELECT queries to Wikidata.

Birding in Puerto Rico
Birding in Puerto Rico

After recently making a trip to Puerto Rico that was primarily focused on bird watching, I decided to write a blog post to pass on some of what we learned. Much of the information that we got from books or the Internet was outdated or incorrect, so hopefully this post will help others to have an easier time finding good places to bird there.