Efficiency is a type of Ratio. Average is a type of Ratio. Average is related to Excellent. 
Illegal is a synonym of Criminal. Defendant can be Criminal. Defendant is the opposite of Prosecutor. 
Efficiency --IsA--> Ratio <--IsA-- Average <--RelatedTo--> Excellent 
Illegal <--Synonym--> Criminal <--HasProperty-- Defendant <--Antonym--> Prosecutor 