// fac.getOWLImportsDeclaration(importedOntologyIRI);
// manager.applyChange(new AddImport(baseOnt,
// manager.getOWLDataFactory()
// .getOWLImportsDeclaration(importedIRI)));
} else if (tag == OboFormatTag.TAG_SUBSETDEF) {
OWLAnnotationProperty parentAnnotProp = trTagToAnnotationProp(t);
/*
* OWLClass cls = clsToDeclar.get(t); if(cls == null){ cls =
* trClass(trTagToIRI(t).toString());
* add(fac.getOWLDeclarationAxiom(cls)); clsToDeclar.put(t,
* cls); }
*/
for (Clause clause : headerFrame.getClauses(t)) {
OWLAnnotationProperty childAnnotProp = trAnnotationProp(clause
.getValue(String.class));
Set<OWLAnnotation> annotations = trAnnotations(clause);
add(fac.getOWLSubAnnotationPropertyOfAxiom(childAnnotProp,
parentAnnotProp, annotations));
// OWLIndividual indv= trIndividual(
// clause.getValue().toString() );
// add (fac.getOWLClassAssertionAxiom(cls, indv) );
OWLAnnotationProperty ap = trTagToAnnotationProp(OboFormatTag.TAG_COMMENT
.getTag());
add(fac.getOWLAnnotationAssertionAxiom(ap,
childAnnotProp.getIRI(),
trLiteral(clause.getValue2())));
}
} else if (tag == OboFormatTag.TAG_SYNONYMTYPEDEF) {
OWLAnnotationProperty parentAnnotProp = trTagToAnnotationProp(t);
for (Clause clause : headerFrame.getClauses(t)) {
Object[] values = clause.getValues().toArray();
OWLAnnotationProperty childAnnotProp = trAnnotationProp(values[0]
.toString());
IRI childIRI = childAnnotProp.getIRI();
Set<OWLAnnotation> annotations = trAnnotations(clause);
add(fac.getOWLSubAnnotationPropertyOfAxiom(childAnnotProp,
parentAnnotProp, annotations));
OWLAnnotationProperty ap = trTagToAnnotationProp(OboFormatTag.TAG_NAME
.getTag());
add(fac.getOWLAnnotationAssertionAxiom(ap, childIRI,
trLiteral(values[1])));
if (values.length > 2 && !values[2].toString().isEmpty()) {
ap = trTagToAnnotationProp(OboFormatTag.TAG_SCOPE