Reflection Mechanisms for Combining Prolog Databases