Text: But as the invaders advanced north towards Rome, Naples successfully linked up with the then powerful maritime republic of neighboring Amalfi.
Entailment: The city of Amalfi has a strong navy.
Contradiction: The invaders were peacefully overriding the city of Rome.