Which film starred M1 and starred a male spouse of a actor 's actor
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.film .
?x0 ns:film.film.starring/ns:film.performance.actor ?x1 .
?x0 ns:film.film.starring/ns:film.performance.actor M1 .
?x1 ns:people.person.gender ns:m.05zppz .
?x1 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 .
?x2 ns:film.actor.film/ns:film.performance.character ?x3 .
?x3 a ns:film.actor .
FILTER ( ?x1 != ?x2 )
}