question: Which film whose director , editor , and costume designer wrote M2 and directed M3 and M4 was written by M1
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.costume_design_by ?x1 .
  ?x0 ns:film.film.directed_by ?x1 .
  ?x0 ns:film.film.edited_by ?x1 .
  ?x0 ns:film.film.written_by M1 .
  ?x1 ns:film.director.film M3 .
  ?x1 ns:film.director.film M4 .
  ?x1 ns:film.writer.film M2
  }