Deeply nested quireis by edges

Hallo, is it possible to make deeply nested queries by edges in dgraph. i don’t so examples in wiki?

This has some examples of deeply nested queries:
https://wiki.dgraph.io/Legacy_Test_Queries