Question: How is Wayne Dyer of Birmingham City F.C. related to Hednesford Town F.C.?
Choices:
lyrics by
draft pick from school
public holiday
used by
movement
organizer
appears in the form of
member of sports team
use
has edition
Program:
function: Find
inputs: Birmingham City F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Wayne Dyer
function: And
dependencies: 1
2
function: Find
inputs: Hednesford Town F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wayne Dyer" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Birmingham City F.C." . ?e_2 <pred:name> "Hednesford Town F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team