I have group node structure where a node inherits permissions from previous node
Manager ---Implies---> PowerUser ---Implies---> User
But the structure is not clean and sometimes i have 2 edges from manager to poweruser and again to user which is already implied by poweruser
Manager ---Implies---> PowerUser ---Implies---> User
---Implies----------------------------> User
How can i query nodes to dectect that i already have a implicit relation and that i don't need the extra explicit relation