What cinematographer of M3 and M4 married M5 , influenced M0 and M1 , and was influenced by M2
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.cinematographer.film M3 .
?x0 ns:film.cinematographer.film M4 .
?x0 ns:influence.influence_node.influenced M0 .
?x0 ns:influence.influence_node.influenced M1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M5 .
FILTER ( ?x0 != M5 )
}