What was executive produced by M0 , M1 , and M2 , written by M3 's art director , and written by a actor 's spouse
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by M0 .
?x0 ns:film.film.executive_produced_by M1 .
?x0 ns:film.film.executive_produced_by M2 .
?x0 ns:film.film.written_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 ns:film.film_art_director.films_art_directed M3 .
?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 ?x3 .
?x3 a ns:film.actor .
FILTER ( ?x2 != ?x3 )
}