Question: Does Amman or Kampala have less area?
Choices:
Trieste
Abidjan
Bergen
Kingston
Santo Domingo
Kampala
Cork
Chihuahua
Kilkenny
Dundee
Program:
function: Find
inputs: Amman
function: Find
inputs: Kampala
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Amman" .  } UNION { ?e <pred:name> "Kampala" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kampala