Question: When did Konigsberg stop being located in the administrative territorial entity of East Prussia ?
Paraphrase: What was the last year during which Konigsberg was stiill a part of the administrative territorial entity of East Prussia ?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q4120832 p:P131 ?s . ?s ps:P131 wd:Q103801 . ?s pq:P582 ?value}