Question: What place is bordered by the kingdom of Castile, whose official language is Spanish?
Paraphrase: What location is bordered through the kingdom of Castile, whose legitimate language is Spanish?
SPARQL (Wikidata): SELECT ?answer WHERE { wd:Q179293 wdt:P47 ?answer . ?answer wdt:P37 wd:Q1321}
Answer: Kingdom of León