Foundations of Knowledge Base Management by