FR 775 then FR 2098 at Barcelona
Torino → Barcelona → Bologna
Timetable, Barcelona time
20:00FR 775 from Torino at the gate
15:35FR 2098 to Bologna leaves the gate
19 h 35 apart on the timetable, overnight
FR 2098 leaves 19 h 35 after FR 775 arrives on the timetable: more than half a day, so not a connection we count.