Question: How is bassoon player Roy Wood related to bagpipes?
Choices:
instrument
cast member
religious order
nutrient
has dialect (DEPRECATED)
dialect of
official language
participant of
parent organization
filmography
Answer: instrument
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roy Wood" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> "bassoon" . ?e_2 <pred:name> "bagpipes" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: bassoon
function: Relate
dependencies: 0
inputs: instrument
backward
function: Find
inputs: Roy Wood
function: And
dependencies: 1
2
function: Find
inputs: bagpipes
function: QueryRelation
dependencies: 3
4