Question: Does the larger population belong to Dorchester, birthplace of Dennis Lehane, or Hollywood, birthplace of Leonardo DiCaprio?
Choices: Encino
Jamaica
Northridge
Monte Carlo
Pacific Palisades
Astoria
Hollywood
Woodland Hills
Dorchester
Sherman Oaks
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dorchester" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Dennis Lehane" .   } UNION { ?e <pred:name> "Hollywood" . ?e_2 <place_of_birth> ?e . ?e_2 <pred:name> "Leonardo DiCaprio" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Dennis Lehane
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Dorchester
function: And
dependencies: 1
2
function: Find
inputs: Leonardo DiCaprio
function: Relate
dependencies: 4
inputs: place of birth
forward
function: Find
inputs: Hollywood
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: population
greater
Answer: Hollywood