Question: What was located in the administrative territorial entity of Toranto during 1840?
Paraphrase: which locations are administrative territorial entity of Toranto during 1840?
SPARQL (Wikidata): SELECT ?obj WHERE { wd:Q172 p:P131 ?s . ?s ps:P131 ?obj . ?s pq:P582 ?x filter(contains(YEAR(?x),'1840')) }