Discovery of direct and indirect temporal association patterns in large transaction databases