|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.unima.alcomox.AlcomoProblem de.unima.alcomox.ExtractionProblem
public class ExtractionProblem
Field Summary | |
---|---|
static java.lang.String |
ALCOMO_URL
The namespace for additionally created entities (domain and range concepts). |
static java.lang.String |
CSEXACTNESS
The conflict sensitivity exactness determines the exactness of the conflict sensitivity estimation. |
static java.lang.String |
ENTITIES
The entities parameter determines whether only concepts correspondences or correspondences between concepts and relations are accepted. |
static int |
ENTITIES_CONCEPTSPROPERTIES
Concept and property correspondences. |
static int |
ENTITIES_ONLYCONCEPTS
Only concepts correspondences. |
static java.lang.String |
METHOD
The method parameter determines whether greedy or optimal strategy (with respect to confidences) is chosen. |
static int |
METHOD_GREEDY
Greedy method, formerly refered to as naive descending, now referred to as local optimal diagnosis. |
static int |
METHOD_GREEDY_MINIMIZE
Greedy method that generates an minimal hitting set over all pattern-based conflicts by iteratively deleting the correspondence that is involved in the highest number of conflicts. |
static int |
METHOD_OPTIMAL
Method to find an optimal solution (a minimum weighted hitting set). |
static int |
METHOD_OPTIMAL_HUN
Method to find an optimal 1:1 solution (a minimum weighted hitting set). |
static java.lang.String |
REASONING
The reasoning parameter determines whether efficient (incomplete) pairwise reasoning or complete reasoning is used to detect conflicts. |
static int |
REASONING_BRUTEFORCE
Brute force complete reasoning. |
static int |
REASONING_COMPLETE
Complete reasoning. |
static int |
REASONING_D
Brute force complete reasoning. |
static int |
REASONING_EFFICIENT
Pairwise incomplete conflict reasoning. |
Fields inherited from class de.unima.alcomox.AlcomoProblem |
---|
initialized, inputMapping, solved, sourceOntology, targetOntology |
Constructor Summary | |
---|---|
ExtractionProblem()
Constructs an extraction problem with standard settings (concepts and props, optimal, complete). |
|
ExtractionProblem(int valueX,
int valueY,
int valueZ)
Constructs an extraction problem and specifies the way it will be solved. |
Method Summary | |
---|---|
void |
equalizeBoundedMappingTrust()
|
java.util.Set<ConflictPair> |
getConflicSets()
Deprecated. Will be removed in following AlcomoVersions (was used in javasript based manual evaluation). Computes the set of all conflict sets in the efficient mode. This method will find most pairs of conflicting correspondences, conflict sets of higher cardinality are not yet supported. |
Mapping |
getDiscardedMapping()
Returns the mapping discarded as results of solving this extraction problem. |
java.util.HashSet<java.lang.String> |
getEntities()
|
Mapping |
getExtractedMapping()
Returns the mapping extracted as results of solving this extraction problem. |
java.util.HashSet<java.lang.String> |
getLocalUnsatisfiableEntities()
Returns the uris (as strings) of all unsatisfiable concepts of both local ontologies. |
MergedOntology |
getMergedOntology()
|
java.util.HashSet<java.lang.String> |
getMergedUnsatisfiableEntities()
Returns the uris (as strings) of all unsatisfiable concepts of ther merged ontology based on the currecnt input mapping. |
Mapping |
getNonReferingInputMapping()
|
int |
getParam(java.lang.String key)
Returns the value of a parameter. |
Mapping |
getReferingInputMapping()
|
void |
init()
|
boolean |
interpretPartOfAsDisjointness()
|
boolean |
isCoherentExtraction()
Checks with complete reasoning wether the extracted mapping is coherent. |
void |
partOfAsDisjointness()
Calling this method adds disjointness axioms for each part-of axiom. |
boolean |
solve()
Solves the extraction problem. |
Methods inherited from class de.unima.alcomox.AlcomoProblem |
---|
bindMapping, bindSourceOntology, bindTargetOntology, checkBindings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String METHOD
METHOD_GREEDY
and METHOD_OPTIMAL
.
public static final java.lang.String ENTITIES
ENTITIES_ONLYCONCEPTS
and ENTITIES_CONCEPTSPROPERTIES
.
public static final java.lang.String REASONING
REASONING_EFFICIENT
, REASONING_COMPLETE
and REASONING_BRUTEFORCE
.
public static final java.lang.String CSEXACTNESS
public static final int METHOD_GREEDY
public static final int METHOD_OPTIMAL
public static final int METHOD_OPTIMAL_HUN
public static final int METHOD_GREEDY_MINIMIZE
public static final int ENTITIES_ONLYCONCEPTS
public static final int ENTITIES_CONCEPTSPROPERTIES
public static final int REASONING_EFFICIENT
public static final int REASONING_COMPLETE
public static final int REASONING_BRUTEFORCE
public static final int REASONING_D
public static final java.lang.String ALCOMO_URL
Constructor Detail |
---|
public ExtractionProblem(int valueX, int valueY, int valueZ) throws PCFException
valueX
- Value of the parameter METHOD
, ENTITIES
, or REASONING
.valueY
- Value of the parameter METHOD
, ENTITIES
, or REASONING
.valueZ
- Value of the parameter METHOD
, ENTITIES
, or REASONING
.
PCFException
- Thrown if invalid values for the parameters are chosen or one required parameter has not been set.public ExtractionProblem() throws PCFException
PCFException
Method Detail |
---|
public int getParam(java.lang.String key)
key
- The parameter name.
public boolean interpretPartOfAsDisjointness()
public void partOfAsDisjointness()
public boolean solve() throws AlcomoException
solve
in class AlcomoProblem
AlcomoException
- Thrown if some parameters are not set correctly or
some problems occur during reasoning.public boolean isCoherentExtraction() throws AlcomoException
AlcomoException
public java.util.Set<ConflictPair> getConflicSets()
public Mapping getExtractedMapping() throws PCFException
PCFException
- Thrown if the problem has not been solved yet.public Mapping getNonReferingInputMapping() throws PCFException
PCFException
public Mapping getReferingInputMapping() throws PCFException
PCFException
public Mapping getDiscardedMapping() throws PCFException
PCFException
- Thrown if the problem has not been solved yet.public void init() throws AlcomoException
init
in class AlcomoProblem
AlcomoException
public void equalizeBoundedMappingTrust()
public java.util.HashSet<java.lang.String> getEntities() throws PCFException
PCFException
public java.util.HashSet<java.lang.String> getLocalUnsatisfiableEntities() throws AlcomoException
AlcomoException
public java.util.HashSet<java.lang.String> getMergedUnsatisfiableEntities() throws AlcomoException
AlcomoException
public MergedOntology getMergedOntology() throws AlcomoException
AlcomoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |