Question: Which British Museum person-institution code corresponds to the individual who was the focus of the costume drama Amadeus?
Choices: 42265
133302
48088
204799
105726
169041
39629
204736
84427
147797
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Amadeus" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "costume drama" .  ?e <British_Museum_person-institution> ?pv .  }
Program:
function: Find
inputs: costume drama
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Amadeus
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: British Museum person-institution
Answer: 39629