Self-organising Semantic Resource Discovery for Pervasive Systems