Pywikibot: A Web Shell (PAWS) https://www.mediawiki.org/wiki/Manual:Pywikibot/PAWS

Cheat Sheet & Examples (@WikidataFacts) https://www.wikidata.org/wiki/User:TweetsFactsAndQueries

Creating SPRQLish WDQS queries https://www.wikidata.org/wiki/User:TweetsFactsAndQueries/A_Guide_To_WDQS

Instances: classes, subclasses, and part-of relations https://www.wikidata.org/wiki/Help:Basic_membership_properties