KDDML: a middleware language and system for knowledge discovery in databases