Question: Does Las Vegas, where Steve Gerber died, or Pensacola occupy a smaller area?
Choices:
Waukegan
Pensacola
Columbus
New Haven
Franklin
Lansing
Las Vegas
Greenville
Oakland
Compton
Program:
function: Find
inputs: Steve Gerber
function: Relate
dependencies: 0
inputs: place of death
forward
function: Find
inputs: Las Vegas
function: And
dependencies: 1
2
function: Find
inputs: Pensacola
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Las Vegas" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Steve Gerber" .   } UNION { ?e <pred:name> "Pensacola" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pensacola