Question: What is the connection between John Williams (the one that plays the instrument piano) to 66th Academy Awards?
Choices:
genre
position played on team / speciality
member of
used by
business division
occupant
replaces
published in
talk show guest
award received
Answer: award received
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <instrument> ?e_3 . ?e_3 <pred:name> "piano" . ?e_2 <pred:name> "66th Academy Awards" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: piano
function: Relate
dependencies: 0
inputs: instrument
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: 66th Academy Awards
function: QueryRelation
dependencies: 3
4