Question: What is cast member Harold Ramis' character role in the work, Ghostbusters (the one whose publication date is 1984-12-07)?
Choices: Gilbert Kane
Ramesses II
Egon Spengler
Remus Lupin
Vincent Freeman
George Washington
Jack Ruby
Alejandro de la Vega
Gareth Mallory
Cyrus Lupo
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Ghostbusters" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1984-12-07"^^xsd:date . ?e_2 <pred:name> "Harold Ramis" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: Ghostbusters
function: FilterDate
dependencies: 0
inputs: publication date
1984-12-07
=
function: Find
inputs: Harold Ramis
function: QueryRelationQualifier
dependencies: 1
2
inputs: cast member
character role
Answer: Egon Spengler