Which Spanish parent of M1 influenced a screenwriter and was influenced by M3 's child
SELECT DISTINCT ?x0 WHERE {
?x0 ns:influence.influence_node.influenced ?x1 .
?x0 ns:influence.influence_node.influenced_by ?x2 .
?x0 ns:people.person.children|ns:fictional_universe.fictional_character.children|ns:organization.organization.child/ns:organization.organization_relationship.child M1 .
?x0 ns:people.person.nationality ns:m.06mkj .
?x1 a ns:film.writer .
?x2 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent M3
}