Hi @pandalive, we appreciate your patience.
As for your first query regarding bool values. One way that I and @ahsan could figure out is to use math()
.
EDITED:
{
data(func: uid(0x3)) {
name
cnt as count(follows) @filter(uid(0x4))
result: math( cnt == 1 )
}
}
Meanwhile, you can look at the RFC around the improvement.
Also, you can look at the discussion related to custom variable blocks.