Question: Is the state of Austria the capital of the Austrian Empire?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P1376 wd:Q131964 . ?sbj wdt:P31 wd:Q261543 } 
Answer: Vienna