Coordination of Distributed KnowledgeNetworks Using Contract Net