Question: What is the connection between Jon Stewart (the one that is related to sport association football) to Burnley F.C.?
Choices:
home venue
officially opened by
influenced by
had as last meal
follows
position held
lyrics by
domain of saint or deity
military conflicts
member of sports team
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jon Stewart" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "association football" . ?e_2 <pred:name> "Burnley F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: association football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Jon Stewart
function: And
dependencies: 1
2
function: Find
inputs: Burnley F.C.
function: QueryRelation
dependencies: 3
4