如果属性在特定集合(或列表)中,我想在数据日志中的 where 子句中进行测试。例如我想测试是否:tag-type/code
在["urgent" "todo"]
. 我可以做这个:
(or
[?tag-type :tag-type/code "urgent"]
[?tag-type :tag-type/code "todo"]
)
但我想成为一个参数列表。说?tag-names
所以,我想做一些这样的事情:
[?tag-type :tag-type/code *in* [?tag-names])]
那可能吗 ?