Question: Which US town was Tony Scott (the one that died in the manner of natural causes) born in?
Choices:
Uxbridge
Westport
Concord
Bedford
Greenwich
Kensington
Brookline
Chapel Hill
Plymouth
Morristown
Program:
function: Find
inputs: natural causes
function: Relate
dependencies: 0
inputs: manner of death
backward
function: Find
inputs: Tony Scott
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: place of birth
forward
function: FilterConcept
dependencies: 4
inputs: town of the United States
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Tony Scott" . ?e_1 <manner_of_death> ?e_2 . ?e_2 <pred:name> "natural causes" .   }
Answer: Morristown