What did M0 and M1 write , M2 edit , and M3 's editor , producer , and writer executive produce
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by M2 .
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x0 ns:film.film.written_by M1 .
?x1 ns:film.editor.film M3 .
?x1 ns:film.producer.film|ns:film.production_company.films M3 .
?x1 ns:film.writer.film M3
}