question: Which art director that M5 , M6 , and M7 influenced and M1 , M2 , and M3 were influenced by was employed by M4
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.film_art_director .
  ?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 M5 .
  ?x0 ns:influence.influence_node.influenced_by M6 .
  ?x0 ns:influence.influence_node.influenced_by M7 .
  ?x0 ns:people.person.employment_history/ns:business.employment_tenure.company M4
  }