public class TBoxUpdater extends Object
| Constructor and Description |
|---|
TBoxUpdater(UpdateSettings settings,
ChangeLogger logger,
ChangeRecord record)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
modifyPropertyQualifications()
Update application ontology data for domain and range-qualified properties
to use any applicable settings from obsolete subproperties
|
void |
removeObsoleteAnnotations() |
void |
renameProperty(AtomicOntologyChange changeObj) |
void |
updateAnnotationModel()
Update a knowledge base to align with changes to the vitro annotation model
in a new version of the ontology.
|
void |
updateDefaultAnnotationValues() |
void |
updateDefaultAnnotationValues(String subjectURI)
Update a knowledge base to align with changes to vitro annotation property default
values in a new version of the ontology.
|
boolean |
usesGroup(org.apache.jena.rdf.model.Model model,
org.apache.jena.rdf.model.Resource theClassGroup) |
public TBoxUpdater(UpdateSettings settings, ChangeLogger logger, ChangeRecord record)
settings - - update settingslogger - - for writing to the change log
and the error log.record - - for writing to the additions model
and the retractions model.public void modifyPropertyQualifications()
throws IOException
IOExceptionpublic void updateDefaultAnnotationValues()
throws IOException
IOExceptionpublic void updateDefaultAnnotationValues(String subjectURI) throws IOException
IOExceptionpublic void updateAnnotationModel()
throws IOException
IOExceptionpublic boolean usesGroup(org.apache.jena.rdf.model.Model model,
org.apache.jena.rdf.model.Resource theClassGroup)
throws IOException
IOExceptionpublic void removeObsoleteAnnotations()
throws IOException
IOExceptionpublic void renameProperty(AtomicOntologyChange changeObj) throws IOException
IOExceptionCopyright © 2022. All rights reserved.