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