FR 5219 then FR 133 at Barcelona
Bologna → Barcelona → Berlin
Timetable, Barcelona time
14:30FR 5219 from Bologna at the gate
11:50FR 133 to Berlin leaves the gate
21 h 20 apart on the timetable, overnight
FR 133 leaves 21 h 20 after FR 5219 arrives on the timetable: more than half a day, so not a connection we count.