What was written by M1 's executive producer 's spouse and executive produced by a film 's costume designer
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 ns:film.film_costumer_designer.costume_design_for_film ?x3 .
?x2 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x4 .
?x3 a ns:film.film .
?x4 ns:film.producer.films_executive_produced M1 .
FILTER ( ?x2 != ?x4 )
}