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