HV 5952 then KL 931 at Schiphol
Lisbon → Amsterdam → Edinburgh
Timetable, Amsterdam time
23:35HV 5952 from Lisbon at the gate
15:40KL 931 to Edinburgh leaves the gate
16 h 05 apart on the timetable, overnight
KL 931 leaves 16 h 05 after HV 5952 arrives on the timetable: more than half a day, so not a connection we count.