CREATE TABLE table_name_79 (closed VARCHAR, name VARCHAR)

What year did the Caphouse Colliery railway close?
SELECT closed FROM table_name_79 WHERE name = "caphouse colliery"
SELECT "closed" FROM "table_name_79" WHERE "caphouse colliery" = "name"