As nouns,
shipboard duty is a hyponym of
duty assignment; that is, shipboard duty is a
word with a more specific, narrower meaning than
duty assignment:
duty assignment: a duty that you are assigned to perform (especially in the armed forces)
shipboard duty: naval service aboard a ship at sea