Question: Does Gabon or Saint Kitts and Nevis have a greater nominal GDP per capita?
Choices:
Saint Vincent and the Grenadines
Lithuania
Kosovo
Ukrainian Soviet Socialist Republic
Jamaica
Finland
Gabon
Trinidad and Tobago
Kazakhstan
Saint Kitts and Nevis
Program:
function: Find
inputs: Gabon
function: Find
inputs: Saint Kitts and Nevis
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Gabon" .  } UNION { ?e <pred:name> "Saint Kitts and Nevis" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Saint Kitts and Nevis