What did a film director edit , M0 and M1 write , and M2 's editor edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.edited_by ?x2 .
?x0 ns:film.film.written_by M0 .
?x0 ns:film.film.written_by M1 .
?x1 ns:film.editor.film M2 .
?x2 a ns:film.director
}