Question: What is the relationship between Ashok Kumar (the one that died in Chennai) and British Raj?
Choices:
make-up artist
director of photography
foundational text
superhuman feature or ability
geographic distribution
country of citizenship
set in period
given name
followed by
partially contains
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ashok Kumar" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Chennai" . ?e_2 <pred:name> "British Raj" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Chennai
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Ashok Kumar
function: And
dependencies: 1
2
function: Find
inputs: British Raj
function: QueryRelation
dependencies: 3
4