What was produced by M2 's employer , edited by M3 's spouse , and written by a Japanese screenwriter
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x2 .
?x0 ns:film.film.written_by ?x3 .
?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 M3 .
?x2 ns:business.employer.employees/ns:business.employment_tenure.person M2 .
?x3 a ns:film.writer .
?x3 ns:people.person.nationality ns:m.03_3d .
FILTER ( ?x1 != M3 )
}