Question: Tell me the academic major of Richard Attenborough got educated at Royal Academy of Dramatic Art.
Choices:
singing
acting
harmony
anthropology
creative writing
mathematics education
physics
Russian literature
law
journalism
Answer: acting
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Richard Attenborough" . ?e_2 <pred:name> "Royal Academy of Dramatic Art" . ?e_1 <educated_at> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <educated_at> ; <pred:fact_t> ?e_2 ] <academic_major> ?qpv .  }
Program:
function: Find
inputs: Richard Attenborough
function: Find
inputs: Royal Academy of Dramatic Art
function: QueryRelationQualifier
dependencies: 0
1
inputs: educated at
academic major