What did a screenwriter that M1 was written by and M2 starred edit and executive produce
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x1 a ns:film.writer .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x1 ns:film.writer.film M1
}