What was written by M0 , directed by M2 's star , and written by a film 's director
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x2 ns:film.director.film ?x3 .
?x3 a ns:film.film
}