Question: How is new wave artist David Byrne related to the role of screenwriter?
Choices:
head coach
film regional debut venue
military casualty classification
film release region
librettist
occupation
designed by
musical conductor
fabrication method
military branch
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Byrne" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "new wave" . ?e_2 <pred:name> "screenwriter" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: new wave
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: David Byrne
function: And
dependencies: 1
2
function: Find
inputs: screenwriter
function: QueryRelation
dependencies: 3
4