Question: What is the association of David Bowie (who is famous for the guitar) with EMI?
Choices:
medical treatment
does not have part
has parts of the class
place of origin (Switzerland)
record label
different from
field of this occupation
exclave of
draft pick from school
applies to jurisdiction
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Bowie" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "guitar" . ?e_2 <pred:name> "EMI" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: guitar
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: David Bowie
function: And
dependencies: 1
2
function: Find
inputs: EMI
function: QueryRelation
dependencies: 3
4