Question: Which has a lesser population, Santa Barbara (where Howard Bristol died) or Columbus (the one that is the twinned administrative body of Kumasi)?
Choices:
Waukegan
Lansing
Compton
New Britain
Oakland
Franklin
Columbus
Greenville
Boulder
Santa Barbara
Program:
function: Find
inputs: Howard Bristol
function: Relate
dependencies: 0
inputs: place of death
forward
function: Find
inputs: Santa Barbara
function: And
dependencies: 1
2
function: Find
inputs: Kumasi
function: Relate
dependencies: 4
inputs: twinned administrative body
forward
function: Find
inputs: Columbus
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Barbara" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Howard Bristol" .   } UNION { ?e <pred:name> "Columbus" . ?e_2 <twinned_administrative_body> ?e . ?e_2 <pred:name> "Kumasi" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Santa Barbara