Question: Who is the {town in India} for {shares border with} of {Bangalore}
SPARQL (Wikidata):  select distinct ?obj where { wd:Q1355 wdt:P47 ?obj . ?obj wdt:P31 wd:Q58339518 }