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