Question: How is Peter Cook of Hull City A.F.C. related to Bradford City A.F.C.?
Choices:
material used
derivative work
narrative role
partially contains
terminus
conflict
replaced by
editor
commander of
member of sports team
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Cook" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Hull City A.F.C." . ?e_2 <pred:name> "Bradford City A.F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hull City A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Peter Cook
function: And
dependencies: 1
2
function: Find
inputs: Bradford City A.F.C.
function: QueryRelation
dependencies: 3
4