If you wanna performance, you should use multiple blocks. Cuz it will do concurrent requests.
e.g:
{
prop as var(func: has(prop))
edge as var(func: has(edge))
result (func: uid(prop,edge)) {
uid
prop
edge { uid }
}
}
BTW, you have used “graphql” in the tags. This topic isn’t about GraphQL.