She was equipped to carry a complement of four torpedoes for her two bow torpedo tubes and had an 8.8-centimeter (3.5 in) deck gun. As part of a group of six submarines selected for Mediterranean service, UB-47 was broken into railcar sized components and shipped to Pola where she was assembled and launched in June 1916, and commissioned in July. Over the next year the U-boat sank twenty ships, which included the French battleship Gaulois and two Cunard Line steamers in use as troopships, Franconia and Ivernia.