|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfleischhacker.uni.thesis.semantic.naturalsemantic.NaturalSemantic
public class NaturalSemantic
Implements the natural semantic. The natural semantic supports the following pairs of entities in a correspondence (C - concept, OP - objecttype property, DP - datatype property):
Constructor Summary | |
---|---|
NaturalSemantic(Ontology onto1,
Ontology onto2)
Initializes the natural semantic module. |
Method Summary | |
---|---|
ClosureResult |
getClosure(Alignment align)
Returns the closure 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NaturalSemantic(Ontology onto1, Ontology onto2) throws MergingException
setDeleteABoxmethod.
onto1
- ontology 1onto2
- ontology 2
MergingException
- thrown if it was not possible to merge the given
two ontologiesMethod Detail |
---|
public void setDeleteABox(boolean delete)
setDeleteABox
in interface SemanticModule
delete
- if true the semantic ignores individuals in the ontology,
if false it pays attention to the ontology's individualspublic ClosureResult getClosure(Alignment align) throws MergingException, ClosureGenerationException
getClosure
in interface SemanticModule
align
- alignment to create closure for
MergingException
ClosureGenerationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |