Question: How is Joseph Campbell of Hull City A.F.C. related to Yeovil Town F.C.?
Choices:
use
hair color
sidekick of
follows
maintained by
destination point
had as last meal
geographic distribution
commissioned by
member of sports team
Program:
function: Find
inputs: Hull City A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Joseph Campbell
function: And
dependencies: 1
2
function: Find
inputs: Yeovil Town F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Joseph Campbell" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Hull City A.F.C." . ?e_2 <pred:name> "Yeovil Town F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team