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