SQ 1460 then BA 5610 at San Francisco
New York JFK → San Francisco → Chicago O'Hare
Timetable, San Francisco time
13:40SQ 1460 from New York JFK at the gate
07:13BA 5610 to Chicago O'Hare leaves the gatealso RJ 7152
17 h 33 apart on the timetable, overnight
BA 5610 leaves 17 h 33 after SQ 1460 arrives on the timetable: more than half a day, so not a connection we count.