Question: Is the population greater for Burgundy or Lower Normandy?
Choices:
Poitou-Charentes
Upper Normandy
Lower Normandy
Champagne-Ardenne
Lorraine
Alsace
Aquitaine
Picardy
Burgundy
Languedoc-Roussillon
Program:
function: Find
inputs: Burgundy
function: Find
inputs: Lower Normandy
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Burgundy" .  } UNION { ?e <pred:name> "Lower Normandy" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Burgundy