KM 784 then TK 1031 at Istanbul
Valletta → Istanbul → Sofia
Timetable, Istanbul time
21:45KM 784 from Valletta at the gate
14:55TK 1031 to Sofia leaves the gate
17 h 10 apart on the timetable, overnight
TK 1031 leaves 17 h 10 after KM 784 arrives on the timetable: more than half a day, so not a connection we count.