What did M2 's writer write , a screenwriter executive produce , and M0 edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by M0 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:film.writer .
?x2 ns:film.writer.film M2
}