Question: What role does Paul Shaffer do the voice acting in the comedy-drama Hercules?
Choices:
Kekata
Randle McMurphy
Johnny Ringo
Conan O'Brien
Brittany Pierce
Mason Verger
Hermes
Apu Nahasapeemapetilon
Jumba Jookiba
Scrum
Answer: Hermes
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "comedy-drama" . ?e_2 <pred:name> "Paul Shaffer" . ?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: comedy-drama
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: Paul Shaffer
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
character role