Question: What is the connection between Andy Williams (the one that belongs to Wales) to Southampton F.C.?
Choices:
exclave of
taxon rank
series spin-off
registered with
publisher
month of the year
member of sports team
substitute/deputy/replacement of office/officeholder
manufacturer
has quality
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andy Williams" . ?e_1 <country_for_sport> ?e_3 . ?e_3 <pred:name> "Wales" . ?e_2 <pred:name> "Southampton F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Wales
function: Relate
dependencies: 0
inputs: country for sport
backward
function: Find
inputs: Andy Williams
function: And
dependencies: 1
2
function: Find
inputs: Southampton F.C.
function: QueryRelation
dependencies: 3
4