Question: Which person lives in the city in New Jersey that is the death place of Sam O'Steen ?
Choices:
Dennis Rodman
John Mayer
Philip Roth
William Henry Harrison
Sylvester Stallone
Martie Maguire
Christopher Wren
Ice-T
Max Fleischer
Dave Thomas
Program:
function: Find
inputs: Sam O'Steen
function: Relate
dependencies: 0
inputs: place of death
forward
function: FilterConcept
dependencies: 1
inputs: city in New Jersey
function: Relate
dependencies: 2
inputs: residence
backward
function: FilterConcept
dependencies: 3
inputs: human
function: What
dependencies: 4
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 in New Jersey" . ?e_3 <place_of_death> ?e_1 . ?e_3 <pred:name> "Sam O'Steen" .   }
Answer: Dave Thomas