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

public class LogMapRepairFilter extends MatcherYAAAOwlApi implements Filter
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

    Fields
    Modifier and Type
    Field
    Description
    private 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 repair

    Fields inherited from class de.uni_mannheim.informatik.dws.melt.matching_base.MatcherFile

    FILE_PREFIX, FILE_SUFFIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default 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 Type
    Method
    Description
    match(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 overlapping
      If the intersection or overlapping of the ontologies are extracted before the repair
    • optimal

      private boolean optimal
      If 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 repair
      optimal - 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 interface IMatcher<org.semanticweb.owlapi.model.OWLOntology,Alignment,Properties>
      Specified by:
      match in class MatcherYAAAOwlApi
      Parameters:
      source - this object represents the source ontology/knowledge graph
      target - this object represents the target ontology/knowledge graph
      inputAlignment - this object represents the input alignment.
      p - object representing additional parameters. Only add to this object and do not create a new Object like parameters= new ...() because otherwise the parameters are lost (java ist call by value). Sensible classes are Properties (preferred), Map<String, Object> or any similar data structure. Some already specified keys (strings) can be found at ParameterConfigKeys.
      Returns:
      the resulting alignment of the matching process.
      Throws:
      Exception - any exception which occurs during matching