question: Which film was produced by M1 , directed by M2 , edited by a costume designer , and edited by M4 's spouse
query: SELECT DISTINCT ?x0 WHERE {
  ?x0 a ns:film.film .
  ?x0 ns:film.film.directed_by M2 .
  ?x0 ns:film.film.edited_by ?x1 .
  ?x0 ns:film.film.edited_by ?x2 .
  ?x0 ns:film.film.produced_by|ns:film.film.production_companies M1 .
  ?x1 a ns:film.film_costumer_designer .
  ?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 M4 .
  FILTER ( ?x2 != M4 )
  }