Question: What is the relationship between Alastair Reynolds (the one that is related to sport association football) and association football manager?
Choices: doctoral student
draft pick from school
parent club
home venue
narrative location
basic form of government
occupation
country
political alignment
superhuman feature or ability
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alastair Reynolds" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "association football" . ?e_2 <pred:name> "association football manager" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: association football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Alastair Reynolds
function: And
dependencies: 1
2
function: Find
inputs: association football manager
function: QueryRelation
dependencies: 3
4
Answer: occupation