Question: What is the character role of Danny DeVito in Batman Returns (the one whose publication date is 1992-07-31)?
Choices:
Penguin
Morgan Earp
Agent Smith
Éamon de Valera
Felicity Shagwell
Ares
Kekata
Briseis
Daredevil
Kenneth Parcell
Program:
function: Find
inputs: Batman Returns
function: FilterDate
dependencies: 0
inputs: publication date
1992-07-31
=
function: Find
inputs: Danny DeVito
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Batman Returns" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1992-07-31"^^xsd:date . ?e_2 <pred:name> "Danny DeVito" . ?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: Penguin