Question: Which has more people, Port-au-Prince or Wellington?
Choices:
Tallinn
Port-au-Prince
Wellington
Riga
Moscow
New Delhi
Manila
Doha
Mexico City
Lausanne
Answer: Port-au-Prince
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Port-au-Prince" .  } UNION { ?e <pred:name> "Wellington" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Port-au-Prince
function: Find
inputs: Wellington
function: SelectBetween
dependencies: 0
1
inputs: population
greater