Question: When was Andhra Pradesh in Hyderabad?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q1159 p:P36 ?s . ?s ps:P36 wd:Q1361 . ?s pq:P582 ?value}