Question: Which one, Dominica or Turkmenistan, has the greater PPP GDP per capita?
Choices:
Weimar Republic
Switzerland
South Sudan
Kiribati
Dominica
Samoa
Socialist Federal Republic of Yugoslavia
Cambodia
Turkmenistan
Benin
Answer: Turkmenistan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dominica" .  } UNION { ?e <pred:name> "Turkmenistan" .  } ?e <PPP_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dominica
function: Find
inputs: Turkmenistan
function: SelectBetween
dependencies: 0
1
inputs: PPP GDP per capita
greater