Question: Does Tanzania or Mozambique have less nominal GDP per capita?
Choices:
Namibia
Tunisia
Germany
France
Mozambique
Sierra Leone
Italy
Colombia
Tanzania
Zimbabwe
Program:
function: Find
inputs: Tanzania
function: Find
inputs: Mozambique
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tanzania" .  } UNION { ?e <pred:name> "Mozambique" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mozambique