Question: Which has fewer people, Wellington or Copenhagen?
Choices:
Mexico City
New Delhi
Wellington
Doha
Sarajevo
Moscow
Lausanne
Manila
Tallinn
Riga
Program:
function: Find
inputs: Wellington
function: Find
inputs: Copenhagen
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wellington" .  } UNION { ?e <pred:name> "Copenhagen" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wellington