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