Which film edited by a person did M1 write and a cinematographer and editor of M3 direct
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by ?x2 .
?x0 ns:film.film.written_by M1 .
?x1 ns:film.cinematographer.film M3 .
?x1 ns:film.editor.film M3 .
?x2 a ns:people.person
}