Question: Does Bosnia and Herzegovina or Turkmenistan have the higher population count?
Choices:
Benin
Bosnia and Herzegovina
Socialist Federal Republic of Yugoslavia
Kiribati
Russian Soviet Federative Socialist Republic
South Sudan
Weimar Republic
Cambodia
Turkmenistan
Samoa
Program:
function: Find
inputs: Bosnia and Herzegovina
function: Find
inputs: Turkmenistan
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bosnia and Herzegovina" .  } UNION { ?e <pred:name> "Turkmenistan" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Turkmenistan