public class Obo2Owl
extends org.obolibrary.obo2owl.OWLAPIObo2Owl
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_IRI_PREFIX
Deprecated.
|
Constructor and Description |
---|
Obo2Owl() |
Obo2Owl(org.semanticweb.owlapi.model.OWLOntologyManager manager) |
Modifier and Type | Method and Description |
---|---|
org.semanticweb.owlapi.model.OWLOntology |
convert(org.obolibrary.oboformat.model.OBODoc obodoc,
boolean useFreshManager) |
static void |
convertURL(String iri,
String outFile)
Static convenience method which: (1) creates an Obo2Owl bridge object (2)
parses an obo file from a URL (3) converts that to an OWL ontology (4)
saves the OWL ontology as RDF/XML
|
add, add, addDeclaredAnnotationProperties, addOntologyAnnotation, addPropertyValueHeaders, apply, apply, convert, convert, convert, convertURL, convertURL, getDefaultIDSpace, getIdPrefix, getManager, getObodoc, getOwlOntology, getQVBoolean, getQVInt, getQVString, getURI, init, initAnnotationPropertyMap, mapPropId, oboIdToIRI, postProcess, setManager, setObodoc, setOwlOntology, tr, trAnnotationProp, trAnnotations, trAnnotations, trAnnotations, translateShorthandIdToExpandedId, trClass, trClass, trGenericClause, trGenericClause, trHeaderFrame, trIndividual, trIntersectionOf, trLiteral, trObjectProp, trObjectProp, trRel, trRelationIntersectionOf, trRelationUnionOf, trSynonymType, trTagToAnnotationProp, trTagToIRI, trTermClause, trTermFrame, trTermFrameClauses, trTypedefClause, trTypedefFrame, trTypedefToAnnotationProperty, trUnionOf
@Deprecated public static final String DEFAULT_IRI_PREFIX
public Obo2Owl()
public Obo2Owl(org.semanticweb.owlapi.model.OWLOntologyManager manager)
public static void convertURL(String iri, String outFile) throws IOException, org.semanticweb.owlapi.model.OWLOntologyCreationException, org.semanticweb.owlapi.model.OWLOntologyStorageException, org.obolibrary.oboformat.parser.OBOFormatParserException
iri
- outFile
- IOException
org.semanticweb.owlapi.model.OWLOntologyCreationException
org.semanticweb.owlapi.model.OWLOntologyStorageException
org.obolibrary.oboformat.parser.OBOFormatParserException
public org.semanticweb.owlapi.model.OWLOntology convert(org.obolibrary.oboformat.model.OBODoc obodoc, boolean useFreshManager) throws org.semanticweb.owlapi.model.OWLOntologyCreationException
obodoc
- useFreshManager
- org.semanticweb.owlapi.model.OWLOntologyCreationException
Copyright © 2010-2014. All Rights Reserved.