Question: The profession of pianist relates in what way to Johnny Green, Academy Award nominee for Best Original Musical Score?
Choices:
main subject
occupation
culture
maintained by
contains administrative territorial entity
sport
child astronomical body
film release region
commander of
used by
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Johnny Green" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Original Musical Score" . ?e_2 <pred:name> "pianist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Original Musical Score
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Johnny Green
function: And
dependencies: 1
2
function: Find
inputs: pianist
function: QueryRelation
dependencies: 3
4