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_16 (rank INTEGER, director VARCHAR)
  ### Question:
  WHAT RANK DOES LEONARD NIMOY HAVE?
  ### Answer:
  SELECT AVG(rank) FROM table_name_16 WHERE director = "leonard nimoy"