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