Question: Diana Ross who records on the RCA label has what connection to record producer?
Choices:
located on astronomical location
contains settlement
enclave within
father
occupant
foundational text
penalty
occupation
distribution
film release region
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Diana Ross" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> "RCA Corporation" . ?e_2 <pred:name> "record producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: RCA Corporation
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Diana Ross
function: And
dependencies: 1
2
function: Find
inputs: record producer
function: QueryRelation
dependencies: 3
4