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