right now I’m trying :block/tags "event" to retrieve pages/blocks tagged “event”, but it doesn’t seem to work
does such a query for blocks/pages tagged with a tag also work with parent tags? (i.e. if I have a page/block tagged invention which extends event, would it be retrieved when querying for blocks tagged event?)
while searching online I’ve found another kind of syntax that goes roughly like this (see below); is this some AI hallucination or some valid alternative? (it doesn’t seem to work)
I found some videos on YouTube which cover something called Query Builder, which avoids having to code simple queries at all. There is also a video about advanced queries I haven’t watched yet.
I get the feeling he says the opposite of what he means sometimes, so watch what he does very closely.
What really makes it difficult (getting queries working) is that there are two conditions that must both be satisfied for success:
1. The code for the query must be correct.
2. The data you are looking for must be in the index database to begin with.
3. Many sources say that the properties must be in the first block on the page. Actually, that is not so; they must be before the first block on the page. Then re-index.
(Maybe because I am using the old Logseq-MD, not the database version.)
Test with a minimal unfiltered advanced query, if you don’t have too much content yet.