question: What writer , executive producer , and director of M0 was employed by M1 , M2 , and M3
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.director.film M0 .
  ?x0 ns:film.producer.films_executive_produced M0 .
  ?x0 ns:film.writer.film M0 .
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M1 .
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M2 .
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M3
  }