Question: How is Manorama who died in Chennai related to playback singer?
Choices:
partner
musical conductor
home port
located in the administrative territorial entity
inspired by
located on astronomical location
costume designer
country for sport
performer
occupation
Program:
function: Find
inputs: Chennai
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Manorama
function: And
dependencies: 1
2
function: Find
inputs: playback singer
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Manorama" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Chennai" . ?e_2 <pred:name> "playback singer" . ?e_1 ?p ?e_2 .  }
Answer: occupation