What did a screenwriter that M1 starred executive produce and write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:film.writer .
?x1 ns:film.actor.film/ns:film.performance.film M1
}