USS "Nicholson" (DD-982), a "Spruance"-class destroyer, was the fourth ship of the United States Navy to be named for a family which was prominent in early American naval history, including James Nicholson, the senior Continental Navy Captain, and Samuel Nicholson, the first captain of USS "Constitution".
The USS Nicholson was captained by James Nicholson.
The USS Nicholson was named for James Nicholson, but it doesn't specify whether he captained that specific ship. The system very closely figured it out, but it did miss it probably due to the rearranged context.