de.dfleischhacker.uni.thesis.semantic
Interface SemanticModule

All Known Implementing Classes:
NaturalSemantic, NullSemantic, PragmaticSemantic

public interface SemanticModule

This defines the interface for modules implementing new semantics. It is actually made for supporting reductionistic semantics but the design is general enough so that it should be possible to implement some non-reductionistic semantics. For some examples how to implement semantics see the NullSemantic (not really a semantic), NaturalSemantic and PragmaticSemantic classes (these are reductionistic semantics).


Method Summary
 ClosureResult getClosure(Alignment align)
          This methods returns the closure result of the given alignment.
 void setDeleteABox(boolean delete)
          Used to set if the semantic should pay attention to individuals in the ontologies or has to ignore them.
 

Method Detail

getClosure

ClosureResult getClosure(Alignment align)
                         throws MergingException,
                                ClosureGenerationException
This methods returns the closure result of the given alignment. The internal implementation is pretty much unrestricted but there are some classes which use simplify the development of new semantic modules. The OntologyRenamer class is the most notable of these helper classes.

Parameters:
align - alignment to generate the closure for
Returns:
closure result for the given alignment under the ontologies and semantic of this semantic module
Throws:
MergingException
ClosureGenerationException

setDeleteABox

void setDeleteABox(boolean delete)
Used to set if the semantic should pay attention to individuals in the ontologies or has to ignore them.

Parameters:
delete - if true the semantic ignores individuals in the ontology, if false it pays attention to the ontology's individuals