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