NIHVIVO-3673 data migration
This commit is contained in:
parent
5370ad5b8c
commit
eac8c63160
1 changed files with 9 additions and 2 deletions
|
@ -91,11 +91,18 @@ public class KnowledgeBaseUpdater {
|
|||
|
||||
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");
|
||||
updateTBoxAnnotations();
|
||||
|
||||
log.info("\tupdating the abox");
|
||||
updateABox(changes);
|
||||
}
|
||||
|
||||
|
||||
private void performSparqlConstructAdditions(String sparqlConstructDir, OntModel readModel, OntModel writeModel) throws IOException {
|
||||
|
||||
Model anonModel = performSparqlConstructs(sparqlConstructDir, readModel, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue