UA 3915 then AA 6227 at O'Hare
San Francisco → Chicago → Sioux Falls
Timetable, Chicago time
04:29UA 3915 from San Francisco at the gate
22:38AA 6227 to Sioux Falls leaves the gate
18 h 09 apart on the timetable
AA 6227 leaves 18 h 09 after UA 3915 arrives on the timetable: more than half a day, so not a connection we count.