What was directed by M0 , edited by a film editor , and written by a actor of M1
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by M0 .
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:film.editor .
?x2 ns:film.actor.film/ns:film.performance.character M1
}