Did M3 marry a film producer that M2 was directed by and M1 was edited by and influence M4
SELECT count(*) WHERE {
?x0 a ns:film.producer .
?x0 ns:film.director.film M2 .
?x0 ns:film.editor.film M1 .
FILTER ( M3 != ?x0 ) .
M3 ns:influence.influence_node.influenced M4 .
M3 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x0
}