Reference is a type of Meaning. you are likely to find Reference in/at/on Library. 
Sense is a type of Faculty. Attention is a type of Faculty. 
Meaning <--IsA-- Reference --AtLocation--> Library 
Sense --IsA--> Faculty <--IsA-- Attention 