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