Question: What is the character role of Regis Philbin in Shrek the Third (the one whose title is Shrek the Third)?
Choices:
Queen Lillian
Minerva McGonagall
Darth Vader
Derek Zoolander
Gabrielle Solis
Don Lino
David Banner
Richard Kimble
Data
Mabel the Ugly Stepsister
Program:
function: Find
inputs: Shrek the Third
function: FilterStr
dependencies: 0
inputs: title
Shrek the Third
function: Find
inputs: Regis Philbin
function: QueryRelationQualifier
dependencies: 1
2
inputs: voice actor
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Shrek the Third" . ?e_1 <title> ?pv . ?pv <pred:value> "Shrek the Third" . ?e_2 <pred:name> "Regis Philbin" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Mabel the Ugly Stepsister