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