The picture shown below describes a section from a family tree.
The nodes N and O have one child R.
N has Mother J.
O has Mother K.
O and K both have D as Mother.
I'm trying to find the shortestPath between the nodes N and O, but I want to exclude th...
Has anyone calculated mean kinship in a pedigree using cypher?
If you have, would you care to share the steps and queries you used!
I have a standard pedigree, with founders, consisting of approximately 500 nodes and 1000 relations.
Thank you for your reply @koji!
I should have mentioned that the goal is to calculate the shortest path between all nodes in the (full) graph with one query. Something like this:
Match p=shortestPath((d1:Person)-[*]-(d2:Person))
Return d1.id, d2.id, ...