Question: Which has fewer people, Apulia or Piedmont (the one whose NUTS code is IT11)?
Choices:
Lombardy
Apulia
Sicily
Friuli–Venezia Giulia
Veneto
Lazio
Basilicata
Sardinia
Tuscany
Abruzzo
Answer: Apulia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Apulia" . } UNION { ?e <pred:name> "Piedmont" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "IT11" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Apulia
function: Find
inputs: Piedmont
function: FilterStr
dependencies: 1
inputs: NUTS code
IT11
function: SelectBetween
dependencies: 0
2
inputs: population
less