Question: Which has a smaller GDP (PPP), Brunei or Turkey?
Choices:
Samoa
South Sudan
Benin
Turkey
Cambodia
Russian Soviet Federative Socialist Republic
Kiribati
Switzerland
Socialist Federal Republic of Yugoslavia
Brunei
Program:
function: Find
inputs: Brunei
function: Find
inputs: Turkey
function: SelectBetween
dependencies: 0
1
inputs: GDP (PPP)
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brunei" .  } UNION { ?e <pred:name> "Turkey" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brunei