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