FR 1142 then FR 478 at Lisbon
Berlin → Lisbon → Edinburgh
Timetable, Lisbon time
13:45FR 1142 from Berlin at the gate
10:05FR 478 to Edinburgh leaves the gate
20 h 20 apart on the timetable, overnight
FR 478 leaves 20 h 20 after FR 1142 arrives on the timetable: more than half a day, so not a connection we count.