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