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