Which screenwriter was a film director that M2 was written by and M3 was executive produced by
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.director .
?x0 a ns:film.writer .
?x0 ns:film.producer.films_executive_produced M3 .
?x0 ns:film.writer.film M2
}