Question: Which one has fewer people living there, Hubei or Jiangsu ?
Choices:
Jiangsu
Henan
Guangdong
Zhejiang
Fujian
Yunnan
Liaoning
Shaanxi
Hunan
Hubei
Program:
function: Find
inputs: Jiangsu
function: Find
inputs: Hubei
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jiangsu" .  } UNION { ?e <pred:name> "Hubei" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hubei