Query to return empty result

It is running okay on my side.

BTW, “friend” is an edge. You are setting it as friend: string @index(term) . This is wrong. Should be <friend>: [uid] .

Please, do our Tour before anything tour.dgraph.io

Cheers.