I am trying to figure out what’s up with this query:
#+BEGIN_QUERY
{:title “tasks”
:query [:find (pull ?b [*])
:in $
:where
[task ?b “LATER”]
[page-ref ?b “task ”]
(not [page-ref ?b “ nexos”])
[?b :block/properties ?props]
[(get-else $ (get ?props :atom) :status “parked ︎”) ?status]
[(= “in progress ︎” ?status)]
]}
#+END_QUERY
Essentially, I have some block property structures that I attach to specific blocks. “Atoms” represent things from Tiago Forte’s PARA method. For example, you might have a Project, and Project atoms have a status property. “Tasks”, which are just standard Logseq tasks, are linked to Projects via their “atom” property.
So this query is looking at all of my tasks, and trying to filter to it to those related to Projects that are currently “in progress ︎”.
While there are currently dozens of these in my graph, the query returns nothing.
Any help would be greatly appreciated!