Today's bit of #wikidataMPs work: resurrecting an old query to work out chains of descent for individual MPs whose father, grandfathers, etc were also MPs. The tweaks is that this one counts the intervening generations!
Sample for William Edgcumbe, 4th Earl of Mount Edgcumbe - goes back to his great-9th-grandfather. https://w.wiki/6TpJ
This one doesn't actually tell us anything new (we've known about the Edgcumbe chain for a while and it's probably the longest there is), but pleased to find a different way of doing it without having to enumerate each generation in the code.