What was written by a film editor , edited by M0 , and written by a film director
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by M0 .
?x0 ns:film.film.written_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:film.editor .
?x2 a ns:film.director
}