Question: What is the relationship between Kevin James (the one that died in Los Angeles) to testicular cancer?
Choices:
professorship
heritage designation
language of work or name
composer
cause of death
academic degree
main food source
airline hub
director/manager
characters
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Kevin James
function: And
dependencies: 1
2
function: Find
inputs: testicular cancer
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kevin James" . ?e_1 <place_of_death> ?e_3 . ?e_3 <pred:name> "Los Angeles" . ?e_2 <pred:name> "testicular cancer" . ?e_1 ?p ?e_2 .  }
Answer: cause of death