Question: What is the relation of association football manager John Williams to association football?
Choices: continent
contains settlement
subsidiary
sport
professional or sports partner
composer
published in
this taxon is source of
headquarters location
author
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?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: John Williams
function: And
dependencies: 1
2
function: Find
inputs: association football
function: QueryRelation
dependencies: 3
4
Answer: sport