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