Question: Which has more people, Skopje or Derry?
Choices:
Santo Domingo
Bergen
Dundee
Trieste
Derry
Skopje
Cork
Chihuahua
Abidjan
Kilkenny
Program:
function: Find
inputs: Skopje
function: Find
inputs: Derry
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Skopje" .  } UNION { ?e <pred:name> "Derry" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Skopje