Question: What is the connection between Robert Taylor (the one that has the occupation of film director) to film director?
Choices:
executive producer
heritage designation
place of publication
use
military casualty classification
noble title
producer
captain
occupation
vehicle normally used
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Taylor" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "film director" . ?e_2 <pred:name> "film director" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: film director
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Robert Taylor
function: And
dependencies: 1
2
function: Find
inputs: film director
function: QueryRelation
dependencies: 3
4