What was directed by a costume designer that M1 married and directed by a film director
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.directed_by ?x2 .
?x1 a ns:film.film_costumer_designer .
?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 M1 .
?x2 a ns:film.director .
FILTER ( ?x1 != M1 )
}