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