query: In what movies did Harold Ramis play Dr. Egon Spengler, and what years did those films come out?
answer: In 1984, Ramis acted in Ghostbusters as Dr. Egon Spengler and repeated the role in the 1989 Ghostbusters II.