FR 5316 then W6 4402 at Madrid
Rome → Madrid → Sofia
Timetable, Madrid time
08:20FR 5316 from Rome at the gate
20:35W6 4402 to Sofia leaves the gate
12 h 15 apart on the timetable
W6 4402 leaves 12 h 15 after FR 5316 arrives on the timetable: more than half a day, so not a connection we count.