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