Interface ISpeciesSubsetStrategy

All Known Implementing Classes:
DefaultSpeciesSubsetter, PreciseSpeciesSubsetter

public interface ISpeciesSubsetStrategy
Represents a strategy to create a taxon-specific subset of an ontology.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.semanticweb.owlapi.model.IRI
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Set<org.semanticweb.owlapi.model.OWLClass>
    getSubset(org.semanticweb.owlapi.model.OWLOntology ontology, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner, Collection<org.semanticweb.owlapi.model.IRI> roots, org.semanticweb.owlapi.model.IRI taxon)
    Creates a taxon-specific subset of the given ontology.
  • Field Details

    • IN_TAXON

      static final org.semanticweb.owlapi.model.IRI IN_TAXON
  • Method Details

    • getSubset

      Set<org.semanticweb.owlapi.model.OWLClass> getSubset(org.semanticweb.owlapi.model.OWLOntology ontology, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner, Collection<org.semanticweb.owlapi.model.IRI> roots, org.semanticweb.owlapi.model.IRI taxon)
      Creates a taxon-specific subset of the given ontology.
      Parameters:
      ontology - The ontology to create a subset of.
      reasoner - The reasoner to use.
      roots - The root classes from which to create the subset; only those classes and their descendants will be considered to create the subset, all ancestors will be ignored; if null, defaults to owl:Thing.
      taxon - The ID of the taxon to create the subset for.
      Returns:
      The set of classes that belong to the subset.