What was written by M0 , edited by a film director , and executive produced by M1 's executive producer
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.executive_produced_by ?x2 .
?x0 ns:film.film.written_by M0 .
?x1 a ns:film.director .
?x2 ns:film.producer.films_executive_produced M1
}