What did M1 direct , M0 write , and a person edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x1 a ns:people.person
}