Question: What is the connection between Tom Brady (the one that has the occupation of film director) to film director?
Choices:
main food source
drafted by
drug used for treatment
religious order
occupation
occupant
copyright holder
superhuman feature or ability
kit supplier
enclave within
Program:
function: Find
inputs: film director
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Tom Brady
function: And
dependencies: 1
2
function: Find
inputs: film director
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Brady" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "film director" . ?e_2 <pred:name> "film director" . ?e_1 ?p ?e_2 .  }
Answer: occupation