public class TaxonTools extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NCBI |
static String |
TAXON_PREFIX |
static String |
TAXON_PURL |
Constructor and Description |
---|
TaxonTools(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner,
boolean disposeReasoner)
Create an instance for the given reasoner.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Clean up the internal data structures, usually done as last operation.
|
Set<org.semanticweb.owlapi.model.OWLClass> |
getAncestors(org.semanticweb.owlapi.model.OWLClass taxonClass,
boolean reflexive)
Wrapper method for the reasoner.
|
Set<org.semanticweb.owlapi.model.OWLClass> |
getDescendents(Set<org.semanticweb.owlapi.model.OWLClass> sources,
boolean reflexive)
Wrapper method for the reasoner
|
public static final String TAXON_PURL
public static final String NCBI
public static final String TAXON_PREFIX
public TaxonTools(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner, boolean disposeReasoner) throws org.semanticweb.owlapi.model.UnknownOWLOntologyException, org.semanticweb.owlapi.model.OWLOntologyCreationException
reasoner
- disposeReasoner
- set to true, if the reasoner should also be disposedorg.semanticweb.owlapi.model.UnknownOWLOntologyException
org.semanticweb.owlapi.model.OWLOntologyCreationException
dispose()
public Set<org.semanticweb.owlapi.model.OWLClass> getAncestors(org.semanticweb.owlapi.model.OWLClass taxonClass, boolean reflexive)
taxonClass
- reflexive
- public Set<org.semanticweb.owlapi.model.OWLClass> getDescendents(Set<org.semanticweb.owlapi.model.OWLClass> sources, boolean reflexive)
sources
- reflexive
- public void dispose()
Copyright © 2010–2015. All rights reserved.