Add Structured Data on Commons via API for Asian Art

Structured Data on Commons supports some basic properties – captions and depicts (P180) – but you can add any Wikibase statement via API, P180 or otherwise. This sample code based on Maarten Dammers Github repo.

https://github.com/multichill/toollabs/blob/master/bot/commons/digital_representation_paintings.py

After adding these statements you can search Commons using strings such as:

Example: https://commons.wikimedia.org/w/index.php?search=haswbstatement%3AP6243%3DQ1752990&title=Special%3ASearch&go=Go&ns0=1&ns6=1&ns12=1&ns14=1&ns100=1&ns106=1