question: What prequel of M0 was edited by M2 's writer and editor and written by a actor
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.edited_by ?x1 .
  ?x0 ns:film.film.sequel M0 .
  ?x0 ns:film.film.written_by ?x2 .
  ?x1 ns:film.editor.film M2 .
  ?x1 ns:film.writer.film M2 .
  ?x2 a ns:film.actor
  }