text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_42 (year VARCHAR, status VARCHAR, film VARCHAR)
  ### Question:
  What year was The Last Samurai nominated?
  ### Answer:
  SELECT year FROM table_name_42 WHERE status = "nominated" AND film = "the last samurai"