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