Question: Which has less of a GDP (PPP) Singapore (the one whose life expectancy is 80.44146 year) or Armenia?
Choices: Singapore
Socialist Federal Republic of Yugoslavia
Samoa
Weimar Republic
Armenia
Kiribati
Benin
Russian Soviet Federative Socialist Republic
Switzerland
South Sudan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Singapore" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> "year" . ?pv_1 <pred:value> "80.44146"^^xsd:double . } UNION { ?e <pred:name> "Armenia" . } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Singapore
function: FilterNum
dependencies: 0
inputs: life expectancy
80.44146 year
=
function: Find
inputs: Armenia
function: SelectBetween
dependencies: 1
2
inputs: GDP (PPP)
less
Answer: Armenia