Question: What is the connection between Gertrude Stein (the one that died from stomach cancer) to stomach cancer?
Choices: indigenous to
approved by
maintained by
airline alliance
genre
from fictional universe
narrative location
continent
filming location
cause of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gertrude Stein" . ?e_1 <cause_of_death> ?e_3 . ?e_3 <pred:name> "stomach cancer" . ?e_2 <pred:name> "stomach cancer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: stomach cancer
function: Relate
dependencies: 0
inputs: cause of death
backward
function: Find
inputs: Gertrude Stein
function: And
dependencies: 1
2
function: Find
inputs: stomach cancer
function: QueryRelation
dependencies: 3
4
Answer: cause of death