Question: How is screenwriter Clint Eastwood related to film director?
Choices: professional or sports partner
depicts
approved by
child astronomical body
official religion
military rank
derivative work
occupation
opposite of
located in or next to body of water
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Clint Eastwood" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_2 <pred:name> "film director" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Clint Eastwood
function: And
dependencies: 1
2
function: Find
inputs: film director
function: QueryRelation
dependencies: 3
4
Answer: occupation