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