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