Question: How is John Davis who attended Juilliard School related to piano?
Choices:
office held by head of state
captain
rector
instrument
risk factor
librettist
architectural style
model item
original film format
applies to jurisdiction
Program:
function: Find
inputs: Juilliard School
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: John Davis
function: And
dependencies: 1
2
function: Find
inputs: piano
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Davis" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Juilliard School" . ?e_2 <pred:name> "piano" . ?e_1 ?p ?e_2 .  }
Answer: instrument