Next-generation Grids: requirements and knowledge-based services