Question: Which person is based in the town where Sabrina, who resides in Los Angeles, lives?
Choices: Janet Jackson
Ne-Yo
Max Fleischer
Jerry Lewis
Xzibit
Sylvester Stallone
Robert Smith
Serj Tankian
John Logan
James Horner
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <location_of_formation> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "town" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Sabrina" . ?e_2 <residence> ?e_3 . ?e_3 <pred:name> "Los Angeles" .   }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: residence
backward
function: Find
inputs: Sabrina
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: residence
forward
function: FilterConcept
dependencies: 4
inputs: town
function: Relate
dependencies: 5
inputs: location of formation
backward
function: FilterConcept
dependencies: 6
inputs: human
function: What
dependencies: 7
Answer: Robert Smith