What did M0 and M1 write and a director , editor , and producer of M2 write
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.written_by ?x1 .
?x0 ns:film.film.written_by M0 .
?x0 ns:film.film.written_by M1 .
?x1 ns:film.director.film M2 .
?x1 ns:film.editor.film M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M2
}