Suppose The history of basketball began with its invention in 1891 in Springfield, Massachusetts by Canadian physical education instructor James Naismith as a less injury-prone sport than football. Naismith was a 30-year-old graduate student when he created the indoor sport to keep his students occupied during the cold winter months.
Can we infer that "James Naismith invented basketball to compete with football."? Yes, no, or maybe?