Complex sentence: The ship foundered in the Atlantic Ocean off Cape St. Vincent, Portugal while on a voyage from Malaga, Spain to London.
Split into simpler sentences: The ship foundered in the Atlantic Ocean off Cape St. Vincent Portugal. She was on a voyage from Málaga, Spain to London.