Original: The city has three major shipyards one of which is capable of building large navy ships.
Simplified: The city has 3 major shipyards some of which are capable of building large navy ships.