Question: Does Antigua and Barbuda or Fiji have the higher PPP GDP per capita?
Choices:
Lithuania
Fiji
Saint Vincent and the Grenadines
Jamaica
Trinidad and Tobago
Kosovo
Finland
Kazakhstan
Antigua and Barbuda
Tajikistan
Program:
function: Find
inputs: Antigua and Barbuda
function: Find
inputs: Fiji
function: SelectBetween
dependencies: 0
1
inputs: PPP GDP per capita
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Antigua and Barbuda" .  } UNION { ?e <pred:name> "Fiji" .  } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Antigua and Barbuda