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