Question: What is the relation between Bryan Adams (the famous guitarist) and Polydor Records?
Choices:
narrative location
licensed to broadcast to
approved by
position held
destination point
record label
sponsor
significant person
part of
from fictional universe
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bryan Adams" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "guitar" . ?e_2 <pred:name> "Polydor Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: guitar
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Bryan Adams
function: And
dependencies: 1
2
function: Find
inputs: Polydor Records
function: QueryRelation
dependencies: 3
4