Question: How is Richard Wright (the one that is related to sport association football) related to West Ham United F.C.?
Choices: appointed by
notable work
country of origin
executive producer
member of sports team
present in work
had as last meal
enclave within
basin country
has cause
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Richard Wright" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "association football" . ?e_2 <pred:name> "West Ham United F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: association football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Richard Wright
function: And
dependencies: 1
2
function: Find
inputs: West Ham United F.C.
function: QueryRelation
dependencies: 3
4
Answer: member of sports team