What film director was a actor that M2 and M3 were written by and starred
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.actor .
?x0 a ns:film.director .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:film.writer.film M2 .
?x0 ns:film.writer.film M3
}