Uh-huh, another spinning-on-a-stick plate of mine that's starting to wobble a bit and needs an energy boost.[...]
OK, no problem - although I am sure that my scripts are (much) less elegant than yours

. I'll play around a bit myself (I have already saved the blockchain in the form of JSON files to understand its structure better, maybe it can be quickly converted into OWL/RDF with the CCY ontology) and otherwise I'll wait for your solution to be finished. I could even add "has_inscription_tx" for myself, as a workaround.
How do I unlock the wallet for minting
Go to "Help -> Debug window" and select "Console".
Type in
walletpassphrase YOUR_PASSPHRASE 9999999
(the 9999999 is arbitrary, it can be any high number, it's the number of seconds to unlock. You later can lock it again restarting the client.)
See also:
http://slimco.in/proof-of-stake-guide/ and
http://slimco.in/proof-of-burn-guide/