What was directed by a film producer , edited by a person , and written by M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by ?x2 .
?x0 ns:film.film.written_by M0 .
?x1 a ns:film.producer .
?x2 a ns:people.person
}