Question: Which one, Lorraine (the one whose INSEE region code is 41) or Alsace, has greater population?
Choices: Lorraine
Picardy
Poitou-Charentes
Aquitaine
Upper Normandy
Burgundy
Languedoc-Roussillon
Nord-Pas-de-Calais
Champagne-Ardenne
Lower Normandy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lorraine" . ?e <INSEE_region_code> ?pv_1 . ?pv_1 <pred:value> "41" . } UNION { ?e <pred:name> "Alsace" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Lorraine
function: FilterStr
dependencies: 0
inputs: INSEE region code
41
function: Find
inputs: Alsace
function: SelectBetween
dependencies: 1
2
inputs: population
greater
Answer: Lorraine