Question: With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is?
SQL: SELECT "Number" FROM "2-1653640-1" WHERE "Builder" = 'Baldwin Locomotive Works' AND "Works number" = 40864.0;

Question: Builder H. K. Porter, Inc who had a type of 0-4-4 Forney locomotive, has what works number?
SQL: SELECT "Works number" FROM "2-1653640-1" WHERE "Type" = '0-4-4 Forney locomotive' AND "Builder" = 'H. K. Porter, Inc';

Question: Baldwin Locomotive Works, also with works number 40864, is listed as what number?
SQL: SELECT "Number" FROM "2-1653640-1" WHERE "Builder" = 'Baldwin Locomotive Works' AND "Works number" = 40864.0;

Question: Hinkley Locomotive Works is listed as what number as it has a works number smaller than 1563?
SQL: SELECT "Number" FROM "2-1653640-1" WHERE "Works number" < 1563.0 AND "Builder" = 'Hinkley Locomotive Works';