Question: How is Andy Williams of Southampton F.C. related to the national football team of Wales?
Choices:
member of political party
kit supplier
member of sports team
fictional universe described in
derivative work
affiliation
official symbol
place of birth
rector
office contested
Program:
function: Find
inputs: Southampton F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Andy Williams
function: And
dependencies: 1
2
function: Find
inputs: Wales national football team
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andy Williams" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Southampton F.C." . ?e_2 <pred:name> "Wales national football team" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team