Question: How is Fred Thompson who is a member of Fulham F.C. related to Sunderland A.F.C.?
Choices:
architect
feast day
studied by
exported to
location of discovery
member of sports team
replaced by
contributor(s) to the creative work
native language
general manager
Program:
function: Find
inputs: Fulham F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Fred Thompson
function: And
dependencies: 1
2
function: Find
inputs: Sunderland A.F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Fred Thompson" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Fulham F.C." . ?e_2 <pred:name> "Sunderland A.F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team