Question: Does Marrakesh or St. Catharines have more inhabitants?
Choices: Dundee
Kilkenny
Trieste
Chihuahua
St. Catharines
Bergen
Abidjan
Cork
Marrakesh
Santo Domingo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marrakesh" .  } UNION { ?e <pred:name> "St. Catharines" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Marrakesh
function: Find
inputs: St. Catharines
function: SelectBetween
dependencies: 0
1
inputs: population
greater
Answer: Marrakesh