Question: What is the connection between Kim Ki-duk (the one that died in Seoul) to lung cancer?
Choices:
film distribute region
next higher rank
located in time zone
student of
indigenous to
librettist
draft pick from school
location of discovery
cause of death
taxon rank
Program:
function: Find
inputs: Seoul
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Kim Ki-duk
function: And
dependencies: 1
2
function: Find
inputs: lung cancer
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kim Ki-duk" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Seoul" . ?e_2 <pred:name> "lung cancer" . ?e_1 ?p ?e_2 .  }
Answer: cause of death