Text: A man in a black hat is resting his arm on a metal shelf.
Entailment: A man in a hat resting.
Contradiction: A man without a hat working hard.