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