@zigmhount curious, whether you were able to get desired query output from Logseq ?
I have a similar idea in mind which I’m having difficulties implementing in Logseq (in Obsidian as well, for that matter – I moved to Logseq because at first glance it looked promising and able to overcome Obsidian limitations, but now I’m getting slowly disillusioned…).