Question: What is the connection between Robert Taylor (the one that has the occupation of screenwriter) to screenwriter?
Choices:
affiliation
occupation
soundtrack album
source of material
operating area
award received
depicts
record label
subsidiary
diplomatic relation
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Taylor" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "screenwriter" . ?e_2 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: screenwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Robert Taylor
function: And
dependencies: 1
2
function: Find
inputs: screenwriter
function: QueryRelation
dependencies: 3
4