question: Which Wheels has Built smaller than 1958, a Location of york, and a Railway of nsr?
answer: SELECT wheels FROM table_name_31 WHERE built < 1958 AND location = "york" AND railway = "nsr"
context: CREATE TABLE table_name_31 (wheels VARCHAR, railway VARCHAR, built VARCHAR, location VARCHAR)