Class MatcherPipelineSequential

All Implemented Interfaces:

public class MatcherPipelineSequential
extends Object
implements IMatcherCaller
Executes all matchers one after the other.
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • matchers

      protected List<Object> matchers
  • Constructor Details

    • MatcherPipelineSequential

      public MatcherPipelineSequential()
    • MatcherPipelineSequential

      public MatcherPipelineSequential​(Object... matchers)
    • MatcherPipelineSequential

      public MatcherPipelineSequential​(Iterable<Object> matchers)
  • Method Details

    • match

      public AlignmentAndParameters match​(Set<Object> sourceRepresentations, Set<Object> targetRepresentations, Object inputAlignment, Object parameters) throws Exception
      Description copied from interface: IMatcherCaller
      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 the matcher needs the objects in a specific type, call
      Specified by:
      match in interface IMatcherCaller
      sourceRepresentations - a set of objects which all represents the source ontology/knowledge graph
      targetRepresentations - a set of objects which all represents the target ontology/knowledge graph
      inputAlignment - this object represents the input alignment
      parameters - object representing additional parameters. Sensible classes are Properties, Map<String, Object> or any similar data structure. Some already specified keys (strings) can be found at ParameterConfigKeys.
      the resulting alignment and updated parameters of the matching process.
      Exception - any exception which occurs during matching