A distributed knowledge based network