Class LogMapRepairFilter
java.lang.Object
eu.sealsproject.platform.res.tool.impl.AbstractPlugin
de.uni_mannheim.informatik.dws.melt.matching_base.MatcherURL
de.uni_mannheim.informatik.dws.melt.matching_base.MatcherFile
de.uni_mannheim.informatik.dws.melt.matching_owlapi.MatcherYAAA
de.uni_mannheim.informatik.dws.melt.matching_owlapi.MatcherYAAAOwlApi
de.uni_mannheim.informatik.dws.melt.matching_owlapi_matchers.logmap.LogMapRepairFilter
- All Implemented Interfaces:
Filter
,IMatcher<org.semanticweb.owlapi.model.OWLOntology,
,Alignment, Properties> eu.sealsproject.platform.res.domain.omt.IOntologyMatchingToolBridge
,eu.sealsproject.platform.res.tool.api.IPlugin
,eu.sealsproject.platform.res.tool.api.IToolBridge
This is the logmap repair filter.
More information can be found at the wiki
and in the github repository.
In case you want to use this filter, make the dependency of matching-owlapi-matchers to exclude the following:
<exclusions>
<exclusion>
<groupId>com.github.ansell.pellet</groupId>
<artifactId>pellet-modularity</artifactId>
</exclusion>
</exclusions>
and also include OWLAPI with version 4.1.3
<dependency>
<groupId>net.sourceforge.owlapi</groupId>
<artifactId>owlapi-distribution</artifactId>
<version>4.1.3</version>
</dependency>
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
If the repair is performed in a two steps process (optimal) or in one cleaning step (more aggressive)private boolean
If the intersection or overlapping of the ontologies are extracted before the repairFields inherited from class de.uni_mannheim.informatik.dws.melt.matching_base.MatcherFile
FILE_PREFIX, FILE_SUFFIX
-
Constructor Summary
ConstructorDescriptionDefault constructor which sets overlapping to and optimal to .LogMapRepairFilter
(boolean overlapping, boolean optimal) Constructor which accepts all possible parameters (overkapping and optimal). -
Method Summary
Modifier and TypeMethodDescriptionmatch
(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) Aligns two ontologies/knowledge graphs given as the first and second parameter.Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_owlapi.MatcherYAAAOwlApi
match, readOntology
Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_owlapi.MatcherYAAA
match
Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_base.MatcherFile
match
Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_base.MatcherURL
align, align, canExecute, getType
Methods inherited from class eu.sealsproject.platform.res.tool.impl.AbstractPlugin
getId, getVersion, setId, setVersion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.sealsproject.platform.res.tool.api.IPlugin
getId, getVersion
-
Field Details
-
overlapping
private boolean overlappingIf the intersection or overlapping of the ontologies are extracted before the repair -
optimal
private boolean optimalIf the repair is performed in a two steps process (optimal) or in one cleaning step (more aggressive)
-
-
Constructor Details
-
LogMapRepairFilter
public LogMapRepairFilter(boolean overlapping, boolean optimal) Constructor which accepts all possible parameters (overkapping and optimal).- Parameters:
overlapping
- If the intersection or overlapping of the ontologies are extracted before the repairoptimal
- If the repair is performed in a two steps process (optimal) or in one cleaning step (more aggressive)
-
LogMapRepairFilter
public LogMapRepairFilter()Default constructor which sets overlapping to and optimal to . like in the example of LogMap.
-
-
Method Details
-
match
public Alignment match(org.semanticweb.owlapi.model.OWLOntology source, org.semanticweb.owlapi.model.OWLOntology target, Alignment inputAlignment, Properties p) throws Exception Description copied from interface:IMatcher
Aligns two ontologies/knowledge graphs given as the first and second parameter. An additional input alignment can be given as well as parameters which further define how and what to match. In case inputAlignment or parameters is not used, making them to the Object class, will required no additional transformations of these objects (no overhead).- Specified by:
match
in interfaceIMatcher<org.semanticweb.owlapi.model.OWLOntology,
Alignment, Properties> - Specified by:
match
in classMatcherYAAAOwlApi
- Parameters:
source
- this object represents the source ontology/knowledge graphtarget
- this object represents the target ontology/knowledge graphinputAlignment
- this object represents the input alignment.p
- object representing additional parameters. Only add to this object and do not create a new Object likeparameters= new ...()
because otherwise the parameters are lost (java ist call by value). Sensible classes areProperties
(preferred),Map<String, Object>
or any similar data structure. Some already specified keys (strings) can be found atParameterConfigKeys
.- Returns:
- the resulting alignment of the matching process.
- Throws:
Exception
- any exception which occurs during matching
-