What was directed by a actor 's spouse , edited by a director of M2 , and directed by M0 and M1
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.directed_by ?x1 .
?x0 ns:film.film.directed_by M0 .
?x0 ns:film.film.directed_by M1 .
?x0 ns:film.film.edited_by ?x2 .
?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 ?x3 .
?x2 ns:film.director.film M2 .
?x3 a ns:film.actor .
FILTER ( ?x1 != ?x3 )
}