Question: What does the piano have to do with accordionist Richard Wright?
Choices:
student
art director
patron saint
set in period
newspaper format
position played on team / speciality
inspired by
maintained by
famous people
head of state
Program:
function: Find
inputs: piano
function: Find
inputs: accordion
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Richard Wright
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "piano" . ?e_2 <pred:name> "Richard Wright" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "accordion" . ?e_1 ?p ?e_2 .  }
Answer: famous people