KL 588 then U2 7837 at Schiphol
Lagos → Amsterdam → Edinburgh
Timetable, Amsterdam time
05:50KL 588 from Lagos at the gate
18:20U2 7837 to Edinburgh leaves the gate
12 h 30 apart on the timetable
U2 7837 leaves 12 h 30 after KL 588 arrives on the timetable: more than half a day, so not a connection we count.