What actor was a Spanish cinematographer that wrote M2 and produced M4 and M5
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.actor .
?x0 a ns:film.cinematographer .
?x0 ns:film.producer.film|ns:film.production_company.films M4 .
?x0 ns:film.producer.film|ns:film.production_company.films M5 .
?x0 ns:film.writer.film M2 .
?x0 ns:people.person.nationality ns:m.06mkj
}