Question: Between Antarctica -- the continent containing Norway -- or Oceania, which is smaller in terms of its area?
Choices:
Africa
Southern California
Piedmont
Pacific Ocean
Antarctica
Transylvania
Caribbean
Oceania
Atlantic Canada
Lake District
Program:
function: Find
inputs: Norway
function: Relate
dependencies: 0
inputs: continent
forward
function: Find
inputs: Antarctica
function: And
dependencies: 1
2
function: Find
inputs: Oceania
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Antarctica" . ?e_1 <continent> ?e . ?e_1 <pred:name> "Norway" .   } UNION { ?e <pred:name> "Oceania" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Oceania