Question: Who resides in the New York city where Carl Sagan is buried?
Choices:
Sylvester Stallone
Brian McKnight
Max Fleischer
F. Scott Fitzgerald
Richard Gere
Joseph Campbell
Tommy Lee
William Henry Harrison
Vladimir Nabokov
Lady Gaga
Answer: Vladimir Nabokov
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <residence> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of New York" . ?e_3 <place_of_burial> ?e_1 . ?e_3 <pred:name> "Carl Sagan" .   }
Program:
function: Find
inputs: Carl Sagan
function: Relate
dependencies: 0
inputs: place of burial
forward
function: FilterConcept
dependencies: 1
inputs: city of New York
function: Relate
dependencies: 2
inputs: residence
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4