I found a few topics which could be interested:
- How to find the common relationship pattern between two different graphs?
- Find most common paths between nodes having certain labels
- neo4j cypher how to find the most frequent pattern of nodes in a chain of word-nodes
- https://stackoverflow.com/questions/39018475/neo4j-cypher-query-to-get-a-sequence-of-nodes-having-same-sequence-id-in-the-rel
I understand the logic but I wonder if it is optimize for big graphs