What did M0 produce , M1 edit , and M2 edit
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by M1 .
?x0 ns:film.film.edited_by M2 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies M0
}