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