Question: What is the relationship between Elton John (the one that is the citizen of Trinidad and Tobago) and association football?
Choices: official language
sport
soundtrack album
statistical leader
contributor(s) to the creative work
political ideology
director of photography
head coach
participant of
family name
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Elton John" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Trinidad and Tobago" . ?e_2 <pred:name> "association football" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Trinidad and Tobago
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Elton John
function: And
dependencies: 1
2
function: Find
inputs: association football
function: QueryRelation
dependencies: 3
4
Answer: sport