What was executive produced by M0 , edited by M2 's prequel 's producer , and written by M1
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.executive_produced_by M0 .
?x0 ns:film.film.written_by M1 .
?x1 ns:film.producer.film|ns:film.production_company.films ?x2 .
?x2 ns:film.film.sequel M2
}