What was produced by M0 , M1 , and M2 and produced by a art director that M4 , M5 , and M6 influenced
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?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 a ns:film.film_art_director .
?x1 ns:influence.influence_node.influenced_by M4 .
?x1 ns:influence.influence_node.influenced_by M5 .
?x1 ns:influence.influence_node.influenced_by M6
}