Question: What is the character role of Corey Burton in Hercules (the one that is a notable work of Alan Menken)?
Choices:
Irene Adler
Tycho Nestoris
Mandarin
Bill
Benjamin Gates
Mr. Freeze
Larry Flynt
Foggy Nelson
Thebans
John Conroy
Answer: Thebans
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hercules" . ?e_3 <notable_work> ?e_1 . ?e_3 <pred:name> "Alan Menken" . ?e_2 <pred:name> "Corey Burton" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Alan Menken
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: Corey Burton
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role