question: What sequel of M5 starred M0 , M1 , M2 , and M3 , starred a screenwriter , and starred M4
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.prequel M5 .
  ?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
  ?x0 ns:film.film.starring/ns:film.performance.actor M0 .
  ?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 .
  ?x1 a ns:film.writer
  }