Question: Does Antigua and Barbuda or Denmark have greater PPP GDP per capita?
Choices:
Trinidad and Tobago
Saint Vincent and the Grenadines
Antigua and Barbuda
Ukrainian Soviet Socialist Republic
Lithuania
Finland
Jamaica
Tajikistan
Kazakhstan
Denmark
Program:
function: Find
inputs: Antigua and Barbuda
function: Find
inputs: Denmark
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> "Denmark" .  } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Denmark