Did a Swedish art director that a actor of M4 and M5 married marry M2 and M3
SELECT count(*) WHERE {
?x0 a ns:film.film_art_director .
?x0 ns:people.person.nationality ns:m.0d0vqn .
?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 ?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 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 M3 .
?x1 ns:film.actor.film/ns:film.performance.character M4 .
?x1 ns:film.actor.film/ns:film.performance.character M5 .
FILTER ( ?x0 != ?x1 ) .
FILTER ( ?x0 != M2 ) .
FILTER ( ?x0 != M3 )
}