Question: Does Salvador (population 2921087) or Porto Alegre have the lower Human Development Index value?
Choices:
Abidjan
Chihuahua
Cork
Santo Domingo
Dundee
Bergen
Porto Alegre
Salvador
Trieste
Kilkenny
Answer: Salvador
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Salvador" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2921087"^^xsd:double . } UNION { ?e <pred:name> "Porto Alegre" . } ?e <Human_Development_Index> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Salvador
function: FilterNum
dependencies: 0
inputs: population
2921087
=
function: Find
inputs: Porto Alegre
function: SelectBetween
dependencies: 1
2
inputs: Human Development Index
less