Question: Which area has more people, Yugoslavia or Turkmenistan?
Choices:
Benin
Switzerland
Socialist Federal Republic of Yugoslavia
Cambodia
Kiribati
South Sudan
Samoa
Weimar Republic
Russian Soviet Federative Socialist Republic
Yugoslavia
Program:
function: Find
inputs: Yugoslavia
function: Find
inputs: Turkmenistan
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Yugoslavia" .  } UNION { ?e <pred:name> "Turkmenistan" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Yugoslavia