Question: What is the connection between Stephen Jackson (the one that works as cancer) to Royal Society?
Choices:
captain
member of
place of publication
league
stated in
source of income
original film format
native language
donated by
fictional universe described in
Program:
function: Find
inputs: cancer
function: Relate
dependencies: 0
inputs: field of work
backward
function: Find
inputs: Stephen Jackson
function: And
dependencies: 1
2
function: Find
inputs: Royal Society
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Stephen Jackson" . ?e_1 <field_of_work> ?e_3 . ?e_3 <pred:name> "cancer" . ?e_2 <pred:name> "Royal Society" . ?e_1 ?p ?e_2 .  }
Answer: member of