Question: What is the connection between Ray Charles (the one that has the record label Atlantic Records) to composer?
Choices:
narrative role
studied by
shares border with
separated from
occupation
location of final assembly
contains settlement
rector
organisation directed from the office or person
board member
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ray Charles" . ?e_1 <record_label> ?e_3 . ?e_3 <pred:name> "Atlantic Records" . ?e_2 <pred:name> "composer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Atlantic Records
function: Relate
dependencies: 0
inputs: record label
backward
function: Find
inputs: Ray Charles
function: And
dependencies: 1
2
function: Find
inputs: composer
function: QueryRelation
dependencies: 3
4