Question: John Williams of Hereford United F.C. has what connection with Exeter City F.C.?
Choices:
member of sports team
found
head of government
relative
has part
executive producer
performer
captain
substitute/deputy/replacement of office/officeholder
office held by head of government
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Hereford United F.C." . ?e_2 <pred:name> "Exeter City F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hereford United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: Exeter City F.C.
function: QueryRelation
dependencies: 3
4