Question: Which has lesser population, the Middle East or Orkney Islands?
Choices: Pacific Ocean
Antarctica
South America
Orkney Islands
Lake District
Piedmont
Southern California
Atlantic Canada
Africa
Middle East
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Middle East" .  } UNION { ?e <pred:name> "Orkney Islands" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Middle East
function: Find
inputs: Orkney Islands
function: SelectBetween
dependencies: 0
1
inputs: population
less
Answer: Orkney Islands