question: What actor that M5 and M6 were directed by and M1 , M2 , and M3 were written by was employed by M4
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.actor .
  ?x0 ns:film.director.film M5 .
  ?x0 ns:film.director.film M6 .
  ?x0 ns:film.writer.film M1 .
  ?x0 ns:film.writer.film M2 .
  ?x0 ns:film.writer.film M3 .
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M4
  }