For some data in this sample schema, I want to find all possible "trip lineages". For example: trips 2-4 form a lineage when the passenger of the previous trip i