I would like to delete duplicate relationships between two nodes with Cypher where multiple relationships exist between the nodes. As an example, given:
a->r1->b
a->r2->b
a->r2->b
a->r3->b
I expect:
a->r1->b
a->r2->b
a->r3->b
I already looked into the similar questions but they assume all the relationships between two nodes are the same so you can simply keep one and delete the rest, which doesn't work in my case.