question: Which film whose sequel was written by M3 and was executive produced by M2 was produced by and directed by M1
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.directed_by M1 .
  ?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
  ?x0 ns:film.film.sequel ?x1 .
  ?x1 ns:film.film.executive_produced_by M2 .
  ?x1 ns:film.film.written_by M3
  }