Trash is a type of Refuse. you are likely to find Nasty in/at/on Trash. Nasty is a synonym of Sharp. Sharp is a synonym of Illegal. 
Sentence is a type of Declare. Declare is related to Statement. 
Refuse <--IsA-- Trash <--AtLocation-- Nasty <--Synonym--> Sharp <--Synonym--> Illegal 
Sentence --IsA--> Declare <--RelatedTo--> Statement 