Question: Does Shandong or Hebei have the lower population?
Choices:
Hebei
Hubei
Henan
Anhui
Fujian
Shaanxi
Zhejiang
Guangdong
Jiangsu
Shandong
Program:
function: Find
inputs: Shandong
function: Find
inputs: Hebei
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shandong" .  } UNION { ?e <pred:name> "Hebei" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hebei