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