Output is related to Writing. Writing is a synonym of Work. Work is a type of Succeed. 
Queen is related to King. 
Output <--RelatedTo--> Writing <--Synonym--> Work --IsA--> Succeed 
Queen <--RelatedTo--> King 