Question: How is David Healy of Norwich City F.C. connected to Northern Ireland?
Choices:
connects with
narrator
country for sport
has parts of the class
producer
commissioned by
drug used for treatment
residence
sports season of league or competition
head of government
Answer: country for sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Healy" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Norwich City F.C." . ?e_2 <pred:name> "Northern Ireland" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Norwich City F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: David Healy
function: And
dependencies: 1
2
function: Find
inputs: Northern Ireland
function: QueryRelation
dependencies: 3
4