Question: What is the connection between Shakira (the one that has the occupation of composer) to record producer?
Choices:
presenter
studied by
grants
occupation
commander of
illustrator
taxon rank
religious order
depicted by
manner of death
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shakira" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "composer" . ?e_2 <pred:name> "record producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: composer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Shakira
function: And
dependencies: 1
2
function: Find
inputs: record producer
function: QueryRelation
dependencies: 3
4