question: What was executive produced by M0 , produced by M1 , and written by M2 's prequel 's writer
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 ns:film.film.executive_produced_by M0 .
  ?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
  ?x0 ns:film.film.written_by ?x1 .
  ?x1 ns:film.writer.film ?x2 .
  ?x2 ns:film.film.sequel M2
  }