Question: Which has a smaller population, Kansai region or Oceania?
Choices:
Oceania
South America
Lake District
Antarctica
Transylvania
Southern California
Piedmont
Africa
Kansai region
Pacific Ocean
Program:
function: Find
inputs: Kansai region
function: Find
inputs: Oceania
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kansai region" .  } UNION { ?e <pred:name> "Oceania" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kansai region