What was written by M2 's Spanish producer and executive produced by a cinematographer
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.executive_produced_by ?x1 .
?x0 ns:film.film.written_by ?x2 .
?x1 a ns:film.cinematographer .
?x2 ns:film.producer.film|ns:film.production_company.films M2 .
?x2 ns:people.person.nationality ns:m.06mkj
}