Question: Which has a lower population count, Marche or Liguria?
Choices:
Liguria
Lazio
Apulia
Sardinia
Marche
Sicily
Tuscany
Lombardy
Piedmont
Abruzzo
Program:
function: Find
inputs: Liguria
function: Find
inputs: Marche
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Liguria" .  } UNION { ?e <pred:name> "Marche" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Marche