Added flag so buildOntologyDB can know when the ontology has already been built.