|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OntologySegmenter
An interface for any class implementing ontology segmentation or modularisation.
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. |
java.util.Set<OWLAxiom> |
extract(java.util.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(java.util.Set<OWLEntity> signature,
IRI iri)
Returns an ontology that is a segment of the ontology associated with this segmenter. |
OWLOntology |
extractAsOntology(java.util.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. |
Method Detail |
---|
java.util.Set<OWLAxiom> extract(java.util.Set<OWLEntity> signature)
signature
- the seed signature
java.util.Set<OWLAxiom> extract(java.util.Set<OWLEntity> signature, int superClassLevel, int subClassLevel, 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
OWLOntology extractAsOntology(java.util.Set<OWLEntity> signature, IRI iri) throws OWLOntologyCreationException
signature
- the seed signature (set of entities) for the moduleiri
- the URI for the module
OWLOntologyChangeException
- if adding axioms to the module fails
OWLOntologyCreationException
- if the module cannot be createdOWLOntology extractAsOntology(java.util.Set<OWLEntity> signature, IRI iri, int superClassLevel, int subClassLevel, 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-/subclasses
OWLOntologyChangeException
- if adding axioms to the module fails
OWLOntologyCreationException
- if the module cannot be created
Meaning of the value of superClassLevel, subClassLevel:
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |