What was written by and produced by a Spanish star of M1 , M2 , and M3
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.film.produced_by|ns:film.film.production_companies ?x1 .
?x0 ns:film.film.written_by ?x1 .
?x1 ns:film.actor.film/ns:film.performance.film M1 .
?x1 ns:film.actor.film/ns:film.performance.film M2 .
?x1 ns:film.actor.film/ns:film.performance.film M3 .
?x1 ns:people.person.nationality ns:m.06mkj
}