Question: How is slide artist David Gilmour related to the role of executive producer?
Choices:
country
rector
uses
officially opened by
narrative role
series spin-off
mascot
penalty
occupation
film crew member
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Gilmour" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "slide" . ?e_2 <pred:name> "executive producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: slide
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: David Gilmour
function: And
dependencies: 1
2
function: Find
inputs: executive producer
function: QueryRelation
dependencies: 3
4