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).

Example Input: Entity 1: millipede 
 Entity 2: head
Example Output: yes

Example Input: Entity 1: margarine 
 Entity 2: level
Example Output: yes

Example Input: Entity 1: acorn squash 
 Entity 2: ridge
Example Output:
yes