Question: Gordon Willis and Patrick McGoohan were both born in which neighborhood?
Choices:
Astoria
Monte Carlo
Woodland Hills
Van Nuys
Encino
Roxbury
Studio City
Northridge
Sherman Oaks
Jamaica
Answer: Astoria
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "neighborhood" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Gordon Willis" .  ?e_2 <place_of_birth> ?e . ?e_2 <pred:name> "Patrick McGoohan" .  }
Program:
function: Find
inputs: Gordon Willis
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: neighborhood
function: Find
inputs: Patrick McGoohan
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: neighborhood
function: And
dependencies: 2
5
function: What
dependencies: 6