DJess : A Knowledge-Sharing Middleware to Deploy Distributed Inference Systems