Question: Name the minister for end date of 31 july 2004
SQL: SELECT minister FROM table_name_12 WHERE end_date = "31 july 2004"