question: Which person that M1 , M2 , and M3 were edited and written by was M4 's director and costume designer
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:people.person .
  ?x0 ns:film.director.film M4 .
  ?x0 ns:film.editor.film M1 .
  ?x0 ns:film.editor.film M2 .
  ?x0 ns:film.editor.film M3 .
  ?x0 ns:film.film_costumer_designer.costume_design_for_film M4 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2 .
  ?x0 ns:film.writer.film M3
  }