if you don't mind scripting a bit, logseq can handle that. I achieved it using tags and a custom query, but I imagine there are more roads leading to that objective.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments