What did M0 , M1 , and M2 produce and M3 's cinematographer , director , and writer edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M0 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M2 .
?x1 ns:film.cinematographer.film M3 .
?x1 ns:film.director.film M3 .
?x1 ns:film.writer.film M3
}