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