|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.unima.alcomox.ontology.AlcomoReasoner de.unima.alcomox.ontology.CompleteReasoner
public class CompleteReasoner
This class represents a complete reasoner for conflict detection in mappings. It is complete for correspondences connecting classes with classes and object properties with object properties. For data properties what is meant by completeness is explained in some paper.
Field Summary |
---|
Fields inherited from class de.unima.alcomox.ontology.AlcomoReasoner |
---|
extractionProblem, log, sourceOntology, targetOntology |
Constructor Summary | |
---|---|
CompleteReasoner(LocalOntology sourceOntology,
LocalOntology targetOntology,
ExtractionProblem extractionProblem)
Constructs an reasoner for complete conflict detection. |
Method Summary | |
---|---|
void |
attachValidatedMapping(Mapping mapping)
Adds a validated mapping that will be used in reasoning in a fixed way. |
Mapping |
getConflictSet(Mapping mapping)
|
MergedOntology |
getMergedOntology()
|
java.util.Set<org.semanticweb.owlapi.model.OWLClass> |
getUnsatisfiableClasses(Mapping mapping)
A complete method for computing the set of all unsatisfiable classes in the merged ontology.. |
boolean |
isConflictSet(Mapping mapping)
A complete method for checking if a set of correspondences induces a conflict. |
void |
resetValidatedMapping()
Removes an (incrementally) attached validated mapping. |
Correspondence |
searchInvalidCorrespondence(Mapping mapping)
Searches binary and returns a correspondence being part of a conflict. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompleteReasoner(LocalOntology sourceOntology, LocalOntology targetOntology, ExtractionProblem extractionProblem) throws AlcomoException
sourceOntology
- Source ontology.targetOntology
- Target ontology.extractionProblem
- The extraction problem that this reasoner is used for.
AlcomoException
Method Detail |
---|
public boolean isConflictSet(Mapping mapping) throws AlcomoException
mapping
- The mapping that is checked for conflicts
AlcomoException
- Thrown if the merging if the ontologies fails.public Mapping getConflictSet(Mapping mapping) throws OntologyException
OntologyException
public java.util.Set<org.semanticweb.owlapi.model.OWLClass> getUnsatisfiableClasses(Mapping mapping) throws AlcomoException
AlcomoException
public Correspondence searchInvalidCorrespondence(Mapping mapping) throws AlcomoException
mapping
- The mapping where the correspondence is searched for.
AlcomoException
public void attachValidatedMapping(Mapping mapping) throws OntologyException
mapping
- The mapping that will be attached.
OntologyException
public void resetValidatedMapping() throws OntologyException
OntologyException
public MergedOntology getMergedOntology() throws AlcomoException
AlcomoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |