question: Which writer of M0 and M1 was M2 's director , cinematographer , producer , star , costume designer , and writer
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.film M2 .
  ?x0 ns:film.cinematographer.film M2 .
  ?x0 ns:film.director.film M2 .
  ?x0 ns:film.film_costumer_designer.costume_design_for_film 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
  }