Question: Is the population lower in Birmingham (birthplace of Amber Benson) or Minot?
Choices:
Columbus
Waukegan
Oakland
Franklin
Boulder
Compton
New Haven
Lansing
Minot
Greenville
Program:
function: Find
inputs: Amber Benson
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Birmingham
function: And
dependencies: 1
2
function: Find
inputs: Minot
function: SelectBetween
dependencies: 3
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Birmingham" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Amber Benson" .   } UNION { ?e <pred:name> "Minot" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Minot