Question: What territory is Montreal the capitol of?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q340 wdt:P150 ?obj . ?obj wdt:P31 wd:Q578521 }