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