Question: What does Michael Dobson (who is a member of Walsall F.C.) have to do with Brentford F.C.?
Choices:
member of sports team
part of
mountain range
production designer
followed by
foundational text
located in time zone
film regional debut venue
hair color
color
Program:
function: Find
inputs: Walsall F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Michael Dobson
function: And
dependencies: 1
2
function: Find
inputs: Brentford F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Dobson" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Walsall F.C." . ?e_2 <pred:name> "Brentford F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team