KM 784 then TK 1775 at Istanbul
Valletta → Istanbul → Riga
Timetable, Istanbul time
21:45KM 784 from Valletta at the gate
15:45TK 1775 to Riga leaves the gate
18 h apart on the timetable, overnight
TK 1775 leaves 18 h after KM 784 arrives on the timetable: more than half a day, so not a connection we count.