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
Program:
function: Find
inputs: Montenegro
function: Find
inputs: Mexico
function: SelectBetween
dependencies: 0
1
inputs: GDP (PPP)
less
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
Answer: Montenegro