Interface IMatcherMultiSource<ModelClass,AlignmentClass,ParameterClass>

Type Parameters:
ModelClass - The specific type which can store an ontology / knowledge graph / ABox and TBox. Examples are URI, OntModel or Model from Jena.
AlignmentClass - The specifc type which can store an alignment e.g. (Alignment from YAAA)
ParameterClass - The specific type which can store parameters. This is somewhat a map where the keys are string and the values are any objects e.g. java.util.Properties
All Known Implementing Classes:
FamerClustering, FilterByErrorDegree, MatcherMultiSourceYAAAJena

public interface IMatcherMultiSource<ModelClass,AlignmentClass,ParameterClass>
Generic matcher interface for matching multiple ontologies / knowledge graphs. It gets multiple ontologies / knowledge graphs, an input alignment and additional parameters.
  • Method Details

    • match

      AlignmentClass match(List<ModelClass> models, AlignmentClass inputAlignment, ParameterClass parameters) throws Exception
      Matches multiple ontologies / knowledge graphs together.
      Parameters:
      models - a list of ontologies / knowledge graphs in the desired format.
      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

      default boolean needsTransitiveClosureForEvaluation()
      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
      Returns:
      true if the transitive closure is need, false otherwise