What art director that influenced M1 , M2 , and M3 and was influenced by M5 's producer was M4 's director
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:film.director.film M4 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced M2 .
?x0 ns:influence.influence_node.influenced M3 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x1 ns:film.producer.film|ns:film.production_company.films M5
}