public interface OntologySegmenter
| Modifier and Type | Method and Description |
|---|---|
Set<org.semanticweb.owlapi.model.OWLAxiom> |
extract(Set<org.semanticweb.owlapi.model.OWLEntity> signature)
Returns a set of axioms that is a segment of the ontology associated with this segmenter.
|
Set<org.semanticweb.owlapi.model.OWLAxiom> |
extract(Set<org.semanticweb.owlapi.model.OWLEntity> signature,
int superClassLevel,
int subClassLevel,
org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
Returns a set of axioms that is a segment of the ontology associated with this segmenter.
|
org.semanticweb.owlapi.model.OWLOntology |
extractAsOntology(Set<org.semanticweb.owlapi.model.OWLEntity> signature,
org.semanticweb.owlapi.model.IRI iri)
Returns an ontology that is a segment of the ontology associated with this segmenter.
|
org.semanticweb.owlapi.model.OWLOntology |
extractAsOntology(Set<org.semanticweb.owlapi.model.OWLEntity> signature,
org.semanticweb.owlapi.model.IRI iri,
int superClassLevel,
int subClassLevel,
org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
Returns an ontology that is a segment of the ontology associated with this segmenter.
|
Set<org.semanticweb.owlapi.model.OWLAxiom> extract(Set<org.semanticweb.owlapi.model.OWLEntity> signature)
signature - the seed signatureSet<org.semanticweb.owlapi.model.OWLAxiom> extract(Set<org.semanticweb.owlapi.model.OWLEntity> signature, int superClassLevel, int subClassLevel, org.semanticweb.owlapi.reasoner.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-/subclassesorg.semanticweb.owlapi.model.OWLOntology extractAsOntology(Set<org.semanticweb.owlapi.model.OWLEntity> signature, org.semanticweb.owlapi.model.IRI iri) throws org.semanticweb.owlapi.model.OWLOntologyCreationException
signature - the seed signature (set of entities) for the moduleiri - the URI for the moduleorg.semanticweb.owlapi.model.OWLOntologyChangeException - if adding axioms to the module failsorg.semanticweb.owlapi.model.OWLOntologyCreationException - if the module cannot be createdorg.semanticweb.owlapi.model.OWLOntology extractAsOntology(Set<org.semanticweb.owlapi.model.OWLEntity> signature, org.semanticweb.owlapi.model.IRI iri, int superClassLevel, int subClassLevel, org.semanticweb.owlapi.reasoner.OWLReasoner reasoner) throws org.semanticweb.owlapi.model.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-/subclassesorg.semanticweb.owlapi.model.OWLOntologyChangeException - if adding axioms to the module failsorg.semanticweb.owlapi.model.OWLOntologyCreationException - if the module cannot be created
Meaning of the value of superClassLevel, subClassLevel:Copyright © 2013 The University of Manchester. All Rights Reserved.