NIHVIVO-3673 data migration
This commit is contained in:
parent
5370ad5b8c
commit
eac8c63160
1 changed files with 9 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue