Class MultiSourcePipelineSequential

java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_base.multisource.MultiSourcePipelineSequential
All Implemented Interfaces:
IMatcherMultiSourceCaller

public class MultiSourcePipelineSequential extends Object implements IMatcherMultiSourceCaller
Executes all multi source matchers one after the other.
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • matchers

      protected List<Object> matchers
  • Constructor Details

    • MultiSourcePipelineSequential

      public MultiSourcePipelineSequential(Object... matchers)
    • MultiSourcePipelineSequential

      public MultiSourcePipelineSequential(Iterable<Object> matchers)
  • Method Details

    • match

      public AlignmentAndParameters match(List<Set<Object>> models, Object inputAlignment, Object parameters) throws Exception
      Description copied from interface: IMatcherMultiSourceCaller
      Matches multiple ontologies / knowledge graphs together.
      Specified by:
      match in interface IMatcherMultiSourceCaller
      Parameters:
      models - this is a list of sets of objects where each sets contains different representations of the dame ontologies/ knowledge graph.
      inputAlignment - this object represents the input alignment.
      parameters - 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, 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 - in case of any errors
    • needsTransitiveClosureForEvaluation

      public boolean needsTransitiveClosureForEvaluation()
      Description copied from interface: IMatcherMultiSourceCaller
      Returns a boolean value if the matcher needs a transitive closure for evaluation. E.g. some matchers match only A-B-C and the testcase asks for A-C then this is only true, if the transitive closure is computed
      Specified by:
      needsTransitiveClosureForEvaluation in interface IMatcherMultiSourceCaller
      Returns:
      true if the transitive closure is need, false otherwise
    • addMatcher

      public void addMatcher(Object matcher)