Thanks to @mnvwvnm and @Moonbase59 for being kind enough to share their time and wisdom. I am awed and grateful.
For details of the dataview queries used in the journal, see the markdown file attached.
Angel
journal_dataview_queries.md (2.2 KB)
Edit: I marked this post as the solution as it contains the final code. The solution was provided by @mnvwvnm and @Moonbase59 in the posts above.