Question: Which has fewer people, Bremerton or Norwalk (the one that is the birthplace of Roger Bart)?
Choices:
Waukegan
Lansing
Columbus
Oakland
Bremerton
Greenville
New Haven
Boulder
Franklin
Norwalk
Program:
function: Find
inputs: Bremerton
function: Find
inputs: Roger Bart
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Norwalk
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bremerton" .  } UNION { ?e <pred:name> "Norwalk" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Roger Bart" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bremerton