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