Did a cinematographer of M0 and M1 influence a film editor and marry a art director
SELECT count(*) WHERE {
?x0 ns:film.cinematographer.film M0 .
?x0 ns:film.cinematographer.film M1 .
?x0 ns:influence.influence_node.influenced ?x1 .
?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 a ns:film.editor .
?x2 a ns:film.film_art_director .
FILTER ( ?x0 != ?x2 )
}