org.semanticweb.owl.modularity
Interface OntologySegmenter

All Known Implementing Classes:
SyntacticLocalityModuleExtractor

public interface OntologySegmenter

An interface for any class implementing ontology segmentation or modularisation.

Author:
Thomas Schneider, School of Computer Science, University of Manchester

Method Summary
 java.util.Set<OWLAxiom> extract(java.util.Set<OWLEntity> signature)
          Returns a set of axioms that is a segment of the ontology associated with this segmenter.
 OWLOntology extractAsOntology(java.util.Set<OWLEntity> signature, java.net.URI uri)
          Returns an ontology that is a segment of the ontology associated with this segmenter.
 

Method Detail

extract

java.util.Set<OWLAxiom> extract(java.util.Set<OWLEntity> signature)
Returns a set of axioms that is a segment of the ontology associated with this segmenter.

Parameters:
signature - the seed signature (set of entities) for the segment
Returns:
the segment as a set of axioms

extractAsOntology

OWLOntology extractAsOntology(java.util.Set<OWLEntity> signature,
                              java.net.URI uri)
                              throws OWLOntologyCreationException,
                                     OWLOntologyChangeException
Returns an ontology that is a segment of the ontology associated with this segmenter.

Parameters:
signature - the seed signature (set of entities) for the module
uri - the URI for the module
Returns:
the module, having the specified URI
Throws:
OWLOntologyChangeException - if adding axioms to the module fails
OWLOntologyCreationException - if the module cannot be created