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