Question: What is the connection between Rob Thomas (the one that has the occupation of film director) to film director?
Choices: location of discovery
basin country
foundational text
studies
statistical leader
member of sports team
occupation
award received
grants
copyright representative
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rob Thomas" . ?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: Rob Thomas
function: And
dependencies: 1
2
function: Find
inputs: film director
function: QueryRelation
dependencies: 3
4
Answer: occupation