Content-based Information Retrieval in SPINA