Question: What is the relation of classical musician John Adams to the clarinet?
Choices:
instrument
honorific prefix
field of this occupation
item operated
destination point
publisher
after a work by
archives at
family
owned by
Answer: instrument
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Adams" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "classical music" . ?e_2 <pred:name> "clarinet" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: classical music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: John Adams
function: And
dependencies: 1
2
function: Find
inputs: clarinet
function: QueryRelation
dependencies: 3
4