Question: Which has less population, Highland Park where Alex Borstein was born or Lake Charles?
Choices:
Lake Charles
Columbus
Waukegan
Lansing
Highland Park
Boulder
Franklin
New Haven
Greenville
Oakland
Program:
function: Find
inputs: Alex Borstein
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Highland Park
function: And
dependencies: 1
2
function: Find
inputs: Lake Charles
function: SelectBetween
dependencies: 3
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Highland Park" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Alex Borstein" .   } UNION { ?e <pred:name> "Lake Charles" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Highland Park