What Spanish screenwriter that M3 influenced wrote M1 and M2
SELECT DISTINCT ?x0 WHERE {
?x0 a ns:film.writer .
?x0 ns:film.writer.film M1 .
?x0 ns:film.writer.film M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x0 ns:people.person.nationality ns:m.06mkj
}