Question: Which has a larger nominal GDP per capita, the Federated States of Micronesia or Cape Verde?
Choices:
Samoa
Switzerland
Federated States of Micronesia
Russian Soviet Federative Socialist Republic
South Sudan
Cape Verde
Benin
Kiribati
Cambodia
Weimar Republic
Program:
function: Find
inputs: Cape Verde
function: Find
inputs: Federated States of Micronesia
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cape Verde" .  } UNION { ?e <pred:name> "Federated States of Micronesia" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cape Verde