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