Advanced Query that pulls all reference AND recursive name spaces

NICE!
Linking it :smiley:

Also I’ll grab this query and I’ll fiddle around and make the alias work (hopefully, that’s the plan at least)

One thing I do notice right away.

(or [?b :block/refs ?p]
             [?b :block/path-refs ?p])

That or is redundant. :block/refs result is contained in :block/path-refs. So :block/refs is not needed.

Also you define the marker values twice, which is redundant as well.
[task ?b #{"TODO" "LATER" "NOW" "DOING"}] isn’t necessary as you have [(contains? #{"NOW" "LATER" "TODO" "DOING"} ?marker)] already.