FR 5873 then FR 4437 at Fiumicino
Gdansk → Rome → Riga
Timetable, Rome time
12:15FR 5873 from Gdansk at the gate
06:00FR 4437 to Riga leaves the gate
17 h 45 apart on the timetable, overnight
FR 4437 leaves 17 h 45 after FR 5873 arrives on the timetable: more than half a day, so not a connection we count.