Suppose Harry Potter is a series of fantasy novels written by British author J.K. Rowling. The series follows the journey of a young wizard, Harry Potter, and his friends Hermione Granger and Ron Weasley, as they battle the dark wizard Lord Voldemort. The series consists of seven books, each focusing on a different year of Harry's education at Hogwarts School of Witchcraft and Wizardry.
Can we infer that "The main character in Harry Potter is Hermione Granger."?