Self-Organising Semantic Resource Discovery for Pervasive Systems