Question: Which has less population, Havana whose demonym is Habanero or Bhubaneswar?
Choices:
Havana
Bergen
Kilkenny
Abidjan
Cork
Kingston
Bhubaneswar
Trieste
Chihuahua
Santo Domingo
Answer: Bhubaneswar
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Havana" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "Habanero" . } UNION { ?e <pred:name> "Bhubaneswar" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Havana
function: FilterStr
dependencies: 0
inputs: demonym
Habanero
function: Find
inputs: Bhubaneswar
function: SelectBetween
dependencies: 1
2
inputs: population
less