public class OWLAPIObo2Owl extends Object
| Modifier and Type | Field and Description |
|---|---|
static Map<String,org.semanticweb.owlapi.model.IRI> |
ANNOTATIONPROPERTYMAP
The annotation property map.
|
static String |
IRI_PROP_ISREVERSIBLEPROPERTYCHAIN
The Constant IRI_PROP_isReversiblePropertyChain.
|
| Constructor and Description |
|---|
OWLAPIObo2Owl(org.semanticweb.owlapi.model.OWLOntologyManager manager)
Instantiates a new oWLAPI obo2 owl.
|
public static final String IRI_PROP_ISREVERSIBLEPROPERTYCHAIN
@Nonnull public static final Map<String,org.semanticweb.owlapi.model.IRI> ANNOTATIONPROPERTYMAP
public OWLAPIObo2Owl(org.semanticweb.owlapi.model.OWLOntologyManager manager)
manager - the managerpublic static void convertURL(@Nonnull String iri, @Nonnull String outFile, @Nonnull org.semanticweb.owlapi.model.OWLOntologyManager manager) throws IOException, org.semanticweb.owlapi.model.OWLOntologyCreationException, org.semanticweb.owlapi.model.OWLOntologyStorageException
iri - the irioutFile - the out filemanager - manager to useIOException - Signals that an I/O exception has occurred.org.semanticweb.owlapi.model.OWLOntologyCreationException - the oWL ontology creation exceptionorg.semanticweb.owlapi.model.OWLOntologyStorageException - the oWL ontology storage exceptionOBOFormatParserException - the oBO format parser exceptionpublic static void convertURL(String iri, @Nonnull String outFile, String defaultOnt, @Nonnull org.semanticweb.owlapi.model.OWLOntologyManager manager) throws IOException, org.semanticweb.owlapi.model.OWLOntologyCreationException, org.semanticweb.owlapi.model.OWLOntologyStorageException
iri - the irioutFile - the out filedefaultOnt - -- e.g. "go". If the obo file contains no "ontology:" header tag,
this is addedmanager - the manager to be usedIOException - Signals that an I/O exception has occurred.org.semanticweb.owlapi.model.OWLOntologyCreationException - the oWL ontology creation exceptionorg.semanticweb.owlapi.model.OWLOntologyStorageException - the oWL ontology storage exceptionOBOFormatParserException - the oBO format parser exception
convertURL(String iri, String outFile, OWLOntologyManager manager)public org.semanticweb.owlapi.model.OWLOntologyManager getManager()
public void setManager(org.semanticweb.owlapi.model.OWLOntologyManager manager)
manager - the new managerpublic OBODoc getObodoc()
public void setObodoc(OBODoc obodoc)
obodoc - the new obodocpublic org.semanticweb.owlapi.model.OWLOntology convert(@Nonnull String oboFile) throws org.semanticweb.owlapi.model.OWLOntologyCreationException
oboFile - the obo fileorg.semanticweb.owlapi.model.OWLOntologyCreationException - the oWL ontology creation exception@Nonnull public org.semanticweb.owlapi.model.OWLOntology convert(OBODoc doc) throws org.semanticweb.owlapi.model.OWLOntologyCreationException
doc - the obodocorg.semanticweb.owlapi.model.OWLOntologyCreationException - the oWL ontology creation exceptionpublic org.semanticweb.owlapi.model.OWLOntology convert(OBODoc doc, @Nonnull org.semanticweb.owlapi.model.OWLOntology in)
doc - the obodocin - the inpublic void trHeaderFrame(@Nonnull Frame headerFrame)
headerFrame - the header framepublic org.semanticweb.owlapi.model.OWLClassExpression trTermFrame(@Nonnull Frame termFrame)
termFrame - the term frame@Nonnull public Set<org.semanticweb.owlapi.model.OWLAxiom> trTermFrameClauses(@Nonnull org.semanticweb.owlapi.model.OWLClass cls, @Nonnull Collection<Clause> clauses, String t)
cls - the clsclauses - the clausest - the t@Nullable public org.semanticweb.owlapi.model.OWLNamedObject trTypedefFrame(@Nonnull Frame typedefFrame)
typedefFrame - the typedef framepublic org.semanticweb.owlapi.model.OWLClassExpression trRel(@Nonnull String relId, @Nonnull String classId, @Nonnull Collection<QualifierValue> quals)
relId - the rel idclassId - the class idquals - the quals@Nonnull public static org.semanticweb.owlapi.model.IRI trTagToIRI(String tag)
tag - the tag@Nonnull public org.semanticweb.owlapi.model.IRI oboIdToIRI(@Nonnull String id)
id - the id@Nonnull public org.semanticweb.owlapi.model.IRI oboIdToIRI_load(@Nonnull String id)
id - the idCopyright © 2010-2015 The University of Manchester. All Rights Reserved.