Question: What was located in the territory of Orenburg until 1782?
Paraphrase: What was located in Orenburg until 1782?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q5337 p:P131 ?s . ?s ps:P131 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1782')) }