What Spanish costume designer of a film wrote M0
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film_costumer_designer.costume_design_for_film ?x1 .
?x0 ns:film.writer.film M0 .
?x0 ns:people.person.nationality ns:m.06mkj .
?x1 a ns:film.film
}