As nouns,
military policeman is a hyponym of
law officer; that is, military policeman is a
word with a more specific, narrower meaning than
law officer:
law officer: an officer of the law
military policeman: a member of the military police who polices soldiers and guards prisoners