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