adding post-processing sparql construct step to data migration

This commit is contained in:
brianjlowe 2013-09-19 14:17:35 -04:00
parent eb1c2d4890
commit 499630bc3b
2 changed files with 10 additions and 1 deletions

View file

@ -118,6 +118,15 @@ public class KnowledgeBaseUpdater {
log.info("\tupdating the abox");
updateABox(changes);
log.info("performing post-processing SPARQL CONSTRUCT additions");
performSparqlConstructs(settings.getSparqlConstructAdditionsDir() + "/post/",
settings.getRDFService(), ADD);
log.info("performing post-processing SPARQL CONSTRUCT retractions");
performSparqlConstructs(settings.getSparqlConstructDeletionsDir() + "/post/",
settings.getRDFService(), RETRACT);
}
private static final boolean ADD = true;

View file

@ -89,7 +89,7 @@ public class OntologyChangeParser {
}
log.info(changeObj);
log.debug(changeObj);
changeObjects.add(changeObj);