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