|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfleischhacker.uni.thesis.semantic.pragmaticsemantic.PragmaticSemantic
public class PragmaticSemantic
Implements the pragmatic semantic. The pragmatic semantic supports the following pairs of entities in a correspondence (C - concept, OP - objecttype property, DP - datatype property):
Constructor Summary | |
---|---|
PragmaticSemantic(Ontology onto1,
Ontology onto2)
Initializes the pragmatic 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. |
org.semanticweb.owl.model.OWLAxiom |
toAxiom(java.lang.String entURI1,
java.lang.String relation,
java.lang.String entURI2,
Ontology ontology)
Returns an axiom which represents the relation identified by the given relation symbol between the given two entities. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PragmaticSemantic(Ontology onto1, Ontology onto2) throws MergingException
setDeleteABoxmethod.
onto1
- ontology 1onto2
- ontology 2
MergingException
Method 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 org.semanticweb.owl.model.OWLAxiom toAxiom(java.lang.String entURI1, java.lang.String relation, java.lang.String entURI2, Ontology ontology)
entURI1
- URI of first entityrelation
- relation symbolentURI2
- URI of second entityontology
- ontology to create axiom for
public 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 |