Question: How is Michael O'Neill of Ayr United F.C. related to the United Kingdom?
Choices: based on
head coach
sidekick of
office contested
family
film release region
next higher rank
drug used for treatment
candidacy in election
country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael O'Neill" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Ayr United F.C." . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ayr United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Michael O'Neill
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 3
4
Answer: country of citizenship