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