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: diet 
 Entity 2: algae
yes

Entity 1: jackal 
 Entity 2: fruit
no

Entity 1: radio wave 
 Entity 2: and electromagnetic field

yes