Code is a type of Tag. Tag is a type of Attach. Attach is related to Leg. Leg is related to Human. 
Phenomenon is related to Rain. Rain is related to Clear. Diamond can be Clear. 
Code --IsA--> Tag --IsA--> Attach <--RelatedTo--> Leg <--RelatedTo--> Human 
Phenomenon <--RelatedTo--> Rain <--RelatedTo--> Clear <--HasProperty-- Diamond 