Question: What is the connection between Neil Young (the one that has the occupation of association football manager) to association football?
Choices:
office held by head of state
used by
has immediate cause
place of origin (Switzerland)
registered with
official language
appointed by
native language
sport
professorship
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Neil Young" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "association football manager" . ?e_2 <pred:name> "association football" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: association football manager
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Neil Young
function: And
dependencies: 1
2
function: Find
inputs: association football
function: QueryRelation
dependencies: 3
4