FR 5817 then W6 1700 at Fiumicino
Bari → Rome → Gdansk
Timetable, Rome time
07:40FR 5817 from Bari at the gate
22:10W6 1700 to Gdansk leaves the gate
14 h 30 apart on the timetable
W6 1700 leaves 14 h 30 after FR 5817 arrives on the timetable: more than half a day, so not a connection we count.