Question: Does Orkney Islands or South America have more inhabitants?
Choices:
Pacific Ocean
Antarctica
Atlantic Canada
South America
Southern California
Africa
Caribbean
Transylvania
Piedmont
Lake District
Program:
function: Find
inputs: Orkney Islands
function: Find
inputs: South America
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Orkney Islands" .  } UNION { ?e <pred:name> "South America" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: South America