Question: What is the capital of Karnataka?
SPARQL (Wikidata):  select distinct ?obj where { wd:Q1185 wdt:P36 ?obj . ?obj wdt:P31 wd:Q5119 }