Question: Does Southampton or Harare have the larger populace?
Choices:
Dundee
Cork
Trieste
Bergen
Southampton
Kingston
Abidjan
Chihuahua
Harare
Santo Domingo
Program:
function: Find
inputs: Southampton
function: Find
inputs: Harare
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Southampton" .  } UNION { ?e <pred:name> "Harare" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Harare