Question: What is the relationship between Roy Wood (the one that is famous for bagpipes) to French horn?
Choices:
approved by
religion
political alignment
officeholder
fictional universe described in
instrument
update method
record label
followed by
professional or sports partner
Answer: instrument
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roy Wood" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "bagpipes" . ?e_2 <pred:name> "French horn" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: bagpipes
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Roy Wood
function: And
dependencies: 1
2
function: Find
inputs: French horn
function: QueryRelation
dependencies: 3
4