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