What film edited by and written by M1 and M2 did a film director direct and M3 edit
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.edited_by M1 .
?x0 ns:film.film.edited_by M2 .
?x0 ns:film.film.edited_by M3 .
?x0 ns:film.film.written_by M1 .
?x0 ns:film.film.written_by M2 .
?x1 a ns:film.director
}