What did a film producer write , M0 write , and a screenwriter direct
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 a ns:film.writer .
?x2 a ns:film.producer
}