Question: Does Guatemala or Bangladesh (whose nominal GDP is 7483685473.51275 United States dollars) have the larger PPP GDP?
Choices:
Samoa
Cambodia
Kiribati
Russian Soviet Federative Socialist Republic
Bangladesh
Socialist Federal Republic of Yugoslavia
South Sudan
Switzerland
Benin
Guatemala
Answer: Bangladesh
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Guatemala" . } UNION { ?e <pred:name> "Bangladesh" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "7483685473.51275"^^xsd:double . } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Guatemala
function: Find
inputs: Bangladesh
function: FilterNum
dependencies: 1
inputs: nominal GDP
7483685473.51275 United States dollar
=
function: SelectBetween
dependencies: 0
2
inputs: GDP (PPP)
greater