Which cinematographer influenced by a screenwriter and influenced by M1 , M2 , M3 , and M4 played M5 and M6
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.cinematographer .
?x0 ns:film.actor.film/ns:film.performance.character M5 .
?x0 ns:film.actor.film/ns:film.performance.character M6 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x0 ns:influence.influence_node.influenced_by M4 .
?x1 a ns:film.writer
}