Pretty is related to Handsome. Handsome is the opposite of Ugly. 
Picture is similar to Image. Image is a synonym of Representation. Virus is a type of Representation. 
Pretty <--RelatedTo--> Handsome <--Antonym--> Ugly 
Picture <--SimilarTo--> Image <--Synonym--> Representation <--IsA-- Virus 