Question: How is Harry Nilsson of the Sweden national football team related to Sweden?
Choices:
seed team
main subject
programming language
country of citizenship
copyright representative
religion
next higher rank
has immediate cause
grants
inspired by
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Harry Nilsson" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Sweden national football team" . ?e_2 <pred:name> "Sweden" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sweden national football team
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Harry Nilsson
function: And
dependencies: 1
2
function: Find
inputs: Sweden
function: QueryRelation
dependencies: 3
4