latest migration code - update to migrated VocabularySourceReference
This commit is contained in:
parent
3d3ddf592e
commit
8fcc6807ab
1 changed files with 5 additions and 2 deletions
|
@ -645,9 +645,12 @@ public class ABoxUpdater {
|
||||||
Resource resource = vsrIter.next();
|
Resource resource = vsrIter.next();
|
||||||
StmtIterator typeiter = resource.listProperties(RDF.type);
|
StmtIterator typeiter = resource.listProperties(RDF.type);
|
||||||
while (typeiter.hasNext()) {
|
while (typeiter.hasNext()) {
|
||||||
retractions.add(typeiter.next());
|
Statement typeStatement = typeiter.next();
|
||||||
|
if (!typeStatement.getObject().equals(OWL_THING)) {
|
||||||
|
retractions.add(typeStatement);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
additions.add(resource,RDF.type, OWL_THING);
|
additions.add(resource, RDF.type, OWL_THING);
|
||||||
typeCount++;
|
typeCount++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue