question: What was written by M0 , produced by M1 and M2 , and edited by a costume designer , cinematographer , and writer of M3
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.edited_by ?x1 .
  ?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
  ?x0 ns:film.film.produced_by|ns:film.film.production_companies M2 .
  ?x0 ns:film.film.written_by M0 .
  ?x1 ns:film.cinematographer.film M3 .
  ?x1 ns:film.film_costumer_designer.costume_design_for_film M3 .
  ?x1 ns:film.writer.film M3
  }