What screenwriter that M1 was directed by and written by was a star of M2 , M3 , and M4
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.film M2 .
?x0 ns:film.actor.film/ns:film.performance.film M3 .
?x0 ns:film.actor.film/ns:film.performance.film M4 .
?x0 ns:film.director.film M1 .
?x0 ns:film.writer.film M1
}