Question: Uruguay is the country where which city is located?
Choices:
Uruguay national football team
Amsterdam
Montevideo
Yiddish
Bonn
Russians
Potsdam
Thunder Bay
Padua
Uruguay
Program:
function: Find
inputs: Uruguay
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: city
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <country> ?e_1 . ?e_1 <pred:name> "Uruguay" .   }
Answer: Montevideo