What was edited and executive produced by a film producer that M1 was edited by and written by
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x1 a ns:film.producer .
?x1 ns:film.editor.film M1 .
?x1 ns:film.writer.film M1
}