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