FR 574 then BT 684 at Barcelona
Bologna → Barcelona → Riga
Timetable, Barcelona time
16:30FR 574 from Bologna at the gate
14:05BT 684 to Riga leaves the gatealso IB 7848
21 h 35 apart on the timetable, overnight
BT 684 leaves 21 h 35 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.