How to find nodes without dgraph.type?

but my nodes don’t have any predicates. They are basically just an empty node with uid only. There are other nodes that have them as children and I need to delete them globally to resolve grpahql errors with missing required fields when it links to these empty nodes.