What was executive produced by M0 and edited by a screenwriter that wrote M2
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.executive_produced_by M0 .
?x1 a ns:film.writer .
?x1 ns:film.writer.film M2
}