Question: Tell me the person who died in the city with millions of inhabitants that is where Sharmila Tagore died.
Choices:
Peter Falk
N. T. Rama Rao
Maximilian Schell
Paul Reubens
Rahul Dev Burman
Simon Cowell
Richard Gere
Max Fleischer
Sylvester Stallone
David Byrne
Program:
function: Find
inputs: Sharmila Tagore
function: Relate
dependencies: 0
inputs: place of birth
forward
function: FilterConcept
dependencies: 1
inputs: city with millions of inhabitants
function: Relate
dependencies: 2
inputs: place of death
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 <place_of_death> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city with millions of inhabitants" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Sharmila Tagore" .   }
Answer: N. T. Rama Rao