Question: What is the character role of Tim Allen (whose pseudonym is Tim Allen) as a cast member of Santa Clause 2?
Choices:
Eliot Rosewater
Clay Morrow
Hotep
Bob Harris
Martin Luther King Jr.
Nelson Mandela
Rainier Wolfcastle
Milo Minderbinder
Rita Bennett
Scott Calvin
Program:
function: Find
inputs: The Santa Clause 2
function: Find
inputs: Tim Allen
function: FilterStr
dependencies: 1
inputs: pseudonym
Tim Allen
function: QueryRelationQualifier
dependencies: 0
2
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Santa Clause 2" . ?e_2 <pred:name> "Tim Allen" . ?e_2 <pseudonym> ?pv . ?pv <pred:value> "Tim Allen" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Answer: Scott Calvin