Question: How is the Craig Thomas who studied at Wesleyan University related to the Craig Thomas who succumbed to leukemia?
Choices:
noble title
natural product of taxon
different from
software engine
from fictional universe
patron saint
practiced by
sidekick of
filming location
place served by transport hub
Answer: different from
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Craig Thomas" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Wesleyan University" . ?e_2 <pred:name> "Craig Thomas" . ?e_2 <cause_of_death> ?e_4 . ?e_4 <pred:name> "leukemia" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Wesleyan University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Craig Thomas
function: And
dependencies: 1
2
function: Find
inputs: leukemia
function: Relate
dependencies: 4
inputs: cause of death
backward
function: Find
inputs: Craig Thomas
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7