Question: What is the population of Medina (the one whose country is Saudi Arabia)?
Choices:
687802
1180770
258274
79604541
366331
37456119
60098
921727
221293797
7184444
Answer: 1180770
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Medina" . ?e <country> ?e_1 . ?e_1 <pred:name> "Saudi Arabia" .  ?e <population> ?pv .  }
Program:
function: Find
inputs: Saudi Arabia
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Medina
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: population