Scheme is a synonym of Device. Device is related to Ball. 
Frame is a type of Application. Application is a synonym of Attention. 
Scheme <--Synonym--> Device <--RelatedTo--> Ball 
Frame --IsA--> Application <--Synonym--> Attention 