Is there an example of how to get the WD items of all members of a WP category recursively? Other tools maybe?
Topic on Talk:Wikidata Query Service/User Manual/MWAPI
You can do it with PetScan if you need just a list of wikidata id:s
1.) Select target categories and wiki in "Categories" tab 2.) Set "use wiki" value to "Wikidata" in "Other sources" tab so it will fetch the wikidata ids 3.) Select preferred format in "Output" tab
Example query - https://petscan.wmflabs.org/?psid=17439495