NIHVIVO-3673 data migration

This commit is contained in:
stellamit 2012-06-22 19:25:28 +00:00
parent 5370ad5b8c
commit eac8c63160

View file

@ -91,9 +91,16 @@ public class KnowledgeBaseUpdater {
private void performUpdate() throws IOException { private void performUpdate() throws IOException {
// only annotations for 1.5 List<AtomicOntologyChange> rawChanges = getAtomicOntologyChanges();
AtomicOntologyChangeLists changes = new AtomicOntologyChangeLists(rawChanges,settings.getNewTBoxModel(),settings.getOldTBoxModel());
//process the TBox before the ABox
log.info("\tupdating tbox annotations"); log.info("\tupdating tbox annotations");
updateTBoxAnnotations(); updateTBoxAnnotations();
log.info("\tupdating the abox");
updateABox(changes);
} }
private void performSparqlConstructAdditions(String sparqlConstructDir, OntModel readModel, OntModel writeModel) throws IOException { private void performSparqlConstructAdditions(String sparqlConstructDir, OntModel readModel, OntModel writeModel) throws IOException {