What was written by M0 , edited by M2 's producer and writer , and executive produced by a film editor
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.executive_produced_by ?x2 .
?x0 ns:film.film.written_by M0 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
?x1 ns:film.writer.film M2 .
?x2 a ns:film.editor
}