Question: How is Rabindranath Tagore who died in Kolkata related to lyricist?
Choices:
famous people
part of
capital
geography of topic
family name
cites
used by
organisation directed from the office or person
kit supplier
occupation
Program:
function: Find
inputs: Kolkata
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Rabindranath Tagore
function: And
dependencies: 1
2
function: Find
inputs: lyricist
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rabindranath Tagore" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Kolkata" . ?e_2 <pred:name> "lyricist" . ?e_1 ?p ?e_2 .  }
Answer: occupation