Hi, I have tags like EMNLP2019, EMNLP2020 etc. And I would like to see all such tags that start with EMNLP.
What would be the query? Sorry I am still new to the query.
Thanks!
Hi, I have tags like EMNLP2019, EMNLP2020 etc. And I would like to see all such tags that start with EMNLP.
What would be the query? Sorry I am still new to the query.
Thanks!
Have a look here:
You can replace starts-with with includes or ends-with.
#+BEGIN_QUERY
{:query [:find (pull ?b [*])
:in $ ?s
:where
[?b :block/original-name ?n]
[(clojure.string/starts-with? ?n ?s)]]
:inputs [ "task.myName." ]
}
#+END_QUERY
If some tags are date-fotmat tags, like #[[Mar 6th, 2023]], #[[Mar 8th, 2023]], etc.,
how to query blocks by their date tags whose name including word “Mar” and “2023” ?