question: Did a writer of M2 's prequel play M0 and play M1
query: SELECT count(*) WHERE {
  ?x0 ns:film.actor.film/ns:film.performance.character M0 .
  ?x0 ns:film.actor.film/ns:film.performance.character M1 .
  ?x0 ns:film.writer.film ?x1 .
  ?x1 ns:film.film.sequel M2
  }