UA 1147 then GG 9723 at O'Hare
San Francisco → Chicago → Tokyo Narita
Timetable, Chicago time
21:45UA 1147 from San Francisco at the gate
10:30GG 9723 to Tokyo Narita leaves the gate
12 h 45 apart on the timetable, overnight
GG 9723 leaves 12 h 45 after UA 1147 arrives on the timetable: more than half a day, so not a connection we count.