question: What writer of M0 and M1 was M2 's writer , producer , editor , and executive producer
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.editor.film M2 .
  ?x0 ns:film.producer.films_executive_produced M2 .
  ?x0 ns:film.producer.film|ns:film.production_company.films M2 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2
  }