public interface OntologySegmenter
Modifier and Type | Method and Description |
---|---|
Set<OWLAxiom> |
extract(Set<OWLEntity> signature)
Returns a set of axioms that is a segment of the ontology associated with this segmenter.
|
Set<OWLAxiom> |
extract(Set<OWLEntity> signature,
int superClassLevel,
int subClassLevel,
OWLReasoner reasoner)
Returns a set of axioms that is a segment of the ontology associated with this segmenter.
|
OWLOntology |
extractAsOntology(Set<OWLEntity> signature,
IRI iri)
Returns an ontology that is a segment of the ontology associated with this segmenter.
|
OWLOntology |
extractAsOntology(Set<OWLEntity> signature,
IRI iri,
int superClassLevel,
int subClassLevel,
OWLReasoner reasoner)
Returns an ontology that is a segment of the ontology associated with this segmenter.
|
@Nonnull Set<OWLAxiom> extract(@Nonnull Set<OWLEntity> signature)
signature
- the seed signature@Nonnull Set<OWLAxiom> extract(@Nonnull Set<OWLEntity> signature, int superClassLevel, int subClassLevel, @Nonnull OWLReasoner reasoner)
signature
- the seed signaturesuperClassLevel
- determines whether superclasses are added to the signature before
segment extraction, see below for admissible valuessubClassLevel
- determines whether subclasses are added to the signature before segment
extraction, see below for admissible valuesreasoner
- the reasoner to determine super-/subclasses@Nonnull OWLOntology extractAsOntology(@Nonnull Set<OWLEntity> signature, @Nonnull IRI iri) throws OWLOntologyCreationException
signature
- the seed signature (set of entities) for the moduleiri
- the URI for the moduleOWLOntologyCreationException
- if the module cannot be created@Nonnull OWLOntology extractAsOntology(@Nonnull Set<OWLEntity> signature, @Nonnull IRI iri, int superClassLevel, int subClassLevel, @Nonnull OWLReasoner reasoner) throws OWLOntologyCreationException
signature
- the seed signatureiri
- the URI for the modulesuperClassLevel
- determines whether superclasses are added to the signature before
segment extraction, see below for admissible valuessubClassLevel
- determines whether subclasses are added to the signature before segment
extraction, see below for admissible valuesreasoner
- the reasoner to determine super-/subclassesOWLOntologyCreationException
- if the module cannot be created Meaning of the value of
superClassLevel, subClassLevel:Copyright © 2020 The University of Manchester. All rights reserved.