As nouns,
flag officer is a hyponym of
commissioned naval officer; that is, flag officer is a
word with a more specific, narrower meaning than
commissioned naval officer:
commissioned naval officer: a commissioned officer in the navy
flag officer: a senior naval officer above the rank of captain