Question: What's the connection between Ray McKinnon of Dundee United F.C. and Livingston F.C.?
Choices:
medical treatment
military branch
feast day
given name
official language
editor
hair color
occupant
executive producer
member of sports team
Program:
function: Find
inputs: Dundee United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Ray McKinnon
function: And
dependencies: 1
2
function: Find
inputs: Livingston F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ray McKinnon" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Dundee United F.C." . ?e_2 <pred:name> "Livingston F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team