Given two entities as input, classify as "yes" if second entity is the part of the first entity. Otherwise classify them as "no". These are entities of meronym In linguistics, meronymy is a semantic relation between a meronym denoting a part and a holonym denoting a whole. In simpler terms, a meronym (i.e., second entity) is in a part-of relationship with its holonym (i.e., first entity).

Entity 1: tar 
 Entity 2: alkane
yes

Entity 1: centipede 
 Entity 2: poison gland
yes

Entity 1: layer 
 Entity 2: magnetron

no