Which Japanese screenwriter that a film 's sequel starred and was written by was M2 's spouse
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:film.actor.film/ns:film.performance.film ?x1 .
?x0 ns:film.writer.film ?x1 .
?x0 ns:people.person.nationality ns:m.03_3d .
?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses M2 .
?x1 ns:film.film.prequel ?x2 .
?x2 a ns:film.film .
FILTER ( ?x0 != M2 )
}