@Override
    public boolean clearKnowledgeBase() {

        if (!this.graphStoreManager.canBeModified()) {
            log.warn("The dataset cannot be modified.");
            return false;
        }

        log.info("Clearing knowledge base.");
        this.graphStoreManager.clearDataset();

        // Generate Event
        this.getEventBus().post(new KnowledgeBaseClearedEvent(new Date()));

        return true;
    }
@ Override public boolean clearKnowledgeBase ( ) { if ( ! this . graphStoreManager . canBeModified ( ) ) { log . warn ( "The dataset cannot be modified." ) ; return false ; } log . info ( "Clearing knowledge base." ) ; this . graphStoreManager . clearDataset ( ) ; this . getEventBus ( ) . post ( new KnowledgeBaseClearedEvent ( new Date ( ) ) ) ; return true ; }
Deletes all the ontologies from a Knowledge Base.
This operation cannot be undone. Use with care.

@return