Which writer of M0 and M1 was influenced by M2 and M3 and influenced by M5 's Spanish actor
SELECT DISTINCT ?x0 WHERE {
?x0 ns:film.writer.film M0 .
?x0 ns:film.writer.film M1 .
?x0 ns:influence.influence_node.influenced_by ?x1 .
?x0 ns:influence.influence_node.influenced_by M2 .
?x0 ns:influence.influence_node.influenced_by M3 .
?x1 ns:film.actor.film/ns:film.performance.character M5 .
?x1 ns:people.person.nationality ns:m.06mkj
}