4Y 803 then LH 998 at Frankfurt
Bari → Frankfurt am Main → Amsterdam
Timetable, Frankfurt am Main time
22:204Y 803 from Bari at the gate
16:40LH 998 to Amsterdam leaves the gate
18 h 20 apart on the timetable, overnight
LH 998 leaves 18 h 20 after 4Y 803 arrives on the timetable: more than half a day, so not a connection we count.