Gravar-mail: Using ontology databases for scalable query answering, inconsistency detection, and data integration