Question: What country does Kolkata, where the playwright Rabindranath Tagore died, belong to?
Choices:
Ontario
Hong Kong
Kingdom of Italy
France
Kingdom of Prussia
Czech Republic
People's Republic of China
Portugal
British Empire
Kingdom of the Netherlands
Answer: British Empire
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rabindranath Tagore" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "playwright" . ?e_2 <pred:name> "Kolkata" . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: playwright
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Rabindranath Tagore
function: And
dependencies: 1
2
function: Find
inputs: Kolkata
function: QueryRelationQualifier
dependencies: 3
4
inputs: place of death
country