Committee is related to Official. Official is related to Event. Planning is a type of Event. 
Code is related to Writing. Writing can be used for Fun. 
Committee <--RelatedTo--> Official <--RelatedTo--> Event <--IsA-- Planning 
Code <--RelatedTo--> Writing --UsedFor--> Fun 