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