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