Question: Does Zambia or Seychelles have a greater PPP GDP per capita?
Choices:
Zambia
Italy
Bolivia
Sierra Leone
Tunisia
Seychelles
Namibia
Mozambique
Colombia
Zimbabwe
Program:
function: Find
inputs: Zambia
function: Find
inputs: Seychelles
function: SelectBetween
dependencies: 0
1
inputs: PPP GDP per capita
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Zambia" .  } UNION { ?e <pred:name> "Seychelles" .  } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Seychelles