Question: How is Dean Martin of West Ham United F.C. related to association football?
Choices:
owned by
nominated for
professorship
position held
occupation
edition or translation of
sport
instrumentation
doctoral advisor
location of formation
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dean Martin" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "West Ham United F.C." . ?e_2 <pred:name> "association football" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: West Ham United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Dean Martin
function: And
dependencies: 1
2
function: Find
inputs: association football
function: QueryRelation
dependencies: 3
4