Question: Which state of Australia replaces Northern Territory?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q3235 wdt:P1365 ?obj . ?obj wdt:P31 wd:Q5852411 } 
Answer: South Australia