Question: What is the WOEID of the city which is Senegal's capital?
Choices: 2515434
31889
1411986
33591
1451962
468739
730138
15178
2344116
1106143
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Senegal" .  ?e <WOEID> ?pv .  }
Program:
function: Find
inputs: Senegal
function: Relate
dependencies: 0
inputs: capital of
backward
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: WOEID
Answer: 1411986