Question: What has Neil Young (the one that was nominated for Academy Award for Best Original Song) in common with a piano?
Choices:
country for sport
languages spoken, written or signed
place of burial
partner
affiliation
afflicts
instrument
worshipped by
follows
coextensive with
Program:
function: Find
inputs: Academy Award for Best Original Song
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Neil Young
function: And
dependencies: 1
2
function: Find
inputs: piano
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Neil Young" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Original Song" . ?e_2 <pred:name> "piano" . ?e_1 ?p ?e_2 .  }
Answer: instrument