What was written by M0 , M1 , M2 , M3 , and M4 and edited by a executive producer , director , and producer of M5
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x0 ns:film.film.written_by M1 .
?x0 ns:film.film.written_by M2 .
?x0 ns:film.film.written_by M3 .
?x0 ns:film.film.written_by M4 .
?x1 ns:film.director.film M5 .
?x1 ns:film.producer.films_executive_produced M5 .
?x1 ns:film.producer.film|ns:film.production_company.films M5
}