question: What film whose prequel was written by and starred M2 was M0 's prequel
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.prequel ?x1 .
  ?x0 ns:film.film.sequel M0 .
  ?x1 ns:film.film.starring/ns:film.performance.actor M2 .
  ?x1 ns:film.film.written_by M2
  }