adding post-processing sparql construct step to data migration
This commit is contained in:
parent
eb1c2d4890
commit
499630bc3b
2 changed files with 10 additions and 1 deletions
|
@ -118,6 +118,15 @@ public class KnowledgeBaseUpdater {
|
||||||
log.info("\tupdating the abox");
|
log.info("\tupdating the abox");
|
||||||
updateABox(changes);
|
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;
|
private static final boolean ADD = true;
|
||||||
|
|
|
@ -89,7 +89,7 @@ public class OntologyChangeParser {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
log.info(changeObj);
|
log.debug(changeObj);
|
||||||
|
|
||||||
changeObjects.add(changeObj);
|
changeObjects.add(changeObj);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue