Question: Which colony of the British Empire is the capital of Melbourne?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P36 wd:Q3141 . ?sbj wdt:P31 wd:Q1351282 } 
Answer: Colony of Victoria