Battlestars look cool in the cinema. But this sort of carrier-battleship would be very problematic to build, and even harder to use effectively in combat. There were attempts to build such things for bluewater Navies:
But they remained only interesting footnotes as dead end in warships development. Why?
You want your battleship well armed with big guns. And well protected against enemy big guns (Otherwise https://en.wikipedia.org/wiki/HMS_Hood). With high survivability, allowing it to get up close and personal with the enemy (for WW II time period it would mean up to 30 000 meters - usually less). Which means armor. Thick slabs of high quality, dense material protecting vital parts of the ship (engines, power plant, main guns, ammo magazines). Heavy stuff.
For a carrier, you would want a ship able to carry a lot of planes, with spacious hangars and magazines for servicing and rearming your planes for the full duration of mission\battle being fought at distances of couple of hundreds of kilometers. Which require big hull - which would be difficult to protect with armor without eating into useable inner space too much. And this inner space is filled with highly combustible aircraft fuel and explosive ordnance for the planes. This tends to happen to unlucky carriers: https://en.wikipedia.org/wiki/Battle_of_Midway
That's two opposable goals you would have to merge in one ship.
Also, consider this: After even victorious battle, battleship (unless it was ridiculously, Hollywood-esque lucky) will need shipyard time, if not outright drydocking. Being hit by a fast flying, armor piercing several hundred kilograms of explosive projectile leads to much damage.
Meanwhile, victorious carrier most likely won't get hit even once, and will need only to resupply spent fuel, ordnance and replace lost planes and crews.
There are other important factors of course, but end result - extinction of battleships and domination of carriers (or rather carrier battle groups) will probably carry into space warfare as we can imagine it now.