I upgraded to latest version 0.7.0
and queries started working, the problem was probably with the version of logseq I did not mention here.
Also this
@starryveshch could you explain how does the query is processed? I understand that ?p, ?b and ?r are variables, but even after reading some tutorial, I am not able to understand the logic of queries. Can you describe step by step what each line do, where it stores and how is it passed to the next clause? What if I want to filter based on multiple tags not just MYTAG but also MYTAG2? Thank you.