Distinct(Project(OrderBy(Graph(, BGP( ?polyA . ?conditions ?TheConditions . ?polyA ?conditions . ?polyA ?locus)), (?TheConditions)), {?locus, ?polyA, ?TheConditions}))