Question: When was the Kingdom of Castile established?
Paraphrase: Kingdom of Castile was establihed when?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q179293 p:P31 ?s . ?s ps:P31 wd:Q3024240 . ?s pq:P580 ?value}