Pervasive Computing and Space: A Knowledge Based Approach