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