KDDML: a Middleware Language and System for Knowledge Discovery in Databases