How to query for only the joint nodes in between

It is not recommended to use “dgraph.type”. The type system is designed to use with Type() Func.