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