I am doing some tests with the fraud sandbox of Neo4j, and starting with the following query:
MATCH (n1:Transfer) -[:NEXT*2..10]- (n2: Transfer) RETURN * LIMIT 20
I would like to figure out which of these chains of Transfer nodes are connected to the same bank, i.e. filter the result of the previous query, showing only those subset that are connected to the same Bank node (each chain can connect to a different bank).
This is the result of the query above:
Can anyone help me?
Thank you very much in advance