Question: What is the WOEID for Kabul whose demonym is Kabuli?
Choices:
14696
2411304
35356
2422344
698064
14605
1922738
1105353
2458923
2459618
Answer: 1922738
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Kabul" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Kabuli" . ?e <WOEID> ?pv .  }
Program:
function: Find
inputs: Kabul
function: FilterStr
dependencies: 0
inputs: demonym
Kabuli
function: QueryAttr
dependencies: 1
inputs: WOEID