R5 271 then TK 1775 at Istanbul
Amman → Istanbul → Riga
Timetable, Istanbul time
19:15R5 271 from Amman at the gate
15:45TK 1775 to Riga leaves the gate
20 h 30 apart on the timetable, overnight
TK 1775 leaves 20 h 30 after R5 271 arrives on the timetable: more than half a day, so not a connection we count.