The advances in computing technologies have resulted in an explosive growth in computing systems and applications [ubicomp] that impact all aspects of our life. People have an increasing desire for such ubiquitous access to information, anywhere, anyplace and anytime. This trend demands for unique protocol to establish a meaningful and useful communication across ubicomp objects. Self awareness property of the object driven automatically without human intervention makes their coexistence meaningful and is a necessary requirement of ubicomp systems. In this paper we are presenting a design and implementation of query language based self-aware protocol for ubicomp objects communication.