What did M0 , M1 , and M2 produce and a actor that M4 influenced and was influenced by produce
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.actor .
?x1 ns:influence.influence_node.influenced M4 .
?x1 ns:influence.influence_node.influenced_by M4
}