Structured Data in Commons and wikibase software tools

Published: Apr 13, 2023 by Steve Baskauf

In February, I gave a presentation at the Wikibase Working Hour about how my VanderBot tool for uploading data to Wikidata could be used more broadly with any kind of wikibase. One example I gave was using it to upload Structured Data on Commons (SDoC) statements that describe what is depicted in a media file, since SDoC is just another wikibase instance.

I recently created a blog post that briefly describes the issues related to using VanderBot in this way and the steps necessary to do an upload to SDoC. SDoC plays a crucial role in making media items in Wikimedia Commons more discoverable since it helps potential users search based on what the media item depicts. SDoC “depicts” statements can be made manually, but that’s very labor intensive. So there is a lot of interest in developing tools that could make the process faster and easier.

The Wikimedia Commons Query Service (WCQS, an analog of the popular Wikidata Query Service) leverages the fact that wikibase content can be queried using the SPARQL query language. However, the WCQS is more difficult to use programmatically because it requires authentication to access it via HTTP. The blog post also describes some code that I wrote to make it easy to download SDoC data via the WCQS using Python. This is a key piece for projects to add “depicts” statements since it allows one to determine what depicts statements have already been made about a media file, and avoid creating duplicate statements.

Share

Latest Posts

Building an Omeka website on AWS
Building an Omeka website on AWS

I recently finished building an Omeka digital collection for images from the files of Bassett Associates, a landscape architectural firm that operated for over 60 years in Lima, Ohio. This award-winning firm, which disbanded in 2017, was well known for its zoological design work and also did ground-breaking work in incorporating storm water retention as part of landscape site design.

Publication of subjectPart and subjectOrientation controlled vocabularies
Publication of subjectPart and subjectOrientation controlled vocabularies

On 26 April 2023 the Executive Committee of Biodiversity Information Standards (TDWG) ratified two new controlled vocabularies to become a part of the Audiovisual Core standard. This marks the culmination of hundreds of hours of work on my part over many years.

Structured Data in Commons and wikibase software tools
Structured Data in Commons and wikibase software tools

In February, I gave a presentation at the Wikibase Working Hour about how my VanderBot tool for uploading data to Wikidata could be used more broadly with any kind of wikibase. One example I gave was using it to upload Structured Data on Commons (SDoC) statements that describe what is depicted in a media file, since SDoC is just another wikibase instance.