Question: What is the character role of Maurice LaMarche in Animaniacs (the one whose number of seasons is 5)?
Choices:
Terence McDonagh
Calhoun
Mr. Smee
Brain
Valentin Zukovsky
Robert Langdon
Havelock Vetinari
Ulysses S. Grant
Molly Weasley
Metatron
Answer: Brain
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Animaniacs" . ?e_1 <number_of_seasons> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5"^^xsd:double . ?e_2 <pred:name> "Maurice LaMarche" . ?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: Animaniacs
function: FilterNum
dependencies: 0
inputs: number of seasons
5
=
function: Find
inputs: Maurice LaMarche
function: QueryRelationQualifier
dependencies: 1
2
inputs: voice actor
character role