As nouns,
attorney general is a hyponym of
peace officer; that is, attorney general is a
word with a more specific, narrower meaning than
peace officer:
peace officer: an officer of the law
attorney general: the chief law officer of a country or state