What was written and edited by a Spanish art director that M2 was produced by and M3 was produced by
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.edited_by ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 a ns:film.film_art_director .
?x1 ns:film.producer.film|ns:film.production_company.films M2 .
?x1 ns:film.producer.film|ns:film.production_company.films M3 .
?x1 ns:people.person.nationality ns:m.06mkj
}