question: What was executive produced by a person , written by a film producer , and directed by M0
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.directed_by M0 .
  ?x0 ns:film.film.executive_produced_by ?x1 .
  ?x0 ns:film.film.written_by ?x2 .
  ?x1 a ns:people.person .
  ?x2 a ns:film.producer
  }