Question: Which area has more people, Croatia or Rhodesia?
Choices:
Jamaica
Ukrainian Soviet Socialist Republic
Trinidad and Tobago
Rhodesia
Tajikistan
Finland
Croatia
Lithuania
Kosovo
Saint Vincent and the Grenadines
Program:
function: Find
inputs: Croatia
function: Find
inputs: Rhodesia
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Croatia" .  } UNION { ?e <pred:name> "Rhodesia" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rhodesia