Question: Tell me the one with the smaller area, Turin or Dalian.
Choices:
Chihuahua
Dundee
Turin
Abidjan
Kingston
Cork
Kilkenny
Bergen
Santo Domingo
Trieste
Program:
function: Find
inputs: Dalian
function: Find
inputs: Turin
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dalian" .  } UNION { ?e <pred:name> "Turin" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Turin