question: Which film was directed by M5 , starred M1 , M2 , M3 , and M4 , and was written by a film director
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.directed_by M5 .
  ?x0 ns:film.film.starring/ns:film.performance.actor M1 .
  ?x0 ns:film.film.starring/ns:film.performance.actor M2 .
  ?x0 ns:film.film.starring/ns:film.performance.actor M3 .
  ?x0 ns:film.film.starring/ns:film.performance.actor M4 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 a ns:film.director
  }