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