text: Hogwarts School of Witchcraft and Wizardry or simply Hogwarts is the primary setting for the first six books of the Harry Potter series by J. K. Rowling , with each book lasting the equivalent of one school year .
simplified: Hogwarts School of Witchcraft and Wizardry is a fictional boarding school in J. K. Rowling 's best-selling Harry Potter series .