What was edited by M2 's director , art director , and producer , directed by M0 , and written by a film producer
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 ns:film.director.film M2 .
?x1 ns:film.film_art_director.films_art_directed M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
?x2 a ns:film.producer
}