Which person was influenced by M2 's male producer , was influenced by M1 , and married a cinematographer
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:people.person .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M1 .
?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 ?x2 .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
?x1 ns:people.person.gender ns:m.05zppz .
?x2 a ns:film.cinematographer .
FILTER ( ?x0 != ?x2 )
}