Question: What is the connection between John Wood (the one that has the occupation of association football manager) to Nottingham?
Choices:
place of birth
derivative work
original film format
exported to
natural product of taxon
stated in
source of material
taxon rank
sponsor
creator
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Wood" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "association football manager" . ?e_2 <pred:name> "Nottingham" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: association football manager
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Wood
function: And
dependencies: 1
2
function: Find
inputs: Nottingham
function: QueryRelation
dependencies: 3
4