Towards a Unified Approach for Expert and Database Systems