Package org.semanticweb.owlapi.change
Class MakePrimitiveSubClassesMutuallyDisjoint
java.lang.Object
org.semanticweb.owlapi.change.AbstractCompositeOntologyChange
org.semanticweb.owlapi.change.MakePrimitiveSubClassesMutuallyDisjoint
- All Implemented Interfaces:
Serializable
,OWLCompositeOntologyChange
For a given class, this composite change makes its told primitive subclasses
mutually disjoint. For example, if B, C, and D are primitive subclasses of A
then this composite change will make B, C, and D mutually disjoint.
More formally, for a given class, A, and a set of ontologies, S, this method will obtain a set of classes, G, where all classes in G are named and primitive. Moreover, for any class, B in G, some ontology O in S will contain an axiom, SubClassOf(B, A). All classes in G will be made mutually disjoint by creating axiom(s) in a target ontology T.
This composite change supports a common design pattern where primitive subclasses of a class are made mutually disjoint.
More formally, for a given class, A, and a set of ontologies, S, this method will obtain a set of classes, G, where all classes in G are named and primitive. Moreover, for any class, B in G, some ontology O in S will contain an axiom, SubClassOf(B, A). All classes in G will be made mutually disjoint by creating axiom(s) in a target ontology T.
This composite change supports a common design pattern where primitive subclasses of a class are made mutually disjoint.
- Since:
- 2.1.0
- Author:
- Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMakePrimitiveSubClassesMutuallyDisjoint
(OWLDataFactory dataFactory, OWLClass cls, OWLOntology targetOntology) Instantiates a new make primitive sub classes mutually disjoint.MakePrimitiveSubClassesMutuallyDisjoint
(OWLDataFactory dataFactory, OWLClass cls, OWLOntology targetOntology, boolean usePairwiseDisjointAxioms) Instantiates a new make primitive sub classes mutually disjoint. -
Method Summary
Methods inherited from class org.semanticweb.owlapi.change.AbstractCompositeOntologyChange
getChanges
-
Constructor Details
-
MakePrimitiveSubClassesMutuallyDisjoint
public MakePrimitiveSubClassesMutuallyDisjoint(OWLDataFactory dataFactory, OWLClass cls, OWLOntology targetOntology) Instantiates a new make primitive sub classes mutually disjoint.- Parameters:
dataFactory
- the datafactory to usecls
- the class to converttargetOntology
- the target ontology
-
MakePrimitiveSubClassesMutuallyDisjoint
public MakePrimitiveSubClassesMutuallyDisjoint(OWLDataFactory dataFactory, OWLClass cls, OWLOntology targetOntology, boolean usePairwiseDisjointAxioms) Instantiates a new make primitive sub classes mutually disjoint.- Parameters:
dataFactory
- the datafactory to usecls
- the class to converttargetOntology
- the target ontologyusePairwiseDisjointAxioms
- true if pairwise disjoint axioms should be used
-